on 2019 Nov 27 5:20 AM
Hello All,
I am trying to create a dynamic variant for below requirement.
From date - fixed (always 01.10.2021)
To date - Current Month + 24 months
Tried few option provided in dynamic option, but still couldn't able to achieve.
Any suggestions?
Thanks,
Prabhat
Request clarification before answering.
Hello,
Have you tried this option

If you do not see this option available search for a suitable note as per your system to get it.
But, having fixed from date and variable to date seems difficult unless to and From dates are separate fields, you might have to use expert Rupesh's solution with TVARV
You can check for starters:
2532712 - MC90: new select-options for release horizon (dynamic date calculation)
HNY
Abhishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Yes you can do that, please refer here my example for transaction like /SAPAPO/MC90 where you have from and to date in selection.
In SM30 TVARV table create fix date variant and assign it in dynamic variant screen with selection variable T: Table Variable from TVARVC and To date selection variable = DD: Dynamic Date Calculation (Local Date).
Please refer below image.

Also refer SAP note on it 2532712 - MC90: new select-options for release horizon (dynamic date calculation)
Best Regards,
R.Brahmankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
There is no option for selection like from current month to number of months.
You have to use
‘Current Date +/- ??? days’ so it would not be a month specific.
or use TVARVC with date calculation using update program , please refer this discussion for create own program to uodate date in TVARVC
https://answers.sap.com/questions/5499471/current-calender-month-in-varient.html
If you search it you will get lot of discussions on it.
Best Regards,
R.Brahmankar
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.