SAP L_SELECT_ASSIGNED_PICKHUS Function Module for NOTRANSL: Ermitteln Pick-HU's für TA-Position ermitteln
L_SELECT_ASSIGNED_PICKHUS is a standard l select assigned pickhus SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Ermitteln Pick-HU's für TA-Position ermitteln 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 l select assigned pickhus FM, simply by entering the name L_SELECT_ASSIGNED_PICKHUS into the relevant SAP transaction such as SE37 or SE38.
Function Group: LHUM
Program Name: SAPLLHUM
Main Program: SAPLLHUM
Appliation area: L
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function L_SELECT_ASSIGNED_PICKHUS 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 'L_SELECT_ASSIGNED_PICKHUS'"NOTRANSL: Ermitteln Pick-HU's für TA-Position ermitteln.
EXPORTING
IF_MINWM = "
* IF_VBELN = ' ' "
* IF_LZNUM = ' ' "
CHANGING
E_LTAP = "
TABLES
I_LTHU = "
IT_VEKP = "
IT_VEPO = "
ET_LPICKHUSHOW = "
* IT_LTHU_ALL = "Assignment of Pick-HUs to Transfer Orders
IMPORTING Parameters details for L_SELECT_ASSIGNED_PICKHUS
IF_MINWM -
Data type: LTAK-MINWMOptional: No
Call by Reference: No ( called with pass by value option)
IF_VBELN -
Data type: LTAK-VBELNDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IF_LZNUM -
Data type: LTAK-LZNUMDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for L_SELECT_ASSIGNED_PICKHUS
E_LTAP -
Data type: LTAP_VBOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for L_SELECT_ASSIGNED_PICKHUS
I_LTHU -
Data type: LTHUOptional: No
Call by Reference: No ( called with pass by value option)
IT_VEKP -
Data type: VEKPVBOptional: No
Call by Reference: No ( called with pass by value option)
IT_VEPO -
Data type: VEPOVBOptional: No
Call by Reference: No ( called with pass by value option)
ET_LPICKHUSHOW -
Data type: LPICKHUSHOWOptional: No
Call by Reference: No ( called with pass by value option)
IT_LTHU_ALL - Assignment of Pick-HUs to Transfer Orders
Data type: LTHUOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for L_SELECT_ASSIGNED_PICKHUS 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_e_ltap | TYPE LTAP_VB, " | |||
| lt_i_lthu | TYPE STANDARD TABLE OF LTHU, " | |||
| lv_if_minwm | TYPE LTAK-MINWM, " | |||
| lt_it_vekp | TYPE STANDARD TABLE OF VEKPVB, " | |||
| lv_if_vbeln | TYPE LTAK-VBELN, " SPACE | |||
| lt_it_vepo | TYPE STANDARD TABLE OF VEPOVB, " | |||
| lv_if_lznum | TYPE LTAK-LZNUM, " SPACE | |||
| lt_et_lpickhushow | TYPE STANDARD TABLE OF LPICKHUSHOW, " | |||
| lt_it_lthu_all | TYPE STANDARD TABLE OF LTHU. " |
|   CALL FUNCTION 'L_SELECT_ASSIGNED_PICKHUS' "NOTRANSL: Ermitteln Pick-HU's für TA-Position ermitteln |
| EXPORTING | ||
| IF_MINWM | = lv_if_minwm | |
| IF_VBELN | = lv_if_vbeln | |
| IF_LZNUM | = lv_if_lznum | |
| CHANGING | ||
| E_LTAP | = lv_e_ltap | |
| TABLES | ||
| I_LTHU | = lt_i_lthu | |
| IT_VEKP | = lt_it_vekp | |
| IT_VEPO | = lt_it_vepo | |
| ET_LPICKHUSHOW | = lt_et_lpickhushow | |
| IT_LTHU_ALL | = lt_it_lthu_all | |
| . " L_SELECT_ASSIGNED_PICKHUS | ||
ABAP code using 7.40 inline data declarations to call FM L_SELECT_ASSIGNED_PICKHUS
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 MINWM FROM LTAK INTO @DATA(ld_if_minwm). | ||||
| "SELECT single VBELN FROM LTAK INTO @DATA(ld_if_vbeln). | ||||
| DATA(ld_if_vbeln) | = ' '. | |||
| "SELECT single LZNUM FROM LTAK INTO @DATA(ld_if_lznum). | ||||
| DATA(ld_if_lznum) | = ' '. | |||
Search for further information about these or an SAP related objects