SAP EXIT_SAPLQPGR_022 Function Module for Customizing Exit Extension Parameters ALE Interface for Code Groups









EXIT_SAPLQPGR_022 is a standard exit saplqpgr 022 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Customizing Exit Extension Parameters ALE Interface for Code Groups 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 saplqpgr 022 FM, simply by entering the name EXIT_SAPLQPGR_022 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLQPGR_022 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_SAPLQPGR_022'"Customizing Exit Extension Parameters ALE Interface for Code Groups
EXPORTING
I_QPGR = "Code Group

TABLES
T_CODES = "Codes for Code Group
T_EXTENSION1 = "Container for 'Customer Exit' Parameter
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
ALE_QPGR_SAVEREPLICA NOTRANSL: BAPI -> IDoc: ALE_QPGR_SAVEREPLICA
BAPI_QPGR_REPLICATE Prepare QM Code Groups/Catalogs for Distribution
BAPI_QPGR_SAVEREPLICA Replication of QM Code Groups/Catalogs
IDOC_INPUT_QPGR NOTRANSL: IDoc -> BAPI: IDOC_INPUT_QPGR
MAP2E_QPCD_TO_BAPIQPGR_QPCD NOTRANSL: qpcd -> bapiqpgr_qpcd
MAP2E_QPCT_TO_BAPIQPGR_QPCT NOTRANSL: qpct -> bapiqpgr_qpct
MAP2E_QPGR_TO_BAPIQPGR_QPGR NOTRANSL: qpgr -> bapiqpgr_qpgr
MAP2E_QPGT_TO_BAPIQPGR_QPGT NOTRANSL: qpgt -> bapiqpgr_qpgt
MAP2E_QPMLTXT_TO_BAPIQPGR_CD_L NOTRANSL: qpmltxt -> bapiqpgr_cd_ltxt
MAP2E_QPMLTXT_TO_BAPIQPGR_GRP_ NOTRANSL: qpmltxt -> bapiqpgr_grp_ltxt
MAP2I_BAPIQPGR_CD_LTXT_TO_QPML NOTRANSL: bapiqpgr_cd_ltxt -> qpmltxt
MAP2I_BAPIQPGR_GRP_LTXT_TO_QPM NOTRANSL: bapiqpgr_grp_ltxt -> qpmltxt
MAP2I_BAPIQPGR_QPCD_TO_QPCD NOTRANSL: bapiqpgr_qpcd -> qpcd
MAP2I_BAPIQPGR_QPCT_TO_QPCT NOTRANSL: bapiqpgr_qpct -> qpct
MAP2I_BAPIQPGR_QPGR_TO_QPGR NOTRANSL: bapiqpgr_qpgr -> qpgr
MAP2I_BAPIQPGR_QPGT_TO_QPGT NOTRANSL: bapiqpgr_qpgt -> qpgt
QPGR_CODEGROUP_CHANGE NOTRANSL: Codegruppe ändern
QPGR_CODEGROUP_CREATE NOTRANSL: Codegruppe anlegen
QPGR_CODEGROUP_DELETE NOTRANSL: Codegruppe löschen
QPGR_CODEGRP_READ NOTRANSL: Codegruppe(n) in Tabelle QPGR lesen
QPGR_CODES_READ NOTRANSL: Codes zu(r) Codegruppe(n) in Tabelle QPCD lesen
QPGR_CODE_CHANGE NOTRANSL: Code ändern
QPGR_CODE_CREATE NOTRANSL: Code in Codegruppe anlegen
QPGR_CODE_DELETE NOTRANSL: Code löschen

IMPORTING Parameters details for EXIT_SAPLQPGR_022

I_QPGR - Code Group

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

TABLES Parameters details for EXIT_SAPLQPGR_022

T_CODES - Codes for Code Group

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

T_EXTENSION1 - Container for 'Customer Exit' Parameter

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

Copy and paste ABAP code example for EXIT_SAPLQPGR_022 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_qpgr  TYPE QPGR, "   
lt_t_codes  TYPE STANDARD TABLE OF QPCD, "   
lt_t_extension1  TYPE STANDARD TABLE OF BAPIEXTC. "   

  CALL FUNCTION 'EXIT_SAPLQPGR_022'  "Customizing Exit Extension Parameters ALE Interface for Code Groups
    EXPORTING
         I_QPGR = lv_i_qpgr
    TABLES
         T_CODES = lt_t_codes
         T_EXTENSION1 = lt_t_extension1
. " EXIT_SAPLQPGR_022




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLQPGR_022

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



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!