2008 Mar 19 9:13 AM
Hi,
How to put current date in report output through variants.
I should not use events, when user selects variants then i should place the current date in my selection-screen.
help full information will be appreciated.
Hi,
How to put current date in report output through variants.
I should not use events, when user selects variants then i should place the current date in my selection-screen.
help full information will be appreciated.
2008 Mar 19 9:29 AM
Hi.
Whenever you save variant ,you need to check box in "Save field without values" of the field name that you
default values or don't want to change it. The field contents are ignored when the variant is imported.
Hope it help.
Sayan.
2008 Mar 19 9:38 AM
hi,
call the variant fm and pass sy-datum parametre to it
regards,
pavan t.
2008 Mar 19 9:39 AM
Hi,
See this link
http://www.saptechnical.com/Tutorials/ABAP/DynamicVariant/Procedure.htm
Hope it would help you
Cheers,
Venkatram
2008 Mar 19 9:51 AM
Hi Rams,
U have to create a dynamic variant for this.
Fallow these steps.
1. Fill all the selection screen values including date(Current date).
2. Save it as variant(ctrl+S), give variant name and description.
3. In the same screen u can see some check boxes corrosponding to each selection screen parameter.
Now for the date field select the check box under
L Selection variable and then press the push button selection variables in the tool bar.
4. Now u will get the date range in the next screen.
5. Here press the yellow light under D, it will become green colour.
5. Next press drop down(Small arrow pointing down at the end of date)
6. Now u will get a list of options for calculations.
7. Here select current date.
8. Now save the variant.
This completes setting up of dynamic variant.
Now when ever u select this variant it will populate the selection screen with current date and remaining fields with the data u save while creating the variant.
Hope this will solve ur problem.
Thanks,
Vinod.
2008 Mar 19 11:30 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |