cancel
Showing results for 
Search instead for 
Did you mean: 

VL10BATCH with dynamic delivery creation date

iamhe7806
Participant
0 Kudos

Hi All,

I have scheduled VL10BATCH to create delivery in background.

I have provided the 'Calculation Rule of delivery creation' as '3' (i.e. one week window)

All I want that 'Delivery creation date' fields (both from and to) to get populated dynamically everyday when the batch job runs.

I have tried going inside 'Change Variant Attributes', set the field for 'delivery creation date' to be calculated dynamically as system date.

But that does change the 'from' field as dynamic in 'Delivery creation date' field.But the 'to' field remains 00.00.0000

As a results deliveries are not getting created.

How can I set up the dynamic calculation so that from and to field for delivery creation are automatically populated based on delivery calculation rule?

Thanks,

Amit

Accepted Solutions (1)

Accepted Solutions (1)

iamhe7806
Participant
0 Kudos

Hi All,

Found the solution.

Posting here if anyone finds benefit from this.

for a dynamic date calculation in the from and to field, always use the option for 'Current - xxx, Current +yyy date'.

a pop up comes up where you can maintain the value for xxx (how many date in the past) and yyy (how many date in the future) you want to include in selection.

It makes my day,

Thank you

Amit

Answers (1)

Answers (1)

Former Member
0 Kudos


Hello Amit,

Have tou done dynamic variant attributes for both From & To date.

Can you paste the snapshot to identify the issue.

You may go through below link.. steps explaining the same

http://scn.sap.com/community/erp/blog/2012/07/24/dynamic-date-selection-in-variants

Cheers,

Nag