cancel
Showing results for 
Search instead for 
Did you mean: 

write_form in a loop only showing the last entry

Former Member
0 Kudos

Hi experts,

I have searched for this one in SDN but those who got it actually replied what they did to complete this one.

I have 2 internal tables with multiple entries each, I looped at the 1st and write_form the content and it worked.

But the problem is the second one, it only displays the last entry in my second internal table.

Thanks in advance!

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Thanks for your replies. I got the answer from SDN also, though at first i didnt understand what they meant by using "/: NEW-WINDOW"

I used command /: NEW WINDOW to switch to the onther main window for my other internal table to be WRITE_FORM'ed. I also used 3 elements and 3 call write_form's to execute this one.

Thank you.

brad_bohn
Active Contributor
0 Kudos

Is it a MAIN window or another type? Keep in mind that non-MAIN windows are written at the time the MAIN window fills up or the page is closed.

Former Member
0 Kudos

Hi,

Please post your relevant code for the same.