SAP QEEV_CREATE_ONE_CHARACTERISTIC Function Module for NOTRANSL: Anlegen der Merkmalsvorgaben zu einem Prüfmerkmal anhand der Pla









QEEV_CREATE_ONE_CHARACTERISTIC is a standard qeev create one characteristic 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: Anlegen der Merkmalsvorgaben zu einem Prüfmerkmal anhand der Pla 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 qeev create one characteristic FM, simply by entering the name QEEV_CREATE_ONE_CHARACTERISTIC into the relevant SAP transaction such as SE37 or SE38.

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



Function QEEV_CREATE_ONE_CHARACTERISTIC 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 'QEEV_CREATE_ONE_CHARACTERISTIC'"NOTRANSL: Anlegen der Merkmalsvorgaben zu einem Prüfmerkmal anhand der Pla
EXPORTING
I_PLMK = "Work area for the characteristic
I_QALS = "Receiving work area for inspection lot
I_RUECKMELNR = "Confirmation number for inspection characteristic
* I_UNPLANNED_CHARACTERISTIC = ' ' "Indicator: Unplanned characteristic
I_QAPO = "Current node number
* I_LANGZEITPRUEFUNG_AKTIV = ' ' "
* I_LAST_CHAR = '0000' "

IMPORTING
E_QALS = "Output work area for the inspection lot
E_QAMV = "Output work area for the characteristic requirements record
E_QASV = "Output work area for the sample requirements record

EXCEPTIONS
NO_TQSS1_ENTRY = 1 NO_UNPLANNED_ENTRY = 2 ERROR_MESSAGE_QRK = 3 FOREIGN_LOCK_QASH = 4
.




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_SAPLQEEV_001 Customer Functions: Results Recording
EXIT_SAPLQEEV_002 User Exit: Create Char. Specs. for Insp. Lot Before Dynamic Modification
EXIT_SAPLQEEV_003 Determination of Order Type for Printing Inspection Instruction
EXIT_SAPLQEEV_004 Determination of Order Type for Printing Sample-Drawing Instruction

IMPORTING Parameters details for QEEV_CREATE_ONE_CHARACTERISTIC

I_PLMK - Work area for the characteristic

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

I_QALS - Receiving work area for inspection lot

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

I_RUECKMELNR - Confirmation number for inspection characteristic

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

I_UNPLANNED_CHARACTERISTIC - Indicator: Unplanned characteristic

Data type: QAMV-NIPLANMKKZ
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_QAPO - Current node number

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

I_LANGZEITPRUEFUNG_AKTIV -

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

I_LAST_CHAR -

Data type: QAMKR-MERKNR
Default: '0000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for QEEV_CREATE_ONE_CHARACTERISTIC

E_QALS - Output work area for the inspection lot

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

E_QAMV - Output work area for the characteristic requirements record

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

E_QASV - Output work area for the sample requirements record

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

EXCEPTIONS details

NO_TQSS1_ENTRY - No entry in control table TQSS1

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

NO_UNPLANNED_ENTRY - No entry for unplanned characteristics in table TQSS

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

ERROR_MESSAGE_QRK - Create defect notification from control chart

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

FOREIGN_LOCK_QASH - QASH record locked

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

Copy and paste ABAP code example for QEEV_CREATE_ONE_CHARACTERISTIC 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_qals  TYPE QALS, "   
lv_i_plmk  TYPE PLMKB, "   
lv_no_tqss1_entry  TYPE PLMKB, "   
lv_e_qamv  TYPE QAMV, "   
lv_i_qals  TYPE QALS, "   
lv_no_unplanned_entry  TYPE QALS, "   
lv_e_qasv  TYPE QASV, "   
lv_i_rueckmelnr  TYPE QAMV-RUECKMELNR, "   
lv_error_message_qrk  TYPE QAMV, "   
lv_foreign_lock_qash  TYPE QAMV, "   
lv_i_unplanned_characteristic  TYPE QAMV-NIPLANMKKZ, "   SPACE
lv_i_qapo  TYPE QAPO, "   
lv_i_langzeitpruefung_aktiv  TYPE QM00-QKZ, "   SPACE
lv_i_last_char  TYPE QAMKR-MERKNR. "   '0000'

  CALL FUNCTION 'QEEV_CREATE_ONE_CHARACTERISTIC'  "NOTRANSL: Anlegen der Merkmalsvorgaben zu einem Prüfmerkmal anhand der Pla
    EXPORTING
         I_PLMK = lv_i_plmk
         I_QALS = lv_i_qals
         I_RUECKMELNR = lv_i_rueckmelnr
         I_UNPLANNED_CHARACTERISTIC = lv_i_unplanned_characteristic
         I_QAPO = lv_i_qapo
         I_LANGZEITPRUEFUNG_AKTIV = lv_i_langzeitpruefung_aktiv
         I_LAST_CHAR = lv_i_last_char
    IMPORTING
         E_QALS = lv_e_qals
         E_QAMV = lv_e_qamv
         E_QASV = lv_e_qasv
    EXCEPTIONS
        NO_TQSS1_ENTRY = 1
        NO_UNPLANNED_ENTRY = 2
        ERROR_MESSAGE_QRK = 3
        FOREIGN_LOCK_QASH = 4
. " QEEV_CREATE_ONE_CHARACTERISTIC




ABAP code using 7.40 inline data declarations to call FM QEEV_CREATE_ONE_CHARACTERISTIC

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 RUECKMELNR FROM QAMV INTO @DATA(ld_i_rueckmelnr).
 
 
 
"SELECT single NIPLANMKKZ FROM QAMV INTO @DATA(ld_i_unplanned_characteristic).
DATA(ld_i_unplanned_characteristic) = ' '.
 
 
"SELECT single QKZ FROM QM00 INTO @DATA(ld_i_langzeitpruefung_aktiv).
DATA(ld_i_langzeitpruefung_aktiv) = ' '.
 
"SELECT single MERKNR FROM QAMKR INTO @DATA(ld_i_last_char).
DATA(ld_i_last_char) = '0000'.
 


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!