‎2006 Mar 23 5:12 PM
Hi all,
I have written a fm in place of idoc_input_orders and it has got no resemblence to that and uses an bapi BAPI_SALESORDER_CREATEFROMDAT2. ive attached this to process code and am posting the orders with the help of an idoc . But its creating an idoc with status 51 saying sales document was not changed. can somebody help mw with this please.
thanks,
Kiran.
‎2006 Mar 23 5:33 PM
I would suggest that you return to SAP's "standard" methodology and abandon your custom process.
Your company paid a lot of money for SAP's pre-built methodologies.
‎2006 Mar 23 5:36 PM
If you are using your own custom function module for processing an IDoc, you also have to set the status records appropriately. See the original function module where it sets the status records and use a similar logic. I hope you have a very sound reason for not using IDOC_INPUT_ORDERS.