Skip to Content
0
Former Member
Jul 16, 2008 at 04:13 AM

How to DEFAULT CURRENT DATE in the filed of a Z_screen of Z_Module pool prg

962 Views

Hi Experts,

In my module prog., input/output field defined, which is for DATE in screen_1000.

So, this DATE shuld always defalted with CURRENT DATE in screen displplay(not necessorily Grey).

So, while defining this P_DATE in top include, like,

P_DATE type sy-datum value sy-datum---> syntax error

so, tried like,

constant_sy_datum = sy-datum

P_DATE type sy-datum value constant_sy_datum---> syntax error

no use,

So, in PBO , I hv wrote like, p_DATE = sy-datum.

but, its not working, so, How to do it, request for piece of code.