SAP QMLA_NOTIFICATION_SELECTION Function Module for NOTRANSL: Selektion von Qualitätsmeldungen zu Prüflosen









QMLA_NOTIFICATION_SELECTION is a standard qmla notification selection 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: Selektion von Qualitätsmeldungen zu Prüflosen 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 qmla notification selection FM, simply by entering the name QMLA_NOTIFICATION_SELECTION into the relevant SAP transaction such as SE37 or SE38.

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



Function QMLA_NOTIFICATION_SELECTION 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 'QMLA_NOTIFICATION_SELECTION'"NOTRANSL: Selektion von Qualitätsmeldungen zu Prüflosen
EXPORTING
* WINX1_07 = 25 "
* WINX2_07 = 52 "
* WINY1_07 = 10 "
* WINY2_07 = 17 "

IMPORTING
E_QMNUM = "

TABLES
I_QFAA_TAB = "

EXCEPTIONS
NO_DATA_FOUND = 1 NO_DATA_SELECTED = 2 NO_MARK = 3
.



IMPORTING Parameters details for QMLA_NOTIFICATION_SELECTION

WINX1_07 -

Data type: SY-WINX1
Default: 25
Optional: Yes
Call by Reference: No ( called with pass by value option)

WINX2_07 -

Data type: SY-WINX2
Default: 52
Optional: Yes
Call by Reference: No ( called with pass by value option)

WINY1_07 -

Data type: SY-WINY1
Default: 10
Optional: Yes
Call by Reference: No ( called with pass by value option)

WINY2_07 -

Data type: SY-WINY2
Default: 17
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for QMLA_NOTIFICATION_SELECTION

E_QMNUM -

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

TABLES Parameters details for QMLA_NOTIFICATION_SELECTION

I_QFAA_TAB -

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

EXCEPTIONS details

NO_DATA_FOUND -

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

NO_DATA_SELECTED -

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

NO_MARK -

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

Copy and paste ABAP code example for QMLA_NOTIFICATION_SELECTION 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_qmnum  TYPE QMEL-QMNUM, "   
lv_winx1_07  TYPE SY-WINX1, "   25
lt_i_qfaa_tab  TYPE STANDARD TABLE OF QFAAI, "   
lv_no_data_found  TYPE QFAAI, "   
lv_winx2_07  TYPE SY-WINX2, "   52
lv_no_data_selected  TYPE SY, "   
lv_no_mark  TYPE SY, "   
lv_winy1_07  TYPE SY-WINY1, "   10
lv_winy2_07  TYPE SY-WINY2. "   17

  CALL FUNCTION 'QMLA_NOTIFICATION_SELECTION'  "NOTRANSL: Selektion von Qualitätsmeldungen zu Prüflosen
    EXPORTING
         WINX1_07 = lv_winx1_07
         WINX2_07 = lv_winx2_07
         WINY1_07 = lv_winy1_07
         WINY2_07 = lv_winy2_07
    IMPORTING
         E_QMNUM = lv_e_qmnum
    TABLES
         I_QFAA_TAB = lt_i_qfaa_tab
    EXCEPTIONS
        NO_DATA_FOUND = 1
        NO_DATA_SELECTED = 2
        NO_MARK = 3
. " QMLA_NOTIFICATION_SELECTION




ABAP code using 7.40 inline data declarations to call FM QMLA_NOTIFICATION_SELECTION

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 QMNUM FROM QMEL INTO @DATA(ld_e_qmnum).
 
"SELECT single WINX1 FROM SY INTO @DATA(ld_winx1_07).
DATA(ld_winx1_07) = 25.
 
 
 
"SELECT single WINX2 FROM SY INTO @DATA(ld_winx2_07).
DATA(ld_winx2_07) = 52.
 
 
 
"SELECT single WINY1 FROM SY INTO @DATA(ld_winy1_07).
DATA(ld_winy1_07) = 10.
 
"SELECT single WINY2 FROM SY INTO @DATA(ld_winy2_07).
DATA(ld_winy2_07) = 17.
 


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!