Skip to Content
0
Former Member
Jun 18, 2010 at 09:59 AM

Problem with Creation of CRM Order via Function Module Test

19 Views

I am trying to check the order creation process from external systems by using the test function in Tcode SE37 with Function Module BAPI_BUSPROCESSND_CREATEMULTI.

I have created a Test Sequence of the following FMs:

BAPI_BUSPROCESSND_PROCSETTINGS

BAPI_BUSPROCESSND_CREATEMULTI

BAPI_PROCESS_SAVE

BAPI_TRANSACTION_COMMIT

All that I have been able to create so far is an order header without a Sold-to or Ship-to and no items. I am able to populate the Organization data, Header text and Appointments. The only partner function that is being populated is the one that is being automatically picked up from my user master.

For the BAPI_BUSPROCESSND_CREATEMULTI I am populating the following tables:

HEADER 1 entry

ITEM 2 entries

PARTNER 2 entries

ORGANISATION 1 entry

APPOINTMENT 2 entries

INPUT_FIELDS 41 entries

SCHEDULELINE 2 entries

I have created the entries based upon information gained through debugging function module CRM_ORDER_MAINTAIN during the creation of a service order.

It would be interesting to know if anybody has successfully created an order via the SE37 test function and if so, it would be useful to see the data in the relevant tables.