SAP Reports / Programs

GLE_MCA_RREVERSE_RUN SAP ABAP Report - Mass Reversal of MCA Documents







GLE_MCA_RREVERSE_RUN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The transaction reverses MCA documents...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 GLE_MCA_RREVERSE_RUN into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FBMCA80 - Mass Reversal of MCA Documents


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 GLE_MCA_RREVERSE_RUN. "Basic submit
SUBMIT GLE_MCA_RREVERSE_RUN AND RETURN. "Return to original report after report execution complete
SUBMIT GLE_MCA_RREVERSE_RUN 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: SO_RUNID = MCA Run ID
Selection Text: SO_DOCNO = D .
Selection Text: SO_BELNR = D .
Selection Text: P_USNAME = D .
Selection Text: P_RVRSN = Reversal Reason
Selection Text: P_RLDNR = D .
Selection Text: P_PERIOD = Period
Selection Text: P_NPDATE = New Posting Date
Selection Text: P_NOPDAT = Use Posting Date
Selection Text: P_LDGRP = D .
Selection Text: P_GJAHR = Fiscal Year
Selection Text: P_DSELDO = Display of Selected Documents
Selection Text: P_CPUDAT = D .
Selection Text: P_BUKRS = Company Code
Selection Text: P_BUDAT = D .
Selection Text: P_BLDAT = D .
Selection Text: P_BLART = D .
Title: Mass Reversal of MCA Documents
Text Symbol: STH = Reversed
Text Symbol: RUN = Run ID
Text Symbol: REV = MCA Doc Reversed
Text Symbol: EXT = Extended Selection
Text Symbol: 210 = Time of Run
Text Symbol: 200 = Date of Run
Text Symbol: 130 = RunID
Text Symbol: 125 = Document Number
Text Symbol: 070 = ERROR in function GLE_MCA_REVERSE_FX_POST, see log for more details
Text Symbol: 060 = ERROR in function GLE_MCA_PLC_SELECT_REV, see log for more details
Text Symbol: 040 = ERROR in function GLE_MCA_GENL_OPEN_LOG, see log for more details
Text Symbol: 011 = Reversal Posting
Text Symbol: 010 = Document Details
Text Symbol: 005 = MCA Mass Reversal


INCLUDES used within this REPORT GLE_MCA_RREVERSE_RUN

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:

GLE_MCA_GLFLEX_ACTIVE CALL FUNCTION 'GLE_MCA_GLFLEX_ACTIVE' IMPORTING e_glflex_active = l_glflex_active.

DATE_CHECK_PLAUSIBILITY CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY' EXPORTING date = p_npdate EXCEPTIONS plausibility_check_failed = 1 OTHERS = 2.

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING i_budat = p_npdate i_bukrs = p_bukrs IMPORTING e_monat = l_monat EXCEPTIONS OTHERS = 8.

GLE_MCA_GENL_OPEN_LOG CALL FUNCTION 'GLE_MCA_GENL_OPEN_LOG' EXPORTING i_subobject = l_bal_subobj i_altext = logtext IMPORTING e_log_handle = log_handle e_return = msg_return e_errors = errors.

TRANSACTION_BEGIN CALL FUNCTION 'TRANSACTION_BEGIN' IMPORTING transaction_id = idtrans.

GLE_MCA_PLX_SELECT_REV CALL FUNCTION 'GLE_MCA_PLX_SELECT_REV' EXPORTING i_log_handle = log_handle i_tab_params = g_tab_params[] IMPORTING e_fdocref = g_tab_fdocref[] e_tab_runadm_id = g_tab_runadm_id[] e_return = msg_return e_errors = errors.

TRANSACTION_END CALL FUNCTION 'TRANSACTION_END' EXPORTING transaction_id = idtrans.

GLE_MCA_GENL_CLOSE_LOG CALL FUNCTION 'GLE_MCA_GENL_CLOSE_LOG' EXPORTING i_log_handle = log_handle IMPORTING e_return = msg_return e_errors = errors.

DSYS_SHOW_FOR_F1HELP CALL FUNCTION 'DSYS_SHOW_FOR_F1HELP' EXPORTING dokclass = 'RE' dokname = l_docu_object EXCEPTIONS class_unknown = 1 object_not_found = 2 error_message = 3 OTHERS = 4.



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