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

If condition in Scripts

Former Member
0 Likes
415

Hi all

I am putting a IF condition in script, but its not going in accordingly.

my condition is if &len& GT 45.

else if &len& GT 35.

else.

endif.

But the control is performing only else statements.

Please help me in this.

Regards

Praveen

3 REPLIES 3
Read only

Former Member
0 Likes
398

Hi Praveen,

You please check that condition in Debugging and find out if any status message comming at that condition,and make sure that the variable "len" is exists ,if that variable doesn't exists than you willl get the status message in debugging at that point,and it will execute the else block.

Thanks Rk.

Read only

Former Member
0 Likes
398

u can also debug scripts first u go to se71 then go to utilities and presss debug so debug is on now go in your program and press f8 so progra, debug the script and aks which element u want to debug so through debug u can solve your problem

Read only

0 Likes
398

Hi..My Problem has been solved.

Thanks for your help..