on 11-11-2008 6:28 AM
Moderator message: please use a more meaningful subject in future
hi experts,
i got a requirement to develop smartform for purchase order.
i am getting data from a report.i am getting header data in one internal table and item data in one more internal table.i need to display multiple po's.
i am in a confusion that how to display each po in indiavidula page.
because if it is one po then we can easily display po header data (because only one header).by comparing header we can display item data.
but here mote than 1 po.
please give me some idea.
Thanks
sai
Edited by: Matt on Nov 11, 2008 10:33 AM
put header as well as items in main window....
for each header print item table...
after that next page...
...this will solve your problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hii,
In driver program, you can use 'open form' first . After that call the smart form inside the loop of header table passing the required data of header table and the line items corresponding header to smartform. After that use function module close form.
With regards,
sandeep akella.
Edited by: sandeep akella on Nov 11, 2008 10:04 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sai,
Use a Command while the PO number is changing. Follow the path:
Right click on the operating window, Create--> Flow Logic --> Command.
Best Regards,
Chaitanya.C.N
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi lalit,
thank u for ur quick reply.
but i need to display header data in 3 windows and item data in remain 2 windows.
can u please explain me in brief.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
add loop node to every window..
for header .
loop at itab1..
window1
loop at itab1..
window2
for item..
anyway u will be having table so no need of any loop..
for other things..
put loop..
-
try to specify window that ur using in smartform ( example .address , footer mainwindow) and what r the data that ur displaying
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create one loop in smartform on header data and inside the loop create a table type with loop on item data.at the footer of item data do the page break.
it will print all the po's on the new page.
cheers
Lalit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.