SAP QBIC_RECURRING_INSPECTION Function Module for NOTRANSL: Prüfloserzeugung im Batch Information Cockpit









QBIC_RECURRING_INSPECTION is a standard qbic recurring inspection 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: Prüfloserzeugung im Batch Information Cockpit 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 qbic recurring inspection FM, simply by entering the name QBIC_RECURRING_INSPECTION into the relevant SAP transaction such as SE37 or SE38.

Function Group: QBIC
Program Name: SAPLQBIC
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function QBIC_RECURRING_INSPECTION 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 'QBIC_RECURRING_INSPECTION'"NOTRANSL: Prüfloserzeugung im Batch Information Cockpit
EXPORTING
I_MATNR = "Material Number
I_WERKS = "Plant
I_CHARG = "Batch Number
I_MEINS = "Base Unit of Measure for Inspection Lot Quantity
I_LOSMENGE = "Inspection Lot Quantity
I_ART = "Inspection Type
I_QNDAT = "Valid-To Date for The Batch Certificate

TABLES
T_MSG = "Application Log: Table with Messages
.



IMPORTING Parameters details for QBIC_RECURRING_INSPECTION

I_MATNR - Material Number

Data type: QALS-MATNR
Optional: No
Call by Reference: Yes

I_WERKS - Plant

Data type: QALS-WERK
Optional: No
Call by Reference: Yes

I_CHARG - Batch Number

Data type: QALS-CHARG
Optional: No
Call by Reference: Yes

I_MEINS - Base Unit of Measure for Inspection Lot Quantity

Data type: QALS-MENGENEINH
Optional: No
Call by Reference: Yes

I_LOSMENGE - Inspection Lot Quantity

Data type: QALS-LOSMENGE
Optional: No
Call by Reference: Yes

I_ART - Inspection Type

Data type: QALS-ART
Optional: No
Call by Reference: Yes

I_QNDAT - Valid-To Date for The Batch Certificate

Data type: QALS-ZEUGNISBIS
Optional: No
Call by Reference: Yes

TABLES Parameters details for QBIC_RECURRING_INSPECTION

T_MSG - Application Log: Table with Messages

Data type: BAL_T_MSG
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for QBIC_RECURRING_INSPECTION 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:
lt_t_msg  TYPE STANDARD TABLE OF BAL_T_MSG, "   
lv_i_matnr  TYPE QALS-MATNR, "   
lv_i_werks  TYPE QALS-WERK, "   
lv_i_charg  TYPE QALS-CHARG, "   
lv_i_meins  TYPE QALS-MENGENEINH, "   
lv_i_losmenge  TYPE QALS-LOSMENGE, "   
lv_i_art  TYPE QALS-ART, "   
lv_i_qndat  TYPE QALS-ZEUGNISBIS. "   

  CALL FUNCTION 'QBIC_RECURRING_INSPECTION'  "NOTRANSL: Prüfloserzeugung im Batch Information Cockpit
    EXPORTING
         I_MATNR = lv_i_matnr
         I_WERKS = lv_i_werks
         I_CHARG = lv_i_charg
         I_MEINS = lv_i_meins
         I_LOSMENGE = lv_i_losmenge
         I_ART = lv_i_art
         I_QNDAT = lv_i_qndat
    TABLES
         T_MSG = lt_t_msg
. " QBIC_RECURRING_INSPECTION




ABAP code using 7.40 inline data declarations to call FM QBIC_RECURRING_INSPECTION

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 MATNR FROM QALS INTO @DATA(ld_i_matnr).
 
"SELECT single WERK FROM QALS INTO @DATA(ld_i_werks).
 
"SELECT single CHARG FROM QALS INTO @DATA(ld_i_charg).
 
"SELECT single MENGENEINH FROM QALS INTO @DATA(ld_i_meins).
 
"SELECT single LOSMENGE FROM QALS INTO @DATA(ld_i_losmenge).
 
"SELECT single ART FROM QALS INTO @DATA(ld_i_art).
 
"SELECT single ZEUGNISBIS FROM QALS INTO @DATA(ld_i_qndat).
 


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!