‎2006 Aug 08 6:29 AM
how i can get current date dynamically in selection screen dynamically using varients
‎2006 Aug 08 6:41 AM
put like this
PARAMETERS p_DATUM LIKE SY-DATUM DEFAULT sy-datum.
regards
Prabhu
‎2006 Aug 08 7:00 AM
Hi !
When you're saveing your variant you'll have to do the following.
Mark your variable with type 'L' (=Selection Variable).
Press the button "Selection Variables".
Mark the "D" Traffic-Light (It's for the Dates !!).
Click the "Arrow" below the "T".
Select i.e. "Current Date".
Continiue saveing your variant as usual.
Then your variant will automatically set the correct date.
Regards
Rainer
Some points would be nice if that helped.
‎2006 Aug 08 7:24 AM
hi,
look here:
http://help.sap.com/saphelp_crm50/helpdata/en/c0/98039be58611d194cc00a0c94260a5/frameset.htm
A.
Message was edited by: Andreas Mann
‎2006 Aug 08 7:05 AM
hi,
PARAMETERS: p_date TYPE sy-datum,
for local date use sy-datlo
Hope this helps.
Regards,
Naveen
‎2006 Aug 08 7:05 AM
Hi,
You can do it as follows:
After executing create the variant
Step1: Click on save
Step2: Enter variant name
Step3: In 'Field attributes' select/Click 'Selection variable (i.e 'L') related checkbox.
Step4: Click on 'Selection Variable' button
Step5: Then select 'Selection criterion' as 'D' (the middle one)
Step6: Click on down arrow and select 'Current Date'.
This will set system date variant.I think this will solve your problem.
<b>Kindly reward points if helpful, and close the thread if your Q has been answered</b>
Regards,
Shakuntala