SAP Reports / Programs | Financials | Financial Supply Chain Management | Transfer to Financial Accounting(FIN-FSCM-TRM-TM-AC) SAP FIN

RTPM_TRAC_MIGRATE_REVDATA SAP ABAP Report - Conversion of Reversal Dates (Date, Period, Year) and Document Date







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


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


Text pool values


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


INCLUDES used within this REPORT RTPM_TRAC_MIGRATE_REVDATA

No INCLUDES are used within this REPORT code!


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:

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'.



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