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

Sap scripts

Former Member
0 Likes
458

Hi all,

I am giving some condition in the in the windows while i am seeing the print preview i am able to see this if condition also.Can any one tell me how to hide these kind of staements.

Regards,

lisa

Message was edited by: Lisa Roy

Message was edited by: Lisa Roy

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
445

You are seeing this in Print Preview or in the Testing mode of SE71?

If you are using IF conditions in your windows. You must use /: as the paragraph formats.

Regards,

Rich Heilman

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
446

You are seeing this in Print Preview or in the Testing mode of SE71?

If you are using IF conditions in your windows. You must use /: as the paragraph formats.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
445

Hi Lisa,

You should use "/:"--command line for if statements.

Thanks,

Vamsi.

Read only

Former Member
0 Likes
445

Hi Lisa,

IF conditions will not display in print preview if you defined them as Comamnds.

Please note that "IF " statements must define as commands

and closed by ENDIF.

Example :

/: If &SY-UNAME& EQ 'LISA'.

/: ENDIF

Lanka