Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

NOT in Operator

Hello Experts,

Plz tell where i m wrong in my code.

if ( record-EKORG_002 NOT IN ('1000','1100' ,'1200' ) ).

move-corresponding record to it_error.

append it_error.

OR

if ( record-bukrs_001 cs 'XYZ' ).

if ( ( record-ekorg_002 ne '1000' ) or ( record-ekorg_002 ne '1100' )

or ( record-ekorg_002 ne '1200' ) ).

move-corresponding record to it_error.

append it_error.

endif.

endif.

Tags:
Not what you were looking for? View more on this topic or Ask a question