SAP QELB_IP_PARTIAL_LOT_SELECT Function Module for NOTRANSL: Liste mit Teillosen für die Zuordnung eines Prüfpunktes
QELB_IP_PARTIAL_LOT_SELECT is a standard qelb ip partial lot select 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: Liste mit Teillosen für die Zuordnung eines Prüfpunktes 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 qelb ip partial lot select FM, simply by entering the name QELB_IP_PARTIAL_LOT_SELECT into the relevant SAP transaction such as SE37 or SE38.
Function Group: QELB
Program Name: SAPLQELB
Main Program: SAPLQELB
Appliation area: Q
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function QELB_IP_PARTIAL_LOT_SELECT 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 'QELB_IP_PARTIAL_LOT_SELECT'"NOTRANSL: Liste mit Teillosen für die Zuordnung eines Prüfpunktes.
EXPORTING
* I_WINX1_04 = 01 "
* I_WINX2_04 = 81 "
* I_WINY1_04 = 03 "
* I_WINY2_04 = 18 "
I_PRUEFLOS = "
I_VORGLFNR = "
I_MATNR = "
IMPORTING
E_QALT = "
EXCEPTIONS
NO_DATA_FOUND = 1 NO_DATA_SELECTED = 2
IMPORTING Parameters details for QELB_IP_PARTIAL_LOT_SELECT
I_WINX1_04 -
Data type: SY-WINX1Default: 01
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_WINX2_04 -
Data type: SY-WINX2Default: 81
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_WINY1_04 -
Data type: SY-WINY1Default: 03
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_WINY2_04 -
Data type: SY-WINY2Default: 18
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PRUEFLOS -
Data type: QAPP-PRUEFLOSOptional: No
Call by Reference: No ( called with pass by value option)
I_VORGLFNR -
Data type: QAPP-VORGLFNROptional: No
Call by Reference: No ( called with pass by value option)
I_MATNR -
Data type: QAPPW-MATNROptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for QELB_IP_PARTIAL_LOT_SELECT
E_QALT -
Data type: QALTOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_DATA_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_DATA_SELECTED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for QELB_IP_PARTIAL_LOT_SELECT 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_qalt | TYPE QALT, " | |||
| lv_i_winx1_04 | TYPE SY-WINX1, " 01 | |||
| lv_no_data_found | TYPE SY, " | |||
| lv_i_winx2_04 | TYPE SY-WINX2, " 81 | |||
| lv_no_data_selected | TYPE SY, " | |||
| lv_i_winy1_04 | TYPE SY-WINY1, " 03 | |||
| lv_i_winy2_04 | TYPE SY-WINY2, " 18 | |||
| lv_i_prueflos | TYPE QAPP-PRUEFLOS, " | |||
| lv_i_vorglfnr | TYPE QAPP-VORGLFNR, " | |||
| lv_i_matnr | TYPE QAPPW-MATNR. " |
|   CALL FUNCTION 'QELB_IP_PARTIAL_LOT_SELECT' "NOTRANSL: Liste mit Teillosen für die Zuordnung eines Prüfpunktes |
| EXPORTING | ||
| I_WINX1_04 | = lv_i_winx1_04 | |
| I_WINX2_04 | = lv_i_winx2_04 | |
| I_WINY1_04 | = lv_i_winy1_04 | |
| I_WINY2_04 | = lv_i_winy2_04 | |
| I_PRUEFLOS | = lv_i_prueflos | |
| I_VORGLFNR | = lv_i_vorglfnr | |
| I_MATNR | = lv_i_matnr | |
| IMPORTING | ||
| E_QALT | = lv_e_qalt | |
| EXCEPTIONS | ||
| NO_DATA_FOUND = 1 | ||
| NO_DATA_SELECTED = 2 | ||
| . " QELB_IP_PARTIAL_LOT_SELECT | ||
ABAP code using 7.40 inline data declarations to call FM QELB_IP_PARTIAL_LOT_SELECT
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 WINX1 FROM SY INTO @DATA(ld_i_winx1_04). | ||||
| DATA(ld_i_winx1_04) | = 01. | |||
| "SELECT single WINX2 FROM SY INTO @DATA(ld_i_winx2_04). | ||||
| DATA(ld_i_winx2_04) | = 81. | |||
| "SELECT single WINY1 FROM SY INTO @DATA(ld_i_winy1_04). | ||||
| DATA(ld_i_winy1_04) | = 03. | |||
| "SELECT single WINY2 FROM SY INTO @DATA(ld_i_winy2_04). | ||||
| DATA(ld_i_winy2_04) | = 18. | |||
| "SELECT single PRUEFLOS FROM QAPP INTO @DATA(ld_i_prueflos). | ||||
| "SELECT single VORGLFNR FROM QAPP INTO @DATA(ld_i_vorglfnr). | ||||
| "SELECT single MATNR FROM QAPPW INTO @DATA(ld_i_matnr). | ||||
Search for further information about these or an SAP related objects