Application Development and Automation 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: 
Read only

Default value in dialog programming

Former Member
0 Likes
472

Hi,

I declared default value a sy-datum in dialog progrograaming under PBO event

ZTable-st.date = sy-datum.

Once I get into custom transaction , if i change St.date as future date it taking as sy-datum.

here my question, how to do default value for St.date in PBO event.

Thanks

3 REPLIES 3
Read only

Former Member
0 Likes
423

hi ,

try this way...

if you change St.date as future date it will not change to default date


"write the below statemnet in PBO..

if ZTable-st.date  is initial.
    ZTable-st.date = sy-datum.
endif.

Prabhudas

Read only

0 Likes
423

I changed sy-datum, but at end it taking sy-datum

Read only

0 Likes
423

hi,

check r u clearing ZTable-st.date in PBO or PAI any where..

try to comment the ZTable-st.date variable..

Prabhudas