Skip to Content
author's profile photo Former Member
Former Member


Hi there....

I have an in/outbound interface with an external system, interfacing with CRM thru XI via a PROXY. Im able to retrieve data using 'CRM_ORDER_READ' and i can retrieve stuff from the buffer as well using CRM_ORDERADM_H_GET_MULTI_OB, and this works perfectly as I'm able to send info to XI.

However, I have a futher requirement,XI brings back a reference number which I must save to table CRMD_ACTIVITY_H field EXTERN_ACT_ID(its called Ext,No on the screen). Please advise as how to achieve this in the ORDER_SAVE badi,cos it looks like i may need to update the buffer,ive also tried all the

"CRM_ACTIVITY_H_* " FM's but to no success.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Nov 28, 2007 at 09:50 PM

    Hi Zola,

    This is a two step process, 1- update 2- save.

    To post changes to 1Order you need to call the API function <b>CRM_ORDER_MAINTAIN</b>, this API will trigger all the corresponding checks and will update the internal buffer. You will find a lot of importing parameters, this is because 1Order is a framework used by several CRM not only Activity.

    To change the attribute EXTERN_ACT_ID you will need to maintain the importing attribute <b>IT_ACTIVITY_H-EXTERN_ACT_ID</b>, CT_INPUT_FIELDS in which you indicate with exact filed has changed and CT_ORDERADM_H or CT_ORDERADM_I depending if you update a header of item.

    Finally you need to save these changes using function <b>CRM_ORDER_SAVE</b> and passing in <b>IT_OBJECTS_TO_SAVE</b> the list of object you want change.

    Another alternative will be to call directly <b>CRM_ACTIVITY_H_UPDATE_DU</b> and passing in the value to be changed. Note that by using directly this function module without passing by 1Order APIs (maintain + save) you by passed the check logic from in the 1Order framework and potentially lost the validity feedback about the consistency of the data you request to changed. If you use this function module you must be 100% sure about consistency of the data you are about to post.

    Hopping this answer your question.


    Alain Gauthier

    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.