SAP UC_IMPORT_PARAMS_FROM_MEMORY Function Module for
UC_IMPORT_PARAMS_FROM_MEMORY is a standard uc import params from memory SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 uc import params from memory FM, simply by entering the name UC_IMPORT_PARAMS_FROM_MEMORY into the relevant SAP transaction such as SE37 or SE38.
Function Group: UCUM_02
Program Name: SAPLUCUM_02
Main Program: SAPLUCUM_02
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function UC_IMPORT_PARAMS_FROM_MEMORY 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 'UC_IMPORT_PARAMS_FROM_MEMORY'".
EXPORTING
I_AREA = "Consolidation Area
* I_MONFLG = ' ' "General Indicator for SAP Consolidation
* I_REPID = "
* I_VARIFLG = ' ' "General Indicator for SAP Consolidation
IMPORTING
ET_LOC_PARAM = "
E_MONFLG = "General Indicator for SAP Consolidation
E_VARIFLG = "General Indicator for SAP Consolidation
EXCEPTIONS
NOTHING_FOUND = 1
IMPORTING Parameters details for UC_IMPORT_PARAMS_FROM_MEMORY
I_AREA - Consolidation Area
Data type: UC_AREAOptional: No
Call by Reference: No ( called with pass by value option)
I_MONFLG - General Indicator for SAP Consolidation
Data type: UC_FLGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_REPID -
Data type: SY-REPIDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_VARIFLG - General Indicator for SAP Consolidation
Data type: UC_FLGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for UC_IMPORT_PARAMS_FROM_MEMORY
ET_LOC_PARAM -
Data type: UCM_TS_PARAMETEROptional: No
Call by Reference: No ( called with pass by value option)
E_MONFLG - General Indicator for SAP Consolidation
Data type: UC_FLGOptional: No
Call by Reference: No ( called with pass by value option)
E_VARIFLG - General Indicator for SAP Consolidation
Data type: UC_FLGOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOTHING_FOUND - No data found
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for UC_IMPORT_PARAMS_FROM_MEMORY 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_area | TYPE UC_AREA, " | |||
| lv_et_loc_param | TYPE UCM_TS_PARAMETER, " | |||
| lv_nothing_found | TYPE UCM_TS_PARAMETER, " | |||
| lv_e_monflg | TYPE UC_FLG, " | |||
| lv_i_monflg | TYPE UC_FLG, " SPACE | |||
| lv_i_repid | TYPE SY-REPID, " | |||
| lv_e_variflg | TYPE UC_FLG, " | |||
| lv_i_variflg | TYPE UC_FLG. " SPACE |
|   CALL FUNCTION 'UC_IMPORT_PARAMS_FROM_MEMORY' " |
| EXPORTING | ||
| I_AREA | = lv_i_area | |
| I_MONFLG | = lv_i_monflg | |
| I_REPID | = lv_i_repid | |
| I_VARIFLG | = lv_i_variflg | |
| IMPORTING | ||
| ET_LOC_PARAM | = lv_et_loc_param | |
| E_MONFLG | = lv_e_monflg | |
| E_VARIFLG | = lv_e_variflg | |
| EXCEPTIONS | ||
| NOTHING_FOUND = 1 | ||
| . " UC_IMPORT_PARAMS_FROM_MEMORY | ||
ABAP code using 7.40 inline data declarations to call FM UC_IMPORT_PARAMS_FROM_MEMORY
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_monflg) | = ' '. | |||
| "SELECT single REPID FROM SY INTO @DATA(ld_i_repid). | ||||
| DATA(ld_i_variflg) | = ' '. | |||
Search for further information about these or an SAP related objects