cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI to change a sales transaction

Former Member
0 Kudos

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?

Thanks

Kevin

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.