on 05-08-2008 8:33 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.