SAPR_TRANS_UNDO 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 SAPR_TRANS_UNDO 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: Undo Data Transfer from Payment Plans
Text Symbol: 007 = Deletion of Payment Plan Items
Text Symbol: 008 = Insurance Object-Partner Reversal
Text Symbol: 009 = Bus. Trans. Rev.
Text Symbol: 010 = Payt Plan Rev.
Text Symbol: 001 = Not Posted (Can be Reset)
Text Symbol: 002 = Posted (Can not be Reset)
Text Symbol: 003 = Total
Text Symbol: 005 = Test Run
Text Symbol: 006 = Upd. Run
INCLUDE LFKKAKTIV2TAB.
INCLUDE LFKKAKTIV2MAC.
INCLUDE LFKKAKTIV2CON.
INCLUDE LFKKAKTIV2TYP.
INCLUDE LFKKAKTIV2DAT.
No SAP DATABASE tables are accessed within this REPORT code!
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
APPL_LOG_SET_OBJECT CALL FUNCTION 'APPL_LOG_SET_OBJECT' EXPORTING object = 'FICA' subobject = 'MAPPUD' no_log = ' ' EXCEPTIONS object_not_found = 1 subobject_not_found = 2 OTHERS = 3.
APPL_LOG_INIT CALL FUNCTION 'APPL_LOG_INIT' EXPORTING object = 'FICA' subobject = 'MAPPUD' log_handle = ' ' EXCEPTIONS object_not_found = 1 subobject_not_found = 2 OTHERS = 3.
APPL_LOG_WRITE_HEADER CALL FUNCTION 'APPL_LOG_WRITE_HEADER' EXPORTING header = header * LOG_HANDLE = * IMPORTING * UPDATE_OR_INSERT = * E_LOG_HANDLE = EXCEPTIONS object_not_found = 1 subobject_not_found = 2 error = 3 OTHERS = 4.
FKK_AKTIV2_APPL_LOG_AKTYP_SET CALL FUNCTION 'FKK_AKTIV2_APPL_LOG_AKTYP_SET' EXPORTING i_aktyp = 'PPUD'.
FKK_AKTIV2_APPL_LOG_PRCL_SET CALL FUNCTION 'FKK_AKTIV2_APPL_LOG_PRCL_SET' EXPORTING i_probclass = '4'.
FKK_AKTIV2_APPL_LOG_AKTYP_RSET CALL FUNCTION 'FKK_AKTIV2_APPL_LOG_AKTYP_RSET'.
APPL_LOG_WRITE_DB CALL FUNCTION 'APPL_LOG_WRITE_DB' EXPORTING object = 'FICA' subobject = 'MAPPUD' log_handle = ' ' update_task = ' ' TABLES object_with_lognumber = h_balnri EXCEPTIONS OTHERS = 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.