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

Check Statement

Former Member
0 Likes
507

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
Read only

Former Member
0 Likes
485

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.

Read only

0 Likes
485

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.

Read only

Former Member
0 Likes
485

Yes it is correct