SAP Reports / Programs | Basis Components | ABAP Workbench, Java IDE and Infrastructure | Activation Program, Conversion Program, DB Utility, MC, SPDD(BC-DWB-DIC-AC) SAP BC

RDDSRCG0 SAP ABAP Report - Generate Structure Description for Higher-Level Programming Language







RDDSRCG0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program generates structure descriptions of tables or structures from the ABAP/4 Dictionary in a higher-level programming language...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 RDDSRCG0 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

OV/1 - Generate Record Layout
OA07 - Generate C AM BALTD Record Layout
O020 - Record Layout for BTCI (Classes)
OP8C - Record layout for background (APL)
OMSW - C MM-BD Record Layout f. BATCH INPUT
OMFJ - C MM-PUR Rec. Layout for Batch Input
OD90 - Record Layout for Batch Input (Docs)
OS40 - Generate BOM Transfer File
OMPE - Takeover Structure
OMST - C MM-BD Record Layout f. BATCH INPUT


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 RDDSRCG0. "Basic submit
SUBMIT RDDSRCG0 AND RETURN. "Return to original report after report execution complete
SUBMIT RDDSRCG0 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: TABNAMES = Table Names
Selection Text: P_RPG = RPG
Selection Text: P_PL1 = PL/1
Selection Text: P_COBOL = COBOL
Selection Text: P_CH = C for SAP Header Files
Selection Text: P_C = C
Selection Text: OUT_DATA = Name of Output File
Selection Text: LOC_FILE = Local File System
Selection Text: EX_TABLE = Identifier in TSRCG
Selection Text: CMD_FILE = Tables in Command File
Selection Text: ALIGN = Generate Alignment Fields
Title: Generate Structure Description for Higher-Level Programming Language
Text Symbol: 902 = Output
Text Symbol: 901 = Table Selection
Text Symbol: 900 = Programming Language
Text Symbol: 100 = Alignment Balance
Text Symbol: 010 = Definition of & written to &
Text Symbol: 007 = Directory does not exist or SAP user has no write authorization
Text Symbol: 006 = Error opening dataset
Text Symbol: 005 = The table fields could not be read by the database
Text Symbol: 004 = No tables were found for specified name selection
Text Symbol: 003 = Specified command file does not exist or cannot be read


INCLUDES used within this REPORT RDDSRCG0

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:

TR_READ_COMM CALL FUNCTION 'TR_READ_COMM' EXPORTING wi_trkorr = cmd_file wi_sel_e071 = 'X' * WI_DIALOG = 'X' * WI_LANGU = SY-LANGU TABLES wt_e071 = e071_tab EXCEPTIONS not_exist_e070 = 1 no_authorization = 2 OTHERS = 3.

DD_TABD_GET CALL FUNCTION 'DD_TABD_GET' EXPORTING GET_STATE = get_State TABL_NAME = tabname WITHTEXT = 'X' IMPORTING DD02V_WA_A = dd02v_wa GOT_STATE = got_state TABLES DD03P_TAB_A = dd03p_Tab DD08V_TAB_A = dd08v_Tab EXCEPTIONS ACCESS_FAILURE = 1 OTHERS = 2.

DD_GET_NAMETAB CALL FUNCTION 'DD_GET_NAMETAB' EXPORTING status = 'A' tabname = tabname IMPORTING x030l_wa = x030l_wa TABLES x031l_tab = x031l_tab EXCEPTIONS OTHERS = 1.

DD_NTAB_GEN CALL FUNCTION 'DD_NTAB_GEN' EXPORTING dd02v_wa = dd02v_wa dd09l_wa = dd09l_wa uc_len = '01' no_incl_named = 'X' IMPORTING x030l_wa = x030l_wa TABLES dd03p_tab = dd03p_tab dd08v_tab = dd08v_tab x031l_tab = x031l_tab EXCEPTIONS OTHERS = 1.

TR_SYS_PARAMS CALL FUNCTION 'TR_SYS_PARAMS' IMPORTING systemtype = systemtype EXCEPTIONS OTHERS = 3.



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 RDDSRCG0 or its description.