SAP EXIT_SAPLBG00_002 Function Module for Customer Enhancement Control for Warranty Check Popup
EXIT_SAPLBG00_002 is a standard exit saplbg00 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 Customer Enhancement Control for Warranty Check Popup 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 saplbg00 002 FM, simply by entering the name EXIT_SAPLBG00_002 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XBG0
Program Name: SAPLXBG0
Main Program:
Appliation area: I
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLBG00_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_SAPLBG00_002'"Customer Enhancement Control for Warranty Check Popup.
EXPORTING
* I_EQUI = "
* I_IFLO = "
* I_QMEL = "Generated Table for View &
* I_CAUFVD = "
* I_VIAUFKS = "Generated Table for View &
CHANGING
* I_POPUP = "General Flag
TABLES
* I_TEXT1 = "
* I_RESULT = "Warranty Check Results
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.BG00_GLOBAL_MEMBERS_INITIALIZE NOTRANSL: Initialisierung aller globalen Daten der Funktionsgruppe
BG00_SET_PF_STATUS NOTRANSL: Setzen PF-Status
BG00_WARRANTY_CHECK Warranty check
BG00_WARRANTY_LINK_READ NOTRANSL: Lesen der Garantiezuordnung eines Technischen Objekts
BG00_WARRANTY_LINK_UPDATE NOTRANSL: Verbuchung BGMKOBJ
BG_BUILD_PRINT_KEY NOTRANSL: OBSOLET: Coding wurde gelöscht
COUNTER_OBJECT_MEASPT_CHECK NOTRANSL: Garantiezähler Prüfung gegen Objektmeßpunkte
GEN_MASTERWARRANTY_GENERAL NOTRANSL: Mustergarantie Allgemeine Daten
GEN_MASTERWARRANTY_NUMBER NOTRANSL: Mustergarantienummer ermitteln
INIT_MASTERWARRANTY NOTRANSL: Initialisierung Mustergarantien
INIT_MASTERWARRANTY_ART NOTRANSL: Initialisierung Mustergarantie Art
INIT_MASTERWARRANTY_EXTERN_NR NOTRANSL: Initialisierung Mustergarantie Externe Nummer
INIT_MASTERWARRANTY_GENERAL NOTRANSL: Initialisierung Allgemeine Daten Mustergarantie
INIT_MASTERWARRANTY_NUMBER NOTRANSL: Initialisierung Mustergarantie Nummernprüfung auf EXTERN
INIT_MASTERWARRANTY_STATUS NOTRANSL: OBSOLET: Coding wurde gelöscht
INSERT_OBJECT_MASTERWARRANTY_A NOTRANSL: OBSOLET: Coding wurde gelöscht
INX_MODIFY NOTRANSL: OBSOLET: Coding wurde gelöscht
MASTERWARRANTY_READ Read Master Warranty
MASTERWARRANTY_READ_TEXT NOTRANSL: Mustergarantie Text lesen
MASTERWARRANTY_WRITE_DOCUMENT Change Document
OBJECT_CHECK_BGMK NOTRANSL: Mustergarantie prüfen für Klassifizierung (Object_check)
OBJECT_CHECK_BGMP Check Service Item for Classification
READ_MASTERWARRANTY Read Master Warranty
READ_MASTERWARRANTY_POSITION NOTRANSL: Mustergarantie Positionen lesen
READ_OBJECT_MASTERWARRANTY_AS NOTRANSL: OBSOLET: Coding wurde gelöscht
RI_GET_TABLE_ENTRIES NOTRANSL: OBSOLET: Coding wurde gelöscht
UPDATE_OBJECT_MASTERWARRANTY_A NOTRANSL: Objekt-Mustergarantie-Zuordnung update (BGMKOBJ)
VBGMK_POST NOTRANSL: Mustergarantie buchen
VBGMP_POST NOTRANSL: Mustergarantie Positionen buchen
VBGMZ_POST NOTRANSL: Mustergarantiezähler buchen
WARRANTY_ASSIGNMENT_RFC NOTRANSL: Aktualisierung Objekt-Mustergarantie-Zuordnung (BGMKOBJ)
WARRANTY_ASSIGNMENT_UPDATE NOTRANSL: Garantie Equipment/tech.Platz Updatekennzeichen übergeben
WARRANTY_ASSIGNMENT_UPD_TASK Warranty asssignment in update task
WARRANTY_BGMKOBJ_READ Read Master Warranty
WARRANTY_CHECK_EQUIPMENT NOTRANSL: Garantieprüfung Equipment
WARRANTY_CHECK_EQUIPMENT_LIST NOTRANSL: OBSOLET: Coding wurde gelöscht
WARRANTY_CHECK_OBJECT NOTRANSL: Garantieprüfung - warranty_object_check
WARRANTY_CHECK_OBJECT_2 NOTRANSL: OBSOLET: Coding wurde gelöscht
WARRANTY_CHECK_POPUP NOTRANSL: Garantieprüfung Equipment
WARRANTY_CHECK_RFC NOTRANSL: Garantieprüfung RFC ohne Technische-Objekte-Hierarchie
WARRANTY_DEFAULTS_GET NOTRANSL: Garantieprüfung Equipment/tech.Platz übernehmen
WARRANTY_DEFAULTS_SERNR_GET NOTRANSL: Garantieprüfung Equipment/tech.Platz übernehmen
WARRANTY_END_DATE_GET Get end date of warranty for OBJNR
WARRANTY_EXPIRY_OBJECT_LIST NOTRANSL: Garantie-Monitor
WARRANTY_OBJEKT_GET NOTRANSL: Garantieprüfung Equipment/tech.Platz übernehmen
WARRANTY_POPUP NOTRANSL: OBSOLET: Coding wurde gelöscht
WARRANTY_SWITCH_OBJNR NOTRANSL: Garantie: tech.Objektnr.aktuell fuer Verbuchung der Zuordnung zu
WARRANTY_TABLES_READ NOTRANSL: Lesen der Mustergarantie Tabellen
W_CHECK_WITHOUT_MASTER NOTRANSL: Garantieprüfung Equipment
W_CHECK_WITH_MASTER NOTRANSL: Garantieprüfung mit Mustergarantie
IMPORTING Parameters details for EXIT_SAPLBG00_002
I_EQUI -
Data type: EQUIOptional: Yes
Call by Reference: Yes
I_IFLO -
Data type: IFLOOptional: Yes
Call by Reference: Yes
I_QMEL - Generated Table for View &
Data type: VIQMELOptional: Yes
Call by Reference: Yes
I_CAUFVD -
Data type: CAUFVDOptional: Yes
Call by Reference: Yes
I_VIAUFKS - Generated Table for View &
Data type: VIAUFKSOptional: Yes
Call by Reference: Yes
CHANGING Parameters details for EXIT_SAPLBG00_002
I_POPUP - General Flag
Data type: FLAGOptional: Yes
Call by Reference: Yes
TABLES Parameters details for EXIT_SAPLBG00_002
I_TEXT1 -
Data type: TLINEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_RESULT - Warranty Check Results
Data type: RESULT_WARRANTYOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for EXIT_SAPLBG00_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_equi | TYPE EQUI, " | |||
| lv_i_popup | TYPE FLAG, " | |||
| lt_i_text1 | TYPE STANDARD TABLE OF TLINE, " | |||
| lv_i_iflo | TYPE IFLO, " | |||
| lt_i_result | TYPE STANDARD TABLE OF RESULT_WARRANTY, " | |||
| lv_i_qmel | TYPE VIQMEL, " | |||
| lv_i_caufvd | TYPE CAUFVD, " | |||
| lv_i_viaufks | TYPE VIAUFKS. " |
|   CALL FUNCTION 'EXIT_SAPLBG00_002' "Customer Enhancement Control for Warranty Check Popup |
| EXPORTING | ||
| I_EQUI | = lv_i_equi | |
| I_IFLO | = lv_i_iflo | |
| I_QMEL | = lv_i_qmel | |
| I_CAUFVD | = lv_i_caufvd | |
| I_VIAUFKS | = lv_i_viaufks | |
| CHANGING | ||
| I_POPUP | = lv_i_popup | |
| TABLES | ||
| I_TEXT1 | = lt_i_text1 | |
| I_RESULT | = lt_i_result | |
| . " EXIT_SAPLBG00_002 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLBG00_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.Search for further information about these or an SAP related objects