SAP EXIT_SAPLQBCK_002 Function Module for Enhanced Inspection for Procurement Activity
EXIT_SAPLQBCK_002 is a standard exit saplqbck 002 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Enhanced Inspection for Procurement Activity 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 exit saplqbck 002 FM, simply by entering the name EXIT_SAPLQBCK_002 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XQBC
Program Name: SAPLXQBC
Main Program:
Appliation area: Q
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLQBCK_002 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 'EXIT_SAPLQBCK_002'"Enhanced Inspection for Procurement Activity.
EXPORTING
I_BZG = "Indicator for Source Determination
I_INQ = "Indicator for Inquiry
I_ORDER = "Indicator for Purchase Order/Delivery Schedule
I_QINF = "Current Q-Info Record
I_DAT = "Purchase Order Date
I_TQ04A = "Current TQ04A Record
I_TQ08 = "Current TQ08 Record
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.OBJECT_CHECK_QINF NOTRANSL: Existenzprüfung QINF-Satz
QBCK_DOCUMENT_TYPES_READ Read document type settings of QM
QBCK_DOCUMENT_TYPE_READ Read QM settings for document type
QBCK_INSP_TYPE_LIST NOTRANSL: Liste der möglichen Prüfarten zu QINF
QBCK_INSP_TYPE_NEXT NOTRANSL: Nächster Status mit Ordnungsnummer
QBCK_MATERIAL_CHECK_QINF NOTRANSL: Prüft die Verwendung eines Materials in Q-Infosätzen
QBCK_MIGO_ALL_TO_MM NOTRANSL: Übergabe des QM-Kontextes an MIGO
QBCK_MIGO_ALL_TO_QM NOTRANSL: Übernahme des gesamten QM-Kontexts aus der MIGO
QBCK_MIGO_CERT_REL_CHECK NOTRANSL: Prüfen ob Position relevant für Zeugnisabwicklung
QBCK_MIGO_LINE_DELETE NOTRANSL: Zeile im Memory löschen
QBCK_MIGO_LINE_READ NOTRANSL: Aktuellen Kontext lesen
QBCK_MIGO_LINE_SET NOTRANSL: setzt die aktuelle Zeile
QBCK_MIGO_LINE_SPLIT NOTRANSL: QBCK_MIGO_LINE_SPLIT
QBCK_MIGO_LINE_TO_QM NOTRANSL: Update Memory aus MIGO
QBCK_MIGO_REFRESH NOTRANSL: Löschen des QBCK-Kontextes der MIGO
QBCK_QINF_ACTION Execute Action on Quality Info-Records
QBCK_QINF_CHANGE Change Quality Info-Records
QBCK_QINF_CREATE Creates Quality Info-Records
QBCK_QINF_INSP_TYPE_CHECK NOTRANSL: Prüft ob eine Prüfart in QINF-Sätzen vorkommt
QBCK_QINF_LIEF_ZAEHL NOTRANSL: Umwandeln QINF-LIEFERANT/WERK in QINF-ZAEHL
QBCK_QINF_QUANTITY_CHANGE NOTRANSL: QM: Änderung der Menge in den QINF-Sätzen
QBCK_QINF_READ NOTRANSL: Lesen QINF-Satz
QBCK_QINF_STATUS_ACTION Execute Action on Quality Info-Records
QBCK_QINF_STATUS_NEXT NOTRANSL: ermittelt den nächsten externen Status zu einem QINF-Satz
QBCK_QINF_UPDATE_TO_DB NOTRANSL: QM: Buchen der QINF-Sätze
QBCK_QINF_VE_TO_DB NOTRANSL: Verbuchen der Statusänderung des QINF
QBCK_QINF_ZAEHL_CONV NOTRANSL: Umwandeln QINF-Key in Material/Lieferant/Revlv/Werk
QBCK_QINF_ZAEHL_LIEF NOTRANSL: Umwandeln QINF-Key in LIEFERANT/WERK
QBCK_QM_DOCUMENT_TEXTS NOTRANSL: QM: ermitteln der Langtextschlüssel zu QV und TL
QBCK_QM_GR_CHECK NOTRANSL: Prüfen, ob WE durchgeführt werden darf
QBCK_QM_PUR_CHECK NOTRANSL: Prüfen, ob für eine best. Einkaufsaktion QM-Freigabe vorliegt
QBCK_QM_PUR_MNG_UPD NOTRANSL: Ändern interne Mengentabelle für Einkaufsprüfungen
QBCK_QM_SYSTEMS_COMPARE NOTRANSL: Vergleich von Ist-QS-System(Bsp.Lief.) und Soll-QS-System(Bsp.Ma
QBCK_REFRESH_ALL NOTRANSL: Refresh auf alle globalen Daten der QBCK
QBCK_VB_QINF_FAI_POST Post change or First Article Planning in Q-Inforecord
QBCK_VB_QINF_PLOS2_POST NOTRANSL: Setzen Prüflosnummer 2 für Prüfung aktiv
QBCK_VE_QINF_STATUS Change status of Quality Inforecord and FAI from usage decision
IMPORTING Parameters details for EXIT_SAPLQBCK_002
I_BZG - Indicator for Source Determination
Data type: TQ04A-BESTELLUNGOptional: No
Call by Reference: No ( called with pass by value option)
I_INQ - Indicator for Inquiry
Data type: TQ04A-BESTELLUNGOptional: No
Call by Reference: No ( called with pass by value option)
I_ORDER - Indicator for Purchase Order/Delivery Schedule
Data type: TQ04A-BESTELLUNGOptional: No
Call by Reference: No ( called with pass by value option)
I_QINF - Current Q-Info Record
Data type: QINFOptional: No
Call by Reference: No ( called with pass by value option)
I_DAT - Purchase Order Date
Data type: QINF-FREI_DATOptional: No
Call by Reference: No ( called with pass by value option)
I_TQ04A - Current TQ04A Record
Data type: TQ04AOptional: No
Call by Reference: No ( called with pass by value option)
I_TQ08 - Current TQ08 Record
Data type: TQ08Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLQBCK_002 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_bzg | TYPE TQ04A-BESTELLUNG, " | |||
| lv_i_inq | TYPE TQ04A-BESTELLUNG, " | |||
| lv_i_order | TYPE TQ04A-BESTELLUNG, " | |||
| lv_i_qinf | TYPE QINF, " | |||
| lv_i_dat | TYPE QINF-FREI_DAT, " | |||
| lv_i_tq04a | TYPE TQ04A, " | |||
| lv_i_tq08 | TYPE TQ08. " |
|   CALL FUNCTION 'EXIT_SAPLQBCK_002' "Enhanced Inspection for Procurement Activity |
| EXPORTING | ||
| I_BZG | = lv_i_bzg | |
| I_INQ | = lv_i_inq | |
| I_ORDER | = lv_i_order | |
| I_QINF | = lv_i_qinf | |
| I_DAT | = lv_i_dat | |
| I_TQ04A | = lv_i_tq04a | |
| I_TQ08 | = lv_i_tq08 | |
| . " EXIT_SAPLQBCK_002 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLQBCK_002
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 BESTELLUNG FROM TQ04A INTO @DATA(ld_i_bzg). | ||||
| "SELECT single BESTELLUNG FROM TQ04A INTO @DATA(ld_i_inq). | ||||
| "SELECT single BESTELLUNG FROM TQ04A INTO @DATA(ld_i_order). | ||||
| "SELECT single FREI_DAT FROM QINF INTO @DATA(ld_i_dat). | ||||
Search for further information about these or an SAP related objects