Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Screens

Former Member
0 Kudos

I need to give another field default value as 01-01-9999.

But it says an error "enter any valid entry see the system manager".What am I to do now?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Bharat,

Declare that field as Type char and lenght 10,

Data: var(10) type c.

if you want date field, then the user settings must be support this type, check in T.code SU3.there in the Default tab, you will find date format, select which format you want

Regards

Sudheer

4 REPLIES 4

Former Member
0 Kudos

Hi Bharat,

Declare that field as Type char and lenght 10,

Data: var(10) type c.

if you want date field, then the user settings must be support this type, check in T.code SU3.there in the Default tab, you will find date format, select which format you want

Regards

Sudheer

venkata_ramisetti
Active Contributor
0 Kudos

DATA: V_DATE LIKE SY-DATUM.

V_DATE = '99990101'.

WRITE:/ V_DATE.

Thanks,

ramakrishna

Former Member
0 Kudos

If it is an date type of D or sy-datum pass it as 99990101

Regards,

Prakash.

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

This appears to be a date field, you date field in screen painter must have a data type of DATS. The external formating will then be automatic depending on your user settings. All you need to do is move the value to the field.

wa_datum = '99990101'.

Regards,

Rich Heilman