RSU20002 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 RSU20002 into the relevant SAP transactions such as SE38 or SE80
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.
Title: Regenerating Extract Structure Versions
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RSAL_LOG_OPEN CALL FUNCTION 'RSAL_LOG_OPEN' EXPORTING I_LOG_OBJECT = 'RSAR' I_LOG_SUBOBJECT = 'METADATA' I_FUNCTION = 'Report RSU20002'. "#EC NOTEXT
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING TABNAME = L_T_ROOSGENQV-STRUCTURE IMPORTING X030L_WA = L_S_X030L_EXSTRU EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING TABNAME = L_T_ROOSGENQV-STRUCTGEN IMPORTING X030L_WA = L_S_X030L_VERSION EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
DD_TABL_DEL CALL FUNCTION 'DD_TABL_DEL' EXPORTING TABNAME = L_T_ROOSGENQV-STRUCTGEN DEL_STATE = 'A'.
RSC1_STRUCTURE_INSTANTIATE CALL FUNCTION 'RSC1_STRUCTURE_INSTANTIATE' EXPORTING I_OLTPSOURCE = L_T_ROOSGENQV-OLTPSOURCE I_STRUCTURE = L_T_ROOSGENQV-STRUCTURE IMPORTING E_S_OSGENQV = L_S_ROOSGENQV EXCEPTIONS FOREIGN_LOCK = 1 OTHERS = 2.
RSC1_STRUCTURE_ACTIVATE CALL FUNCTION 'RSC1_STRUCTURE_ACTIVATE' EXPORTING I_OLTPSOURCE = L_T_ROOSGENQV-OLTPSOURCE I_VERSION = L_S_ROOSGENQV-VERSION EXCEPTIONS OTHERS = 1.
RSC1_OLTPSOURCE_FUNC_GENERATE CALL FUNCTION 'RSC1_OLTPSOURCE_FUNC_GENERATE' EXPORTING I_OLTPSOURCE = L_S_ROOSGENQV-OLTPSOURCE I_VERSION = L_S_ROOSGENQV-VERSION EXCEPTIONS OTHERS = 1.
RSC1_READ_PROGRAM_GENERATE CALL FUNCTION 'RSC1_READ_PROGRAM_GENERATE' EXPORTING I_OLTPSOURCE = L_S_ROOSGENQV-OLTPSOURCE I_VERSION = L_S_ROOSGENQV-VERSION I_FORCE_GENERATION = 'X' EXCEPTIONS FAILED = 1 OTHERS = 2.
RSAL_LOG_WRITE CALL FUNCTION 'RSAL_LOG_WRITE' EXPORTING I_MSGTY = 'I' I_MSGID = 'RSQU' I_MSGNO = '030' I_MSGV1 = L_MSGV1 I_MSGV2 = L_MSGV2.
RSAL_LOG_WRITE CALL FUNCTION 'RSAL_LOG_WRITE' EXPORTING I_MSGTY = 'I' I_MSGID = 'RSQU' I_MSGNO = '032' I_MSGV1 = L_MSGV1 I_MSGV2 = L_MSGV2.
RSAL_LOG_CLOSE CALL FUNCTION 'RSAL_LOG_CLOSE'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.