SAP EXIT_SAPLQBCK_001 Function Module for Customer Function for Determining Texts for Purchase Order Printout









EXIT_SAPLQBCK_001 is a standard exit saplqbck 001 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Customer Function for Determining Texts for Purchase Order Printout 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 001 FM, simply by entering the name EXIT_SAPLQBCK_001 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_001 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_001'"Customer Function for Determining Texts for Purchase Order Printout
EXPORTING
I_LTEXT = "Text Name/No.
I_WERK = "Plant
I_REVLV = "Revision Level
I_EMATNR = "
I_STAT17 = "
I_OBJECT = "Application Object (Text Processing)
I_TEXT = "Short Text (Standard: QA or TDT)
I_TXTID = "Text ID
I_DATUM = "Date of Purchase Order Printout
I_LANGU = "Language
I_LIFNR = "Vendor
I_MATNR = "Material
I_TQ08_QM_PUR = "Control Key: Procurement in the Material

IMPORTING
E_LTEXT = "Output: Text Name/No.
E_OBJECT = "Output: Application Object
E_TEXT = "Output: Short Text
E_TXTID = "Output: Text ID
E_ACTIVE = "Indicator: Output Should Be Copied
.



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_001

I_LTEXT - Text Name/No.

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

I_WERK - Plant

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

I_REVLV - Revision Level

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

I_EMATNR -

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

I_STAT17 -

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

I_OBJECT - Application Object (Text Processing)

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

I_TEXT - Short Text (Standard: QA or TDT)

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

I_TXTID - Text ID

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

I_DATUM - Date of Purchase Order Printout

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

I_LANGU - Language

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

I_LIFNR - Vendor

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

I_MATNR - Material

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

I_TQ08_QM_PUR - Control Key: Procurement in the Material

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

EXPORTING Parameters details for EXIT_SAPLQBCK_001

E_LTEXT - Output: Text Name/No.

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

E_OBJECT - Output: Application Object

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

E_TEXT - Output: Short Text

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

E_TXTID - Output: Text ID

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

E_ACTIVE - Indicator: Output Should Be Copied

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

Copy and paste ABAP code example for EXIT_SAPLQBCK_001 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_ltext  TYPE THEAD-TDNAME, "   
lv_i_ltext  TYPE THEAD-TDNAME, "   
lv_i_werk  TYPE QINF-WERK, "   
lv_i_revlv  TYPE QINF-REVLV, "   
lv_i_ematnr  TYPE QALS-EMATNR, "   
lv_i_stat17  TYPE QALS-STAT17, "   
lv_e_object  TYPE THEAD-TDOBJECT, "   
lv_i_object  TYPE THEAD-TDOBJECT, "   
lv_e_text  TYPE TQ09T-KURZTEXT, "   
lv_i_text  TYPE TQ09T-KURZTEXT, "   
lv_e_txtid  TYPE TTXID-TDID, "   
lv_i_txtid  TYPE TTXID-TDID, "   
lv_i_datum  TYPE QINF-FREI_DAT, "   
lv_e_active  TYPE QM00-QKZ, "   
lv_i_langu  TYPE SY-LANGU, "   
lv_i_lifnr  TYPE QINF-LIEFERANT, "   
lv_i_matnr  TYPE QINF-MATNR, "   
lv_i_tq08_qm_pur  TYPE TQ08-QM_PUR. "   

  CALL FUNCTION 'EXIT_SAPLQBCK_001'  "Customer Function for Determining Texts for Purchase Order Printout
    EXPORTING
         I_LTEXT = lv_i_ltext
         I_WERK = lv_i_werk
         I_REVLV = lv_i_revlv
         I_EMATNR = lv_i_ematnr
         I_STAT17 = lv_i_stat17
         I_OBJECT = lv_i_object
         I_TEXT = lv_i_text
         I_TXTID = lv_i_txtid
         I_DATUM = lv_i_datum
         I_LANGU = lv_i_langu
         I_LIFNR = lv_i_lifnr
         I_MATNR = lv_i_matnr
         I_TQ08_QM_PUR = lv_i_tq08_qm_pur
    IMPORTING
         E_LTEXT = lv_e_ltext
         E_OBJECT = lv_e_object
         E_TEXT = lv_e_text
         E_TXTID = lv_e_txtid
         E_ACTIVE = lv_e_active
. " EXIT_SAPLQBCK_001




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLQBCK_001

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 TDNAME FROM THEAD INTO @DATA(ld_e_ltext).
 
"SELECT single TDNAME FROM THEAD INTO @DATA(ld_i_ltext).
 
"SELECT single WERK FROM QINF INTO @DATA(ld_i_werk).
 
"SELECT single REVLV FROM QINF INTO @DATA(ld_i_revlv).
 
"SELECT single EMATNR FROM QALS INTO @DATA(ld_i_ematnr).
 
"SELECT single STAT17 FROM QALS INTO @DATA(ld_i_stat17).
 
"SELECT single TDOBJECT FROM THEAD INTO @DATA(ld_e_object).
 
"SELECT single TDOBJECT FROM THEAD INTO @DATA(ld_i_object).
 
"SELECT single KURZTEXT FROM TQ09T INTO @DATA(ld_e_text).
 
"SELECT single KURZTEXT FROM TQ09T INTO @DATA(ld_i_text).
 
"SELECT single TDID FROM TTXID INTO @DATA(ld_e_txtid).
 
"SELECT single TDID FROM TTXID INTO @DATA(ld_i_txtid).
 
"SELECT single FREI_DAT FROM QINF INTO @DATA(ld_i_datum).
 
"SELECT single QKZ FROM QM00 INTO @DATA(ld_e_active).
 
"SELECT single LANGU FROM SY INTO @DATA(ld_i_langu).
 
"SELECT single LIEFERANT FROM QINF INTO @DATA(ld_i_lifnr).
 
"SELECT single MATNR FROM QINF INTO @DATA(ld_i_matnr).
 
"SELECT single QM_PUR FROM TQ08 INTO @DATA(ld_i_tq08_qm_pur).
 


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!