2013 Dec 26 5:38 AM
Hi friends,
The requirement is to print 3 pages for each customer i.e., 2 pages for purchase order forms and 3rd page is terms and conditions page. Likewise can I print 100 pages at once? How to print continuous pages in smartforms?
Please help me...
thank you,
with regards,
Kumar.
2013 Dec 26 5:46 AM
Hi kumar,
now you r executing the program for one customer it is displaying the 3 pages rights
and u r requirement is if u r executing the some no.f customers it will display all customers data right
and also u r using the report program to call this smart form right
plz clarify me these two things.
Regards ,
pramodh.
2013 Dec 26 5:56 AM
Hi Pramodh,
For one company code we will be having so many customer. Suppose lets say I have 100 customers, so for each customer I need to print 3 pages and it should be continuous till 100th customer.
yes I'm using a report program.
thank you,
with regards,
Kumar.
2013 Dec 26 5:46 AM
Hi,
I believe cust details ll differ for every printout rt ?? In that case, In the driver prog, loop the itab which has customer details. Inside this loop, call the SSF Func Mod.
Or Inside SF, create a loop node and try printing (Not sure abt this method, need to try).
BR/Josh
2013 Dec 26 5:47 AM
2013 Dec 26 5:58 AM
Hi Nabheet Madan,
For one company code we will be having so many customer. Suppose lets say I have 100 customers, so for each customer I need to print 3 pages and it should be continuous till 100th customer.
Thank you,
with regards,
Kumar.
2013 Dec 26 6:04 AM
Hi Kumar
You can call smartform for each customer in a loop or pass all the data once in smartform and lets smartform handle.
I would have gone with first option to keep things simple. for each custom it will print 3 pages in a loop
Nabheet
2013 Dec 26 5:56 AM
Hi,
Do you want to print 100 pages for the same customer or multiple customers print at a time.
2013 Dec 26 6:07 AM
hi kumar ,
TO get this functionality u call this smartform with in loop by using control parameters for each customer .
Regards ,
pramodh.
2013 Dec 26 6:07 AM
Hi Kumar,
You just loop the internal table which is having Custer data and then fill the internal table and all the required variables passing to the smartform in the loop itself and call the Smartform in same loop. So that the 3 Pages print will be called for multiple customers.
Thanks & Regards,
-Vijay
2013 Dec 26 6:23 AM
Hi Kumar,
just do one thing within your smartforms, write this line, in place of it_ekko write the name of the internal table having records of 100 customers, it will automatically print for all the 100 customers data. You will get what you wants.
Craete a program line in main window in smartforms, and do as shown in screenshot.
()
DESCRIBE TABLE IT_EKKO LINES LCOUNT.
COUNTER = COUNTER + 1
and after your data ends in smartforms create a command node, and within that
make condition that
COUNTER <= LCOUNT.
2024 Jul 14 2:25 PM
Hi Kumar, as am new learner of SAP ABAP platform I found really interested with your requirement. Can you please provide me the code part . It really helps me in learning real time scenarios by doing hands-on.
Thank you