cancel
Showing results for 
Search instead for 
Did you mean: 

Bulk Update using MDM ABAP API - Quaified Table

Former Member
0 Kudos

Hi,

I have requirement like, i want to update one of the field in Qualified table using bulk update for seveal records. I am passing only one field to the API to update the records but it is updating that field with new value and remaining fields got refreshed. How to avoid this and Is there any alternative solution for this.

My code as follow:-

 cl_repository->update_bulk( EXPORTING iv_table          = iv_table
                                                                it_keys           = it_keys
                                                                it_parameter      = lt_parameters
                                             IMPORTING ev_message        = lv_message
                                                               et_failed_records = lt_failed_records
                                             EXCEPTIONS error_bulk_update = 1
                                             OTHERS            = 2 ).

Thanks in Advance,

Best Regards,

Vijay

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Vijay,

please check your lt_parameters. It probably contains all fields of the table. If you give a structure with initial fields to the update method, the fields will be updated with initial values in MDM...

To avoid this, manipulate the structure of lt_parameters -> remove the fields that shall not be touched.

Regards

Andreas