SAP DNO_DB_NOTIF_INSERT Function Module for Create notification









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

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



Function DNO_DB_NOTIF_INSERT 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_DB_NOTIF_INSERT'"Create notification
EXPORTING
I_DNOD_NOTIF = "Notifications (Header)

TABLES
* T_DNOD_NOTIF_T = "Long Text Segments
* T_DNOD_NOTIF_P = "Partner
* T_DNOD_NOTIF_N = "Notes
* T_DNOD_NOTIF_H = "Notification: Hierarchy

EXCEPTIONS
DUPLICATE = 1 PARAMETER = 2
.



IMPORTING Parameters details for DNO_DB_NOTIF_INSERT

I_DNOD_NOTIF - Notifications (Header)

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

TABLES Parameters details for DNO_DB_NOTIF_INSERT

T_DNOD_NOTIF_T - Long Text Segments

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

T_DNOD_NOTIF_P - Partner

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

T_DNOD_NOTIF_N - Notes

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

T_DNOD_NOTIF_H - Notification: Hierarchy

Data type: DNOD_NOTIF_H
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

DUPLICATE -

Data type:
Optional: No
Call by Reference: Yes

PARAMETER -

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

Copy and paste ABAP code example for DNO_DB_NOTIF_INSERT 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_duplicate  TYPE STRING, "   
lv_i_dnod_notif  TYPE DNOD_NOTIF, "   
lt_t_dnod_notif_t  TYPE STANDARD TABLE OF DNOD_NOTIF_T, "   
lv_parameter  TYPE DNOD_NOTIF_T, "   
lt_t_dnod_notif_p  TYPE STANDARD TABLE OF DNOD_NOTIF_P, "   
lt_t_dnod_notif_n  TYPE STANDARD TABLE OF DNOD_NOTIF_N, "   
lt_t_dnod_notif_h  TYPE STANDARD TABLE OF DNOD_NOTIF_H. "   

  CALL FUNCTION 'DNO_DB_NOTIF_INSERT'  "Create notification
    EXPORTING
         I_DNOD_NOTIF = lv_i_dnod_notif
    TABLES
         T_DNOD_NOTIF_T = lt_t_dnod_notif_t
         T_DNOD_NOTIF_P = lt_t_dnod_notif_p
         T_DNOD_NOTIF_N = lt_t_dnod_notif_n
         T_DNOD_NOTIF_H = lt_t_dnod_notif_h
    EXCEPTIONS
        DUPLICATE = 1
        PARAMETER = 2
. " DNO_DB_NOTIF_INSERT




ABAP code using 7.40 inline data declarations to call FM DNO_DB_NOTIF_INSERT

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.

 
 
 
 
 
 
 


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!