on 09-18-2014 4:28 PM
Hi experts,
Here i add new fields on standard SC component,When i press EDIT and just change the new add fields value and SAVE ,It didn't trigger CHANGE BADI and the data not saved correctly. I've tried to use
lo_el_recipient_data->set_changed_by_client( abap_false ). |
or set it abap_true and it didn't work.
Can anyone please help to advise?
Thanks
Eric Li
Hi Eric,
You need to find out if any condition is put on to trigger CHANGE badi i.e. If any data is changed by client / some other conditions.
As soon as you change the values inside the custom fields, the system automatically sets the changed_by_client flag to true. you better not to reset with your code.
I suggest you to debug, on SAVE action and find out what is stopping to reach CHANGE Badi. In case there is a condition to proceed further.
Use the POST EXIT / OVERWRITE exits of the method & you can get the changed by client flag using lo_el_recipient_data->get_changed_by_client( ) and use to clear the condition.
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.