SAP Function Modules

DNO_SAP_REFRESH_NOTIF SAP Function module







DNO_SAP_REFRESH_NOTIF 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_SAP_REFRESH_NOTIF into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM DNO_SAP_REFRESH_NOTIF - DNO SAP REFRESH NOTIF





CALL FUNCTION 'DNO_SAP_REFRESH_NOTIF' "
  EXPORTING
    i_notif =                   " dnod_notif
*   i_determine_ppf = 'X'       " dnot_flag
  IMPORTING
    e_rcode =                   " sy-subrc      Return Value, Return Value After ABAP Statements
  TABLES
    t_notif_s =                 " dnod_notif_s  Notification: SAP Support Data
    t_notif_t =                 " dnod_notif_t  Long Text Segments
    t_notif_n =                 " dnod_notif_n  Notes
  EXCEPTIONS
    DATA_NOT_COMPLETE = 1       "
    REFRESH_NOT_POSSIBLE = 2    "
    .  "  DNO_SAP_REFRESH_NOTIF

ABAP code example for Function Module DNO_SAP_REFRESH_NOTIF





The ABAP code below is a full code listing to execute function module DNO_SAP_REFRESH_NOTIF 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_rcode  TYPE SY-SUBRC ,
it_t_notif_s  TYPE STANDARD TABLE OF DNOD_NOTIF_S,"TABLES PARAM
wa_t_notif_s  LIKE LINE OF it_t_notif_s ,
it_t_notif_t  TYPE STANDARD TABLE OF DNOD_NOTIF_T,"TABLES PARAM
wa_t_notif_t  LIKE LINE OF it_t_notif_t ,
it_t_notif_n  TYPE STANDARD TABLE OF DNOD_NOTIF_N,"TABLES PARAM
wa_t_notif_n  LIKE LINE OF it_t_notif_n .

DATA(ld_i_notif) = 'Check type of data required'.
DATA(ld_i_determine_ppf) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_notif_s to it_t_notif_s.

"populate fields of struture and append to itab
append wa_t_notif_t to it_t_notif_t.

"populate fields of struture and append to itab
append wa_t_notif_n to it_t_notif_n. . CALL FUNCTION 'DNO_SAP_REFRESH_NOTIF' EXPORTING i_notif = ld_i_notif * i_determine_ppf = ld_i_determine_ppf IMPORTING e_rcode = ld_e_rcode TABLES t_notif_s = it_t_notif_s t_notif_t = it_t_notif_t t_notif_n = it_t_notif_n EXCEPTIONS DATA_NOT_COMPLETE = 1 REFRESH_NOT_POSSIBLE = 2 . " DNO_SAP_REFRESH_NOTIF
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here 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_rcode  TYPE SY-SUBRC ,
ld_i_notif  TYPE DNOD_NOTIF ,
it_t_notif_s  TYPE STANDARD TABLE OF DNOD_NOTIF_S ,
wa_t_notif_s  LIKE LINE OF it_t_notif_s,
ld_i_determine_ppf  TYPE DNOT_FLAG ,
it_t_notif_t  TYPE STANDARD TABLE OF DNOD_NOTIF_T ,
wa_t_notif_t  LIKE LINE OF it_t_notif_t,
it_t_notif_n  TYPE STANDARD TABLE OF DNOD_NOTIF_N ,
wa_t_notif_n  LIKE LINE OF it_t_notif_n.

ld_i_notif = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_notif_s to it_t_notif_s.
ld_i_determine_ppf = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_notif_t to it_t_notif_t.

"populate fields of struture and append to itab
append wa_t_notif_n to it_t_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_SAP_REFRESH_NOTIF or its description.