on 12-19-2017 8:16 PM
Hello everyone
We need to update the Sales order item characteristics. We can find several thread on that subject including some peace of code to use.
It is working fine when the values of the characteristics have already be entered manually by a user. We have done that using the class CL_CBASE.
Methods:
get_current_cbase_by_instance
get_configuration
get_head_of_cfg
set_configuration
set_mark_for_saving
save_and_free.
Finally add the statement "COMMIT WORK AND WAIT".
But when the characteristic is at its initial value, so no user has enter any value yet, the save mechanism doesn't work. Even if we can see by debugging the values have been changed before the method save_and_free, the value is not updated at the Sales Order item characteristic level.
We have 3 characteristics to update and all of them are numeric 6.
Is anyone succeed to update/add characteristics value when those characteristics have not been updated by the user?
All suggestion will be highly appreciated.
Regards
stjacqd
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.