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: 

Check Statement

Former Member
0 Kudos

Hi Forum,

Is the statement correct?

CHECK control_out-mestyp EQ 'INVOIC02' AND

control_out-cimtyp EQ 'ZXINVOIC02' AND

control_out-sndprn IS NOT INITIAL OR

control_out-mestyp EQ 'INVOIC02' AND

control_out-cimtyp EQ 'ZYINVOIC02' AND

control_out-sndprn IS NOT INITIAL.

Here i am trying to achieve eihter combination of invoice02 and zxinvoice02 or invoice02 and zyinvoice02.

3 REPLIES 3

Former Member
0 Kudos

HI,

do like this.


CHECK ( control_out-mestyp EQ 'INVOIC02' AND control_out-cimtyp EQ 
'ZXINVOIC02' AND control_out-sndprn IS NOT INITIAL ) OR

( control_out-mestyp EQ 'INVOIC02' AND control_out-cimtyp EQ 
'ZYINVOIC02' AND control_out-sndprn IS NOT INITIAL ).

rgds,

bharat.

0 Kudos

Hi,

Thank you..

i tried like this..issue resolved

check x =a and y = b and z = c.

perform 123.

check x=a and y =d and z=c.

perform 123.

Former Member
0 Kudos

Yes it is correct