Skip to Content
author's profile photo Former Member
Former Member

sapscript

dear all

/: IF &EKPO-MWSKZ& = 'Z1' OR &EKPO-MWSKZ& = 'X3' OR

/: &EKPO-WSKZ& = 'X5'

P1 <SM>,,,,,,,,,,,, ,,,,,,,,,,,, ,,&VTEXT(15)&</> : <SM>&GT(12R)&</>

the above sap script code X5 condition not working?

pls explain

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 01:01 PM

    Hi Suresh,

    After "/:" there must always come a command, in the second line however this is not the case. Furthermore control commands may only occupy one line. In SAP Help:

    "Make sure that a control command, together with any parameters it requires, does not occupy more than a single line"

    Regards,

    John.

    Edited by: John Heutmekers on Jan 31, 2008 2:03 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 01:03 PM

    hi suresh,

    /: IF &EKPO-MWSKZ& = 'Z1' OR &EKPO-MWSKZ& = 'X3' OR

    = &EKPO-WSKZ& = 'X5'

    P1 <SM>,,,,,,,,,,,, ,,,,,,,,,,,, ,,&VTEXT(15)& : <SM>&GT(12R)&

    put equal to it will work .........

    Regards,

    Vikram

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 01:03 PM

    Hello Suresh,

    Do this check in the driver program.

     IF EKPO-MWSKZ = 'Z1' OR EKPO-MWSKZ = 'X3' OR 
     EKPO-WSKZ = 'X5'
    endif.
    

    Regards,

    Vasanth

    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.