SAP Reports / Programs

RSPBS_GENDATA SAP ABAP Report - Test program for generating data declaration







RSPBS_GENDATA 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 RSPBS_GENDATA 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 RSPBS_GENDATA. "Basic submit
SUBMIT RSPBS_GENDATA AND RETURN. "Return to original report after report execution complete
SUBMIT RSPBS_GENDATA 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: PARMAINP = Main Pgm for include generatio
Selection Text: PARMOLGA = Country grouping
Selection Text: PARREQTY = Request type
Title: Test program for generating data declaration


INCLUDES used within this REPORT RSPBS_GENDATA

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_TADIR_POPUP_ENTRY_E071 * CALL FUNCTION 'TR_TADIR_POPUP_ENTRY_E071' * EXPORTING * WI_E071_PGMID = 'R3TR' * WI_E071_OBJECT = 'PROG' * WI_E071_OBJ_NAME = L_OBJ_NAME_E071 ** WI_E071_GENNUM = ' ' ** WI_MESSAGE_ENTER_DEVCLASS = ' ' ** WI_READ_ONLY = ' ' ** WI_TADIR_DEVCLASS = ' ' * WI_TADIR_GENFLAG = P_GENFLAG ** WI_TADIR_MASTERLANG = ' ' * IMPORTING * WE_TADIR = MY_TADIR ** ES_TDEVC = * EXCEPTIONS * OTHERS = 99.

TR_TADIR_INTERFACE * CALL FUNCTION 'TR_TADIR_INTERFACE' * EXPORTING ** WI_DELETE_TADIR_ENTRY = ' ' ** WI_REMOVE_REPAIR_FLAG = ' ' ** WI_SET_REPAIR_FLAG = ' ' * WI_TEST_MODUS = ' ' * WI_TADIR_PGMID = 'R3TR' * WI_TADIR_OBJECT = 'PROG' * WI_TADIR_OBJ_NAME = L_OBJ_NAME ** WI_TADIR_KORRNUM = ' ' * WI_TADIR_SRCSYSTEM = TADIR-SRCSYSTEM ** WI_TADIR_AUTHOR = ' ' * WI_TADIR_DEVCLASS = P_DEVCLASS ** WI_TADIR_MASTERLANG = ' ' ** WI_TADIR_CPROJECT = ' ' ** WI_TADIR_VERSID = ' ' ** WI_REMOVE_GENFLAG = ' ' * WI_SET_GENFLAG = P_GENFLAG ** WI_READ_ONLY = ' ' ** IV_SET_EDTFLAG = ' ' ** IMPORTING ** NEW_GTADIR_ENTRY = ** NEW_TADIR_ENTRY = * EXCEPTIONS * OTHERS = 99.

TR_OBJECT_CHECK * CALL FUNCTION 'TR_OBJECT_CHECK' * EXPORTING * WI_KO200 = L_KO200_IN * IMPORTING ** we_order = l_order ** we_task = l_task * WE_KO200 = L_KO200_OUT * WE_OBJECT_APPENDABLE = L_APPENDABLE ** es_tadir = l_tadir * TABLES * WT_E071K = L_E071K_TAB * EXCEPTIONS * OTHERS = 1.

TR_OBJECT_INSERT * CALL FUNCTION 'TR_OBJECT_INSERT' * EXPORTING * WI_ORDER = G_CORRNUM * WI_KO200 = L_KO200_IN * IMPORTING * WE_ORDER = L_ORDER * WE_TASK = L_TASK ** WE_KO200 = L_KO200_OUT ** ES_TADIR = L_TADIR * TABLES * WT_E071K = L_E071K_TAB.

TR_TADIR_INTERFACE * CALL FUNCTION 'TR_TADIR_INTERFACE' * EXPORTING ** WI_DELETE_TADIR_ENTRY = ' ' ** WI_REMOVE_REPAIR_FLAG = ' ' ** WI_SET_REPAIR_FLAG = ' ' * WI_TEST_MODUS = ' ' * WI_TADIR_PGMID = 'R3TR' * WI_TADIR_OBJECT = 'PROG' * WI_TADIR_OBJ_NAME = L_PROG ** WI_TADIR_KORRNUM = ' ' * WI_TADIR_SRCSYSTEM = TADIR-SRCSYSTEM ** WI_TADIR_AUTHOR = ' ' * WI_TADIR_DEVCLASS = L_DEVCLASS ** WI_TADIR_MASTERLANG = ' ' ** WI_TADIR_CPROJECT = ' ' ** WI_TADIR_VERSID = ' ' ** WI_REMOVE_GENFLAG = ' ' * WI_SET_GENFLAG = 'X' ** WI_READ_ONLY = ' ' ** IV_SET_EDTFLAG = ' ' ** IMPORTING ** NEW_GTADIR_ENTRY = ** NEW_TADIR_ENTRY = * EXCEPTIONS * OTHERS = 99.

TR_ORDER_CHOICE_CORRECTION * CALL FUNCTION 'TR_ORDER_CHOICE_CORRECTION' * EXPORTING * IV_CATEGORY = 'SYST' * IV_CLI_DEP = ' ' * IMPORTING * EV_TASK = TASK * EXCEPTIONS * INVALID_CATEGORY = 1 * NO_CORRECTION_SELECTED = 2 * OTHERS = 3.

TR_APPEND_TO_COMM * CALL FUNCTION 'TR_APPEND_TO_COMM' * EXPORTING * PI_KORRNUM = TASK * WI_E071 = L_E071 ** WI_SIMULATION = ' ' ** WI_SUPPRESS_KEY_CHECK = ' ' * TABLES * WT_E071K = L_TAB_E071K * EXCEPTIONS * NO_AUTHORIZATION = 1 * NO_SYSTEMNAME = 2 * NO_SYSTEMTYPE = 3 * TR_CHECK_KEYSYNTAX_ERROR = 4 * TR_CHECK_OBJ_ERROR = 5 * TR_ENQUEUE_FAILED = 6 * TR_ILL_KORRNUM = 7 * TR_KEY_WITHOUT_HEADER = 8 * TR_LOCKMOD_FAILED = 9 * TR_LOCK_ENQUEUE_FAILED = 10 * TR_MODIF_ONLY_IN_MODIF_ORDER = 11 * TR_NOT_OWNER = 12 * TR_NO_APPEND_OF_CORR_ENTRY = 13 * TR_NO_APPEND_OF_C_MEMBER = 14 * TR_NO_SHARED_REPAIRS = 15 * TR_ORDER_NOT_EXIST = 16 * TR_ORDER_RELEASED = 17 * TR_ORDER_UPDATE_ERROR = 18 * TR_REPAIR_ONLY_IN_REPAIR_ORDER = 19 * TR_WRONG_ORDER_TYPE = 20 * WRONG_CLIENT = 21 * OTHERS = 22.



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