Skip to Content
avatar image
Former Member

Remove Blank line in SAP scripts

Dear All,

I made one SAP scripts forms for purchase requisition. When I execute data is displaying as well.

But in the first line it is always showing the dummy line with 0000. How can I remove it.

Item Description Quantity

0000 0.000

0010 Ingraving 20.00

0020 Gum tape 5.00

Is there anybody to help me?

Thanks in advance

Bishnu

30/05/2011

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    May 30, 2011 at 09:31 AM

    Hi,

    Is that blank line present in your internal table.Then delete it before passing to sap script.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 30, 2011 at 09:31 AM

    Hi,

    Do you know how are you passing these data to script editor?

    means are looping on a internal table in your driver program? If yes, then check if a blank line is into your internal table...

    Or you can do one more thing,, put a condition in the script editor only,,

    IF &ITAB-ITEM&  NE  '0000'
    
    "THEN ONLY PRINT THE DATA
    
    ENDIF.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 30, 2011 at 09:47 AM

    thanks for help

    Add comment
    10|10000 characters needed characters exceeded