cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Date Variant for SAP Job

Former Member
0 Kudos

Hi Guru

We have a program to be ran in the Background .

I am unable to create a Variant for Date ( Current year Jan 01st to Current Date).

Could you please advice how to create a Variant with Dynamic Date Calculation for above date range.

Thanks in Advance.

Thanks

Ravi

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

To use dynamic selection variables, you need to update the table TVARV (or TVARVC for >= 4.7). YOu can then use the dynamic user selection option when you save the variant.

Usually you use a customer program that runs daily to update to the values by doing an update on the table itself. First check the where used on the table to check if there are any update programs already operational.

0 Kudos

Hi,

I guess that you know how manage dynamic dates in a variant. (Please, tell me if you need help about it)

You can try with two DATUM type fields in the ABAP program. Fix the first one with a fixed date u201901.01.2009u2019 and the second one will be fixed with the dynamic date u2018Current Dateu2019

Regards,

OLA