Skip to Content

Updating field CHANGED_BY from CRMD_ORDERADM_H

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 04, 2006 at 11:58 PM

    Hi Micky,

    The best fix would be to have the same portal user matching the same crm user. Then no development is required.

    Cheers

    Andrew

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 23, 2016 at 08:12 AM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.