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

SAPSCRIPT - Command across more than one line

jaheer_hussain
Active Contributor
0 Likes
1,551

Hi,

I am using one 'IF' statement in two lines in the sapscript with command line /:   .How ever it is ignored by system.Can you please guide me ?

what is the exact syntax for this?

With Regards,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,496

Hi,

you got left and right side to do your if-statement in 1 line. looks very nasty but you have 2x72 chars for your statement.

regards

Stefan Seeburger

Hi,

I am using one 'IF' statement in two lines in the sapscript with command line /:   .How ever it is ignored by system.Can you please guide me ?

what is the exact syntax for this?

With Regards,

4 REPLIES 4
Read only

Private_Member_7726
Active Contributor
0 Likes
1,496

Try:

1) removing paragraph format for second line;

2) using paragraph format = for the second line

Forms are not a good place for program logic - especially hardcoded logic.

cheers

Jānis

Read only

0 Likes
1,496

I used  = ,it is not working.

Read only

Former Member
0 Likes
1,497

Hi,

you got left and right side to do your if-statement in 1 line. looks very nasty but you have 2x72 chars for your statement.

regards

Stefan Seeburger

Read only

0 Likes
1,496

Thank you