Skip to Content
0
Former Member
May 15, 2008 at 02:05 PM

SIMPLE DOUBT - CA - CONTAINS ANY

136 Views

Hi Experts,

Am pulling MARA-PSTAT and MARC-PSTAT for my_material_01.

So, the value is KDELBSVGC.

Here, I need to check that, weather this KDELBSVGC does have the "E" alplhabet or NOT?

So, Can I go like,

v_pstat = 'KDELBSVGC'

IF v_pstat CA 'E'.

write its good material

else.

write bad material

endif.

Is it OK, OR Is there any simple, more sense, good syntax?

thanq

Edited by: Srinivas on May 15, 2008 10:09 AM