Skip to Content
0
Former Member
Jun 02, 2006 at 04:47 AM

Selction-Screen Query??

18 Views

Hi..

I have a date field on my selection-screen.

And I want 2 things for it..

1) I want a default value of sy-datum - 30 days for that field.And to implement it I have done the following Coding:--

INITIALIZATION.

V_DATE = SY-DATUM - 30.

SELECT-OPTIONS: S_ERDAT FOR NAST-ERDAT DEFAULT V_DATE

But, the problem is that I am not getting the correct default value of the date .(It comes as 00.00.000)

Please help me sort out this issue.

2) I also want to restrict the "multiple entries possibility " for this field.

Please tell me what shall I do?

Thanks