0% found this document useful (0 votes)
118 views

Using Dynamic Variable in Variant in SAP

The document discusses how to create variants in SAP with dynamic variables to allow reports to be run on a daily basis while automatically selecting different dates. It explains that standard dynamic variables like the current date are available and describes creating a variant using the current date variable so that when the report is scheduled to run daily, the open at key date field will be dynamically populated with that day's date.

Uploaded by

Shyam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
118 views

Using Dynamic Variable in Variant in SAP

The document discusses how to create variants in SAP with dynamic variables to allow reports to be run on a daily basis while automatically selecting different dates. It explains that standard dynamic variables like the current date are available and describes creating a variant using the current date variable so that when the report is scheduled to run daily, the open at key date field will be dynamically populated with that day's date.

Uploaded by

Shyam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

How to use dynamic variables in the variants?

created by Ravi Sankar Venna on Sep 20, 2013 7:43 PM, last modified by Ravi Sankar Venna on Sep 20, 2013 7:58 PM
Version 1

SAP users must be running number of reports on a daily basis. There are number of
selection parameters like dates and periods etc. are to be entered. Every time, entering
these values must be cumbersome task. However, following small trick would let the system
dynamically select the dates based on the values maintained in the variable of the variant.

Would like to run this report on a daily basis, however, the open items (open at key date)
has to be dynamically changed when running, we can create variant with dynamic variables.
Click on “save” button.

Give Name and Description and Variant Name.


Now this field we are expecting the system should calculate the date dynamically when
running on each day.

For Dynamic Variables, SAP has provided some standard variables, we can use them. Select “D” for this purpose.

The above are the standard variables created by SAP for this purpose. Now for this purpose, I am selecting Current Date.
Anything beyond these standard variables, we may have to create customized variables.

I am selecting “Current Date” for this purpose.


Click on save button

You can please see the dynamic variant.

For example, if we schedule this job to run on a daily basis, the system would dynamically
take the “Current Date” into “Open at Key Date” Field and run the report.

You might also like