cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Variant in Batch Job

Former Member
0 Kudos

Hi,

We'd like to set dynamic variant as current date -2 days.

E.g. If job runs today (22 Sep) then order extract should be from 20th, 21st and 22nd Sep.

We do not have option to select from and to date field in our variant attribute hence we can not keep any date range.

Currently, we are getting orders created only on 20 Sep. However, we want orders from 20 to 22 sep. Please let us know how to set variant accordingly.

Accepted Solutions (0)

Answers (2)

Answers (2)

Jelena
Active Contributor
0 Kudos

Change the condition from "=" (EQ) to ">=" (GE).

Going forward, you might want to ask someone (e.g. an ABAPer) locally to help before posting on SCN. This is not an SD-specific question.

0 Kudos