SAP Function Modules

IST_EBS_EXT_START_MASS_ACT SAP Function module







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

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


Pattern for FM IST_EBS_EXT_START_MASS_ACT - IST EBS EXT START MASS ACT





CALL FUNCTION 'IST_EBS_EXT_START_MASS_ACT' "
  EXPORTING
    iv_jtype =                  " jtype_kk
    iv_aktyp =                  " aktyp_kk
    iv_copyd =                  " laufd_kk
    iv_copyi =                  " laufi_kk
*   iv_laufd =                  " laufd_kk
*   iv_trunk_laufi = 'EBS'      " laufi_kk
*   iv_rundte =                 " sy-datum
*   iv_runtm =                  " sy-uzeit
  IMPORTING
    ev_laufd =                  " fkkcocc-laufd
    ev_laufi =                  " fkkcocc-laufi
* TABLES
*   et_jobhead =                " tbtcjob
  EXCEPTIONS
    WRONG_INPUT = 1             "
    TEMPLATE_NOT_EXISTING = 2   "
    RUN_NOT_CREATED = 3         "
    USERKEY_EXISTS = 4          "
    ERROR_IN_JOBS_CREATION = 5  "
    ERROR_IN_SUBMIT_FKJO_SCHEDULE = 6  "
    ERROR_IN_READING_MAKTJOBS = 7  "
    ERROR_IN_JOB_RELEASE = 8    "
    .  "  IST_EBS_EXT_START_MASS_ACT

ABAP code example for Function Module IST_EBS_EXT_START_MASS_ACT





The ABAP code below is a full code listing to execute function module IST_EBS_EXT_START_MASS_ACT 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_ev_laufd  TYPE FKKCOCC-LAUFD ,
ld_ev_laufi  TYPE FKKCOCC-LAUFI ,
it_et_jobhead  TYPE STANDARD TABLE OF TBTCJOB,"TABLES PARAM
wa_et_jobhead  LIKE LINE OF it_et_jobhead .

DATA(ld_iv_jtype) = 'Check type of data required'.
DATA(ld_iv_aktyp) = 'Check type of data required'.
DATA(ld_iv_copyd) = 'Check type of data required'.
DATA(ld_iv_copyi) = 'Check type of data required'.
DATA(ld_iv_laufd) = 'Check type of data required'.
DATA(ld_iv_trunk_laufi) = 'Check type of data required'.
DATA(ld_iv_rundte) = '20210129'.
DATA(ld_iv_runtm) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_et_jobhead to it_et_jobhead. . CALL FUNCTION 'IST_EBS_EXT_START_MASS_ACT' EXPORTING iv_jtype = ld_iv_jtype iv_aktyp = ld_iv_aktyp iv_copyd = ld_iv_copyd iv_copyi = ld_iv_copyi * iv_laufd = ld_iv_laufd * iv_trunk_laufi = ld_iv_trunk_laufi * iv_rundte = ld_iv_rundte * iv_runtm = ld_iv_runtm IMPORTING ev_laufd = ld_ev_laufd ev_laufi = ld_ev_laufi * TABLES * et_jobhead = it_et_jobhead EXCEPTIONS WRONG_INPUT = 1 TEMPLATE_NOT_EXISTING = 2 RUN_NOT_CREATED = 3 USERKEY_EXISTS = 4 ERROR_IN_JOBS_CREATION = 5 ERROR_IN_SUBMIT_FKJO_SCHEDULE = 6 ERROR_IN_READING_MAKTJOBS = 7 ERROR_IN_JOB_RELEASE = 8 . " IST_EBS_EXT_START_MASS_ACT
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 3. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 4. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 5. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 6. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 7. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 8. "Exception "Add code for exception here 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_ev_laufd  TYPE FKKCOCC-LAUFD ,
ld_iv_jtype  TYPE JTYPE_KK ,
it_et_jobhead  TYPE STANDARD TABLE OF TBTCJOB ,
wa_et_jobhead  LIKE LINE OF it_et_jobhead,
ld_ev_laufi  TYPE FKKCOCC-LAUFI ,
ld_iv_aktyp  TYPE AKTYP_KK ,
ld_iv_copyd  TYPE LAUFD_KK ,
ld_iv_copyi  TYPE LAUFI_KK ,
ld_iv_laufd  TYPE LAUFD_KK ,
ld_iv_trunk_laufi  TYPE LAUFI_KK ,
ld_iv_rundte  TYPE SY-DATUM ,
ld_iv_runtm  TYPE SY-UZEIT .

ld_iv_jtype = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_et_jobhead to it_et_jobhead.
ld_iv_aktyp = 'Check type of data required'.
ld_iv_copyd = 'Check type of data required'.
ld_iv_copyi = 'Check type of data required'.
ld_iv_laufd = 'Check type of data required'.
ld_iv_trunk_laufi = 'Check type of data required'.
ld_iv_rundte = '20210129'.
ld_iv_runtm = 'Check type of data required'.

SAP Documentation for FM IST_EBS_EXT_START_MASS_ACT


You can use this function module to start external mass runs.

The type of mass activity is communicated to the function module using
...See here for full SAP fm documentati

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