Skip to Content
avatar image
Former Member

Problem in displaying line items in the MAin window of script

Hello all,

My problem is on my script output in the main window only 1 line item out of 35 line items is getting printed.

When i checked through debugging i saw that from 2nd line item onwards its not entering to the code in the script.

Code is written under element i.e. 625.

Driver program is standard one and there this element is called like this

" CALL FUNCTION 'WRITE_FORM'

EXPORTING

element = '625'

function = 'APPEND'

EXCEPTIONS

window = 1

element = 2."

Can you please give me the explanation why this is happening?

thanks in advance.

regards,

Lokesh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 19, 2010 at 08:12 AM

    I had faced same issue where only first line item being displayed.

    since the driver program is standard changes difficult to make.

    on debugging the transaction printing check found a table t042e which had fileld anzpo which gave lines per form which was set to 2 so only 1 line item being displayed,configuration done and now multiple line items being displayed.

    so in my case in cofiguration only 1 line item to be displayed seetings were dere so You too check if any such settings done .

    Maybe problem would be solved.

    Hope this helps.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Simyjose,

      I checked in debugging value of field t042e-anzpo is coming as 00 .

      So i think problem is not because of this.

      regards,

      Lokesh

  • avatar image
    Former Member
    Feb 18, 2010 at 11:56 AM

    I hope your below code

    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    element = '625'
    function = 'APPEND'
    EXCEPTIONS
    window = 1
    element = 2
    

    Is inside a loop which contains item data !!! &

    Text Element : /E 625, is inside the Main Window

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 19, 2010 at 11:34 AM

    Hi ,

    please make sure this below block of code in LOOP

    " CALL FUNCTION 'WRITE_FORM'

    EXPORTING

    element = '625'

    function = 'APPEND'

    EXCEPTIONS

    window = 1

    element = 2."

    deffinately u will resolve your problem (i done this from the same situation )

    Let me know if any concerns...

    Add comment
    10|10000 characters needed characters exceeded