SlideShare a Scribd company logo
4
Most read
5
Most read
8
Most read
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 1
Dynamic Variant Creation
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
Company: Atos Origin - Singapore
Created on: 29 March 2011
Author Bio
Sai Ram Reddy Neelapu working as Sr. ABAP Consultant with Atos Origin for past 5+ years.
Dynamic Variant Creation
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 2
Table of Contents
What is Variants?................................................................................................................................................3
Purpose of dynamic variants ..............................................................................................................................3
Variant creation Steps.....................................................................................................................................3
Related Content..................................................................................................................................................8
Disclaimer and Liability Notice............................................................................................................................9
Dynamic Variant Creation
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 3
What is Variants?
Variants allow you to save sets of input values for programs that you often start with the same selections.
Purpose of dynamic variants
Sometimes you may have a requirement to schedule a back ground jobs, based on the current month in
the selection screen.
Ex: You want to run your Payroll interface based on the pay periods, so you may need to have a variant
for different month.
To overcome the above scenario, SAP has given more flexibility to do the things. Here in this document,
I will cover how to create variant that changes dynamically based on the calendar month.
Variant creation Steps
Transaction code for creating report variant: SE38
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.
Dynamic Variant Creation
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 4
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.
Dynamic Variant Creation
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 5
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
Dynamic Variant Creation
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 6
7. Press Save.
8. Now you will see the desired results.
Server date:
Dynamic Variant Creation
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 7
Result:
Dynamic Variant Creation
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 8
Related Content
www.help.sap.com
http://help.sap.com/saphelp_nw04/helpdata/en/c0/980374e58611d194cc00a0c94260a5/content.htm
Dynamic Variant Creation
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 9
Disclaimer and Liability Notice
This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not
supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document,
and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or
code sample, including any liability resulting from incompatibility between the content within this document and the materials and
services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this
document.

More Related Content

What's hot (20)

PDF
SAP Cloud Platform CPEA Services Roadmap (Nov,19,2019)
SAP Cloud Platform
 
PDF
SAP Financial Closing cockpit in SAP S/4HANA; status and Roadmap
Edwin Weijers
 
PDF
Sap Business One SMAU Business Ottobre 2012
Massimo Sala
 
PDF
SAP TechEd 2016 maximizing_user_productivity_with_sap_screen_personas
Peter Spielvogel
 
PDF
Autodesk Technical Webinar: SAP Business One
SAP PartnerEdge program for Application Development
 
PPTX
Change Control Management Supports Continuous Integration and Delivery
SAP Cloud Platform
 
PDF
What’s new in SAP Cloud Platform Workflow – summer edition 2019
SAP Cloud Platform
 
PPTX
NAV 2018 What's new, December 14, 2017, Milan
Roberto Stefanetti
 
PDF
SAP Cloud Platform CPEA Services Roadmap (03.2020)
SAP Cloud Platform
 
PDF
SAP Cloud Platform CPEA Roadmap
SAP Cloud Platform
 
PPTX
Ui5con Fiori2.0 for Your Application
Stanislava Baltova
 
PDF
Sap bw 4 hana vs sap bw on hana
Jasbir Khanuja
 
PDF
Delta scope sap ehp8 for SAP ERP 6.0 (Technical View)
Pierluigi Demaria
 
PDF
SAP Cloud Platform CPEA Services Roadmap (11.2019)
SAP Cloud Platform
 
PDF
Sap cloud platform rebranding
Sergio Cannelli
 
PDF
SAP TechEd 2016 net389663_making_s4hana_more_awesome
Peter Spielvogel
 
PPTX
Implementing Microsoft Dynamics 356 Business Central On-Premise
Roberto Stefanetti
 
PDF
SAP Cloud Platform CPEA Services Roadmap (10.2019)
SAP Cloud Platform
 
PDF
SAP TechEd 2016 UX261 sap_screen_personas_hands-on
Peter Spielvogel
 
PPTX
2018 ui5con amiram
Amiram Wingarten
 
SAP Cloud Platform CPEA Services Roadmap (Nov,19,2019)
SAP Cloud Platform
 
SAP Financial Closing cockpit in SAP S/4HANA; status and Roadmap
Edwin Weijers
 
Sap Business One SMAU Business Ottobre 2012
Massimo Sala
 
SAP TechEd 2016 maximizing_user_productivity_with_sap_screen_personas
Peter Spielvogel
 
Autodesk Technical Webinar: SAP Business One
SAP PartnerEdge program for Application Development
 
Change Control Management Supports Continuous Integration and Delivery
SAP Cloud Platform
 
What’s new in SAP Cloud Platform Workflow – summer edition 2019
SAP Cloud Platform
 
NAV 2018 What's new, December 14, 2017, Milan
Roberto Stefanetti
 
SAP Cloud Platform CPEA Services Roadmap (03.2020)
SAP Cloud Platform
 
SAP Cloud Platform CPEA Roadmap
SAP Cloud Platform
 
Ui5con Fiori2.0 for Your Application
Stanislava Baltova
 
Sap bw 4 hana vs sap bw on hana
Jasbir Khanuja
 
Delta scope sap ehp8 for SAP ERP 6.0 (Technical View)
Pierluigi Demaria
 
SAP Cloud Platform CPEA Services Roadmap (11.2019)
SAP Cloud Platform
 
Sap cloud platform rebranding
Sergio Cannelli
 
SAP TechEd 2016 net389663_making_s4hana_more_awesome
Peter Spielvogel
 
Implementing Microsoft Dynamics 356 Business Central On-Premise
Roberto Stefanetti
 
SAP Cloud Platform CPEA Services Roadmap (10.2019)
SAP Cloud Platform
 
SAP TechEd 2016 UX261 sap_screen_personas_hands-on
Peter Spielvogel
 
2018 ui5con amiram
Amiram Wingarten
 

Viewers also liked (16)

DOCX
Bokeh with a twist
Abhilasha Tiwari
 
PPTX
Internet Media Class1: August 28, 2012
cmcinternetmedia
 
PDF
Ua ua coll0112
Denis Abramov
 
PDF
Ua ua coll0112
Denis Abramov
 
PPT
Digital-Marketing-Components
Ravi Jha
 
PDF
Audio Forensics con strumenti Open Source
dalchecco
 
PDF
Elaborazione del suono con strumenti Open Source
dalchecco
 
PDF
La Prevenzione dei Reati Informatici ex D. Lgs 231/01
dalchecco
 
PDF
Cryptolocker, ransomware e ricatti digitali
dalchecco
 
PDF
Implicazioni giuridiche nel trattamento dei soggetti vittime dei ransomware -...
dalchecco
 
PDF
Implicazioni giuridiche nel trattamento dei soggetti vittime dei ransomware -...
dalchecco
 
PPT
Representative through the years
ninivearco
 
PDF
OSINT su siti web
dalchecco
 
PDF
Bitcoin Forensics - Paolo Dal Checco (HackInBo, 14 maggio 2016)
dalchecco
 
PPTX
The Technological Devices Women Are Using And The Activities They Engage in
michajade
 
PDF
Bitcoin Forensics - Riciclaggio e Antiriciclaggio nell'era del Bitcoin
dalchecco
 
Bokeh with a twist
Abhilasha Tiwari
 
Internet Media Class1: August 28, 2012
cmcinternetmedia
 
Ua ua coll0112
Denis Abramov
 
Ua ua coll0112
Denis Abramov
 
Digital-Marketing-Components
Ravi Jha
 
Audio Forensics con strumenti Open Source
dalchecco
 
Elaborazione del suono con strumenti Open Source
dalchecco
 
La Prevenzione dei Reati Informatici ex D. Lgs 231/01
dalchecco
 
Cryptolocker, ransomware e ricatti digitali
dalchecco
 
Implicazioni giuridiche nel trattamento dei soggetti vittime dei ransomware -...
dalchecco
 
Implicazioni giuridiche nel trattamento dei soggetti vittime dei ransomware -...
dalchecco
 
Representative through the years
ninivearco
 
OSINT su siti web
dalchecco
 
Bitcoin Forensics - Paolo Dal Checco (HackInBo, 14 maggio 2016)
dalchecco
 
The Technological Devices Women Are Using And The Activities They Engage in
michajade
 
Bitcoin Forensics - Riciclaggio e Antiriciclaggio nell'era del Bitcoin
dalchecco
 
Ad

Similar to Dynamic variant creation (13)

PDF
Creating transaction and screen variants
venkat reddy
 
PDF
SAP VC Online Training | SAP Variant Configuration Training Content
ExpertSoft Trainings
 
PPT
Bo explorer
Jay Jayinetech
 
PPT
SAP 102 - BW Basics.ppt
Hari Somanath
 
PDF
Maintaining aggregates
Sirisha Kumari
 
PDF
SAP HANA Developer Access Beta program - 7 steps towards your first HANA report
Ronald Konijnenburg
 
PDF
Data archiving in sales and distribution (sd)
Piyush Bose
 
PDF
IBM Cognos Cube Online Training.pdf
SpiritsoftsTraining
 
PDF
Step by step procedure for loading of data from the flat file to the master d...
Prashant Tyagi
 
PDF
SAP Adding fields to dynamic selection for fbln transactions (2)
Imran M Arab
 
PPTX
Cubot bi for oracle
Yadu Balehosur
 
PDF
Exp31sp1 at a-glance-en
Muhammad Hafeez-ur-Rehman
 
PDF
Customer exit variables in sap
Sidharth Sriram
 
Creating transaction and screen variants
venkat reddy
 
SAP VC Online Training | SAP Variant Configuration Training Content
ExpertSoft Trainings
 
Bo explorer
Jay Jayinetech
 
SAP 102 - BW Basics.ppt
Hari Somanath
 
Maintaining aggregates
Sirisha Kumari
 
SAP HANA Developer Access Beta program - 7 steps towards your first HANA report
Ronald Konijnenburg
 
Data archiving in sales and distribution (sd)
Piyush Bose
 
IBM Cognos Cube Online Training.pdf
SpiritsoftsTraining
 
Step by step procedure for loading of data from the flat file to the master d...
Prashant Tyagi
 
SAP Adding fields to dynamic selection for fbln transactions (2)
Imran M Arab
 
Cubot bi for oracle
Yadu Balehosur
 
Exp31sp1 at a-glance-en
Muhammad Hafeez-ur-Rehman
 
Customer exit variables in sap
Sidharth Sriram
 
Ad

Recently uploaded (20)

PDF
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
PPTX
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PDF
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
PDF
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PDF
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
PPTX
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 

Dynamic variant creation

  • 1. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 1 Dynamic Variant Creation 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 Company: Atos Origin - Singapore Created on: 29 March 2011 Author Bio Sai Ram Reddy Neelapu working as Sr. ABAP Consultant with Atos Origin for past 5+ years.
  • 2. Dynamic Variant Creation SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 2 Table of Contents What is Variants?................................................................................................................................................3 Purpose of dynamic variants ..............................................................................................................................3 Variant creation Steps.....................................................................................................................................3 Related Content..................................................................................................................................................8 Disclaimer and Liability Notice............................................................................................................................9
  • 3. Dynamic Variant Creation SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 3 What is Variants? Variants allow you to save sets of input values for programs that you often start with the same selections. Purpose of dynamic variants Sometimes you may have a requirement to schedule a back ground jobs, based on the current month in the selection screen. Ex: You want to run your Payroll interface based on the pay periods, so you may need to have a variant for different month. To overcome the above scenario, SAP has given more flexibility to do the things. Here in this document, I will cover how to create variant that changes dynamically based on the calendar month. Variant creation Steps Transaction code for creating report variant: SE38 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.
  • 4. Dynamic Variant Creation SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 4 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.
  • 5. Dynamic Variant Creation SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 5 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
  • 6. Dynamic Variant Creation SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 6 7. Press Save. 8. Now you will see the desired results. Server date:
  • 7. Dynamic Variant Creation SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 7 Result:
  • 8. Dynamic Variant Creation SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 8 Related Content www.help.sap.com http://help.sap.com/saphelp_nw04/helpdata/en/c0/980374e58611d194cc00a0c94260a5/content.htm
  • 9. Dynamic Variant Creation SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 9 Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.