SAP DNO_OW_EXTERN_SELECT Function Module for Select notifications









DNO_OW_EXTERN_SELECT is a standard dno ow extern select SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Select notifications 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 dno ow extern select FM, simply by entering the name DNO_OW_EXTERN_SELECT into the relevant SAP transaction such as SE37 or SE38.

Function Group: DNO_OW_EXTERN
Program Name: SAPLDNO_OW_EXTERN
Main Program: SAPLDNO_OW_EXTERN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function DNO_OW_EXTERN_SELECT 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 'DNO_OW_EXTERN_SELECT'"Select notifications
EXPORTING
* I_STATUS = '1' "Notification Status
I_DATE_FROM = "
* I_DATE_TO = SY-DATUM "End of selection
* I_TYPE_NOTIF = 'SLF1' "Message category

TABLES
TE_MESSAGE_NUMBERS = "Message Numbers
.



IMPORTING Parameters details for DNO_OW_EXTERN_SELECT

I_STATUS - Notification Status

Data type: DNOD_NOTIF-STATUS
Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DATE_FROM -

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

I_DATE_TO - End of selection

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

I_TYPE_NOTIF - Message category

Data type: DNOD_NOTIF-TYPE_NOTIF
Default: 'SLF1'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for DNO_OW_EXTERN_SELECT

TE_MESSAGE_NUMBERS - Message Numbers

Data type: DNOS_NUMB
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for DNO_OW_EXTERN_SELECT 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_status  TYPE DNOD_NOTIF-STATUS, "   '1'
lt_te_message_numbers  TYPE STANDARD TABLE OF DNOS_NUMB, "   
lv_i_date_from  TYPE SY-DATUM, "   
lv_i_date_to  TYPE SY-DATUM, "   SY-DATUM
lv_i_type_notif  TYPE DNOD_NOTIF-TYPE_NOTIF. "   'SLF1'

  CALL FUNCTION 'DNO_OW_EXTERN_SELECT'  "Select notifications
    EXPORTING
         I_STATUS = lv_i_status
         I_DATE_FROM = lv_i_date_from
         I_DATE_TO = lv_i_date_to
         I_TYPE_NOTIF = lv_i_type_notif
    TABLES
         TE_MESSAGE_NUMBERS = lt_te_message_numbers
. " DNO_OW_EXTERN_SELECT




ABAP code using 7.40 inline data declarations to call FM DNO_OW_EXTERN_SELECT

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 STATUS FROM DNOD_NOTIF INTO @DATA(ld_i_status).
DATA(ld_i_status) = '1'.
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_date_from).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_date_to).
DATA(ld_i_date_to) = SY-DATUM.
 
"SELECT single TYPE_NOTIF FROM DNOD_NOTIF INTO @DATA(ld_i_type_notif).
DATA(ld_i_type_notif) = 'SLF1'.
 


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!