09-04-2007 11:52 AM
09-04-2007 11:53 AM
09-04-2007 11:53 AM
09-04-2007 11:54 AM
Hi
There is no limit on this.
YOU CAN USE LIKE THIS.
case V_DAY.
WHEN 1 OR 2.
WHEN 3.
WHEN 4.
WHEN OTHERS.
ENDCASE.
reward if helpful.
09-04-2007 11:54 AM
Hi,
You can use as many as WHEN statments in a CASE statment, there is no restriction
Regrads
Sudheer
09-04-2007 11:54 AM
09-04-2007 11:55 AM
Hi,
there is no limit you can use n number of cases under when statement.
Regards,
Vijay
09-04-2007 11:56 AM
Hi Prasad,
there is no such limit on when.
did you come across any such prob. pls let me know.
Regards,
Sachin.
09-04-2007 12:18 PM
There is no such limit to the number of WHEN in a CASE statement.
Example.........
CASE sy-ucomm.
WHEN 'BACK'.
LEAVE TO SCREEN 100.
WHEN 'CANCEL'.
LEAVE SCREEN.
WHEN 'EXIT'.
LEAVE PROGRAM.
.
.
.
.
.
.
WHEN OTHERS.
MESSAGE '...' TYPE 'E'.
ENDCASE.
Regards,
Pavan
09-04-2007 12:27 PM
Hi,
There is no limit. You can use any no. of times.
Regards,
Asreddy
09-05-2007 7:42 AM
I Friends,
Thanks for your replies. I got the answer and so I am closing the topic
06-07-2013 1:23 PM