‎2006 Jun 14 3:46 PM
Hi All,
I am using WS_DELIVERY_UPDATE for Goods Issue of a delivery and the PGI is successful.
Transaction 'VL02N' is triggering some custom output types defined in 'NACE' transaction at the time of PGI.
Whereas my program calling 'WS_DELIVERY_UPDATE' for PGI
could not trigger those output types while PGIing.
I want to know if there is any parameter that need to be explicitly passed to function module to trigger output types as done by 'VL02N'. if not , is there any alternative for this?
Requesting reply. This is urgent.
Thanks in advance for your help.
Regards
Jawahar
‎2006 Jun 14 3:54 PM
For PGI, it is better to do a simple BDC. All you have to do is write BDC for the initial screen of VL02N and the okcode for PGI. PGI is a very complicated process internally and so there is no single function module available for it. If you see the code when PGI happens, you might find a call to WS_DELIVERY_UPDATE and lot of processing prior to calling it and lot of processing after calling it.
So simply change it to a BDC even though BDC is not the best way to do transaction updates, but in this case, it is the best solution.
‎2006 Jun 14 3:56 PM
I agree with Srinivas. And more over there is a note on WS_DELIVERY_UPDATE that is subject to changes and SAP does not recommend it usage at this point of time.
However, writing VL02n might be little tricky as its a enjoy transaction. So, try writing the same on VL02.
Regards,
Ravi
‎2006 Jun 14 4:01 PM