SAP Function Modules

ISU_MSAM10_NOTIFICATION_CHANGE SAP Function module - Create new IS-U related data for notification







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

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


Pattern for FM ISU_MSAM10_NOTIFICATION_CHANGE - ISU MSAM10 NOTIFICATION CHANGE





CALL FUNCTION 'ISU_MSAM10_NOTIFICATION_CHANGE' "Create new IS-U related data for notification
  EXPORTING
    is_notification_header =    " msam10_notif_header  Notification Header
* CHANGING
*   ct_notif_isu_mtr_rdng_note =   " msam10_meter_reading_note_t  MSAM-ISU: Meter Reading Note Data
*   ct_notif_isu_mtr_replacement =   " msam10_meter_replacement_t  Meter Replacement Results
*   ct_notif_isu_mtr_rep_device =   " msam10_mr_device_t  ISU : Meter Reading Device Data
*   ct_notif_isu_mtr_rep_register =   " msam10_mr_register_t  MSAM ISU - Meter Replacement Register
*   ct_notif_isu_mr_rep_transform =   " msam10_mr_transformer_t  MSAM - ISU : Meter replacement Transformer
*   ct_notif_isu_payment =      " msam10_payment_t  MSAM - ISU : Payment details
*   ct_notif_isu_disc_conf =    " msam10_disc_conf_t  MSAM ISU : Discount Confirmation
*   ct_notif_isu_mr_result =    " msam10_mr_result_t  MSAM - ISU : Meter Reading Result
*   ct_wsap_extension =         " msam_mo_sap_enhancement_t  Table for SAP extension
*   ct_cust_extension =         " msam_mo_customer_enhancement_t  Table for customer enhancement
*   ct_return =                 " bapiret2_t    Return parameter table
    .  "  ISU_MSAM10_NOTIFICATION_CHANGE

ABAP code example for Function Module ISU_MSAM10_NOTIFICATION_CHANGE





The ABAP code below is a full code listing to execute function module ISU_MSAM10_NOTIFICATION_CHANGE 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_ct_notif_isu_mtr_rdng_note) = 'Check type of data required'.
DATA(ld_ct_notif_isu_mtr_replacement) = 'Check type of data required'.
DATA(ld_ct_notif_isu_mtr_rep_device) = 'Check type of data required'.
DATA(ld_ct_notif_isu_mtr_rep_register) = 'Check type of data required'.
DATA(ld_ct_notif_isu_mr_rep_transform) = 'Check type of data required'.
DATA(ld_ct_notif_isu_payment) = 'Check type of data required'.
DATA(ld_ct_notif_isu_disc_conf) = 'Check type of data required'.
DATA(ld_ct_notif_isu_mr_result) = 'Check type of data required'.
DATA(ld_ct_wsap_extension) = 'Check type of data required'.
DATA(ld_ct_cust_extension) = 'Check type of data required'.
DATA(ld_ct_return) = 'Check type of data required'.
DATA(ld_is_notification_header) = 'Check type of data required'. . CALL FUNCTION 'ISU_MSAM10_NOTIFICATION_CHANGE' EXPORTING is_notification_header = ld_is_notification_header * CHANGING * ct_notif_isu_mtr_rdng_note = ld_ct_notif_isu_mtr_rdng_note * ct_notif_isu_mtr_replacement = ld_ct_notif_isu_mtr_replacement * ct_notif_isu_mtr_rep_device = ld_ct_notif_isu_mtr_rep_device * ct_notif_isu_mtr_rep_register = ld_ct_notif_isu_mtr_rep_register * ct_notif_isu_mr_rep_transform = ld_ct_notif_isu_mr_rep_transform * ct_notif_isu_payment = ld_ct_notif_isu_payment * ct_notif_isu_disc_conf = ld_ct_notif_isu_disc_conf * ct_notif_isu_mr_result = ld_ct_notif_isu_mr_result * ct_wsap_extension = ld_ct_wsap_extension * ct_cust_extension = ld_ct_cust_extension * ct_return = ld_ct_return . " ISU_MSAM10_NOTIFICATION_CHANGE
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_ct_notif_isu_mtr_rdng_note  TYPE MSAM10_METER_READING_NOTE_T ,
ld_is_notification_header  TYPE MSAM10_NOTIF_HEADER ,
ld_ct_notif_isu_mtr_replacement  TYPE MSAM10_METER_REPLACEMENT_T ,
ld_ct_notif_isu_mtr_rep_device  TYPE MSAM10_MR_DEVICE_T ,
ld_ct_notif_isu_mtr_rep_register  TYPE MSAM10_MR_REGISTER_T ,
ld_ct_notif_isu_mr_rep_transform  TYPE MSAM10_MR_TRANSFORMER_T ,
ld_ct_notif_isu_payment  TYPE MSAM10_PAYMENT_T ,
ld_ct_notif_isu_disc_conf  TYPE MSAM10_DISC_CONF_T ,
ld_ct_notif_isu_mr_result  TYPE MSAM10_MR_RESULT_T ,
ld_ct_wsap_extension  TYPE MSAM_MO_SAP_ENHANCEMENT_T ,
ld_ct_cust_extension  TYPE MSAM_MO_CUSTOMER_ENHANCEMENT_T ,
ld_ct_return  TYPE BAPIRET2_T .

ld_ct_notif_isu_mtr_rdng_note = 'Check type of data required'.
ld_is_notification_header = 'Check type of data required'.
ld_ct_notif_isu_mtr_replacement = 'Check type of data required'.
ld_ct_notif_isu_mtr_rep_device = 'Check type of data required'.
ld_ct_notif_isu_mtr_rep_register = 'Check type of data required'.
ld_ct_notif_isu_mr_rep_transform = 'Check type of data required'.
ld_ct_notif_isu_payment = 'Check type of data required'.
ld_ct_notif_isu_disc_conf = 'Check type of data required'.
ld_ct_notif_isu_mr_result = 'Check type of data required'.
ld_ct_wsap_extension = 'Check type of data required'.
ld_ct_cust_extension = 'Check type of data required'.
ld_ct_return = '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_MSAM10_NOTIFICATION_CHANGE or its description.