Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Blocking Outbound Delivery while posting data using outbound Idoc

Former Member
0 Likes
946

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

7 REPLIES 7
Read only

Former Member
0 Likes
879

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

Read only

0 Likes
879

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

Read only

0 Likes
879

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

Read only

0 Likes
879

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

Read only

0 Likes
879

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

Read only

0 Likes
879

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

Read only

farrukh_khan2
Explorer
0 Likes
879

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