2013 Jan 23 9:58 AM
Hi,
I have an inbound Orders05 idoc with extension scenario.I do not want to use the standard IDOC_INPUT_ORDERS FM as I need to do some coding.
I am going to use a Z function module inside which I will call the BAPI to create the sales order.
I have the following requirement -
1. I need to write some code only after ORDERS05 Idoc is posted successfully.. Can anybody let me know which exit/badi can be used for this?.
Will the enhancement EXIT_SAPLVEDA_003 suffice?
2. I need to modify the status record text ( saying idoc created sales order XYZ ) in the idoc if it is posted OK ( with status 53 )...
should i do this in my Z-FM or in the exit which is called after the sales order is created?
2013 Jan 23 10:25 AM
Hi
In the IDoc FM IDOC_INPUT_ORDERS, you can use EXIT_SAPLVEDA_004 or EXIT_SAPLVEDA_005 where you find table parameter for status records after calling the subroutine for VA01 tcode.
In EXIT_SAPLVEDA_003 there is no parameter which can update status records or control record, so no possibility.
In higher versions ECC6.0..., you can impliment implicit enhancement option at the end of the FM for updating control and status records.
br...
Dwaraka