Skip to Content
avatar image
Former Member

Bulk Update using MDM ABAP API - Quaified Table

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 09, 2008 at 02:12 PM

    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

    Add comment
    10|10000 characters needed characters exceeded