SAP Reports / Programs

ROIR_DBT_CFIELD_GEN SAP ABAP Report - Generate customer field include for the document base table (OIRADBT)







ROIR_DBT_CFIELD_GEN 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 ROIR_DBT_CFIELD_GEN 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 ROIR_DBT_CFIELD_GEN. "Basic submit
SUBMIT ROIR_DBT_CFIELD_GEN AND RETURN. "Return to original report after report execution complete
SUBMIT ROIR_DBT_CFIELD_GEN VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Generate customer field include for the document base table (OIRADBT)


INCLUDES used within this REPORT ROIR_DBT_CFIELD_GEN

INCLUDE ROIR_DBT_CFIELD_GEN_TOP.


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:

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING NAME = NAMETAB STATE = 'A' LANGU = SY-LANGU IMPORTING * GOTSTATE = DD02V_WA = WA_DD02V * DD09L_WA = WA_DD09L TABLES DD03P_TAB = TL_DD03P * DD05M_TAB = T_DD05M * DD08V_TAB = T_DD08V * DD12V_TAB = T_DD12V * DD17V_TAB = T_DD17V * DD35V_TAB = T_DD35V * DD36M_TAB = T_DD36M EXCEPTIONS ILLEGAL_INPUT = 1 OTHERS = 2.

DDIF_TABL_PUT CALL FUNCTION 'DDIF_TABL_PUT' EXPORTING NAME = NAME * DD02V_WA = ' ' * DD09L_WA = ' ' TABLES DD03P_TAB = T_DD03P * DD05M_TAB = * DD08V_TAB = * DD35V_TAB = * DD36M_TAB = EXCEPTIONS TABL_NOT_FOUND = 1 NAME_INCONSISTENT = 2 TABL_INCONSISTENT = 3 PUT_FAILURE = 4 PUT_REFUSED = 5 OTHERS = 6.

DDIF_TABL_ACTIVATE CALL FUNCTION 'DDIF_TABL_ACTIVATE' EXPORTING NAME = NAME * AUTH_CHK = 'X' * PRID = -1 IMPORTING RC = RC_CODE2 EXCEPTIONS NOT_FOUND = 1 PUT_FAILURE = 2 OTHERS = 3.

RS_DD_ACTIVATE_INTERN CALL FUNCTION 'RS_DD_ACTIVATE_INTERN' EXPORTING * EXTERN = ' ' OBJNAME = NAME2 OBJTYPE = OBJTYP2 IMPORTING OK = OK1.

RS_DD_ACTIVATE_INTERN CALL FUNCTION 'RS_DD_ACTIVATE_INTERN' EXPORTING * EXTERN = ' ' OBJNAME = NAME3 OBJTYPE = OBJTYP3 IMPORTING OK = OK2.

RS_DD_ACTIVATE_INTERN CALL FUNCTION 'RS_DD_ACTIVATE_INTERN' EXPORTING * EXTERN = ' ' OBJNAME = NAME5 OBJTYPE = OBJTYP5 IMPORTING OK = OK3.

DDIF_OBJECT_RESET CALL FUNCTION 'DDIF_OBJECT_RESET' EXPORTING TYPE = OBJTYP4 NAME = NAME4 * ID = EXCEPTIONS ILLEGAL_INPUT = 1 OTHERS = 2.



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