cancel
Showing results for 
Search instead for 
Did you mean: 

Limiting the number of deliveries generated

Former Member
0 Kudos

We have the requirement to limit the number of deliveries created by RVV50R10C (VL10).  This is so that the warehouse can control the number of outstanding deliveries that are sent to our carousel picking system at any given time.  Is there something within the SAP provided screen for VL10 that would allow us to stop producing delivieries after, say, 100 delivery documents had been created?

If not, is there a user-exit or enhancement point where we could tap into and jump out of the delivery generation loop after n-number of deliveries have been created?

Thank you for your direction.

Crew Reynolds

Accepted Solutions (1)

Accepted Solutions (1)

moazzam_ali
Active Contributor
0 Kudos

Dear Crew

In standard it is not possible and you have to implement some implicit enhancement for this. For function module guiding please check this note.

Note 444078 - VL10: Debugging made easy

Thanks


Answers (2)

Answers (2)

Former Member
0 Kudos

We've got some custom development that creates delivery waves.  Given that we have decided to build a Z-program that will filter the undelivered sales orders based on several criteria.  This program will allow for a max# of deliveries to be generated before it stops.  The core of this Z-program will be to automate the creation of deliveries one at a time by using a BDC to control the VL01N program.  We have a custom Z-program that will gather up all of the new deliveries and bind them into a delivery wave. 

Thank you both for your input.  We just came to the conclusion that writing this sort of custom VL01N driver program is far easier and more customizable than trying to get RVV50R10C to stop after n deliveries were generated.

moazzam_ali
Active Contributor
0 Kudos

Dear Crew

Thanks for explaining the scenario and its solution you are going for. You are right. If you will create customize program that will be more customizable but you have to to a lot of testing of all scenarios because in customized program we often miss many possible scenarios and when we get some errors or unexpected results then we come to know what we have missed. So you better be very careful in testing of this new customized program.

I would like to request you close this thread if you think there is no more discussion required on this.

Thanks

Lakshmipathi
Active Contributor
0 Kudos

One option is the delivery creation date in VL10 can be reduced to one day with standard configuration so that your requirement can be met which I am not sure, in a day, how many deliveries would be generated at your end.

The other option is to go with either of the following delivery exits

  • USEREXIT_READ_DOCUMENT  
  • USEREXIT_SAVE_DOCUMENT

in program MV50AFZ1

G. Lakshmipathi