SAP GLE_MCA_REVERSE_FX_POST Function Module for Reverse Each Post Document for the Whole Screen









GLE_MCA_REVERSE_FX_POST is a standard gle mca reverse fx post SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Reverse Each Post Document for the Whole Screen processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for gle mca reverse fx post FM, simply by entering the name GLE_MCA_REVERSE_FX_POST into the relevant SAP transaction such as SE37 or SE38.

Function Group: GLE_MCA_REVERSE_FX_POST
Program Name: SAPLGLE_MCA_REVERSE_FX_POST
Main Program: SAPLGLE_MCA_REVERSE_FX_POST
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function GLE_MCA_REVERSE_FX_POST pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'GLE_MCA_REVERSE_FX_POST'"Reverse Each Post Document for the Whole Screen
EXPORTING
* I_TAB_BKPF = "MCA BKPF Table Type
* I_STR_REV_STGRD = "Reversal Reason
* I_DOC_POST_DATE = "Boolean Variable (X=True, -=False, Space=Unknown)
* I_TAB_DOCREF = "GLE MCA DOCREF table type
* I_SIMULATION = ' ' "Only simulation

IMPORTING
E_TAB_RUNADM_ID = "Table type for GLE_RUNADM_ID
E_CANCEL = "Feld zum Ankreuzen
E_REV_STGRD = "Reversal Reason

CHANGING
* C_TAB_RETURN = "Return Parameter
* C_ERRORS = "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
.



IMPORTING Parameters details for GLE_MCA_REVERSE_FX_POST

I_TAB_BKPF - MCA BKPF Table Type

Data type: GLE_MCA_TAB_BKPF
Optional: Yes
Call by Reference: Yes

I_STR_REV_STGRD - Reversal Reason

Data type: GLE_MCA_STR_REV_STGRD
Optional: Yes
Call by Reference: Yes

I_DOC_POST_DATE - Boolean Variable (X=True, -=False, Space=Unknown)

Data type: BOOLEAN
Optional: Yes
Call by Reference: Yes

I_TAB_DOCREF - GLE MCA DOCREF table type

Data type: GLE_MCA_TAB_DOCREF
Optional: Yes
Call by Reference: Yes

I_SIMULATION - Only simulation

Data type: BOOLEAN
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for GLE_MCA_REVERSE_FX_POST

E_TAB_RUNADM_ID - Table type for GLE_RUNADM_ID

Data type: GLE_TAB_MCA_RUNADM_ID
Optional: No
Call by Reference: Yes

E_CANCEL - Feld zum Ankreuzen

Data type: XFELD
Optional: No
Call by Reference: Yes

E_REV_STGRD - Reversal Reason

Data type: GLE_MCA_STR_REV_STGRD
Optional: No
Call by Reference: Yes

CHANGING Parameters details for GLE_MCA_REVERSE_FX_POST

C_TAB_RETURN - Return Parameter

Data type: GLE_MCA_TAB_BAPIRET2
Optional: Yes
Call by Reference: Yes

C_ERRORS - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')

Data type: BOOLE_D
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for GLE_MCA_REVERSE_FX_POST Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_i_tab_bkpf  TYPE GLE_MCA_TAB_BKPF, "   
lv_c_tab_return  TYPE GLE_MCA_TAB_BAPIRET2, "   
lv_e_tab_runadm_id  TYPE GLE_TAB_MCA_RUNADM_ID, "   
lv_c_errors  TYPE BOOLE_D, "   
lv_e_cancel  TYPE XFELD, "   
lv_i_str_rev_stgrd  TYPE GLE_MCA_STR_REV_STGRD, "   
lv_e_rev_stgrd  TYPE GLE_MCA_STR_REV_STGRD, "   
lv_i_doc_post_date  TYPE BOOLEAN, "   
lv_i_tab_docref  TYPE GLE_MCA_TAB_DOCREF, "   
lv_i_simulation  TYPE BOOLEAN. "   SPACE

  CALL FUNCTION 'GLE_MCA_REVERSE_FX_POST'  "Reverse Each Post Document for the Whole Screen
    EXPORTING
         I_TAB_BKPF = lv_i_tab_bkpf
         I_STR_REV_STGRD = lv_i_str_rev_stgrd
         I_DOC_POST_DATE = lv_i_doc_post_date
         I_TAB_DOCREF = lv_i_tab_docref
         I_SIMULATION = lv_i_simulation
    IMPORTING
         E_TAB_RUNADM_ID = lv_e_tab_runadm_id
         E_CANCEL = lv_e_cancel
         E_REV_STGRD = lv_e_rev_stgrd
    CHANGING
         C_TAB_RETURN = lv_c_tab_return
         C_ERRORS = lv_c_errors
. " GLE_MCA_REVERSE_FX_POST




ABAP code using 7.40 inline data declarations to call FM GLE_MCA_REVERSE_FX_POST

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
DATA(ld_i_simulation) = ' '.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!