Question:
Ciao,
I've been using IDOC ORDERS to create Sales Orders in SAP from an outside system for 3 years now: I'm getting tired of it!
It takes almost 2 minutes to fully process a sales order via BDC!!!! Imagine when I receive 100 orders at 1 time. Unbearable.
I'm thinking of switching to BAPIs, something like BAPI_SALESORDER_CREATEFROMDAT2 .
But I am quite concerned of the effort of:
1) change the outside system to produce a new IDOC type
2) understanding/checking BAPI's behaviour.
Does any of you have any experience on that? Is there a way to use a standard sales order BAPI with ORDERS IDOC type?
Many thanks,
Lorenzo
Answer:
I don't know that using a BAPI will increase your performance. 2 minutes sound like too long, so maybe you should be looking at whether you have a badly performing User exit in your IDOc orders function.
If you use BAPIs, you will need to code any error handling in your BAPI call, and you don't get the nice standard workflows if things go wrong, so your customer service can fix. As you say, checking the BAPIs behavior is hard to do, and needs customizing in your outside system.
We have about 2000 ORDERs idocs received each day without any problems.
Answer:
If the external source is creating IDocs, why are you processing them with BDC?
What version of the IDoc are you currently using? SAP has the ability to receive older versions of an IDoc, and process them normally.
I would change the source programs to create the IDocs in the latest format for your SAP system and switch to processing them as IDocs, not via BDC. Even if the external system just creates text files with IDocs inside, SAP can read this.
It will be cheaper and easier to upgrade to a new version of the IDoc, than to implement BAPIs from scratch.
Answer:
Well, I use standard processing. It is just that standard function module makes a BDC... (I mean it creates a BCD structure and process it with a CALL TRANSACTION ...).
However, Matt answer persuaded me in leaving BAPI's out, by now. Unless until SAP will make a VA01N (enjoy) like with ME21N that doesn't support BDC.
I still need to investigate why the process is so slow, however...
Answer:
why don't you try IDOC_INPUT_SALESORDER_CREATEFR
_________________
Thanks
Rex