SAP Function Modules

FKK_VT_OBJ_PROCESS_ITEM SAP Function module







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

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


Pattern for FM FKK_VT_OBJ_PROCESS_ITEM - FKK VT OBJ PROCESS ITEM





CALL FUNCTION 'FKK_VT_OBJ_PROCESS_ITEM' "
  EXPORTING
    iv_valid_timestamp =        " timestamp
    iv_change_timestamp =       " timestamp
    is_pos_di =                 " fkk_vt_i_di
    is_pos_db =                 " dfkk_vt_i
    it_pos_vtpid =              " fkk_vt_i_tab
    ix_valfr_changed =          " xfeld
  IMPORTING
    et_pos_di =                 " fkk_vt_i_di_tab
    et_message =                " bapiret2_t
    ex_error =                  " xfeld
  CHANGING
    cv_highest_vtpos =          " i
    .  "  FKK_VT_OBJ_PROCESS_ITEM

ABAP code example for Function Module FKK_VT_OBJ_PROCESS_ITEM





The ABAP code below is a full code listing to execute function module FKK_VT_OBJ_PROCESS_ITEM 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_pos_di  TYPE FKK_VT_I_DI_TAB ,
ld_et_message  TYPE BAPIRET2_T ,
ld_ex_error  TYPE XFELD .

DATA(ld_cv_highest_vtpos) = 'Check type of data required'.
DATA(ld_iv_valid_timestamp) = 'Check type of data required'.
DATA(ld_iv_change_timestamp) = 'Check type of data required'.
DATA(ld_is_pos_di) = 'Check type of data required'.
DATA(ld_is_pos_db) = 'Check type of data required'.
DATA(ld_it_pos_vtpid) = 'Check type of data required'.
DATA(ld_ix_valfr_changed) = 'Check type of data required'. . CALL FUNCTION 'FKK_VT_OBJ_PROCESS_ITEM' EXPORTING iv_valid_timestamp = ld_iv_valid_timestamp iv_change_timestamp = ld_iv_change_timestamp is_pos_di = ld_is_pos_di is_pos_db = ld_is_pos_db it_pos_vtpid = ld_it_pos_vtpid ix_valfr_changed = ld_ix_valfr_changed IMPORTING et_pos_di = ld_et_pos_di et_message = ld_et_message ex_error = ld_ex_error CHANGING cv_highest_vtpos = ld_cv_highest_vtpos . " FKK_VT_OBJ_PROCESS_ITEM
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_cv_highest_vtpos  TYPE I ,
ld_et_pos_di  TYPE FKK_VT_I_DI_TAB ,
ld_iv_valid_timestamp  TYPE TIMESTAMP ,
ld_et_message  TYPE BAPIRET2_T ,
ld_iv_change_timestamp  TYPE TIMESTAMP ,
ld_ex_error  TYPE XFELD ,
ld_is_pos_di  TYPE FKK_VT_I_DI ,
ld_is_pos_db  TYPE DFKK_VT_I ,
ld_it_pos_vtpid  TYPE FKK_VT_I_TAB ,
ld_ix_valfr_changed  TYPE XFELD .

ld_cv_highest_vtpos = 'Check type of data required'.
ld_iv_valid_timestamp = 'Check type of data required'.
ld_iv_change_timestamp = 'Check type of data required'.
ld_is_pos_di = 'Check type of data required'.
ld_is_pos_db = 'Check type of data required'.
ld_it_pos_vtpid = 'Check type of data required'.
ld_ix_valfr_changed = '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 FKK_VT_OBJ_PROCESS_ITEM or its description.