‎2006 Oct 14 5:04 AM
hello everybody.
in a selection-screen if i take a variant with 5 fields.in the output i should get the information of the fields in the variant as per the <u>current date</u>.how to do it.
‎2006 Oct 14 5:08 AM
Can you please explain in detail about the requirement.
Best Regards,
Vibha
‎2006 Oct 14 5:17 AM
hi vibha,
the requirement is that in the selection criteria i have 5 fields of a particular customer.these 5 fields are taken in a variant.one of the field in the variant is the date field.so when i use this variant i should get information of current date.
‎2006 Oct 14 5:23 AM
You can not achieve this by saving it in a variant.
But you can do it programmatically. You save a variant with remaining 4 fields and in your report write a code so that if that data field is empty then its default value should be sy-datum.
For creation of variant have a look at below link.
http://help.sap.com/saphelp_nw2004s/helpdata/en/c0/980389e58611d194cc00a0c94260a5/content.htm
Best Regards,
Vibha
*Please mark all the helpful answers