SAP EXIT_SAPLQPMK_022 Function Module for Customer Enhancement SaveReplica BAPI Master Insp. Char. (Post IDOCs)









EXIT_SAPLQPMK_022 is a standard exit saplqpmk 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 Customer Enhancement SaveReplica BAPI Master Insp. Char. (Post IDOCs) 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 saplqpmk 022 FM, simply by entering the name EXIT_SAPLQPMK_022 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLQPMK_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_SAPLQPMK_022'"Customer Enhancement SaveReplica BAPI Master Insp. Char. (Post IDOCs)
TABLES
T_MASTER_CHA = "Master inspection characteristic
T_SHORTTEXTTAB = "Short Text Table for Master Insp. Char.
* T_LONGTEXTTAB = "Long Text Lines for Inspection Methods
* T_SMPL_LONGTEXTTAB = "Physical Sample Drawing for Master Insp. Char.
* T_QPMZTAB = "Inspection Methods for Master Inspection Char.
* 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_QPMK_SAVEREPLICA NOTRANSL: BAPI -> IDoc: ALE_QPMK_SAVEREPLICA
BAPI_QPMK_REPLICATE Prepare QM Master Inspection Characteristics for Distribution
BAPI_QPMK_SAVEREPLICA Replication of QM Master Inspection Characteristics (ALE)
IDOC_INPUT_QPMK NOTRANSL: IDoc -> BAPI: IDOC_INPUT_QPMK
MAP2E_QPMK_TO_BAPIQPMK_QPMK NOTRANSL: qpmk -> bapiqpmk_qpmk
MAP2E_QPMLTXT_TO_BAPIQPMK_LONG NOTRANSL: qpmltxt -> bapiqpmk_longtext
MAP2E_QPMT_TO_BAPIQPMK_QPMT NOTRANSL: qpmt -> bapiqpmk_qpmt
MAP2E_QPMZ_TO_BAPIQPMK_QPMZ NOTRANSL: qpmz -> bapiqpmk_qpmz
MAP2I_BAPIQPMK_LONGTEXT_TO_QPM NOTRANSL: bapiqpmk_longtext -> qpmltxt
MAP2I_BAPIQPMK_QPMK_TO_QPMK NOTRANSL: bapiqpmk_qpmk -> qpmk
MAP2I_BAPIQPMK_QPMT_TO_QPMKTXT NOTRANSL: bapiqpmk_qpmt -> qpmktxt
MAP2I_BAPIQPMK_QPMZ_TO_QPMZ NOTRANSL: bapiqpmk_qpmz -> qpmz
QPMK_LTEXT_PROVIDE NOTRANSL: qpmk
QPMK_MSTCHA_DATE_DELETE NOTRANSL: Gültigkeitsstand eines Stammprüfmerkmals löschen
QPMK_MSTCHA_POST NOTRANSL: Verbuchungsbaustein für Stammprüfmerkmale (QPMK)
QPMK_MSTCHA_QPMZ_POST NOTRANSL: Verbuchungsbaustein für Kataloge/Methoden eines Stammprüfmerkmal
QPMK_MSTCHA_TEXT_POST NOTRANSL: Verbuchungsbaustein für die Texte eines Stammprüfmerkmals (QPMK)
QPMK_MSTCHA_VERS_CHANGE NOTRANSL: Version eines Stammprüfmerkmals ändern
QPMK_MSTCHA_VERS_CREATE NOTRANSL: Version eines Stammprüfmerkmals vollständig anlegen
QPMK_MSTCHA_VERS_DELETE NOTRANSL: Version eines Stammprüfmerkmals löschen

TABLES Parameters details for EXIT_SAPLQPMK_022

T_MASTER_CHA - Master inspection characteristic

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

T_SHORTTEXTTAB - Short Text Table for Master Insp. Char.

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

T_LONGTEXTTAB - Long Text Lines for Inspection Methods

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

T_SMPL_LONGTEXTTAB - Physical Sample Drawing for Master Insp. Char.

Data type: QPMLTXT
Optional: Yes
Call by Reference: Yes

T_QPMZTAB - Inspection Methods for Master Inspection Char.

Data type: QPMZ
Optional: Yes
Call by Reference: Yes

T_EXTENSION1 - Container for 'Customer Exit' Parameter

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

Copy and paste ABAP code example for EXIT_SAPLQPMK_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:
lt_t_master_cha  TYPE STANDARD TABLE OF QPMK, "   
lt_t_shorttexttab  TYPE STANDARD TABLE OF QPMT, "   
lt_t_longtexttab  TYPE STANDARD TABLE OF QPMLTXT, "   
lt_t_smpl_longtexttab  TYPE STANDARD TABLE OF QPMLTXT, "   
lt_t_qpmztab  TYPE STANDARD TABLE OF QPMZ, "   
lt_t_extension1  TYPE STANDARD TABLE OF BAPIEXTC. "   

  CALL FUNCTION 'EXIT_SAPLQPMK_022'  "Customer Enhancement SaveReplica BAPI Master Insp. Char. (Post IDOCs)
    TABLES
         T_MASTER_CHA = lt_t_master_cha
         T_SHORTTEXTTAB = lt_t_shorttexttab
         T_LONGTEXTTAB = lt_t_longtexttab
         T_SMPL_LONGTEXTTAB = lt_t_smpl_longtexttab
         T_QPMZTAB = lt_t_qpmztab
         T_EXTENSION1 = lt_t_extension1
. " EXIT_SAPLQPMK_022




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLQPMK_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!