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

BAPI to change a sales transaction

We need a little guidance when trying to change a sales transaction detail from an external application to our CRM 3.0 server. In R/3 we used to be able to pass the order number in as the key. With CRM the GUID is the key. If the external application does not know the GUID then how do we get it in order to read and change the details using a BAPI like BAPI_SLSTRANSACT_CHANGEMULTI?

i.e. We want to enter a customer number or date range to return orders and then double click the orders to get the detail in order to change it. Any ideas as to the sequence of BAPI calls that are required to achieve this?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 04, 2005 at 05:02 AM

    This is what I understand you want achieved. You basically want to change a sales transaction in CRM from an external system but given that in CRM nearly everything is represented as a GUID and the BAPI that you would like to use to change the sales transaction requires a GUID, you would like to find out how to get around it?

    If so, perhaps, you can build an RFC to wrap around the BAPI to import the sales transaction number (I'm assuming you have this in the external system) and then read CRMD_ORDERADM_H (from memory) to retrieve the GUID. Using this GUID then call the BAPI to perform the change. I hope I've answered your question.

    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.