Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Dialog inside BAPI_GOODSMVT_CREATE

sudhahar_ramachandran
Active Participant
0 Kudos
260

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

2 REPLIES 2

former_member555112
Active Contributor
0 Kudos
104

Hi,

Try calling the BAPI with the additon in background task.

Regards,

Ankur Parab

0 Kudos
104

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