I'm using the SalesOrder Create BAPI, BAPI_SALESORDER_CREATEFROMDAT2, in an ALE interface and also want to use Workflow when an error occurs. How do I set up the BAPI/ALE configuration to use Workflow? I need to begin sending IDoc orders to SAP with Credit Card information. We currently use ORDERS01 type IDocs using IDOC_INPUT_ORDERS to post the IDocs. I understand that I need to start using SALESORDER_CREATEFROMDAT201 type IDocs and BAPI_IDOC_INPUT to post these, I think? We are on V4.7. The IDoc is completely different and I am having trouble figuring out where to start? For example what are the minimum fields required to post an order using this new type? How do the ORDERS01 segments and fields relate to the segments and fields in the new IDoc type?
The IDOC is not so much different form the BAPI. It is actually an additional shim between the application and the processing BAPI. The required fields depend on the customizing of the receiving system. Basically you could live with passing the customer number and the sales order type, in brief just the info you need to type in when maintaining the same order type with VA01.
I am not 100% sure what your problem is. What is wrong with ORDERS01? You do not want to use it? It would be easiest...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
way and the nature of an IDoc or asynchronous messaging in general is that you send a message and will not care how the receiver handles it.