01-17-2008 4:25 PM
Hi,
can anyone help me how to get by default sydatum in the parameter.
regards.
satish
01-17-2008 4:27 PM
01-17-2008 4:27 PM
01-17-2008 5:02 PM
Hi,
You can do as below :
parameters : date like sy-datum default sy-datum.
Thanks,
Sriram Ponna.
01-18-2008 4:31 AM
01-18-2008 10:36 AM
Hi,
Declare a parameter like follow,
parameter: p_date like sy-datum default sy-datum.
This will solve your query.
Reward points if it answers your question.
05-05-2011 4:02 PM
Data: ldate like sy-datum
ldate = sy-datum
This will give you your declaration and extraction for date assignment to variable ldate
if you are just needing the year then follow up by:
adding:
Data: ldate like sy-datum
1year type c length 4..
after:
ldate = sy-datum
add
1 year = ldate(4) - 4
your new variable for the year is now 1year