Hello Experts,
I currently facing an issue with IDOC processing. I have created a new IDOC similar to SDPICK IDOC to incorporate other functionalities like Packing (SDPACK,) removing handling units, posting goods issue(same way as SDPICK does), then reversing goods issue and unpicking(clear picking quantity of line items). The added functionalities are performed based on flags sent by non-sap system.
In the above, any of the below functionalities works in sequence,
EIther Picking and then packing (adding HUs) in one IDOC OR post goods issue OR Reverse goods issue and unpick and remove handling units, OR etc.. (other works well)
Now only reversing goods issue and then unpick and removing HUs are not working in one go....First am doing Reverse goods issue using WS_REVERSE_GOODS_ISSUE and then does a COMMIT WORK AND WAIT. after that i am trying to clear picking quantity using FM SD_DELIVERY_UPDATE_PICKING...This FM is not doing the picking and return with error message Item & doesnot exist. I am not clear why this error message occurs?????? But further digging reverse FM and picking FM is using the same global data(internal table name - XLIPS) to read delivery items. This internal table is been used inside picking global data as well. Whenever i do unpicking alone it all goes success...but with revese coming into picture XLIPS is not getting in sync.
Anyone ever faced any issue like this....Do let me know thanks.....
Regards,
ABAPer007