In xMII v11.5 I use the JCO Function Action to create a goods movement (BAPI_GOODSMVT_CREATE), which I commit using the JCO Commit Action.
I then take the resulting doc number into BAPI_INSPLOT_GETLIST to find the inspection lot.
My problem is that the second part only seems to work if I insert a pause action block in between. Is this a fault in the BAPIs I am using, or is there something wrong with the COMMIT action, which I would have thought would wait until all underlying processes were finished before moving on.
Has anyone encountered anything similar?