Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Printing Multiple P.Os in Smartforms

Former Member
0 Kudos

Hi,

I was just wondering if we can print Multiple P.O.s using Smartforms?

There is requirment wherein our guys want to printout mulitple P.O.s.I am having botth internal table which holds header Info's and Item Info's.

regards

vara

6 REPLIES 6

Former Member
0 Kudos

Hi Vara,

Yes it is possible to print multiple outputs from smartforms. You will need to build the logic using the LOOP node in the smartforms.

Regards

VJ

Former Member
0 Kudos

hi vara

u can check this below link

i thin it may be useful for u

Regards

naveen

Former Member
0 Kudos

Vara,

You usually develop a SMART Form for priting one PO. Now, if you have a internal table with mulitple PO's and you want to print all of them, just loop at the table and call the SMART Form inside the loop.

Doesn't make sense to develop a SMART Form for multiple PO's and you wouldn't know how many PO's to be included.

Regards,

Ravi

Note : Please mark the helpful answers

Former Member
0 Kudos

Hi

Good

You have not given the details that what is your requirement is,

Yes as far as my knowledge is concerned you can print multiple purchase orders but how you want to display the P.O,wheather it is in the main window or you want to print it while taking the print out in a paper.

thanks

mrutyun

Former Member
0 Kudos

Hi,

Thank you All for your replies.

It is a customer statement I am trying to print out.

I said P.O's for easy understanding.

Well here are the details.

T_HEADER (header table)

KUNNR

100000

110000

120000

T_ITEM (Item table)

KUNNR VBELN 1-30 days amount 31-60 days amount ...

100000 99999 4000.00 70.40

110000 88888 7.00 30.00

120000 88878 300.33 32.00

LAYOUT is

_________________________________________________________

**Header data**

Customer Address ->Account Nr

->Date:

_________________________________________________________

->Date ->Invoice Nr ->1-30 days ->31-60 days...

_________________________________________________________

**Item data***

_________________________________________________________

TOTAL:

0 Kudos

Vara,

If I look at the data, you have statements for multiple customers. I guess you want one separate statement for each customer, right?

So, develop a SMART Form that prints the statement for one customer as per your requirements and call this smart form inside the loop of the Header table, once for each row and pass the header row as well the items that belong to that customer.

Are you looking for more details?

Regards,

Ravi

Note : Please mark the helpful answers