Skip to Content
0
Former Member
May 14, 2008 at 04:18 PM

SMARTFORM: How to print on document per row in an internal table

41 Views

Hi.

I have created a SmatForm that is a one-page document to be printed once for every row in an itab I'm sending it via the Table Interface.

I hope I didn't waste my time designing this form but I created several Windows for each section (header, recipient address, summary of coverage, detail coverage information, disclaimer, etc.). I arbitrarily chose the header window as the "main" window (mainly because I couldn't find out what the difference between the different choices was). I've got the form laid out exactly how I want it.

If I test the SmartForm and pass in 2+ records via the test screen only the first one prints.

I thought about trying a LOOP but since you have to place the text within the loop that means all the Windows I have defined won't "get" any of the data.

I thought about looping in the driver ABAP program and just calling the SmartForm once per row but that seems horribly inefficient.

PLEASE HELP! Can I salvage what I've done already?