SAP Function Modules

DNO_OW_PARTNER_MAINTAIN SAP Function module







DNO_OW_PARTNER_MAINTAIN 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_PARTNER_MAINTAIN 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_PARTNER_MAINTAIN - DNO OW PARTNER MAINTAIN





CALL FUNCTION 'DNO_OW_PARTNER_MAINTAIN' "
  EXPORTING
    i_guid_h =                  " dnot_guidh    GUID Notification
    i_type_notif =              " dnot_type_n   Message category
    i_partner =                 " dnos_notif_p_ext
*   i_index = 0                 " sy-tabix      Internal Tables; Current Line Index
*   i_delete =                  " dnot_flag
  TABLES
*   t_notif_p =                 " dnod_notif_p
    te_return =                 " bapiret1      Return Parameters
    .  "  DNO_OW_PARTNER_MAINTAIN

ABAP code example for Function Module DNO_OW_PARTNER_MAINTAIN





The ABAP code below is a full code listing to execute function module DNO_OW_PARTNER_MAINTAIN 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:
it_t_notif_p  TYPE STANDARD TABLE OF DNOD_NOTIF_P,"TABLES PARAM
wa_t_notif_p  LIKE LINE OF it_t_notif_p ,
it_te_return  TYPE STANDARD TABLE OF BAPIRET1,"TABLES PARAM
wa_te_return  LIKE LINE OF it_te_return .

DATA(ld_i_guid_h) = 'Check type of data required'.
DATA(ld_i_type_notif) = 'Check type of data required'.
DATA(ld_i_partner) = 'Check type of data required'.
DATA(ld_i_index) = '123 '.
DATA(ld_i_delete) = '123 '.

"populate fields of struture and append to itab
append wa_t_notif_p to it_t_notif_p.

"populate fields of struture and append to itab
append wa_te_return to it_te_return. . CALL FUNCTION 'DNO_OW_PARTNER_MAINTAIN' EXPORTING i_guid_h = ld_i_guid_h i_type_notif = ld_i_type_notif i_partner = ld_i_partner * i_index = ld_i_index * i_delete = ld_i_delete TABLES * t_notif_p = it_t_notif_p te_return = it_te_return . " DNO_OW_PARTNER_MAINTAIN
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_i_guid_h  TYPE DNOT_GUIDH ,
it_t_notif_p  TYPE STANDARD TABLE OF DNOD_NOTIF_P ,
wa_t_notif_p  LIKE LINE OF it_t_notif_p,
ld_i_type_notif  TYPE DNOT_TYPE_N ,
it_te_return  TYPE STANDARD TABLE OF BAPIRET1 ,
wa_te_return  LIKE LINE OF it_te_return,
ld_i_partner  TYPE DNOS_NOTIF_P_EXT ,
ld_i_index  TYPE SY-TABIX ,
ld_i_delete  TYPE DNOT_FLAG .

ld_i_guid_h = '123 '.

"populate fields of struture and append to itab
append wa_t_notif_p to it_t_notif_p.
ld_i_type_notif = '123 '.

"populate fields of struture and append to itab
append wa_te_return to it_te_return.
ld_i_partner = '123 '.
ld_i_index = '123 '.
ld_i_delete = '123 '.

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_PARTNER_MAINTAIN or its description.