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

What does initial do when used on a date format field

Former Member
0 Likes
1,149

Hi,

When a check of if initial is done on a date format field , does it check if the field is 00/00/0000 orit checks if its blank?

Thanks.

Hi,

When a check of if initial is done on a date format field , does it check if the field is 00/00/0000 orit checks if its blank?

Thanks.

3 REPLIES 3
Read only

Former Member
0 Likes
944

Check is done on value "00000000".

Please try the following code, put a break-point on IF condition, t_date will have value "00000000":


DATA: t_date type sy-datum..
IF t_date IS INITIAL.
  Write : 'test'.
ENDIF.

Hope this helps.

Read only

Former Member
0 Likes
944

Hi,

Its that it is in a work flow.

Read only

Former Member
0 Likes
944

Moderator message - What could possibly be easier to check yourself - post locked? Rob