Skip to Content
0
Jan 15, 2008 at 08:47 AM

Smartform question

16 Views

Hi experts!

I have developed a few simple forms before but I am struggling with a simple scenario which I'm sure Smartforms has an answer for. I hope you guys could help a Smartform newb like me. Anyways, here is the scenario...

I have two internal tables as parameters:

it_vendors

- vendor code (KEY)

- vendor name

it_invoice

- vendor code (KEY)

- invoice number (KEY)

- amount

I have a form scanned and placed into the Smartform as a background graphic. The idea is, i want to align the data into the boxes in the image.

I want a separate page for each vendor. I find it fairly easy when dealing with a single page (single vendor). However, I do not have the slightest clue on how to do this.

Page 1.

Vendor Code 1 | Vendor Name 1

invoice 1-1

invoice 1-2

invoice 1-3

Page 2.

Vendor Code 2 | Vendor Name 2

invoice 2-1

invoice 2-2

As you can see, I want to loop through it_vendor into pages. I want to know how to do this.

Thanks!