Two-step Goods Receipt is required for Purchase Order
For first step Goods Receipt (103/107 movement types), as in MIGO, the Agentry client displaying all outstanding line items from the Purchase Order yet to be received.There is no interface for 2nd step GR in SAP inventory Manager. If I try to do a GR for 2nd step with the existing interface it gives an error "PostReceiptsSteplet - PU GR blocked stock exceeded by N EA : 20000160 2109 0092 " as I am not able to see how much quantity is ready for 2nd step GR.
So I am trying to enhance the existing platform for the second step Goods Receipt (105/109 movement types) as in MIGO, the Agentry client should display all outstanding line items and their quantities yet to be received but this time with reference to the first step Material document already posted. With reference to the Purchase Order all the first step material documents (with movement types 103 or 107) and their line items with outstanding quantities must be listed in the handheld for selection to do the second step. This behaviour is exactly the same as standard MIGO.
Refer screenshot below from MIGO transaction while doing 109 posting. Though the Purchase Order keyed in as reference document has 2 line items, the line items listed in MIGO to process the second step are from the first step Goods Receipt material document and their outstanding quantities (as indicated ).
Now as a development of this functionality I tried to see what it has in the existing interface.So what I found is that there is Receipt tab and item tab together ,and in the receipt tab it's fetching the PO history from the back end. So I am trying to use this tab for my enhancement because from this tab I can see the already receipt quantity(For movement type 103/107) and I can filter it for 103/107 movement type .Now I have created one more button for 2ndstep GR where it will show the material Ref doc and corresponding 103/107 data .I have also created one detail screen for ReeiptAdd2ndstepGR which will open when I will click 2ndstep GR button on any line item of the Receipt tab.Now From this interface I want to post this GR as it like with the standard of SAP Inventory Manager so I have created a new 'ReceiptAdd2ndstepGR' transaction to post the GR.The application will only post the GR when in the receipt tab it will having the ID with Local_ prefix with the existing format but as I am doing the 2nd step as a reference of material doc reference so it's unable to post the GR .Here I need your help/suggestion as appropriate .
First try to find if I am in right path or not? or please suggest which way I should go ? All the screen shot attached in the attachment ,please check the document and let me know any queries .