Skip to Content

SAPSCRIPT - Command across more than one line

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,

if.jpg (57.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Aug 24, 2015 at 08:05 AM

    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


    pastedImage_0.png (20.0 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 24, 2015 at 06:31 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.