SAP Reports / Programs | Basis Components | BW Service API(BC-BW) SAP BC

RSAPTM2 SAP ABAP INCLUDE - documentation and ABAP source code







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


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


INCLUDES used within this REPORT RSAPTM2

INCLUDE LRSAPD00.
INCLUDE RSAUCMAC.
INCLUDE LRSAPD01.


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:

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.



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