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: 

which of the folowing is incorrectly used as Constant.

Former Member
0 Kudos

Hi Gurus,

Can you please help me with the following questions.

1.Which of the following entries is incorrectly used as a Constant.

a)C_BLANK type C value ''.

b) C_PI type f value '3.14159'.

c) C_TODAY type sydatum value '200725 dec'

2.What is users current local date in a program?

3.What should be used to get the curent language?

1 ACCEPTED SOLUTION

former_member195698
Active Contributor
0 Kudos

1. c)

2. sy-datlo

3. sy-langu

regards,

aj

3 REPLIES 3

kiran_k8
Active Contributor
0 Kudos

Stalin,

1.b

2.sy-datum i.e system date go to table syst and check

3.sy-langu ie. system language.

K.Kiran.

former_member195698
Active Contributor
0 Kudos

1. c)

2. sy-datlo

3. sy-langu

regards,

aj

Former Member
0 Kudos

Hi,

The date type is sy-datum (it is system date). If you want to insert default it have to be like this 'yyyymmdd'