Skip to Content
avatar image
Former Member

Sap script problem

Hi Folks,

I have got a problem in SAP script I have to display multiple line items. The code for this is written below a text element which is called the print program (print program is a standard program).In the debug mode I noticed that when the control comes to this point it skips the code wirtten below it.please help me to find a solution. the code is written below,

/E 525

/: PROTECT

  • &REGUP-BELNR& &REGUP-VBLNR& &REGUP-XBLNR& &REGUP-WBRTR&

/: ENDPROTECT

When it comes to /E 525 it skips all the statement written below it.

Thanks & Regards,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 16, 2008 at 06:35 PM

    Hi,

    I believe this code is written behind a Main Window and there are values for the Variables among &&.

    Is it true?

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 16, 2008 at 06:56 PM

    Hi,

    check the value in the first column of the line "&REGUP-BELNR& &REGUP-VBLNR& &REGUP-XBLNR& &REGUP-WBRTR&".

    Don't you have a star there? If so, it means that it is commented and that is the reason for not executing the code ...

    Regards,

    Karol

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 17, 2008 at 11:23 PM

    People like you break my heart.

    You dont follow up on your threads (questions) and multiple post them.

    The only advice I can give (in the absence of a "Hall of Shame" - including telephone and credit card details) is that folks who answer do not rush in to answer, but rather take a look at the track-record of the poster.

    If they are abusing the forums, do not answer. Just hit the "Abuse Reports" button (the triangular warning icon on the right-hand (ironically not the left) task bar.

    Add comment
    10|10000 characters needed characters exceeded