SAP Function Modules

ISU_M_BILLDOCEBF_DI SAP Function module - IS-U Migration: Load Billing Documents in EBF Data Pool







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

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


Pattern for FM ISU_M_BILLDOCEBF_DI - ISU M BILLDOCEBF DI





CALL FUNCTION 'ISU_M_BILLDOCEBF_DI' "IS-U Migration: Load Billing Documents in EBF Data Pool
  EXPORTING
    x_upd_mode =                " regen-upd_mode  Data: Processing status
*   x_upd_online =              " regen-upd_online  Update online
*   x_no_dialog =               " regen-no_dialog  Suppress maintenance screens
    x_auto =                    " ebf_mig_auto  EBF Migration - Automation Data
  IMPORTING
    y_db_update =               " regen-db_update  Database Updated (X) or not (SPACE)
    yt_new_erch =               " isu_ierch     Table Type for ERCH
  EXCEPTIONS
    PARAMETER_ERROR = 1         "               Parameter Error
    INPUT_ERROR = 2             "               Input error
    NOT_ACTIVE = 3              "
    FOREIGN_LOCK = 4            "
    GENERAL_FAULT = 5           "               General Error
    .  "  ISU_M_BILLDOCEBF_DI

ABAP code example for Function Module ISU_M_BILLDOCEBF_DI





The ABAP code below is a full code listing to execute function module ISU_M_BILLDOCEBF_DI 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_y_db_update  TYPE REGEN-DB_UPDATE ,
ld_yt_new_erch  TYPE ISU_IERCH .


DATA(ld_x_upd_mode) = some text here

DATA(ld_x_upd_online) = some text here

DATA(ld_x_no_dialog) = some text here
DATA(ld_x_auto) = 'Check type of data required'. . CALL FUNCTION 'ISU_M_BILLDOCEBF_DI' EXPORTING x_upd_mode = ld_x_upd_mode * x_upd_online = ld_x_upd_online * x_no_dialog = ld_x_no_dialog x_auto = ld_x_auto IMPORTING y_db_update = ld_y_db_update yt_new_erch = ld_yt_new_erch EXCEPTIONS PARAMETER_ERROR = 1 INPUT_ERROR = 2 NOT_ACTIVE = 3 FOREIGN_LOCK = 4 GENERAL_FAULT = 5 . " ISU_M_BILLDOCEBF_DI
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 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_y_db_update  TYPE REGEN-DB_UPDATE ,
ld_x_upd_mode  TYPE REGEN-UPD_MODE ,
ld_yt_new_erch  TYPE ISU_IERCH ,
ld_x_upd_online  TYPE REGEN-UPD_ONLINE ,
ld_x_no_dialog  TYPE REGEN-NO_DIALOG ,
ld_x_auto  TYPE EBF_MIG_AUTO .


ld_x_upd_mode = some text here

ld_x_upd_online = some text here

ld_x_no_dialog = some text here
ld_x_auto = '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 ISU_M_BILLDOCEBF_DI or its description.