SAP Reports / Programs

RGRTDF01 SAP ABAP Report - Report Writer: Copying Report Writer Control Tables







RGRTDF01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

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


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 RGRTDF01. "Basic submit
SUBMIT RGRTDF01 AND RETURN. "Return to original report after report execution complete
SUBMIT RGRTDF01 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: PTSL = -> Stores transaction currency
Selection Text: PTAB = Target table
Selection Text: PSITAB = -> Line item table
Selection Text: PRSITAB = -> Rollup act. line item table
Selection Text: PRPSITAB = -> Rollup plan line item table
Selection Text: PRPMAX = -> Number of periods
Selection Text: PPSITAB = -> Plan line item table
Selection Text: POTAB = Source table
Selection Text: POBJTAB = -> Is object table
Selection Text: PMSL = -> Stores quantities
Selection Text: PKSL = -> Stores group currency
Selection Text: PHSL = -> Stores local currency
Selection Text: PDELETE = Only delete definition
Selection Text: PCPYSETS = Copy sets
Selection Text: PCLNT = Delete in all clients
Selection Text: PASL = -> Stores additnal quantities
Title: Report Writer: Copying Report Writer Control Tables
Text Symbol: RTP = Documnt trans.curr.plan rollup;;
Text Symbol: RTI = Document trans.curr.act.rollup;;
Text Symbol: RMP = Plan document qty (rollup) ;;
Text Symbol: RMI = Act. document qty (rollup) ;;
Text Symbol: RKP = Document grp curr.plan rollup ;;
Text Symbol: RKI = Document grp curr.act.(rollup);;
Text Symbol: RHP = Document loc.curr.plan rollup ;;
Text Symbol: RHI = Document loc.curr.act.(rollup);;
Text Symbol: RAP = Add.document qty plan (rollup);;
Text Symbol: RAI = Add. document qty act.(rollup);;
Text Symbol: 100 = Caution. The validity of the parameters is not validated.
Text Symbol: 006 = An internal error occurred
Text Symbol: 005 = Control table entries for table & already exist
Text Symbol: 004 = Control table entries for table & have been deleted
Text Symbol: 003 = Control table entries copied (Table & -> &)
Text Symbol: 002 = Table & does not exist in table T800A
Text Symbol: 001 = Standard tables cannot be used as target table


INCLUDES used within this REPORT RGRTDF01

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:

G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING FIELDNAME = T804C-FNAME LANGU = SY-LANGU TABLE = P_TAB IMPORTING FIELD_ATTR = FIELD_ATTR EXCEPTIONS NOT_FOUND = 4.

G_T804A_T804B_T804C_UPDATE CALL FUNCTION 'G_T804A_T804B_T804C_UPDATE' EXPORTING NO_CHECK = 'X' "subrc von Update etc wird nicht TABLES "überprüft I_FLAG1 = ITABFLAG1 I_T804A = IT804AV I_FLAG2 = ITABFLAG2 I_T804B = IT804BV I_FLAG3 = ITABFLAG3 I_T804C = IT804CV I_FLAG4 = ITABFLAG4 I_T804BT = IT804BTV I_FLAG5 = ITABFLAG5 I_T804E = IT804EV I_FLAG6 = ITABFLAG6 I_T804F = IT804FV I_FLAG7 = ITABFLAG7 I_T804G = IT804GV I_FLAG8 = ITABFLAG8 I_RTXCS = IRTXCSV.

G_T804A_T804B_T804C_UPDATE CALL FUNCTION 'G_T804A_T804B_T804C_UPDATE' EXPORTING NO_CHECK = 'X' "subrc von Update etc wird nicht TABLES "überprüft I_FLAG1 = ITABFLAG1 I_T804A = IT804AV I_FLAG2 = ITABFLAG2 I_T804B = IT804BV I_FLAG3 = ITABFLAG3 I_T804C = IT804CV I_FLAG4 = ITABFLAG4 I_T804BT = IT804BTV I_FLAG5 = ITABFLAG5 I_T804E = IT804EV I_FLAG6 = ITABFLAG6 I_T804F = IT804FV I_FLAG7 = ITABFLAG7 I_T804G = IT804GV I_FLAG8 = ITABFLAG8 I_RTXCS = IRTXCSV.

G_SET_TREE_DELETE CALL FUNCTION 'G_SET_TREE_DELETE' EXPORTING NO_AUTHORITY_CHECK = 'X' NO_COMMIT_WORK = SY-BINPT "Batch-Input -> No Commit SET = SEL_SET-SETNR EXCEPTIONS NOT_FOUND = 1 NO_AUTHORITY = 2 SET_IS_USED = 3 SET_IS_BLOCKED = 4 OTHERS = 5.



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