SAP Function Modules

DTL_GET_OBJECT_BLOCK_STATUS SAP Function module - set or reset block status for a migration object







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

Associated Function Group: DMC_DTL
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM DTL_GET_OBJECT_BLOCK_STATUS - DTL GET OBJECT BLOCK STATUS





CALL FUNCTION 'DTL_GET_OBJECT_BLOCK_STATUS' "set or reset block status for a migration object
  EXPORTING
    i_mt_id =                   " dmc_mt_identifier  DMC: Indicator for Mass Transfer
    i_block_step =              " dmc_block_process_step  Block a processing step of MWB mass transfers
  IMPORTING
    et_object_names =           " dmc_ident_tab  Table of Identifiers
    .  "  DTL_GET_OBJECT_BLOCK_STATUS

ABAP code example for Function Module DTL_GET_OBJECT_BLOCK_STATUS





The ABAP code below is a full code listing to execute function module DTL_GET_OBJECT_BLOCK_STATUS 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_object_names  TYPE DMC_IDENT_TAB .

DATA(ld_i_mt_id) = 'Check type of data required'.
DATA(ld_i_block_step) = 'Check type of data required'. . CALL FUNCTION 'DTL_GET_OBJECT_BLOCK_STATUS' EXPORTING i_mt_id = ld_i_mt_id i_block_step = ld_i_block_step IMPORTING et_object_names = ld_et_object_names . " DTL_GET_OBJECT_BLOCK_STATUS
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_object_names  TYPE DMC_IDENT_TAB ,
ld_i_mt_id  TYPE DMC_MT_IDENTIFIER ,
ld_i_block_step  TYPE DMC_BLOCK_PROCESS_STEP .

ld_i_mt_id = 'Check type of data required'.
ld_i_block_step = 'Check type of data required'.

SAP Documentation for FM DTL_GET_OBJECT_BLOCK_STATUS


By means of setting a block flag in table DMC_MT_TABLES, it is possible to block, for certain migration objects, the execution of certain ...See here for full SAP fm documentation

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