Escolar Documentos
Profissional Documentos
Cultura Documentos
Applies to:
SAP ECC 6.0
Summary
This document helps people to create dynamic date variants which can be used for scheduling background jobs and also for foreground execution of the report. Author: Sai Ram Reddy Neelapu
Author Bio
Sai Ram Reddy Neelapu working as Sr. ABAP Consultant with Atos Origin for past 5+ years.
Table of Contents
What is Variants? ................................................................................................................................................ 3 Purpose of dynamic variants .............................................................................................................................. 3 Variant creation Steps ..................................................................................................................................... 3 Related Content .................................................................................................................................................. 8 Disclaimer and Liability Notice ............................................................................................................................ 9
What is Variants?
Variants allow you to save sets of input values for programs that you often start with the same selections.
1. Go to SE38, enter the report program name and select radio buttons variants and press Display
Note: There are few different ways of creating report variants, out of which below example is one way of doing it.
2. Enter desired variant name, in below screen represented as DEMO_DYNAMIC and Press Create.
3. You will be taken to the below screen, press Attributes button to maintain your dynamic variables.
4. Go to selection variable (as shown below) and press F4 (value help) and select D (i.e. for dynamic date calculation)
5. Press F4, under Name of Variable (input Only Using F4), you will be taken to the below highlighted screen.
6. You choose the respective variable that suits your requirement. Now, Let us assume that in our scenario we want to select the date range for start day of previous month and end day of current month. Double click the variable that matches our scenario (as shown below)
On pop-up screen enter the value as shown in below screen. Here XXX = 1 represents, [current month 1]. YYY = 0 represents, [current month + 0]. Press Continue
7. Press Save.
Server date:
Result:
Related Content
www.help.sap.com http://help.sap.com/saphelp_nw04/helpdata/en/c0/980374e58611d194cc00a0c94260a5/content.htm