SAP Function Modules

FKKDMS_DB_CHANGE_PROTOCOL SAP Function module







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

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


Pattern for FM FKKDMS_DB_CHANGE_PROTOCOL - FKKDMS DB CHANGE PROTOCOL





CALL FUNCTION 'FKKDMS_DB_CHANGE_PROTOCOL' "
  EXPORTING
    ix_delete = 'X'             " xfeld
  IMPORTING
    et_message =                " fkk_dmsmsg_t  FKKDMS: Messages with Document ID
    et_message_img =            " fkk_dmsmsg_t  FKKDMS: Messages with Document ID
    ev_counter_delete =         " int4          Natural Number
    ev_counter_delete_img =     " int4          Natural Number
    ev_counter_insert =         " int4          Natural Number
    ev_counter_update =         " int4          Natural Number
    .  "  FKKDMS_DB_CHANGE_PROTOCOL

ABAP code example for Function Module FKKDMS_DB_CHANGE_PROTOCOL





The ABAP code below is a full code listing to execute function module FKKDMS_DB_CHANGE_PROTOCOL 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_et_message  TYPE FKK_DMSMSG_T ,
ld_et_message_img  TYPE FKK_DMSMSG_T ,
ld_ev_counter_delete  TYPE INT4 ,
ld_ev_counter_delete_img  TYPE INT4 ,
ld_ev_counter_insert  TYPE INT4 ,
ld_ev_counter_update  TYPE INT4 .

DATA(ld_ix_delete) = 'Check type of data required'. . CALL FUNCTION 'FKKDMS_DB_CHANGE_PROTOCOL' EXPORTING ix_delete = ld_ix_delete IMPORTING et_message = ld_et_message et_message_img = ld_et_message_img ev_counter_delete = ld_ev_counter_delete ev_counter_delete_img = ld_ev_counter_delete_img ev_counter_insert = ld_ev_counter_insert ev_counter_update = ld_ev_counter_update . " FKKDMS_DB_CHANGE_PROTOCOL
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_et_message  TYPE FKK_DMSMSG_T ,
ld_ix_delete  TYPE XFELD ,
ld_et_message_img  TYPE FKK_DMSMSG_T ,
ld_ev_counter_delete  TYPE INT4 ,
ld_ev_counter_delete_img  TYPE INT4 ,
ld_ev_counter_insert  TYPE INT4 ,
ld_ev_counter_update  TYPE INT4 .

ld_ix_delete = 'Check type of data required'.

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