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

please correct me

Former Member
0 Likes
641

If BSEG-KOART = ‘K’ or BSEG-BUZID = ‘T’

*Ignore this item and exit

I don't want to append below record

...

Endif.

In the above case the logic should be

IF ut_bseg-koart <> 'K'

AND ut_bseg-buzid <> 'T'.

ENDIF.

OR

IF ut_bseg-koart <> 'K'

OR ut_bseg-buzid <> 'T'.

...

ENDIF .

I hope the first one is correct .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
601

Sam,

F ut_bseg-koart <> 'K'

AND ut_bseg-buzid <> 'T'. is correct.

-Anu

3 REPLIES 3
Read only

Former Member
0 Likes
602

Sam,

F ut_bseg-koart <> 'K'

AND ut_bseg-buzid <> 'T'. is correct.

-Anu

Read only

Former Member
0 Likes
601

hi Sam,

the first statement gets triggered when both the conditions are satisfied where as the second if either of the statement is statisfied ..

i guess in your case it should be the first one ..

Regards,

santosh

Read only

Former Member
0 Likes
601

The first is correct.


IF ut_bseg-koart <> 'K'
AND ut_bseg-buzid <> 'T'.

ENDIF.