SAP Function Modules

QEEM_FEATURES_PROCESSING SAP Function module







QEEM_FEATURES_PROCESSING is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name QEEM_FEATURES_PROCESSING into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: QEEM
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM QEEM_FEATURES_PROCESSING - QEEM FEATURES PROCESSING





CALL FUNCTION 'QEEM_FEATURES_PROCESSING' "
  EXPORTING
    aktivitaet =                " tq70-aktivitaet  Transaction activity
    d_teil =                    " qaqee-d_teil
    d_teil =                    " qaqee-d_teil  Material requires documentation
*   einvorg = SPACE             " qaqee-einvorg  Ind.1: Operation that satisfies the selection criterion
*   fktcall = SPACE             " qaqee-fktcall  Call transaction as function module
    i_qamkr_wa =                " qamkr         Work area for individual results recording for the inspection characteristic
*   i_pruefpunkt_neu_kz = SPACE  " qm00-qkz     Ind.: Inspection point was recreated internally
*   i_pruefpunkt_geaendert = SPACE  " qm00-qkz
*   i_rueckmelnr = '00000000'   " qaqee-rueckmelnr  Completion Confirmation Number for Characteristic
    mode =                      " tq78-modus
    mode =                      " tq78-modus    Processing mode
    probenr =                   " qaqee-probenr
    probenr =                   " qaqee-probenr  Sample number for the inspection point or partial sample
    pruefdatuv =                " qaqee-pruefdatuv  Date of examination
    pruefer =                   " qaqee-pruefer
    pruefer =                   " qaqee-pruefer  Name of the inspector
    pruefzeitv =                " qaqee-pruefzeitv  Time of the inspection
    qals_wa =                   " qals
    qals_wa =                   " qals          Work area for the inspection lot
    qapo_wa =                   " qapo          Work area for the operation
    qapo_wa =                   " qapo
    steuerschluessel =          " tq70-schlcode  Transaction control key
*   i_qapp =                    " qapp          Work area for the inspection point
*   i_qalt =                    " qalt          Work area for the partial lot
*   i_only_define_new_char = SPACE  " qaqee-onlydefnew  Ind.: Define only unplanned characteristics
*   i_tcode = SY-TCODE          " sy-tcode      Transaction code
*   iv_signature_process = SPACE  " qkz         X and Blank
  IMPORTING
    e_exit_fcode =              " t185-fcode    Function to be carried out after leaving results recording
    e_sichern_flag =            " qals-stat27   Flag as to whether data should be saved on the database
    e_close_graphics =          " qm00-qkz      Ind. whether display graphic is still to be closed
* TABLES
*   it_filter =                 " qakey         Interface table for key fields sample no., indiv.result no.
  EXCEPTIONS
    FOREIGN_LOCK = 1            "               Characteristics are already blocked for transaction
    INTERNAL_ERROR_VALUATION = 2  "             Internal error in valuation
    NOENTRY_Q78TAB = 3          "               No entry in table TQ78
    NO_OPERATIONS = 4           "               No operations found for the inspection lot
    NO_FEATURES = 5             "               No characteristics found for the transaction
    NO_SAMPLE = 6               "               No sample requirements record for the characteristic
    NO_VALUATION_MODULE = 7     "               No valuation function module for the characteristic
    START_DYNPRO_NOT_FOUND = 8  "               No initial screen for the transaction in the control table
    SYSTEM_FAILURE = 9          "               System error when blocking the characteristics
    PROBLEMS_WITH_CALCULATED_CHAR = 10  "       Internal error importing calculated characteristics
    FOREIGN_LOCK_QASH = 11      "
    ERROR_MESSAGE_QRK = 12      "
    .  "  QEEM_FEATURES_PROCESSING

ABAP code example for Function Module QEEM_FEATURES_PROCESSING





The ABAP code below is a full code listing to execute function module QEEM_FEATURES_PROCESSING including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_e_exit_fcode  TYPE T185-FCODE ,
ld_e_sichern_flag  TYPE QALS-STAT27 ,
ld_e_close_graphics  TYPE QM00-QKZ ,
it_it_filter  TYPE STANDARD TABLE OF QAKEY,"TABLES PARAM
wa_it_filter  LIKE LINE OF it_it_filter .


SELECT single AKTIVITAET
FROM TQ70
INTO @DATA(ld_aktivitaet).


DATA(ld_d_teil) = some text here

DATA(ld_d_teil) = some text here

DATA(ld_einvorg) = some text here

DATA(ld_fktcall) = some text here
DATA(ld_i_qamkr_wa) = 'Check type of data required'.

DATA(ld_i_pruefpunkt_neu_kz) = some text here

DATA(ld_i_pruefpunkt_geaendert) = some text here

DATA(ld_i_rueckmelnr) = Check type of data required

SELECT single MODUS
FROM TQ78
INTO @DATA(ld_mode).


SELECT single MODUS
FROM TQ78
INTO @DATA(ld_mode).


DATA(ld_probenr) = Check type of data required

DATA(ld_probenr) = Check type of data required

DATA(ld_pruefdatuv) = 20210129

DATA(ld_pruefer) = some text here

DATA(ld_pruefer) = some text here

DATA(ld_pruefzeitv) = Check type of data required
DATA(ld_qals_wa) = 'Check type of data required'.
DATA(ld_qals_wa) = 'Check type of data required'.
DATA(ld_qapo_wa) = 'Check type of data required'.
DATA(ld_qapo_wa) = 'Check type of data required'.

SELECT single SCHLCODE
FROM TQ70
INTO @DATA(ld_steuerschluessel).

DATA(ld_i_qapp) = 'Check type of data required'.
DATA(ld_i_qalt) = 'Check type of data required'.

DATA(ld_i_only_define_new_char) = some text here
DATA(ld_i_tcode) = 'some text here'.
DATA(ld_iv_signature_process) = 'some text here'.

"populate fields of struture and append to itab
append wa_it_filter to it_it_filter. . CALL FUNCTION 'QEEM_FEATURES_PROCESSING' EXPORTING aktivitaet = ld_aktivitaet d_teil = ld_d_teil d_teil = ld_d_teil * einvorg = ld_einvorg * fktcall = ld_fktcall i_qamkr_wa = ld_i_qamkr_wa * i_pruefpunkt_neu_kz = ld_i_pruefpunkt_neu_kz * i_pruefpunkt_geaendert = ld_i_pruefpunkt_geaendert * i_rueckmelnr = ld_i_rueckmelnr mode = ld_mode mode = ld_mode probenr = ld_probenr probenr = ld_probenr pruefdatuv = ld_pruefdatuv pruefer = ld_pruefer pruefer = ld_pruefer pruefzeitv = ld_pruefzeitv qals_wa = ld_qals_wa qals_wa = ld_qals_wa qapo_wa = ld_qapo_wa qapo_wa = ld_qapo_wa steuerschluessel = ld_steuerschluessel * i_qapp = ld_i_qapp * i_qalt = ld_i_qalt * i_only_define_new_char = ld_i_only_define_new_char * i_tcode = ld_i_tcode * iv_signature_process = ld_iv_signature_process IMPORTING e_exit_fcode = ld_e_exit_fcode e_sichern_flag = ld_e_sichern_flag e_close_graphics = ld_e_close_graphics * TABLES * it_filter = it_it_filter EXCEPTIONS FOREIGN_LOCK = 1 INTERNAL_ERROR_VALUATION = 2 NOENTRY_Q78TAB = 3 NO_OPERATIONS = 4 NO_FEATURES = 5 NO_SAMPLE = 6 NO_VALUATION_MODULE = 7 START_DYNPRO_NOT_FOUND = 8 SYSTEM_FAILURE = 9 PROBLEMS_WITH_CALCULATED_CHAR = 10 FOREIGN_LOCK_QASH = 11 ERROR_MESSAGE_QRK = 12 . " QEEM_FEATURES_PROCESSING
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 3. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 4. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 5. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 6. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 7. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 8. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 9. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 10. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 11. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 12. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_e_exit_fcode  TYPE T185-FCODE ,
ld_aktivitaet  TYPE TQ70-AKTIVITAET ,
it_it_filter  TYPE STANDARD TABLE OF QAKEY ,
wa_it_filter  LIKE LINE OF it_it_filter,
ld_e_sichern_flag  TYPE QALS-STAT27 ,
ld_d_teil  TYPE QAQEE-D_TEIL ,
ld_d_teil  TYPE QAQEE-D_TEIL ,
ld_e_close_graphics  TYPE QM00-QKZ ,
ld_einvorg  TYPE QAQEE-EINVORG ,
ld_fktcall  TYPE QAQEE-FKTCALL ,
ld_i_qamkr_wa  TYPE QAMKR ,
ld_i_pruefpunkt_neu_kz  TYPE QM00-QKZ ,
ld_i_pruefpunkt_geaendert  TYPE QM00-QKZ ,
ld_i_rueckmelnr  TYPE QAQEE-RUECKMELNR ,
ld_mode  TYPE TQ78-MODUS ,
ld_mode  TYPE TQ78-MODUS ,
ld_probenr  TYPE QAQEE-PROBENR ,
ld_probenr  TYPE QAQEE-PROBENR ,
ld_pruefdatuv  TYPE QAQEE-PRUEFDATUV ,
ld_pruefer  TYPE QAQEE-PRUEFER ,
ld_pruefer  TYPE QAQEE-PRUEFER ,
ld_pruefzeitv  TYPE QAQEE-PRUEFZEITV ,
ld_qals_wa  TYPE QALS ,
ld_qals_wa  TYPE QALS ,
ld_qapo_wa  TYPE QAPO ,
ld_qapo_wa  TYPE QAPO ,
ld_steuerschluessel  TYPE TQ70-SCHLCODE ,
ld_i_qapp  TYPE QAPP ,
ld_i_qalt  TYPE QALT ,
ld_i_only_define_new_char  TYPE QAQEE-ONLYDEFNEW ,
ld_i_tcode  TYPE SY-TCODE ,
ld_iv_signature_process  TYPE QKZ .


SELECT single AKTIVITAET
FROM TQ70
INTO ld_aktivitaet.


"populate fields of struture and append to itab
append wa_it_filter to it_it_filter.

ld_d_teil = some text here

ld_d_teil = some text here

ld_einvorg = some text here

ld_fktcall = some text here
ld_i_qamkr_wa = 'some text here'.

ld_i_pruefpunkt_neu_kz = some text here

ld_i_pruefpunkt_geaendert = some text here

ld_i_rueckmelnr = Check type of data required

SELECT single MODUS
FROM TQ78
INTO ld_mode.


SELECT single MODUS
FROM TQ78
INTO ld_mode.


ld_probenr = Check type of data required

ld_probenr = Check type of data required

ld_pruefdatuv = 20210129

ld_pruefer = some text here

ld_pruefer = some text here

ld_pruefzeitv = Check type of data required
ld_qals_wa = 'some text here'.
ld_qals_wa = 'some text here'.
ld_qapo_wa = 'some text here'.
ld_qapo_wa = 'some text here'.

SELECT single SCHLCODE
FROM TQ70
INTO ld_steuerschluessel.

ld_i_qapp = 'some text here'.
ld_i_qalt = 'some text here'.

ld_i_only_define_new_char = some text here
ld_i_tcode = 'some text here'.
ld_iv_signature_process = 'some text here'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name QEEM_FEATURES_PROCESSING or its description.