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

comparing plant data

Former Member
0 Likes
499

hi all,

I am getting plant data into my internal table. I am using case statements if plant (werks) = '0001' or '0002' i want to process, but now i want if suppose other than these two plants if any other plant ex: 0003 wil get i want to exit.

can any one help me in this

thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
473

case <>

when 001.

.../

when 002.

...

when others.

message e0001..

endcase.

2 REPLIES 2
Read only

Former Member
0 Likes
473

show your code, are you appending in the cases? you want to stop appending if the cases are other.


Case werks.
when '0001'.

when '002'.

when others.

endcase.

Maybe that will help you

Read only

Former Member
0 Likes
474

case <>

when 001.

.../

when 002.

...

when others.

message e0001..

endcase.