How to print terms and cond of a PO in a fresh page in smartforms??

hi All,
My requirement is as follows...
i need to print terms and conditions of a purchase order after the main window and the amount has been printed. the terms and conditions should be in a fresh page. i.e if the line items items and the amounts window occupies two pages. then terms and conditions should be printed on a fresh page i.e 3. the terms and conditins are many so it will occupy a full page. how do i call this page after all line items are printed??
Any pointers reg this would be highly appreciated.
Regards,
Sreekanth.

Hi,
do the following steps:
1.Create a New Page for Terms & Conditions (lets say Page3).
2.First u describe the no of lines in your Internal table into a variable.
3.In the LOOP create a counter & increase the counter for every line. also create another variable to set the flag when the Counter reaches the no of lines in internal table.
4.Now, write a condition in Program lines if Counter =  No of Lines in internal table, set the flag variable to 'X'.
5.Now create a condition on Page, IF FLAG = 'X', GO TO PAGE 3.
Eg:
DATA : gv_counter TYPE i,
           gv_lines TYPE i,
           gv_flag.
describe table itab lines gv_lines.
LOOP AT itab.
   clear : gv_flag.
   gv_counter = gv_counter + 1.
   IF gv_counter = gv_lines.
      gv_flag = 'X'.
      clear : gv_counter.
   ENDIF.
Now U create a COMMAND in LOOP, Go to New Page (Give Page3) and conditions tab (write gv_flag = 'X').
endloop.
Hope it solves!!
Rgds,
Pavan

Similar Messages

  • Need to Print "Terms and conditions" on every back side of the page

    Hi All,
    i have requirement like need to print "Terms and Conditions" text on every back side of page using adobe form.
    i have tried options like created created 4 pages in master page and defined flow content page1->page3, page2->page4(terms and conditions). but when we execute less items of the billing number got the 3 pages i.e page1 having item data, remaining 2 pages displays the  "terms and conditions" text.
    if any worked on the same kind of requirement please let me know and it would be great helpful to me.
    Thanks,
    Ramana

    Hi,
    One of the option is that you can create 3 pages in the Smartforms, e.g. A, B and C.
    A has print mode "D" (duplex) and next page "B"
    B has print mode " " (unchanged) and next page "A"
    C has print mode " " (unchanged) and next page " " (blank)
    B and C do not have a MAIN window - they just contain the Terms & Conditions  in a secondary window.
    At the end of the MAIN window on page A, insert the command NEW PAGE <C>.
    This will give you a print out that will be in a sequence
    A,B,A,B,...A,B,A,C.
    Regards,
    PP

  • Print Terms and conditions on Back side in Smart Forms

    Hi All,
    How can we print Terms and conditions on back side of last page. we are using SAP Smart Forms to print Packing Slips now we need to print the terms and conditions on back side of last page. who can we do this ... ?
    I have created 2 pages first page and Last page i have selected last page as  next page for First page and  vice vis and selected duplex printing for first page print option.
    Now the problem is the terms and conditions are printed on all the pages but not on the last page. for example if i have 5 pages then all the 4  pages are printed on front and back but the last page(5) is printed only on the front side but not on the back and if we print only 1 page then only front page is printed and no back side is printed.
    please let me know what else need to be done in order to print the terms and conditions on the back side of last page.
    Thanks,
    Praveen Chindam.

    Hi,
    There is quite a simple solution. We have exactly the same requirements for our invoices.
    Create 3 pages in the Smartforms, e.g. FRONT, BACK and LAST.
    FRONT has print mode "D" (duplex) and next page "BACK"
    BACK has print mode " " (unchanged) and next page "FRONT"
    LAST has print mode " " (unchanged) and next page " " (blank)
    BACK and LAST are identical apart from that, and do not have a MAIN window - they just contain the T&C in a secondary window.
    At the very end of the MAIN window on the page FRONT, insert the command NEW PAGE <LAST>.
    This will give you a print out that is
    FRONT, BACK, FRONT, BACK,....FRONT, BACK, FRONT, LAST.

  • How to print header and footer in SET_TABLE_FOR_FIRST_DISPLAY

    Hello Experts,
             How to print header and footer while using the method SET_TABLE_FOR_FIRST_DISPLAY, any tips from the experts will be appreciated.
    Regards,
    Babu

    Hi,
    there are four events for printing: print_end_of_list, print_top_of_list, print_end_of_page and print_top_of_page. More information about implementing these events is in this bible for ALV:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    Cheers

  • Printing terms and conditions for a report in last page

    Hi all,
    I am facing a problem in reports 6i, I have PO printing Report with layout to be printed in two pages first part will be printed with po details, and for every po number after printing all the details for that purchase order, in the last page i have to print terms and conditions can any one help me out
    Regards
    Vizith

    Hello,
    You should post also the report type (Tabular, Group..etc) you are trying to create also. Because without that like these type of requirement can not be suggested.
    I can only make guess that you are creating report as Group Above and group frame is for PO. Then just put your terms and conditions frame after the detail frame inside the group frame. Then it will print after completing the details for each PO.
    -Ammad

  • I have an iPad that will not allow me to accept iCloud terms and conditions. It just says server not available. But on an annoyingly regular basis a pop up asks me to accept term and cond, I go to iCloud and try to but that is when it tells me it cannot c

    I have an iPad that will not allow me to accept iCloud terms and conditions. It just says server not available. But on an annoyingly regular basis a pop up asks me to accept term and cond, I go to iCloud and try to but that is when it tells me it cannot connect to the server. Frustrating as I cannot get rid of the pop ups.

    Thanks champion! Apple support is useless! Way too difficult to get anywhere with their "support"

  • HT4641 How do you copy and paste text from a website to a pages document please. I could do this on my old ipad but not with ipad air  thank you

    How do you copy and paste text from a website to a Pages document please. I could do this from my old ipad but not from ipad air. Thank you

    Welcome to the Apple Community.
    Why what happens when you try.

  • Printing Terms and Conditions for each Purchase order in the RDF output

    Hi All,
    Present i have an RDF report with the registered concurrent program. when i run this concurrent program i am getting the terms and conditions at the end of the purchase orders only once(for example 10 purchase orders). Now the requirement is to get this terms and conditions printed for each purchase order. The output is in PDF format. It's an 11i RDF report. Can any one suggest me the methods how to do this? Please give me reply as soon as possible.
    Thankyou in advance
    Regards,
    Polimera

    Hi, Polimera
    Welcome to OTN
    Present i have an RDF report with the registered concurrent program. when i run this concurrent program i am getting the terms and conditions at the end of the purchase orders only once(for example 10 purchase orders). Now the requirement is to get this terms and conditions printed for each purchase order. The output is in PDF format. It's an 11i RDF report. Can any one suggest me the methods how to do this? Please give me reply as soon as possible.
    Take a fixed frame inside the purchase order master repeating frame and place your terms and condition inside the fixed frame.
    Hope this helps
    If someone response is helpful or correct, please mark is accordingly

  • Printing Terms and Conditions on last page of invoice

    Hi All,
    I am generating receivables invoices in PDF format from Oracle EBS R12i using BIP 5.6.3.
    I have a requirement to print T&Cs separately on the last page of each invoice so that:
    1. Regular invoice header and footer information do print on T&Cs page
    2. Page count on invoice should not T&C page. Example, if there are 3 pages in an invoice where first 2 are for transaction details and third for T&C then page count should display only as page 1 and 2 as "Page 1 of 2" and Page "2 of 2" (not as "Page 1 of 3", "Page 2 of 3" and "Page 3 of 3")
    Also I seen following thread on this forum but unfortunately its inconclusive:
    Printing Terms & Conditions page for Purchase Orders
    I would appreciate if you someone can throw in bright ideas about how this can be achieved.
    br

    I also have similar issue printing POs. I have followed the steps of Tim - http://blogs.oracle.com/xmlpublisher/2007/10/here_are_my_terms_conditions.html but the T&C page is being counted in the page total.
    Any idea to fix this issue? Thanks in advance.

  • How to add Terms and Conditions in Standard PO XSL-FO template

    Hi all,
    I want to add terms and conditions in PO_STANDARD_XSLFO template....
    anyone has idea how to do it...
    In the template one place is given to add Terms and Conditions, but i am not able to use it.....
    Regards
    Ravi

    You are not getting my question Vicha... I am explaining you.....
    For POrelated work....
    Like SQL,PL/SQL file we keep it in PO_TOP/SQL directory
    Shell Scripts file in PO_TOP/bin directory
    RDF in PO_TOP/report...directory
    Now i am confused here that we have to keep this Terms and Condition file in specific directory under PO_TOP
    OR
    we can keep it anywhere on Server in any directory.
    Regards
    Ravi

  • How to print legal and letter pages from one pdf on a dual paper printer?

    Hello,
    How do I print one pdf which includes both legal and letter sized pages on the respective sized paper?
    I purchased Brothers' HL-5470DWT dual paper printer for this specific task. The printer is configured to recognize the second tray (although the paper size is undetermined...) and the print setting includes setting the "Scaling" to "Fit to Paper Size".
    Of course, the box is checked for "Choose paper source for pdf page size".
    I should be able to configure my print settings and the printer should determine whether to print on legal or letter sized paper. I am using Windows XP sp3 and Adobe Reader 9.5 because I learned that Adobe Reader X was not compatible with dual paper printers. Brother's help desk referred me to Adobe...  Any help would be appreciated. Thank you in advance.

    Have you attempted without including the option "Fit to Paper Size"; set scaling to None.

  • ADF: How to print query and query parameters passed in the executeQueryForCollection methof of VO impl class.

    Hi,
    Kindly let me know how to print the query and the parameters passed to it? I tried with the params parameter in super.executeQueryForCollection(qc, params, noUserParams); but could not succeed.
    I need to log the query and the params passed to it. Kindly help.
    Thanks in advance,
    Kalpana.

    Here you go
    Coding With Passion: Oracle ADF - Debug view object query with parameters

  • HOW TO PRINT BLACK AND WHITE ON HP PHOTOSMART 7510 USING MAC?

    HAVING SOME PROBLEM TO PRINT BLACK AND WHITE WITH MY HP PHOTOSMART 7510. SPENDING MONEY BUYING EXPENSIVE COLOR INK BECAUSE OF THIS ISSUE. WOULD LIKE TO KNOW WHAT TO DO TO PRINT JUST BLACK AND WHITE PLEASE. I HABE A MAC OS X 10.10.4 THANK YOU.

    Welcome , I would be happy to provide you with more information about printing with black only on the Photosmart 7510. First, here is how to make sure you are changing the black only settings; In the software program that you are trying to print from, click File, and then click Print. (or Command+P)I have put a red box around the drop down in the image below, from this menu you want to choose Paper Type/QualityIn the Paper Type/Quality tab, click Color Options, (usually you have to click the little arrow, again outlined in red on the image)If you want color printouts, make sure that Greyscale is selectedChange the Greyscale mode to Black Ink Only or Black Print Ink Cartridge OnlyClick Print to try the print job again.   Next you might want to read about how your ink supplies are used; The following information is from this article; Ink Usage in Inkjet Printers - it discusses several aspects of ink usage with HP printers. Ink is used in a number of ways throughout the inkjet printing process. In general, ink in an ink cartridge is used for printing documents, photographs and other such materials. Some ink, however, must be used to maintain the health of the print head; some ink is residual; and some ink evaporates. HP offers two general inkjet print head designs: integrated into the ink cartridge (Integrated Print Head: IPH), and a long-life print head integrated into a printer which has Individual Ink Cartridges (IIC). Just so you know, your printer is an Individual Ink Cartridge (IIC) setup. Some color ink may be used when printing black text-or-graphicsThere are several circumstances when color ink may be used—primarily to improve print quality, and sometimes to improve printer reliability—even if the document appears to be only black text-and-graphics. Many HP printers utilize chemical interactions to improve the quality and permanence of plain paper black text-and-graphics by adding small amounts of color ink to certain black areas. Some dark images which look black may contain a combination of black and color inks. For black and white images and photos, a blend of colors called "composite black" may be used to achieve significantly better image quality and smoother gray tones than can be accomplished with black inks alone. Some inkjet printers utilize pigmented black ink, which is incompatible with some inkjet photo paper. In this case, dark or black areas are made up of color inks. Page yield testing is conducted with all cartridges (black and color) installed in the printer. For more information see Inkjet page yields . For users who wish to print utilizing just black ink (despite the reduced print quality), many HP printers offer options. For example, a driver color setting (by selecting "print in grayscale with the black cartridge only" in printing preferences) specifies printing using only black ink. In addition, many IPH printers can operate in "reserve mode," which allows the user to continue to print with just the black cartridge when the color cartridge is removed or not installed. In HP IIC systems, all supplies are required to be installed in the printer for the printer to function.  So your IIC unit will use those colour inks to maintain itself, keep air out of the printhead and keep your print quality legible.    Please let me know if these steps resolved your issue, or if there is anything else I can do to help.  I look forward to hearing from you!   Thanks, 

  • ADOBE Form printing terms and conditions back side of first page only.

    Hi ,
    Please let me know how to print only on first page back side in the adobe. I have multiple pages data flow. But i have to print Conditions on the back side of first page only.
    Thnaks in advance.
    Hema.

    Hello Hema,
    Create a master page set.  One for front page and other for back page.
    Make your hierarchy as Front Page - Oddpages
    Back page - Even Pages
    in placement options use, for first page only.
    Thanks,
    Rakesh

  • How to accpt terms and conditions?

    hey im looking on how i accpt the terms andconditions on my pay pal credit they? they sent me a email told me to look at them not sure if i have to click link to accpt it or what? can anyone point me in the right place?

    You are not getting my question Vicha... I am explaining you.....
    For POrelated work....
    Like SQL,PL/SQL file we keep it in PO_TOP/SQL directory
    Shell Scripts file in PO_TOP/bin directory
    RDF in PO_TOP/report...directory
    Now i am confused here that we have to keep this Terms and Condition file in specific directory under PO_TOP
    OR
    we can keep it anywhere on Server in any directory.
    Regards
    Ravi

Maybe you are looking for

  • Has anyone else been unable to click [open] a document folder while in the column view in finder?

    Since I have downloaded Mavericks, I am unable to open any document folder in the column view in finder.  When i go to any other view such as cover flow or list, they open.  But when it is in the column view, I am unable to click any folder - or any

  • Sound Output to Sony TV

    After upgrading my iMac to OSX 10.8, I have lost the ability to output sound to the Sony TV.  It is not listed as an available device. How can I restore it?  Must I get a device driver from the Sony support site and install on the iMac? Thanks so muc

  • Preloading large FLVs inside of a swf

    Hi I have a client that I have developed a trailer for their project. Its a swf and at certain keyframes large videos play, the my listener tells the time line to continue on  its path, and eventually hits a new large video. These videos are not play

  • IPhoto/photo stream

    I am new to iMac. I plugged in my iPhone to upload all my trip pictures into an event in iPhoto. Only some of them came and the others seem to be in photo stream album. I wanted to move them from photo stream and put them into an event. I dont think

  • Iphoto 6 storage

    Using iPhoto 6 w/Tiger (I hope this is the right forum for this question).  Looking at the iPhoto library, I see folders for "modified' and for 'originals'.... I don't need to keep the original versions of photos I've edited, only the ones that actua