RTPM_TRAC_MIGRATE_REVDATA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report converts the data from the TRACT_DOCUMENT database table...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RTPM_TRAC_MIGRATE_REVDATA 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.
Selection Text: X_TEST = Test Run
Selection Text: SO_CCODE = D .
Selection Text: SO_VALAR = D .
Title: Conversion of Reversal Dates (Date, Period, Year) and Document Date
Text Symbol: 001 = Selections
Text Symbol: MIG = Migrated Reversal Dates
Text Symbol: RDL = Reversal Date
Text Symbol: RDS = Rev. Date
Text Symbol: RPL = Reversal Period
Text Symbol: RPS = Rev.Period
Text Symbol: RYL = Reversal Year
Text Symbol: RYS = Rev. Year
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FI_DOCUMENT_READ CALL FUNCTION 'FI_DOCUMENT_READ' EXPORTING i_awtyp = tpmco_trac_awtyp_trtm i_awref = im_awref i_aworg = im_aworg TABLES t_bkpf = l_tab_bkpf EXCEPTIONS not_found = 2 OTHERS = 3.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = l_syrepid i_grid_title = text-mig is_layout = l_layout it_fieldcat = l_fieldcat TABLES t_outtab = ch_tab_documents EXCEPTIONS OTHERS = 1.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'TRACT_DOCUMENT' CHANGING ct_fieldcat = ch_fieldcat.
ENQUEUE_E_TRACT_DOCUMENT CALL FUNCTION 'ENQUEUE_E_TRACT_DOCUMENT' EXPORTING mode_tract_document = 'E' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
DEQUEUE_E_TRACT_DOCUMENT CALL FUNCTION 'DEQUEUE_E_TRACT_DOCUMENT' EXPORTING mode_tract_document = 'E'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RTPM_TRAC_MIGRATE_REVDATA - Conversion of Reversal Dates (Date, Period, Year) and Document Date RTPM_TRAC_MIGRATE_REVDATA - Conversion of Reversal Dates (Date, Period, Year) and Document Date RTPM_TRAC_MANIPULATE - Utility Program: Manipulation of Data in the Posting Interface RTPM_TRAC_MANIPULATE - Utility Program: Manipulation of Data in the Posting Interface RTPM_TRAC_LIST_AA_REF_SELECT - RTPMTRACLISTAAREFSELECT RTPM_TRAC_LIST_AA_REF - Process Account Assignment Reference Allocations