SAP QIBP_INSPPOINT_GETLIST Function Module for Select insp. points









QIBP_INSPPOINT_GETLIST is a standard qibp insppoint getlist SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Select insp. points 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 qibp insppoint getlist FM, simply by entering the name QIBP_INSPPOINT_GETLIST into the relevant SAP transaction such as SE37 or SE38.

Function Group: QIBP
Program Name: SAPLQIBP
Main Program: SAPLQIBP
Appliation area: Q
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function QIBP_INSPPOINT_GETLIST 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 'QIBP_INSPPOINT_GETLIST'"Select insp. points
EXPORTING
I_INSP_LOT = "Inspection Lot Number
I_INSP_LOT_OPERATION = "Inspection Lot Operation Number
* I_INSP_POINT_FROM = "First Inspection Point to be Loaded
* I_INSP_POINT_TO = "Last Inspection Point to be Loaded

TABLES
T_QAPP_TAB = "Insp. point list
T_QALT_TAB = "

EXCEPTIONS
WRONG_INSP_LOT = 1 WRONG_INSP_LOT_OPERATION = 2 NO_INSP_POINT = 3
.



IMPORTING Parameters details for QIBP_INSPPOINT_GETLIST

I_INSP_LOT - Inspection Lot Number

Data type: QALS-PRUEFLOS
Optional: No
Call by Reference: No ( called with pass by value option)

I_INSP_LOT_OPERATION - Inspection Lot Operation Number

Data type: QAPO-VORNR
Optional: No
Call by Reference: No ( called with pass by value option)

I_INSP_POINT_FROM - First Inspection Point to be Loaded

Data type: QASV-PROBENR
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_INSP_POINT_TO - Last Inspection Point to be Loaded

Data type: QASV-PROBENR
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for QIBP_INSPPOINT_GETLIST

T_QAPP_TAB - Insp. point list

Data type: QAPP
Optional: No
Call by Reference: No ( called with pass by value option)

T_QALT_TAB -

Data type: QALT
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

WRONG_INSP_LOT - Error while reading inspection lot

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

WRONG_INSP_LOT_OPERATION -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NO_INSP_POINT - There are no inspection points

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for QIBP_INSPPOINT_GETLIST 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_insp_lot  TYPE QALS-PRUEFLOS, "   
lt_t_qapp_tab  TYPE STANDARD TABLE OF QAPP, "   
lv_wrong_insp_lot  TYPE QAPP, "   
lt_t_qalt_tab  TYPE STANDARD TABLE OF QALT, "   
lv_i_insp_lot_operation  TYPE QAPO-VORNR, "   
lv_wrong_insp_lot_operation  TYPE QAPO, "   
lv_no_insp_point  TYPE QAPO, "   
lv_i_insp_point_from  TYPE QASV-PROBENR, "   
lv_i_insp_point_to  TYPE QASV-PROBENR. "   

  CALL FUNCTION 'QIBP_INSPPOINT_GETLIST'  "Select insp. points
    EXPORTING
         I_INSP_LOT = lv_i_insp_lot
         I_INSP_LOT_OPERATION = lv_i_insp_lot_operation
         I_INSP_POINT_FROM = lv_i_insp_point_from
         I_INSP_POINT_TO = lv_i_insp_point_to
    TABLES
         T_QAPP_TAB = lt_t_qapp_tab
         T_QALT_TAB = lt_t_qalt_tab
    EXCEPTIONS
        WRONG_INSP_LOT = 1
        WRONG_INSP_LOT_OPERATION = 2
        NO_INSP_POINT = 3
. " QIBP_INSPPOINT_GETLIST




ABAP code using 7.40 inline data declarations to call FM QIBP_INSPPOINT_GETLIST

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 PRUEFLOS FROM QALS INTO @DATA(ld_i_insp_lot).
 
 
 
 
"SELECT single VORNR FROM QAPO INTO @DATA(ld_i_insp_lot_operation).
 
 
 
"SELECT single PROBENR FROM QASV INTO @DATA(ld_i_insp_point_from).
 
"SELECT single PROBENR FROM QASV INTO @DATA(ld_i_insp_point_to).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!