SAP QELA_FEATURES_SELECTION_FOR_FA Function Module for NOTRANSL: Merkmalsselektion für Fehlererfassung









QELA_FEATURES_SELECTION_FOR_FA is a standard qela features selection for fa 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: Merkmalsselektion für Fehlererfassung 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 qela features selection for fa FM, simply by entering the name QELA_FEATURES_SELECTION_FOR_FA into the relevant SAP transaction such as SE37 or SE38.

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



Function QELA_FEATURES_SELECTION_FOR_FA 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 'QELA_FEATURES_SELECTION_FOR_FA'"NOTRANSL: Merkmalsselektion für Fehlererfassung
EXPORTING
I_AUFPL = "Internal order number for the inspection lot
* I_VORNR_BIS = '9999' "Operation interval up to
* I_VORNR_VON = '0000' "Operation interval as of
* I_WINX1_14 = 08 "
* I_WINX2_14 = 75 "
* I_WINY1_14 = 05 "
* I_WINY2_14 = 12 "
* I_KZ_R2 = ' ' "Indicator: inspection lot copied from R/2
* I_MODE = 1 "Processing mode for characteristics
* I_PLNKN_BIS = '99999999' "Task list sequence interval up to
* I_PLNKN_VON = '00000000' "Task list sequence interval as of
I_PLNTY = "Task list type
* I_PRPLATZ = ' ' "Work Center
* I_PRPLATZWRK = ' ' "Work center plant
I_PRUEFLOS = "Inspection lot number

IMPORTING
E_QAMKR = "Output work area for the characteristic
E_RUECKMELNR = "Completion Confirmation Number for Characteristic

EXCEPTIONS
INTERNAL_ERROR_VALUATION = 1 NOENTRY_Q78TAB = 2 NO_FEATURES = 3 NO_FEATURE_SELECTED = 4 NO_OPERATIONS = 5 NO_SAMPLE = 6 NO_VALUATION_MODULE = 7
.



IMPORTING Parameters details for QELA_FEATURES_SELECTION_FOR_FA

I_AUFPL - Internal order number for the inspection lot

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

I_VORNR_BIS - Operation interval up to

Data type: QAQEE-VORNR_BIS
Default: '9999'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VORNR_VON - Operation interval as of

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

I_WINX1_14 -

Data type: T185V-DYBS1X1
Default: 08
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WINX2_14 -

Data type: T185V-DYBS1X2
Default: 75
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WINY1_14 -

Data type: T185V-DYBS1Y1
Default: 05
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_WINY2_14 -

Data type: T185V-DYBS1Y2
Default: 12
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_KZ_R2 - Indicator: inspection lot copied from R/2

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

I_MODE - Processing mode for characteristics

Data type: TQ78-MODUS
Default: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PLNKN_BIS - Task list sequence interval up to

Data type: QFFED-PNLKN
Default: '99999999'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PLNKN_VON - Task list sequence interval as of

Data type: QFFED-PNLKN
Default: '00000000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PLNTY - Task list type

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

I_PRPLATZ - Work Center

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

I_PRPLATZWRK - Work center plant

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

I_PRUEFLOS - Inspection lot number

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

EXPORTING Parameters details for QELA_FEATURES_SELECTION_FOR_FA

E_QAMKR - Output work area for the characteristic

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

E_RUECKMELNR - Completion Confirmation Number for Characteristic

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

EXCEPTIONS details

INTERNAL_ERROR_VALUATION - Internal error at valuation

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

NOENTRY_Q78TAB - No entry for processing mode in table TQ78

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

NO_FEATURES - No characteristics processed

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

NO_FEATURE_SELECTED -

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

NO_OPERATIONS - No operations processed

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

NO_SAMPLE - No sample exists

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

NO_VALUATION_MODULE - No valuation module exists

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

Copy and paste ABAP code example for QELA_FEATURES_SELECTION_FOR_FA 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_qamkr  TYPE QAMKR, "   
lv_i_aufpl  TYPE QALS-AUFPL, "   
lv_internal_error_valuation  TYPE QALS, "   
lv_i_vornr_bis  TYPE QAQEE-VORNR_BIS, "   '9999'
lv_i_vornr_von  TYPE QAQEE-VORNR_VON, "   '0000'
lv_i_winx1_14  TYPE T185V-DYBS1X1, "   08
lv_i_winx2_14  TYPE T185V-DYBS1X2, "   75
lv_i_winy1_14  TYPE T185V-DYBS1Y1, "   05
lv_i_winy2_14  TYPE T185V-DYBS1Y2, "   12
lv_i_kz_r2  TYPE QALS-STAT27, "   SPACE
lv_e_rueckmelnr  TYPE QAMKR-RUECKMELNR, "   
lv_noentry_q78tab  TYPE QAMKR, "   
lv_i_mode  TYPE TQ78-MODUS, "   1
lv_no_features  TYPE TQ78, "   
lv_i_plnkn_bis  TYPE QFFED-PNLKN, "   '99999999'
lv_no_feature_selected  TYPE QFFED, "   
lv_i_plnkn_von  TYPE QFFED-PNLKN, "   '00000000'
lv_no_operations  TYPE QFFED, "   
lv_i_plnty  TYPE QALS-PLNTY, "   
lv_no_sample  TYPE QALS, "   
lv_i_prplatz  TYPE QAPO-PRPLATZ, "   SPACE
lv_no_valuation_module  TYPE QAPO, "   
lv_i_prplatzwrk  TYPE QAPO-PRPLATZWRK, "   SPACE
lv_i_prueflos  TYPE QALS-PRUEFLOS. "   

  CALL FUNCTION 'QELA_FEATURES_SELECTION_FOR_FA'  "NOTRANSL: Merkmalsselektion für Fehlererfassung
    EXPORTING
         I_AUFPL = lv_i_aufpl
         I_VORNR_BIS = lv_i_vornr_bis
         I_VORNR_VON = lv_i_vornr_von
         I_WINX1_14 = lv_i_winx1_14
         I_WINX2_14 = lv_i_winx2_14
         I_WINY1_14 = lv_i_winy1_14
         I_WINY2_14 = lv_i_winy2_14
         I_KZ_R2 = lv_i_kz_r2
         I_MODE = lv_i_mode
         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
         I_PRUEFLOS = lv_i_prueflos
    IMPORTING
         E_QAMKR = lv_e_qamkr
         E_RUECKMELNR = lv_e_rueckmelnr
    EXCEPTIONS
        INTERNAL_ERROR_VALUATION = 1
        NOENTRY_Q78TAB = 2
        NO_FEATURES = 3
        NO_FEATURE_SELECTED = 4
        NO_OPERATIONS = 5
        NO_SAMPLE = 6
        NO_VALUATION_MODULE = 7
. " QELA_FEATURES_SELECTION_FOR_FA




ABAP code using 7.40 inline data declarations to call FM QELA_FEATURES_SELECTION_FOR_FA

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 VORNR_BIS FROM QAQEE INTO @DATA(ld_i_vornr_bis).
DATA(ld_i_vornr_bis) = '9999'.
 
"SELECT single VORNR_VON FROM QAQEE INTO @DATA(ld_i_vornr_von).
DATA(ld_i_vornr_von) = '0000'.
 
"SELECT single DYBS1X1 FROM T185V INTO @DATA(ld_i_winx1_14).
DATA(ld_i_winx1_14) = 08.
 
"SELECT single DYBS1X2 FROM T185V INTO @DATA(ld_i_winx2_14).
DATA(ld_i_winx2_14) = 75.
 
"SELECT single DYBS1Y1 FROM T185V INTO @DATA(ld_i_winy1_14).
DATA(ld_i_winy1_14) = 05.
 
"SELECT single DYBS1Y2 FROM T185V INTO @DATA(ld_i_winy2_14).
DATA(ld_i_winy2_14) = 12.
 
"SELECT single STAT27 FROM QALS INTO @DATA(ld_i_kz_r2).
DATA(ld_i_kz_r2) = ' '.
 
"SELECT single RUECKMELNR FROM QAMKR INTO @DATA(ld_e_rueckmelnr).
 
 
"SELECT single MODUS FROM TQ78 INTO @DATA(ld_i_mode).
DATA(ld_i_mode) = 1.
 
 
"SELECT single PNLKN FROM QFFED INTO @DATA(ld_i_plnkn_bis).
DATA(ld_i_plnkn_bis) = '99999999'.
 
 
"SELECT single PNLKN FROM QFFED INTO @DATA(ld_i_plnkn_von).
DATA(ld_i_plnkn_von) = '00000000'.
 
 
"SELECT single PLNTY FROM QALS INTO @DATA(ld_i_plnty).
 
 
"SELECT single PRPLATZ FROM QAPO INTO @DATA(ld_i_prplatz).
DATA(ld_i_prplatz) = ' '.
 
 
"SELECT single PRPLATZWRK FROM QAPO INTO @DATA(ld_i_prplatzwrk).
DATA(ld_i_prplatzwrk) = ' '.
 
"SELECT single PRUEFLOS FROM QALS INTO @DATA(ld_i_prueflos).
 


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!