Inbound Idoc processing
Hi EDI Gurus,
I have a requirement for inbound idoc processing for 830 and 862 and 850. We are not using Immediate processing.
We want to have executable program for processing the idoc received, and result "SALES ORDER" created.
could any body have a code for this interface program,
please give me the code.
Any quick suggestion will be higly appreciated.
Thanks for the help,
Nagaraju Chidurupalli replied
Looks like you are not planning to set the status of iDoc to posted at all though you use that iDoc to create the Sales order.
I that case simply call the FM IDoc_input_orders with the Control record and IDoc data internal table and put a commit statement after the function call. Do not save the control record & status records returned by FM into DB (this set the status accordingly based on success or failure of Sales order creation).
For setting the future date in any of the date field, change the corresponding segment in the iDoc_data internal table before the FM call. That should work for you.
Message was edited by: Nagaraju Chidurupalli