SAP QMSP_PATTERN_CHECK_GEN_CHAR Function Module for NOTRANSL: NICHT MEHR VERWENDEN !! prüft, ob ein Wert in ein Klassenmerkmal









QMSP_PATTERN_CHECK_GEN_CHAR is a standard qmsp pattern check gen char SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: NICHT MEHR VERWENDEN !! prüft, ob ein Wert in ein Klassenmerkmal 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 qmsp pattern check gen char FM, simply by entering the name QMSP_PATTERN_CHECK_GEN_CHAR into the relevant SAP transaction such as SE37 or SE38.

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



Function QMSP_PATTERN_CHECK_GEN_CHAR 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 'QMSP_PATTERN_CHECK_GEN_CHAR'"NOTRANSL: NICHT MEHR VERWENDEN !! prüft, ob ein Wert in ein Klassenmerkmal
EXPORTING
I_ATFOR = "
I_ATFLV = "
I_ATVOR = "
I_ATDEX = "
I_ANZST = "
I_ATDIM = "
I_ANZDZ = "

EXCEPTIONS
PATTERN_CHECK = 1
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLQMSP_001 Customer Exit for Reading Specification
EXIT_SAPLQMSP_002 Customer Exit for Characteristic Valuation of Batch Classification
EXIT_SAPLQMSP_003 Customer Exit Based on Characteristic Valuation

IMPORTING Parameters details for QMSP_PATTERN_CHECK_GEN_CHAR

I_ATFOR -

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

I_ATFLV -

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

I_ATVOR -

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

I_ATDEX -

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

I_ANZST -

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

I_ATDIM -

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

I_ANZDZ -

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

EXCEPTIONS details

PATTERN_CHECK -

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

Copy and paste ABAP code example for QMSP_PATTERN_CHECK_GEN_CHAR 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_atfor  TYPE CABN-ATFOR, "   
lv_pattern_check  TYPE CABN, "   
lv_i_atflv  TYPE CAWN-ATFLV, "   
lv_i_atvor  TYPE CABN-ATVOR, "   
lv_i_atdex  TYPE CABN-ATDEX, "   
lv_i_anzst  TYPE CABN-ANZST, "   
lv_i_atdim  TYPE CABN-ANZDZ, "   
lv_i_anzdz  TYPE CABN-ANZDZ. "   

  CALL FUNCTION 'QMSP_PATTERN_CHECK_GEN_CHAR'  "NOTRANSL: NICHT MEHR VERWENDEN !! prüft, ob ein Wert in ein Klassenmerkmal
    EXPORTING
         I_ATFOR = lv_i_atfor
         I_ATFLV = lv_i_atflv
         I_ATVOR = lv_i_atvor
         I_ATDEX = lv_i_atdex
         I_ANZST = lv_i_anzst
         I_ATDIM = lv_i_atdim
         I_ANZDZ = lv_i_anzdz
    EXCEPTIONS
        PATTERN_CHECK = 1
. " QMSP_PATTERN_CHECK_GEN_CHAR




ABAP code using 7.40 inline data declarations to call FM QMSP_PATTERN_CHECK_GEN_CHAR

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 ATFOR FROM CABN INTO @DATA(ld_i_atfor).
 
 
"SELECT single ATFLV FROM CAWN INTO @DATA(ld_i_atflv).
 
"SELECT single ATVOR FROM CABN INTO @DATA(ld_i_atvor).
 
"SELECT single ATDEX FROM CABN INTO @DATA(ld_i_atdex).
 
"SELECT single ANZST FROM CABN INTO @DATA(ld_i_anzst).
 
"SELECT single ANZDZ FROM CABN INTO @DATA(ld_i_atdim).
 
"SELECT single ANZDZ FROM CABN INTO @DATA(ld_i_anzdz).
 


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!