Problem in JCO Commit Block
I am having a scenario where in, I am executing multiple BAPIs in sequence. In this I am executing BAPI_GOODSMVT_CREATE and then Using JCO commit block to commit. This BAPI is returning Delivery number, same delivery number I am passing to custom BAPI to pack HUID in sequence.
Now, I am able to generate Delivery number but generated delivery number is not existing in SAP. Commit is executed successfully after BAPI_GOODSMVT_CREATE bapi execution.But custom BAPI throws as error as Delivery number doesn't exist. Can anyone suggest solution for this problem.