SAP Reports / Programs | Financial Accounting | Localization(FI-LOC) SAP FI

RDIAN_REPORT_GENERATION SAP ABAP Report - Generation of DIAN report files







RDIAN_REPORT_GENERATION is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The generation report reads the extracted data stored in the database and converts it into XML according to each DIAN format...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RDIAN_REPORT_GENERATION into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

DIAN_GENERATION - Dian Files Generation


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RDIAN_REPORT_GENERATION. "Basic submit
SUBMIT RDIAN_REPORT_GENERATION AND RETURN. "Return to original report after report execution complete
SUBMIT RDIAN_REPORT_GENERATION VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_YEAR = Year
Selection Text: P_XML = XML
Selection Text: P_XLS = Excel file
Selection Text: P_TEST = Test Run
Selection Text: P_SYEAR = Sending Year
Selection Text: P_STARTP = Starting Period
Selection Text: P_SEND = Sending Date
Selection Text: P_PATH = Path
Selection Text: P_OVERW = Overwrite Existing Files
Selection Text: P_FORMAT = Format
Selection Text: P_ENDP = Ending Period
Selection Text: P_CONC = Concept Code
Selection Text: P_CON = Sending Number
Selection Text: P_CCODE = Company Code
Title: Generation of DIAN report files
Text Symbol: 007 = CompanyCode_Year_Format_SendingYear
Text Symbol: 006 = A new folder will be created under the path with the following format:
Text Symbol: 005 = File Directory
Text Symbol: 004 = NITs identification
Text Symbol: 003 = Output Files
Text Symbol: 002 = Generation Options
Text Symbol: 001 = General Data


INCLUDES used within this REPORT RDIAN_REPORT_GENERATION

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

IW_C_GET_SAPWORKDIR CALL FUNCTION 'IW_C_GET_SAPWORKDIR' IMPORTING sapworkdir = lv_workdir.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RDIAN_REPORT_GENERATION or its description.