Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7999

ABAP - Case Statement

$
0
0

Hi ABAPers,

 

I have an ABAP code just like the pseudo code below.

 

Case Val.

When 'A'.

<Some Conditional Statements>.

When 'B'.

<Some Statements>.

endcase.

 

A and B values are depend on 'Val'.

 

My program executes the above code almost everytime. when the conditional statement of Case (A) is successful, then I dont want my program to execute the case(B).

 

When the conditional statement of case(A) is unsuccessful, then only i want to execute case (B). Can anyone please tell me how to correct my code to suit the above situation.

 

Thanks,

Creasy Matt

 

Edited by: Vijay Babu Dudla on Jan 19, 2009 11:20 PM


Viewing all articles
Browse latest Browse all 7999

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>