Hi all,
I have a requirement to update / change the field CHANGED_BY in table CRMD_ORDERADM_H. We're using SAP EP which in turn 'connects' to CRM backend system for changing orders (business transactions). All portal user use ONE CRM Backend user for 'logging on'. This means that all orders which are updated will have this user in field CHANGED_BY. This will give some major problems when the person who originally created the order wants to select all 'his' orders (due to circumstances it is not feasible to take the field CREATED_BY to perform the selection).
I tried using CRM_ORDER_MAINTAIN (followed by CRM_ORDER_SAVE and COMMIT WORK), but still the field is filled by the system user name (CRM_ORDER_SAVE gives no error but parameter 'et_saved_objects' does not return the entered GUID.
Is it even possible to do this or is it prohibited by SAP, like for instance field CHANGED_AT?
Kind regards,
Micky.
Hi Micky,
I just saw this post (it is a little bit old :-) )
Your solution would be to change the sy-uname value to the right user before calling to crm_order_maintain/save/commit and return its value to the original after that
Gilbert
Add a comment