SAP UKM_LIST_ON_FREESELECTION Function Module for
UKM_LIST_ON_FREESELECTION is a standard ukm list on freeselection 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 ukm list on freeselection FM, simply by entering the name UKM_LIST_ON_FREESELECTION into the relevant SAP transaction such as SE37 or SE38.
Function Group: UKM_LIST_SERVICES
Program Name: SAPLUKM_LIST_SERVICES
Main Program: SAPLUKM_LIST_SERVICES
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function UKM_LIST_ON_FREESELECTION 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 'UKM_LIST_ON_FREESELECTION'".
EXPORTING
P_CHANGE_MODE = "
IMPORTING
E_SEL_NUM = "Internal Tables, Current Row Index
CHANGING
* PS_DYNS = "
* PS_NUM = "Number of Rows in Internal Tables
* PT_WHERE = "
* PT_RANGE = "
IMPORTING Parameters details for UKM_LIST_ON_FREESELECTION
P_CHANGE_MODE -
Data type: COptional: No
Call by Reference: Yes
EXPORTING Parameters details for UKM_LIST_ON_FREESELECTION
E_SEL_NUM - Internal Tables, Current Row Index
Data type: SY-TABIXOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for UKM_LIST_ON_FREESELECTION
PS_DYNS -
Data type: RSDS_TYPEOptional: Yes
Call by Reference: Yes
PS_NUM - Number of Rows in Internal Tables
Data type: SY-TFILLOptional: Yes
Call by Reference: Yes
PT_WHERE -
Data type: RSDS_TWHEREOptional: Yes
Call by Reference: Yes
PT_RANGE -
Data type: RSDS_TRANGEOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for UKM_LIST_ON_FREESELECTION 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_ps_dyns | TYPE RSDS_TYPE, " | |||
| lv_e_sel_num | TYPE SY-TABIX, " | |||
| lv_p_change_mode | TYPE C, " | |||
| lv_ps_num | TYPE SY-TFILL, " | |||
| lv_pt_where | TYPE RSDS_TWHERE, " | |||
| lv_pt_range | TYPE RSDS_TRANGE. " |
|   CALL FUNCTION 'UKM_LIST_ON_FREESELECTION' " |
| EXPORTING | ||
| P_CHANGE_MODE | = lv_p_change_mode | |
| IMPORTING | ||
| E_SEL_NUM | = lv_e_sel_num | |
| CHANGING | ||
| PS_DYNS | = lv_ps_dyns | |
| PS_NUM | = lv_ps_num | |
| PT_WHERE | = lv_pt_where | |
| PT_RANGE | = lv_pt_range | |
| . " UKM_LIST_ON_FREESELECTION | ||
ABAP code using 7.40 inline data declarations to call FM UKM_LIST_ON_FREESELECTION
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.| "SELECT single TABIX FROM SY INTO @DATA(ld_e_sel_num). | ||||
| "SELECT single TFILL FROM SY INTO @DATA(ld_ps_num). | ||||
Search for further information about these or an SAP related objects