SAP QEEA_FEATURES_READING Function Module for NOTRANSL: Einlesen Merkmale zu einem Prüflos nach verschiedenen Kriterien
QEEA_FEATURES_READING is a standard qeea features reading 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: Einlesen Merkmale zu einem Prüflos nach verschiedenen Kriterien 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 qeea features reading FM, simply by entering the name QEEA_FEATURES_READING into the relevant SAP transaction such as SE37 or SE38.
Function Group: QEEA
Program Name: SAPLQEEA
Main Program: SAPLQEEA
Appliation area: Q
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function QEEA_FEATURES_READING 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 'QEEA_FEATURES_READING'"NOTRANSL: Einlesen Merkmale zu einem Prüflos nach verschiedenen Kriterien.
EXPORTING
I_AUFPL = "
* I_TCODE = SY-TCODE "Transaction code to read table TQ78
* I_VORGANG_LESEN = ' ' "Flag whether operations should also be imported
* KZ_BEWERTG = 'X' "Valuation data should also be read
* KZ_R2 = ' ' "
* MODE = '1 ' "
PRUEFLOS = "Inspection lot number
* I_KEINE_KLASSIERUNG = ' ' "Indicator read no classified characteristic
* I_AKTIVITAET = 'E' "Transaction activity
* I_PROBENR = '000000' "Sample number
* I_STEUERSCHLUESSEL = '0100' "Transaction control key
* I_ERFSICHT = ' ' "Preallocated recording view from the task list
* I_MERKNR_VON = '0000' "Lower limit for number of the characteristic
* I_MERKNR_BIS = '9999' "Upper limit for number of the characteristic
* I_ONLY_TQ78 = ' ' "
* I_QERGDATH = ' ' "
* I_MS = ' ' "
* I_LZEITPRUEFUNG_AUSWERTEN = ' ' "Evaluate long-term inspection indicator
* I_MODE_LESEN = 'X' "Read and evaluate processing mode
* I_PLNKN_BIS = '99999999' "Upper limit for node number
* I_PLNKN_VON = '00000000' "Lower limit for node number
I_PLNTY = "Task list type
* I_PRPLATZ = ' ' "Work center
* I_PRPLATZWRK = ' ' "Plant for predefined work center
IMPORTING
E_AUSPR_SICHT = "View of attribute codes active
E_ERFSICHT = "Recording view determined, if from first characteristic
E_FEHLEH_SICHT = "View of the number of defective units active
E_FEHLER_SICHT = "View of the number of defects active
E_MESSENDE_SICHT = "View of measuring confirmation active
E_EINFELD_SICHT = "
E_SUMPLUS_SICHT = "
E_PRUEFLING_SICHT = "
E_UEBERBLICK_SICHT = "
TABLES
QAMK_TAB = "Internal table inspection characteristics operations/results
* QAREL_TAB = "
* QAMK_TAB_DIF = "
EXCEPTIONS
INTERNAL_ERROR_VALUATION = 1 NOENTRY_Q78TAB = 2 NO_FEATURES = 3 NO_OPERATIONS = 4 NO_SAMPLE = 5 NO_VALUATION_MODULE = 6 PROBLEMS_WITH_CALCULATED_CHAR = 7 INTERNAL_ERROR_CONTROL_KEY = 8
IMPORTING Parameters details for QEEA_FEATURES_READING
I_AUFPL -
Data type: QALS-AUFPLOptional: No
Call by Reference: No ( called with pass by value option)
I_TCODE - Transaction code to read table TQ78
Data type: SY-TCODEDefault: SY-TCODE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VORGANG_LESEN - Flag whether operations should also be imported
Data type: QM00-QKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
KZ_BEWERTG - Valuation data should also be read
Data type: QM00-QKZDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
KZ_R2 -
Data type: QM00-QKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
MODE -
Data type: TQ78-MODUSDefault: '1 '
Optional: Yes
Call by Reference: No ( called with pass by value option)
PRUEFLOS - Inspection lot number
Data type: QALS-PRUEFLOSOptional: No
Call by Reference: No ( called with pass by value option)
I_KEINE_KLASSIERUNG - Indicator read no classified characteristic
Data type: QM00-QKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_AKTIVITAET - Transaction activity
Data type: TQ70-AKTIVITAETDefault: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PROBENR - Sample number
Data type: QAQEE-PROBENRDefault: '000000'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_STEUERSCHLUESSEL - Transaction control key
Data type: TQ70-SCHLCODEDefault: '0100'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ERFSICHT - Preallocated recording view from the task list
Data type: QAPO-ERFSICHTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_MERKNR_VON - Lower limit for number of the characteristic
Data type: QAMKR-MERKNRDefault: '0000'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_MERKNR_BIS - Upper limit for number of the characteristic
Data type: QAMKR-MERKNRDefault: '9999'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ONLY_TQ78 -
Data type: QM00-QKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_QERGDATH -
Data type: QAMV-QERGDATHDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_MS -
Data type: QKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_LZEITPRUEFUNG_AUSWERTEN - Evaluate long-term inspection indicator
Data type: QM00-QKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_MODE_LESEN - Read and evaluate processing mode
Data type: QM00-QKZDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PLNKN_BIS - Upper limit for node number
Data type: QAMKR-VORGLFNRDefault: '99999999'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PLNKN_VON - Lower limit for node number
Data type: QAMKR-VORGLFNRDefault: '00000000'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PLNTY - Task list type
Data type: QALS-PLNTYOptional: No
Call by Reference: No ( called with pass by value option)
I_PRPLATZ - Work center
Data type: QAPO-PRPLATZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PRPLATZWRK - Plant for predefined work center
Data type: QAPO-PRPLATZWRKDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for QEEA_FEATURES_READING
E_AUSPR_SICHT - View of attribute codes active
Data type: QAQEE-SIAUSPRGOptional: No
Call by Reference: No ( called with pass by value option)
E_ERFSICHT - Recording view determined, if from first characteristic
Data type: QAPO-ERFSICHTOptional: No
Call by Reference: No ( called with pass by value option)
E_FEHLEH_SICHT - View of the number of defective units active
Data type: QAQEE-SIFEHLEHOptional: No
Call by Reference: No ( called with pass by value option)
E_FEHLER_SICHT - View of the number of defects active
Data type: QAQEE-SIFEHLEROptional: No
Call by Reference: No ( called with pass by value option)
E_MESSENDE_SICHT - View of measuring confirmation active
Data type: QAQEE-SIMESSENDOptional: No
Call by Reference: No ( called with pass by value option)
E_EINFELD_SICHT -
Data type: QAQEE-SIEINFELDOptional: No
Call by Reference: No ( called with pass by value option)
E_SUMPLUS_SICHT -
Data type: QAQEE-SISUMPLUSOptional: No
Call by Reference: No ( called with pass by value option)
E_PRUEFLING_SICHT -
Data type: QAQEE-SIPRUEFLOptional: No
Call by Reference: No ( called with pass by value option)
E_UEBERBLICK_SICHT -
Data type: QAQEE-SIUEBERBOptional: No
Call by Reference: Yes
TABLES Parameters details for QEEA_FEATURES_READING
QAMK_TAB - Internal table inspection characteristics operations/results
Data type: QAMKROptional: No
Call by Reference: No ( called with pass by value option)
QAREL_TAB -
Data type: QARELOptional: Yes
Call by Reference: No ( called with pass by value option)
QAMK_TAB_DIF -
Data type: QAMKROptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INTERNAL_ERROR_VALUATION - Internal error, no valuation rule in QAMV
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOENTRY_Q78TAB - No entry on the MODE found in table TQ78
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_FEATURES - No characteristics
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_OPERATIONS - No operations
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_SAMPLE - No sample requirements record found for the characteristic_
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_VALUATION_MODULE - No valuation function module in QDFM for the characteristic
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PROBLEMS_WITH_CALCULATED_CHAR - Internal failure reading calculated characteristic
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR_CONTROL_KEY - Internal error in recording by inspection point
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for QEEA_FEATURES_READING 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_aufpl | TYPE QALS-AUFPL, " | |||
| lt_qamk_tab | TYPE STANDARD TABLE OF QAMKR, " | |||
| lv_e_auspr_sicht | TYPE QAQEE-SIAUSPRG, " | |||
| lv_internal_error_valuation | TYPE QAQEE, " | |||
| lv_i_tcode | TYPE SY-TCODE, " SY-TCODE | |||
| lv_i_vorgang_lesen | TYPE QM00-QKZ, " SPACE | |||
| lv_kz_bewertg | TYPE QM00-QKZ, " 'X' | |||
| lv_kz_r2 | TYPE QM00-QKZ, " SPACE | |||
| lv_mode | TYPE TQ78-MODUS, " '1 ' | |||
| lv_prueflos | TYPE QALS-PRUEFLOS, " | |||
| lv_i_keine_klassierung | TYPE QM00-QKZ, " SPACE | |||
| lv_i_aktivitaet | TYPE TQ70-AKTIVITAET, " 'E' | |||
| lv_i_probenr | TYPE QAQEE-PROBENR, " '000000' | |||
| lv_i_steuerschluessel | TYPE TQ70-SCHLCODE, " '0100' | |||
| lt_qarel_tab | TYPE STANDARD TABLE OF QAREL, " | |||
| lv_e_erfsicht | TYPE QAPO-ERFSICHT, " | |||
| lv_i_erfsicht | TYPE QAPO-ERFSICHT, " SPACE | |||
| lv_noentry_q78tab | TYPE QAPO, " | |||
| lv_i_merknr_von | TYPE QAMKR-MERKNR, " '0000' | |||
| lv_i_merknr_bis | TYPE QAMKR-MERKNR, " '9999' | |||
| lv_i_only_tq78 | TYPE QM00-QKZ, " SPACE | |||
| lv_i_qergdath | TYPE QAMV-QERGDATH, " SPACE | |||
| lv_i_ms | TYPE QKZ, " SPACE | |||
| lv_no_features | TYPE QKZ, " | |||
| lt_qamk_tab_dif | TYPE STANDARD TABLE OF QAMKR, " | |||
| lv_e_fehleh_sicht | TYPE QAQEE-SIFEHLEH, " | |||
| lv_i_lzeitpruefung_auswerten | TYPE QM00-QKZ, " SPACE | |||
| lv_i_mode_lesen | TYPE QM00-QKZ, " 'X' | |||
| lv_no_operations | TYPE QM00, " | |||
| lv_e_fehler_sicht | TYPE QAQEE-SIFEHLER, " | |||
| lv_no_sample | TYPE QAQEE, " | |||
| lv_i_plnkn_bis | TYPE QAMKR-VORGLFNR, " '99999999' | |||
| lv_e_messende_sicht | TYPE QAQEE-SIMESSEND, " | |||
| lv_i_plnkn_von | TYPE QAMKR-VORGLFNR, " '00000000' | |||
| lv_e_einfeld_sicht | TYPE QAQEE-SIEINFELD, " | |||
| lv_no_valuation_module | TYPE QAQEE, " | |||
| lv_i_plnty | TYPE QALS-PLNTY, " | |||
| lv_e_sumplus_sicht | TYPE QAQEE-SISUMPLUS, " | |||
| lv_problems_with_calculated_char | TYPE QAQEE, " | |||
| lv_i_prplatz | TYPE QAPO-PRPLATZ, " SPACE | |||
| lv_e_pruefling_sicht | TYPE QAQEE-SIPRUEFL, " | |||
| lv_internal_error_control_key | TYPE QAQEE, " | |||
| lv_i_prplatzwrk | TYPE QAPO-PRPLATZWRK, " SPACE | |||
| lv_e_ueberblick_sicht | TYPE QAQEE-SIUEBERB. " |
|   CALL FUNCTION 'QEEA_FEATURES_READING' "NOTRANSL: Einlesen Merkmale zu einem Prüflos nach verschiedenen Kriterien |
| EXPORTING | ||
| I_AUFPL | = lv_i_aufpl | |
| I_TCODE | = lv_i_tcode | |
| I_VORGANG_LESEN | = lv_i_vorgang_lesen | |
| KZ_BEWERTG | = lv_kz_bewertg | |
| KZ_R2 | = lv_kz_r2 | |
| MODE | = lv_mode | |
| PRUEFLOS | = lv_prueflos | |
| I_KEINE_KLASSIERUNG | = lv_i_keine_klassierung | |
| I_AKTIVITAET | = lv_i_aktivitaet | |
| I_PROBENR | = lv_i_probenr | |
| I_STEUERSCHLUESSEL | = lv_i_steuerschluessel | |
| I_ERFSICHT | = lv_i_erfsicht | |
| I_MERKNR_VON | = lv_i_merknr_von | |
| I_MERKNR_BIS | = lv_i_merknr_bis | |
| I_ONLY_TQ78 | = lv_i_only_tq78 | |
| I_QERGDATH | = lv_i_qergdath | |
| I_MS | = lv_i_ms | |
| I_LZEITPRUEFUNG_AUSWERTEN | = lv_i_lzeitpruefung_auswerten | |
| I_MODE_LESEN | = lv_i_mode_lesen | |
| I_PLNKN_BIS | = lv_i_plnkn_bis | |
| I_PLNKN_VON | = lv_i_plnkn_von | |
| I_PLNTY | = lv_i_plnty | |
| I_PRPLATZ | = lv_i_prplatz | |
| I_PRPLATZWRK | = lv_i_prplatzwrk | |
| IMPORTING | ||
| E_AUSPR_SICHT | = lv_e_auspr_sicht | |
| E_ERFSICHT | = lv_e_erfsicht | |
| E_FEHLEH_SICHT | = lv_e_fehleh_sicht | |
| E_FEHLER_SICHT | = lv_e_fehler_sicht | |
| E_MESSENDE_SICHT | = lv_e_messende_sicht | |
| E_EINFELD_SICHT | = lv_e_einfeld_sicht | |
| E_SUMPLUS_SICHT | = lv_e_sumplus_sicht | |
| E_PRUEFLING_SICHT | = lv_e_pruefling_sicht | |
| E_UEBERBLICK_SICHT | = lv_e_ueberblick_sicht | |
| TABLES | ||
| QAMK_TAB | = lt_qamk_tab | |
| QAREL_TAB | = lt_qarel_tab | |
| QAMK_TAB_DIF | = lt_qamk_tab_dif | |
| EXCEPTIONS | ||
| INTERNAL_ERROR_VALUATION = 1 | ||
| NOENTRY_Q78TAB = 2 | ||
| NO_FEATURES = 3 | ||
| NO_OPERATIONS = 4 | ||
| NO_SAMPLE = 5 | ||
| NO_VALUATION_MODULE = 6 | ||
| PROBLEMS_WITH_CALCULATED_CHAR = 7 | ||
| INTERNAL_ERROR_CONTROL_KEY = 8 | ||
| . " QEEA_FEATURES_READING | ||
ABAP code using 7.40 inline data declarations to call FM QEEA_FEATURES_READING
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 AUFPL FROM QALS INTO @DATA(ld_i_aufpl). | ||||
| "SELECT single SIAUSPRG FROM QAQEE INTO @DATA(ld_e_auspr_sicht). | ||||
| "SELECT single TCODE FROM SY INTO @DATA(ld_i_tcode). | ||||
| DATA(ld_i_tcode) | = SY-TCODE. | |||
| "SELECT single QKZ FROM QM00 INTO @DATA(ld_i_vorgang_lesen). | ||||
| DATA(ld_i_vorgang_lesen) | = ' '. | |||
| "SELECT single QKZ FROM QM00 INTO @DATA(ld_kz_bewertg). | ||||
| DATA(ld_kz_bewertg) | = 'X'. | |||
| "SELECT single QKZ FROM QM00 INTO @DATA(ld_kz_r2). | ||||
| DATA(ld_kz_r2) | = ' '. | |||
| "SELECT single MODUS FROM TQ78 INTO @DATA(ld_mode). | ||||
| DATA(ld_mode) | = '1 '. | |||
| "SELECT single PRUEFLOS FROM QALS INTO @DATA(ld_prueflos). | ||||
| "SELECT single QKZ FROM QM00 INTO @DATA(ld_i_keine_klassierung). | ||||
| DATA(ld_i_keine_klassierung) | = ' '. | |||
| "SELECT single AKTIVITAET FROM TQ70 INTO @DATA(ld_i_aktivitaet). | ||||
| DATA(ld_i_aktivitaet) | = 'E'. | |||
| "SELECT single PROBENR FROM QAQEE INTO @DATA(ld_i_probenr). | ||||
| DATA(ld_i_probenr) | = '000000'. | |||
| "SELECT single SCHLCODE FROM TQ70 INTO @DATA(ld_i_steuerschluessel). | ||||
| DATA(ld_i_steuerschluessel) | = '0100'. | |||
| "SELECT single ERFSICHT FROM QAPO INTO @DATA(ld_e_erfsicht). | ||||
| "SELECT single ERFSICHT FROM QAPO INTO @DATA(ld_i_erfsicht). | ||||
| DATA(ld_i_erfsicht) | = ' '. | |||
| "SELECT single MERKNR FROM QAMKR INTO @DATA(ld_i_merknr_von). | ||||
| DATA(ld_i_merknr_von) | = '0000'. | |||
| "SELECT single MERKNR FROM QAMKR INTO @DATA(ld_i_merknr_bis). | ||||
| DATA(ld_i_merknr_bis) | = '9999'. | |||
| "SELECT single QKZ FROM QM00 INTO @DATA(ld_i_only_tq78). | ||||
| DATA(ld_i_only_tq78) | = ' '. | |||
| "SELECT single QERGDATH FROM QAMV INTO @DATA(ld_i_qergdath). | ||||
| DATA(ld_i_qergdath) | = ' '. | |||
| DATA(ld_i_ms) | = ' '. | |||
| "SELECT single SIFEHLEH FROM QAQEE INTO @DATA(ld_e_fehleh_sicht). | ||||
| "SELECT single QKZ FROM QM00 INTO @DATA(ld_i_lzeitpruefung_auswerten). | ||||
| DATA(ld_i_lzeitpruefung_auswerten) | = ' '. | |||
| "SELECT single QKZ FROM QM00 INTO @DATA(ld_i_mode_lesen). | ||||
| DATA(ld_i_mode_lesen) | = 'X'. | |||
| "SELECT single SIFEHLER FROM QAQEE INTO @DATA(ld_e_fehler_sicht). | ||||
| "SELECT single VORGLFNR FROM QAMKR INTO @DATA(ld_i_plnkn_bis). | ||||
| DATA(ld_i_plnkn_bis) | = '99999999'. | |||
| "SELECT single SIMESSEND FROM QAQEE INTO @DATA(ld_e_messende_sicht). | ||||
| "SELECT single VORGLFNR FROM QAMKR INTO @DATA(ld_i_plnkn_von). | ||||
| DATA(ld_i_plnkn_von) | = '00000000'. | |||
| "SELECT single SIEINFELD FROM QAQEE INTO @DATA(ld_e_einfeld_sicht). | ||||
| "SELECT single PLNTY FROM QALS INTO @DATA(ld_i_plnty). | ||||
| "SELECT single SISUMPLUS FROM QAQEE INTO @DATA(ld_e_sumplus_sicht). | ||||
| "SELECT single PRPLATZ FROM QAPO INTO @DATA(ld_i_prplatz). | ||||
| DATA(ld_i_prplatz) | = ' '. | |||
| "SELECT single SIPRUEFL FROM QAQEE INTO @DATA(ld_e_pruefling_sicht). | ||||
| "SELECT single PRPLATZWRK FROM QAPO INTO @DATA(ld_i_prplatzwrk). | ||||
| DATA(ld_i_prplatzwrk) | = ' '. | |||
| "SELECT single SIUEBERB FROM QAQEE INTO @DATA(ld_e_ueberblick_sicht). | ||||
Search for further information about these or an SAP related objects