SAP Function Modules

ISU_COMPR_UTILMD_V30_CHCD_OUT SAP Function module - IDoc Generation: UTILMD - Change to End Customer Data







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

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


Pattern for FM ISU_COMPR_UTILMD_V30_CHCD_OUT - ISU COMPR UTILMD V30 CHCD OUT





CALL FUNCTION 'ISU_COMPR_UTILMD_V30_CHCD_OUT' "IDoc Generation: UTILMD - Change to End Customer Data
  EXPORTING
    x_changed_data =            " isudr_changed_data  Data Changes
    x_compartner =              " ecompartner   Contains Partners and Modules for Communication
*   x_ever =                    " ever          IS-U Contract
*   x_eservice =                " eservice      Point of delivery service
  IMPORTING
    y_idoc_data =               " edex_idocdata  Master IDoc Data for Data Exchange Process
  TABLES
    t_all_services =            " iallservices  Contains all service and contract data for a PoD
  EXCEPTIONS
    SYSTEM_ERROR = 1            "               System Error
    NOT_FOUND = 2               "
    ERROR_OCCURRED = 3          "
    .  "  ISU_COMPR_UTILMD_V30_CHCD_OUT

ABAP code example for Function Module ISU_COMPR_UTILMD_V30_CHCD_OUT





The ABAP code below is a full code listing to execute function module ISU_COMPR_UTILMD_V30_CHCD_OUT 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_idoc_data  TYPE EDEX_IDOCDATA ,
it_t_all_services  TYPE STANDARD TABLE OF IALLSERVICES,"TABLES PARAM
wa_t_all_services  LIKE LINE OF it_t_all_services .

DATA(ld_x_changed_data) = 'Check type of data required'.
DATA(ld_x_compartner) = 'Check type of data required'.
DATA(ld_x_ever) = 'Check type of data required'.
DATA(ld_x_eservice) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_all_services to it_t_all_services. . CALL FUNCTION 'ISU_COMPR_UTILMD_V30_CHCD_OUT' EXPORTING x_changed_data = ld_x_changed_data x_compartner = ld_x_compartner * x_ever = ld_x_ever * x_eservice = ld_x_eservice IMPORTING y_idoc_data = ld_y_idoc_data TABLES t_all_services = it_t_all_services EXCEPTIONS SYSTEM_ERROR = 1 NOT_FOUND = 2 ERROR_OCCURRED = 3 . " ISU_COMPR_UTILMD_V30_CHCD_OUT
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 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_idoc_data  TYPE EDEX_IDOCDATA ,
ld_x_changed_data  TYPE ISUDR_CHANGED_DATA ,
it_t_all_services  TYPE STANDARD TABLE OF IALLSERVICES ,
wa_t_all_services  LIKE LINE OF it_t_all_services,
ld_x_compartner  TYPE ECOMPARTNER ,
ld_x_ever  TYPE EVER ,
ld_x_eservice  TYPE ESERVICE .

ld_x_changed_data = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_all_services to it_t_all_services.
ld_x_compartner = 'Check type of data required'.
ld_x_ever = 'Check type of data required'.
ld_x_eservice = '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_COMPR_UTILMD_V30_CHCD_OUT or its description.