on 06-27-2007 5:21 AM
i want to create a smartform for mass printing b'cz i have 100 customer with sales order detail and i want to print address of customer in address window and based on that customer, want to print sales order detail on each page.
this time my program printing all sales order in one execution.
Hi
In report or driver program pass the each customer and details through the loop and call the FM to display
Regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you call FM within loop, that will affect the performance.
you can try this once.
1. Pass the table which will have customer details to the smartform FM.
2. In smartform create a page ( you may already have this) with 2 windows
loop this with the table which you passed from the driver program.
1st window(secondary )- contains address details
2nd window (main) -- customer details.
endloop.
This will create the smartform for all the customers with their address, & other details in each page
Rewards if found helpful
Regards,
Seema
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
1. pass the sales order details from driver program
2. in Smartform, create Page
3. in first window(secondary) print address of customer
4. in second window(main), create table.
loop at sales_order_table.
print details
endloop.
u said second window based on the customer address of first window, then use the parameter as a condition in the second window that is in table condition.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.