‎2010 May 19 6:41 AM
Dear All,
I have a requirement, where I need to create Delivery and send the data using outbound idoc process, after posting the idoc I need to block the Delvery, so that goods issue cannt be done.
Please Explain in Details the process that should be followed to do this.
Thanks a lot for your co-operation.
Regards
Anand
‎2010 May 19 7:04 AM
Hi,
I think there is no concept like blocking the delivery. Why you want to block the process of PGI ? Do you want to ensure the completion of any other process before proceeding with PGI ? Validation of PGI can be done though the BADI Implementation "LE_SHP_GOODSMOVEMENT" method "CHANGE_INPUT_HEADER_AND_ITEMS".
Regards
Vinod
‎2010 May 19 8:15 AM
Hi Vinod,
I think I failed in making the requirement clear, sorry for that. Actually we are sending the delivery idoc to another system, where picking and packing of the goods are done, till then the delivery has to be blocked. When the packing is complete in other system, , we get that information through an RFC, only then we can release the block and do a PGI manually.
Looking forward to your replies.
Regards
Anand
‎2010 May 19 9:32 AM
Hi anand,
As mentioned in earlier post, i think there is not concept like blocking the delivery. What action are you performing on delivery while getting the confirmation from RFC ? One suggestion is to update the confirmation in the Delivery document, and check this while value during the PGI process (Don't know practically how feasible this is!!).
Validation of confirmation during PGI process can be done through the BADI & method which i mentioned in my earlier post.
Regards
Vinod
‎2010 May 19 9:48 AM
hi vinod,
we have nearly similar requirement working in our company.
once the delivery file is sent to the other system, we are receiving another file from the target system which updates one particular field in the delivery with a particular text like 'Delivery Pick Started'.
So, once this field value is set, whenever any user tries to open that delivery, using user exit we are giving a warning message to the user asking user not to make any changes to the delivery as it is already in pick mode.
You can also try smething like that.
Reg,
NJ
‎2010 May 19 11:06 AM
Hello Nishu,
Thanks a lot for your inputs. But one aspect is still unclear to me, when we are posting the outbound idoc, how and when will the field mentioned by you, will get updated. Request you to kindly explain the whole process in details. Also to add, please do mention the user exit that could be used.
Thanks a lot for your co-operation.
Regards
Anand
‎2010 May 19 11:15 AM
Hi anand,
The solution mentioned by nishu will work for you. You can update the field in delivery using the user exit 'MV50AFZ1' form-routine "USEREXIT_SAVE_DOCUMENT_PREPARE". Update this field again once you get the confirmation from the target system.
Do the validation against this field while you do PGI process.
Regards
Vinod
‎2011 Nov 18 1:19 PM
Dear,
If you want to block out bound delivery only go to Material master -> sales org 1 tab
Then X-distr.chain status create this field from customizing delivery block then update material master for that material.
Outbound delivery will be block.
Thanks,
Farrukh khan