SAP QSS3_FEATURE_IMPORTANCE_READ Function Module for Reading the ATAB table for characteristic weighting TQ17A and TQ17U









QSS3_FEATURE_IMPORTANCE_READ is a standard qss3 feature importance read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Reading the ATAB table for characteristic weighting TQ17A and TQ17U 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 qss3 feature importance read FM, simply by entering the name QSS3_FEATURE_IMPORTANCE_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function QSS3_FEATURE_IMPORTANCE_READ 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 'QSS3_FEATURE_IMPORTANCE_READ'"Reading the ATAB table for characteristic weighting TQ17A and TQ17U
EXPORTING
I_MERKGEW = "Characteristic weighting
* I_SPRACHE = SY-LANGU "Language

IMPORTING
E_GEWICHTUNG = "Weighting factor for evaluations
E_KURZTEXT = "Short text for weighting
E_NOSKIP = "Indicator: no skip allowed

EXCEPTIONS
NO_ENTRY_FOUND = 1
.



IMPORTING Parameters details for QSS3_FEATURE_IMPORTANCE_READ

I_MERKGEW - Characteristic weighting

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

I_SPRACHE - Language

Data type: TQ17U-SPRACHE
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for QSS3_FEATURE_IMPORTANCE_READ

E_GEWICHTUNG - Weighting factor for evaluations

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

E_KURZTEXT - Short text for weighting

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

E_NOSKIP - Indicator: no skip allowed

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

EXCEPTIONS details

NO_ENTRY_FOUND - No entry found

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

Copy and paste ABAP code example for QSS3_FEATURE_IMPORTANCE_READ 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_merkgew  TYPE TQ17A-MERKKLASSE, "   
lv_e_gewichtung  TYPE TQ17A-GEWICHTUNG, "   
lv_no_entry_found  TYPE TQ17A, "   
lv_i_sprache  TYPE TQ17U-SPRACHE, "   SY-LANGU
lv_e_kurztext  TYPE TQ17U-KURZTEXT, "   
lv_e_noskip  TYPE TQ17A-NOSKIP. "   

  CALL FUNCTION 'QSS3_FEATURE_IMPORTANCE_READ'  "Reading the ATAB table for characteristic weighting TQ17A and TQ17U
    EXPORTING
         I_MERKGEW = lv_i_merkgew
         I_SPRACHE = lv_i_sprache
    IMPORTING
         E_GEWICHTUNG = lv_e_gewichtung
         E_KURZTEXT = lv_e_kurztext
         E_NOSKIP = lv_e_noskip
    EXCEPTIONS
        NO_ENTRY_FOUND = 1
. " QSS3_FEATURE_IMPORTANCE_READ




ABAP code using 7.40 inline data declarations to call FM QSS3_FEATURE_IMPORTANCE_READ

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 MERKKLASSE FROM TQ17A INTO @DATA(ld_i_merkgew).
 
"SELECT single GEWICHTUNG FROM TQ17A INTO @DATA(ld_e_gewichtung).
 
 
"SELECT single SPRACHE FROM TQ17U INTO @DATA(ld_i_sprache).
DATA(ld_i_sprache) = SY-LANGU.
 
"SELECT single KURZTEXT FROM TQ17U INTO @DATA(ld_e_kurztext).
 
"SELECT single NOSKIP FROM TQ17A INTO @DATA(ld_e_noskip).
 


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!