2009 Jun 09 9:30 AM
Dear Friends,
We came across a situation where a material document should be posted at the end of Transfer Order Confirmation. we used a User Exit: EXIT_SAPLL03T_002. this user exit is called in update task. we are calling BAPI_GOODSMVT_CREATE inside the user exit to post a Goods movement. the issue here is, while we are trying to confirm the TO, this BAPI is trying to throw a popup window which is not allowed inside update task(coming from QM lot creation). this ends up in dump. my question is if BAPIs are intended to call from outside, there should not be a direct popup in any way.
any idea how to overcome this situation ?
with Regards,
Sudhahar R
2009 Jun 09 11:55 AM
Hi,
Try calling the BAPI with the additon in background task.
Regards,
Ankur Parab
2009 Jun 09 12:47 PM
Thanks Ankur,
if I call it in the background task, I'll not be able to get the Material document number which is created or any other export parameters/Return table.
regds,
Sudhahar R