GLE_MCA_XLU_SET_MEMORY is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name GLE_MCA_XLU_SET_MEMORY into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
GLE_MCA_XLU_MEMORY
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'GLE_MCA_XLU_SET_MEMORY' "Set Line Items into ABAP Memory
* EXPORTING
* i_tab_postitems = " gle_mca_tab_ui_post_fields Table of posting line items of screen
* i_tab_bseg = " gle_mca_tab_bseg Table of FI document items
* i_tab_logdn = " gle_mca_tab_logdn Table Assignment of FI Document Key - Logical Transaction
* i_runid = " gle_mca_dte_runid Run ID
. " GLE_MCA_XLU_SET_MEMORY
The ABAP code below is a full code listing to execute function module GLE_MCA_XLU_SET_MEMORY including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
DATA(ld_i_tab_postitems) = 'Check type of data required'.
DATA(ld_i_tab_bseg) = 'Check type of data required'.
DATA(ld_i_tab_logdn) = 'Check type of data required'.
DATA(ld_i_runid) = 'Check type of data required'. . CALL FUNCTION 'GLE_MCA_XLU_SET_MEMORY' * EXPORTING * i_tab_postitems = ld_i_tab_postitems * i_tab_bseg = ld_i_tab_bseg * i_tab_logdn = ld_i_tab_logdn * i_runid = ld_i_runid . " GLE_MCA_XLU_SET_MEMORY
IF SY-SUBRC EQ 0. "All OK ENDIF.
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_i_tab_postitems | TYPE GLE_MCA_TAB_UI_POST_FIELDS , |
| ld_i_tab_bseg | TYPE GLE_MCA_TAB_BSEG , |
| ld_i_tab_logdn | TYPE GLE_MCA_TAB_LOGDN , |
| ld_i_runid | TYPE GLE_MCA_DTE_RUNID . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name GLE_MCA_XLU_SET_MEMORY or its description.
GLE_MCA_XLU_SET_MEMORY - Set Line Items into ABAP Memory GLE_MCA_XLU_GET_MEMORY - Get Line Items from ABAP Memory GLE_MCA_WRITE_DOCREF_ITEMS - Write TDOCREF items in document based scenario GLE_MCA_VALIDATE_ACC_00001025 - Validate position and equivalent accounts GLE_MCA_UI_SCREEN100 - Entry Mask for MCA Creation GLE_MCA_UI_GET_LAYOUT - Choose Column from Table Control