RSAPTM2 is a standard ABAP INCLUDE 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 RSAPTM2 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.
INCLUDE LRSAPD00.
INCLUDE RSAUCMAC.
INCLUDE LRSAPD01.
No SAP DATABASE tables are accessed within this REPORT code!
RSA1_SINGLE_OLTPSOURCE_GET *@ call function 'RSA1_SINGLE_OLTPSOURCE_GET' *@ exporting *@ i_oltpsource = l_s_rodchabgen-chabasnm *@ i_objvers = 'A' *@ importing *@ e_s_rodchabas = l_s_rodchabas *@ e_s_oltpsource = l_s_oltpsource *@ e_s_gendelta = l_s_gendelta *@ e_s_rsmddelta = l_s_mddelta *@ e_language_key = l_language_key *@ exceptions *@ others = 1.
RSUR_MBC_ALIGNMENT_CHECK *@ CALL FUNCTION 'RSUR_MBC_ALIGNMENT_CHECK' *@ EXPORTING *@ I_DESTINATION = L_DESTINATION *@ IMPORTING *@ E_MBC_ALIGNMENT = L_MBC_ALIGNMENT *@ E_MBC_LANGUAGES = L_MBC_LANGUAGES *@ E_MBC_STRUCT_TO_CONTAINER = L_MBC_STRUCT_TO_CONTAINER *@ E_MBC_CONTAINER_TO_PACKET = L_MBC_CONTAINER_TO_PACKET *@ E_MBC_CODEPAGE_UNIQUE = L_MBC_CODEPAGE_UNIQUE *@ TABLES *@ E_T_CPINFOS = L_T_CPINFOS *@ EXCEPTIONS *@ REMOTE_ERROR = 1.
DDIF_TABL_GET *@call function 'DDIF_TABL_GET' *@ exporting name = l_s_oltpsource-extractor *@ importing dd02v_wa = l_s_dd02v *@ tables dd03p_tab = l_t_dd03p.
DDIF_VIEW_GET *@ call function 'DDIF_VIEW_GET' *@ exporting name = l_s_oltpsource-extractor *@ tables dd27p_tab = l_t_dd27p.
CHANGEDOCU_KEY_CHAR2ANY CALL FUNCTION 'CHANGEDOCU_KEY_CHAR2ANY' "FH 3.0 SP4
DDIF_NAMETAB_GET *@CALL FUNCTION 'DDIF_NAMETAB_GET' *@ EXPORTING *@ TABNAME = L_S_ROOSGEN-TFSTRUC *@ IMPORTING *@ X030L_WA = L_S_X030L *@ EXCEPTIONS *@ NOT_FOUND = 1 *@ OTHERS = 2.
RSUR_DATA_WRAP_RFC CALL FUNCTION 'RSUR_DATA_WRAP_RFC' EXPORTING i_data = l_t_tfstruct i_target_release = i_target_release IMPORTING e_export_release = e_export_release TABLES e_t_container = e_t_container EXCEPTIONS conversion_failed = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSAPTM2 - documentation and ABAP source code RSAPTM1 - documentation and ABAP source code RSAPTH3 - Übertragung von Hierarchien zu einer DataSource (BW20) RSAPTD2 - documentation and ABAP source code RSAPTD1 - documentation and ABAP source code RSAPSCRIPT_ERROR - Search for SAPScript Error in Documents