SAP Function Modules

DNO_OW_GET_DATA SAP Function module







DNO_OW_GET_DATA is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name DNO_OW_GET_DATA into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: DNO_OW
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM DNO_OW_GET_DATA - DNO OW GET DATA





CALL FUNCTION 'DNO_OW_GET_DATA' "
  EXPORTING
    i_guidh =                   " dnot_guidh    GUID Notification
  IMPORTING
    e_notif =                   " dnod_notif    Notifications (Header)
* TABLES
*   te_notif_p =                " dnod_notif_p  Partner
*   te_notif_t =                " dnod_notif_t  Long Text Segments
*   te_notif_n =                " dnod_notif_n  Notes
    .  "  DNO_OW_GET_DATA

ABAP code example for Function Module DNO_OW_GET_DATA





The ABAP code below is a full code listing to execute function module DNO_OW_GET_DATA including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_e_notif  TYPE DNOD_NOTIF ,
it_te_notif_p  TYPE STANDARD TABLE OF DNOD_NOTIF_P,"TABLES PARAM
wa_te_notif_p  LIKE LINE OF it_te_notif_p ,
it_te_notif_t  TYPE STANDARD TABLE OF DNOD_NOTIF_T,"TABLES PARAM
wa_te_notif_t  LIKE LINE OF it_te_notif_t ,
it_te_notif_n  TYPE STANDARD TABLE OF DNOD_NOTIF_N,"TABLES PARAM
wa_te_notif_n  LIKE LINE OF it_te_notif_n .

DATA(ld_i_guidh) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_te_notif_p to it_te_notif_p.

"populate fields of struture and append to itab
append wa_te_notif_t to it_te_notif_t.

"populate fields of struture and append to itab
append wa_te_notif_n to it_te_notif_n. . CALL FUNCTION 'DNO_OW_GET_DATA' EXPORTING i_guidh = ld_i_guidh IMPORTING e_notif = ld_e_notif * TABLES * te_notif_p = it_te_notif_p * te_notif_t = it_te_notif_t * te_notif_n = it_te_notif_n . " DNO_OW_GET_DATA
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_e_notif  TYPE DNOD_NOTIF ,
ld_i_guidh  TYPE DNOT_GUIDH ,
it_te_notif_p  TYPE STANDARD TABLE OF DNOD_NOTIF_P ,
wa_te_notif_p  LIKE LINE OF it_te_notif_p,
it_te_notif_t  TYPE STANDARD TABLE OF DNOD_NOTIF_T ,
wa_te_notif_t  LIKE LINE OF it_te_notif_t,
it_te_notif_n  TYPE STANDARD TABLE OF DNOD_NOTIF_N ,
wa_te_notif_n  LIKE LINE OF it_te_notif_n.

ld_i_guidh = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_te_notif_p to it_te_notif_p.

"populate fields of struture and append to itab
append wa_te_notif_t to it_te_notif_t.

"populate fields of struture and append to itab
append wa_te_notif_n to it_te_notif_n.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name DNO_OW_GET_DATA or its description.