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: 

where char field is empty ??

Former Member
0 Kudos

Hello !

How can I ask for:

WHERE EKPO-LOEKZ ist empty is not set (unset) .

EKPO-LOEKZ is a char field.

regards

erdem

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,


WHERE LOEKZ NE 'X'

or


WHERE LOEKZ EQ ' '

The field can only be ' ' or 'X' if filled by SAP.

Hope this helps (please reward me if it does).

regards, Joerg

4 REPLIES 4

Former Member
0 Kudos

Hi,


WHERE LOEKZ NE 'X'

or


WHERE LOEKZ EQ ' '

The field can only be ' ' or 'X' if filled by SAP.

Hope this helps (please reward me if it does).

regards, Joerg

dev_parbutteea
Active Contributor
0 Kudos

Hi,

where EKPO-LOEKZ = space

Regards.

Former Member
0 Kudos

hi,

WHERE EKPO-LOEKZ is initial.

    • reward if useful**

Former Member
0 Kudos

Hi erdem,

Since in ekpo table ,the data element for ekpo-loekz field is ELOEK , which is char and has length one.

so plz to check whether it is empty use

where EKPO-LOEKZ is intial.

OR

where EKPO-LOEKZ = ' '.

Both will work.

plz reward if useful.

Thanks.