Skip to Content
0
Jul 15 at 01:47 AM

How to check date

112 Views Last edit Jul 15 at 03:10 AM 5 rev

Hi Experts

The issue is following:

When I don 't enter any entry in the date. it doesn't give message to me.

But when I enter '00000000'. it can give message to me.

The esodate reference ERDAT 's data element.

I use save button for it .

My requiremet is following:

I hope I get when I don 't enter any entry in the date. it gives message to me.

Can you help me ? Thanks.

Code is following:

   IF  ( wa_item-esodate IS   INITIAL    )    .

            MESSAGE s001(00) WITH 'ESO数据需要填写完整' DISPLAY LIKE 'E' .
            zbz = 'X'.
            EXIT.

          ENDIF.