cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in displaying line items in the MAin window of script

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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...

antony_paul2
Active Participant
0 Kudos

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

Former Member
0 Kudos

Yes,its inside the loop.

Driver program is the standard one.

regards,

Lokesh