I am using 'BAPI_PRODORDCONF_CREATE_HDR' to do goods movement and order confirmation. On successful goods movement the material doc shoudl get created on excuting the above BAPI but the material docs are not getting created immediately.
Currently I have got some work around for this problem and I am solving it using WAIT command but I am not sure wheather this is the correct way to solve problem.
If anyone has got some other clue please get back to me.
Thanks in advance.