SAP Function Modules

DTL_MT_CONVOBJS_DEFINE SAP Function module - Create conversion objects of a mass transfer







DTL_MT_CONVOBJS_DEFINE 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_MT_CONVOBJS_DEFINE 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_MT_CONVOBJS_DEFINE - DTL MT CONVOBJS DEFINE





CALL FUNCTION 'DTL_MT_CONVOBJS_DEFINE' "Create conversion objects of a mass transfer
  EXPORTING
    im_mode =                   " char1         Excecute / status / log
*   im_applic = 'SLO'           " dmc_applic    DMC Tool:  Application
*   im_mt_id =                  " dmc_mt_identifier  DMC: Kennzeichen einer Massenübernahme
*   im_no_of_jobs = 1           " numc2         Maximale Anzahl Batchprozessen
*   im_packid =                 " dmc_package_id  Package ID
    im_session_id =             " dmc_session_id  MBT PCL SESSION_ID
*   im_restart = '-'            " boolean       restart mode
*   i_tadir = '-'               " boolean       Direct TADIR update instead of CTS
*   it_tables =                 " dmc_ranges_tabname  Ranges Table for Table Name
  IMPORTING
    ex_lognumber =              " balognr       Application log: log number
    ex_statistics =             " dtl_mt_statistics  Structure for PCL function module / STATUS
* TABLES
*   et_status =                 " dmc_activity_status_info_t  Status info for MWB activities
*   et_lognumbers =             " dmc_dtl_logs_t  Application Log: LOGNUMBER range table entry
    .  "  DTL_MT_CONVOBJS_DEFINE

ABAP code example for Function Module DTL_MT_CONVOBJS_DEFINE





The ABAP code below is a full code listing to execute function module DTL_MT_CONVOBJS_DEFINE 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_ex_lognumber  TYPE BALOGNR ,
ld_ex_statistics  TYPE DTL_MT_STATISTICS ,
it_et_status  TYPE STANDARD TABLE OF DMC_ACTIVITY_STATUS_INFO_T,"TABLES PARAM
wa_et_status  LIKE LINE OF it_et_status ,
it_et_lognumbers  TYPE STANDARD TABLE OF DMC_DTL_LOGS_T,"TABLES PARAM
wa_et_lognumbers  LIKE LINE OF it_et_lognumbers .

DATA(ld_im_mode) = 'Check type of data required'.
DATA(ld_im_applic) = 'Check type of data required'.
DATA(ld_im_mt_id) = 'Check type of data required'.
DATA(ld_im_no_of_jobs) = 'Check type of data required'.
DATA(ld_im_packid) = 'Check type of data required'.
DATA(ld_im_session_id) = 'Check type of data required'.
DATA(ld_im_restart) = 'Check type of data required'.
DATA(ld_i_tadir) = 'Check type of data required'.
DATA(ld_it_tables) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_et_status to it_et_status.

"populate fields of struture and append to itab
append wa_et_lognumbers to it_et_lognumbers. . CALL FUNCTION 'DTL_MT_CONVOBJS_DEFINE' EXPORTING im_mode = ld_im_mode * im_applic = ld_im_applic * im_mt_id = ld_im_mt_id * im_no_of_jobs = ld_im_no_of_jobs * im_packid = ld_im_packid im_session_id = ld_im_session_id * im_restart = ld_im_restart * i_tadir = ld_i_tadir * it_tables = ld_it_tables IMPORTING ex_lognumber = ld_ex_lognumber ex_statistics = ld_ex_statistics * TABLES * et_status = it_et_status * et_lognumbers = it_et_lognumbers . " DTL_MT_CONVOBJS_DEFINE
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_ex_lognumber  TYPE BALOGNR ,
ld_im_mode  TYPE CHAR1 ,
it_et_status  TYPE STANDARD TABLE OF DMC_ACTIVITY_STATUS_INFO_T ,
wa_et_status  LIKE LINE OF it_et_status,
ld_ex_statistics  TYPE DTL_MT_STATISTICS ,
ld_im_applic  TYPE DMC_APPLIC ,
it_et_lognumbers  TYPE STANDARD TABLE OF DMC_DTL_LOGS_T ,
wa_et_lognumbers  LIKE LINE OF it_et_lognumbers,
ld_im_mt_id  TYPE DMC_MT_IDENTIFIER ,
ld_im_no_of_jobs  TYPE NUMC2 ,
ld_im_packid  TYPE DMC_PACKAGE_ID ,
ld_im_session_id  TYPE DMC_SESSION_ID ,
ld_im_restart  TYPE BOOLEAN ,
ld_i_tadir  TYPE BOOLEAN ,
ld_it_tables  TYPE DMC_RANGES_TABNAME .

ld_im_mode = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_et_status to it_et_status.
ld_im_applic = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_et_lognumbers to it_et_lognumbers.
ld_im_mt_id = 'Check type of data required'.
ld_im_no_of_jobs = 'Check type of data required'.
ld_im_packid = 'Check type of data required'.
ld_im_session_id = 'Check type of data required'.
ld_im_restart = 'Check type of data required'.
ld_i_tadir = 'Check type of data required'.
ld_it_tables = 'Check type of data required'.

SAP Documentation for FM DTL_MT_CONVOBJS_DEFINE


This API is used to transfer the PCL conversion object data to the MWB, that means, to create all conversion objects in the MWB which belong to ...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_MT_CONVOBJS_DEFINE or its description.