Print Terms & Conditions in the Back page in Sapscript

Hello Experts,
I need your help.
I have one sapscript. I want print Terms&Conditions in the back page.
My Sapscript is a copy of MEDRUCK.
I want: When NACHA = 1 --> Print Terms&Conditions on the reverse side of each page.
          When NACHA = 5 --> Print Terms & Conditions in the last page (Not in the back).
I did one example of sapscript with only one page First. I created a second page Back.
The first point at Back and has the print mode 'D'.
The Back point at First and doesn't has any print mode.
My problem is:
1- Always, i have the last page without Back page. Always  i have an odd number of pages. Normally i must have a peer number. Each page has the back page. But, is not the result.
I tried to call NEW-PAGE BACK at the end of the last page First like that:
If &NEXTPAGE = 0&
NEW-PAGE BACK
Endif.
But doesn't work. NEW-PAGE works only in the Window Main and &NEXTPAGE& = 0 works only in a window not main. So, i can't use them at the same time, in the same window.
Can any one help me please? I'm blocked and i can't resolve the problem?
And what i must do for NACHA = 5?
Thank you.
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on Aug 15, 2008 4:59 PM

Hi,
This problem is caused by the printer which does not understand the sapscript page commands.  Basically you need to embed printer specific commands for controlling output so that on particular conditions the output in printed double sided for the first 2 pages then each page single sided.
This is not easy, and can change depending on the printer being used.  I would not recommend this type of action in SAPscript or SMARTforms.
Cheers
David Cooper

Similar Messages

  • To Print Static content on the back of every page

    I have a requirement where I need to print "Terms and Conditions" on the back of every page.
    One way of achieving this is to use a preprinted form where one side of it contains "Terms and Conditions". But my customer doesnot want to use that method.
    So I need to prepare a layout template in RTF which when converted to a PDF report should have terms and conditions on every alternate page.
    The challenge is that in case I have a table with multiple rows, so typically spanning across pages, on the back of every page "Terms and Conditions" should be displayed.
    Can I have a solution to this please

    As it was recently discussed in this forum, you can do this by using Word functionality of displaying headers/footers only on Odd or Even pages (in Page Setun). In this case, the preprinted text will occupy entire page footer of the even pages. What you will not be able to do, however, is to increment page numbers only on every odd page. At least, XMLP folks keep silence on how to do this.

  • How to print a field on the last page of Smartform?

    HI FRIENDS,
    I NEED TO PRINT ONLY ONE FIELD IN LAST PAGE OF FORM SMARTFORM
    HOW DO I CHECK last page. I tried WITH THE FIELDS OF TABLE
    SYSF BUT NOT worked.
    Thank you.
    ROGERIO VAZ

    Hi,
    Goto the conditions tab of that window and enable the check box for Only after the end of main window.
    This will surely print your field in the last page.
    try this and get back to me if any issues.
    Regards,
    Anand.

  • Printing Footer Only on the last page of adobe Form

    Hi Experts ,
    I have a requirement of printing text only on the last page of the adoe Forms.
    I know how to do this in Smart Forms , but being a novice in adobe forms i am unable to get the exact place to puth these conditions.
    Please reply ASAP.
    Thanks

    Thanks .
    Problem Solved.
    Here is the Code snippet in Formcalc language that i used in the intialize event
    var curpage  = $layout.page ( ref ( $ ) )
    var totpages = $layout.pageCount()
    if ( curpage ne totpages ) then
    $.presence = "hidden"
    endif

  • Hi guys, is it legal to sign "Terms & conditions" on the iPad with your finger

    Hi guys, is it legal to sign "Terms & conditions" on the iPad with your finger?

    I recently purchased Steve Adams' book Oracle 8i Internal Services. As mentioned in the other thread, Oracle9i can be downloaded from Oracle e-Delivery website but Oracle8i is not longer available for download. Please see this thread for similar discussion -- Re: oracle 8i and 9i
    On the authors website (www.ixora.com.au/scripts) there are scripts which are to be run
    in conjunction with the text.
    I have done this with 10 XE but it doesn't appear to work so well. On the database
    forum I requested (for the princely sum of €5 (for postage and trouble - not for the
    product itself)) that I be sent a CD if some kind soul had one lying around.I guess you are referring to this thread -- Re: Getting older versions of Oracle?
    I was then informed that this was illegal - I did put "as long as it's legal and above board
    and all that" in my original request.
    I wish to emphasise that I am doing this to learn - I am not trying to do anything illegal and/or
    that would be a breach of Oracle's software licencing terms.
    Can any learned person clarifiy if it is acceptable to obtain old versions of Oracle's software
    in this manner?Please see this thread for details about Oracle license agreement -- Re: Oracle 11g freeware or shareware
    I also believe it is illegal and you have to get the software directly from Oracle or from an Oracle Partner -- You could contact your Oracle Sales representative to confirm.
    If you have an access to My Oracle Support (MOS) website and a valid CSI number, you could try to log a SR and ask Oracle Support the Media Pack (though I believe you will be requested to use another version since Oracle8i is no longer supported).
    Thanks,
    Hussein

  • The back page app worked on my 3G but it doesn't work on my iPhone 4 even after reinstalling.

    Who do I fix the back page app on my I phone 4.

    Do you mean an app called Backpage?  If so, delete and reinstall it and/or contact the developer.
    You might also try a reset by pressing the home and sleep buttons until you see the Apple logo, ignoring the slider. Takes about 5-15 secs of button holding and you won't lose any data or settings.

  • Why i cannot agree on terms/conditions of the newest icloud?

    why i cannot agree on terms/conditions of the newest icloud?

    I have a solution:
    -go to icloud.com
    -up in right click your in your name and go to account settings
    -now click reset documents & data
    -restart your devise
    DOES IT WORK??

  • Print out multiple copies for next page in sapscript

    Hi All,
              For  check printing the client wants the next page with item data to be printed out twice, while the first page along with the check will be printed out on a pre-printed paper. Can anyone advice me on this.

    hi,
    IF &PAGE& EQ 1
      "do write what all you need to print in First page
    ELSE
      "write what all necessary you want to print from second page onwards..By this first page will not print in Second Page
    ENDIF.
    IF &NEXTPAGE& EQ 0
      "This Means it is last Page write footer or any comments in Last Page
    ENDIF.
    Prabhudas

  • Printing Terms & Conditions Page With an Invoice

    Hi Everyone,
    Our PDF invoices are maintained using SFP transaction & Adobe Livecycle Designer 7.0.  We want to have one type of invoices in which a "Terms and Conditions" page is printed after the invoice if it meets a certain criteria (if it is a specific plant).   I know there are master pages and body pages.  I was looking at just having one master page with 2 body pages - 1 for the invoice details and 1 for the "Terms & Conditions" page.  I want the "Terms & Conditions" page to print out only when it is a specific plant using WERKS but I'm not sure where I can put this logic in to make this work.  I was thinking it would be imbedded somehow in the body page but I can't seem to make it work.  Can someone offer any suggestions on this?
    Thanks,
    J.M. Sims
    Ergon, Inc.

    Hi,
    Goto the T.Code "NACE".
    Select "V3(Billing)".Click on "Output types".
    Select your output type.
    Click on "Processing routines".
    Make a copy of the smart form displayed there.
    Goto the T.Code "SMARTFORMS".Enter your smart form here.
    In this for displaying any page you can maintain the condition.
    Maintain you condition as if "WERKS=your value".
    Ask your ABAPer to maintain that condition.
    Save.
    Regards,
    Krishna.

  • Term&conditions in the purchase order smartform

    Dear friends ,
                   I am struggling with a purchase order smartform where in the first page  layout i have
    1.addres
    2logo
    3. po header detail
    4.delivery window
    5. and now i have a table in the main window to dispaly the item and tax details.
    6.And then a footer window.
    All this is fine i did. but in the next layout
    1. the remaiing part of the item details
    suppose there are 7 items in first page 6 items and footer is displayed nad in the next page item no-7 and then
    2.P.o value
    3.terms & conditions
    4. footer is display..
    I am very confused...as if the item is 10 then how i will manage the positions of the terms & conditions and footer windows.
    pls help ....
    on how to design for the second page..i am not well versed with new page-counters..may be that is stopping me ..
    pls advice...
    thanks.

    Hi Simraan,
    I guess u just want the term's and condition window to be printed only once after the all the items in main window are printed.
    If this is the issue,
    then solution is as follows------>>>>>>>
    As main window length is variable....it extends according to the no. of table entries can extend to number of pages.
    if u want to make anything print just after the complete print out of table in main window then u can declare a TABLE LINE inside the footer of the table and go to Condition tab of the Table line in smartform there in bottom there would be an event ONLY AT PARAGRAPH END, Select this even, once u select this event and inside the corresponding table line if u declare ur terms and conditions then this table line would be printed just Once in ur smartform just after the Complete print of ur table in Main Window.
    Hope this resolves ur issue.
    Regards,
    Akash Rana

  • (Smartform) Print grand total on the last page

    Hi everyone,
    I'm trying to print the Grand Totals on the last page of my Smartform. I have two pages - FIRST and SECOND.
    What I did was I created a Text to display the grand total, and I specified that this text should be printed 'Only After End of Main Window'. However, the total is not being printed out.
    I can't change the condition to 'Not on First Page', because my form has more than two pages, and I only want the grand totals on the last page.
    Any help would be appreciated.

    hi,
    we have a window type called final window if u define this type window in second page . create a table in the window and go to calculations tab and define an internal table. i think u can get the grand totals.
    if u want maore clearly go throuh this link
    https://www.sdn.sap.com/irj/sdn/forums
    hope this will help you.
    REWARD ME IF USEFUL.
    thanks,
    gupta
    Edited by: gupta pullipudi on Apr 9, 2008 9:23 PM

  • How to print a label in the last page of the report

    Hi, I have a report af bottom page I trid to put a label, the label is in the margin, but when I change the print condition send me a error, illegal print condition, how can I print this label only in the last page at the botton of the page
    Thanks

    Herbe,
    You can do this using format trigger
    Please see the building reports manual / Tutorial for details
    at http://otn.oracle.com/docs/products/reports/content.html
    Thanks
    The Oracle Reports team

  • How to print a field on the last page of Smartform with more  of 2 pages?

    HI FRIENDS,
    I NEED TO PRINT ONLY ONE FIELD IN LAST PAGE OF FORM SMARTFORM
    HOW DO I CHECK last page. I tried WITH THE FIELDS OF TABLE
    SFSY BUT NOT worked.      
    The form has  more of  2 pages.
    Thank you.
    ROGERIO VAZ

    Hi ,
    You dont have to hard code anything to achieve this functionality,
    just create a window and in that window define a text element to print
    that variable.In the conditions tab of that window check the check box
    "only after end of main window".i think you might have used a main window,
    so irrespective of the no of pages the smartform prints,it always displays that
    field in the last page of the smartform.
    regards,
    srikanth.

  • How can I print a label on the last page of the report in the margin

    I would like to display a label on my report but has to appear only on the last page of the report in the margin area or as a footer. I have tried using the solution below that I came across in this forum. This solution only worked if I put the label as a report trailer and not in the margin of the main section of report. The problem of putting the label as a report trailer is that it will only appear at the end of the report on it's own page, i.e. on a new page. I would like the label to appear at the end of the report, on the last page which has the other report details and not to appear on a new page on its own. Could you please help? Thanks.
    1. Create a dummy query, like
    select 1 dummy
    from dual
    2. Create a package spec:
    PACKAGE pkg_globals IS
    totalPages number(3);
    END;
    2. Create a repeating frame and field for this dummy at the end of the report layout.
    3. Create a format trigger for this frame:
    function R_1FormatTrigger return boolean is
    begin
    SRW.GET_PAGE_NUM(pkg_globals.totalPages);
    return (FALSE);
    end;
    4. Create a format trigger for your margin field:
    function F_1FormatTrigger return boolean is
    pagenum number;
    begin
    srw.get_page_num(pagenum);
    if pagenum = pkg_globals.totalPages then
    return (TRUE);
    else
    return (false);
    end if;
    end;

    user8655468 wrote:
    I would like to display a label on my report but has to appear only on the last page of the report in the margin areaCreate a fixed frame at the bottom of margin area and inside the frame put your label.
    set the frame print object on: Last page
    Hope this works..

  • How to get Report Builder to print a section on the same page

    I have a section of my report that is three bands. A header
    band, the detail band, and a total line band. Sometimes this
    section will get split up and print part on the next page. So
    basically I need for this section to print on the same page. I know
    that I could insert a page break right above the header, but this
    will make my report way longer than it needs to be. I have also
    unchecked "split allowed" for that band also but that didn't make a
    difference. Is there some way to group three bands together so that
    if it is two big to print the section on the current page then
    print the whole section on the next page. It is driving our
    accounting lady nuts because when she likes to verify that the
    totals are coming out right and sometimes she has to flip over to
    the next page to continue calculating.

    you need to create a multi-instrument in the environment next to your audio-instrument,then push a cable from there to your audio-instrument.in the arrange window your multi-instrument will appear in the window where you select the track-type next to the audio tracks, audio-busses etc. these midi tracks now trigger your vsti on the selected midi channel.you have to record your midi now on these tracks and not on the audio-instrument track,because there you only trigger its own channel. i hope i explained it well but i think you have understood what i ment.

Maybe you are looking for

  • HT1329 IT SHOULD NOT BE THIS F&*^%$#  HARD TO MOVE TO A NEW COMPUTER

    Followed every step to move to a new computer and the instructions were so incredibly dense  I think I flubbed a step.  It tells you to drag the Itunes folder on the new computer to the desktop.  I did that and then copied the itunes folder from the

  • What does this error message mean? (startup disk memory)

    Hello, I am running OS 10.7.2 (Lion) on a new'ish 27 inch iMac, and I am getting the following error message appearing randomly on my screen: "Your Mac OS X startup disk has no more space available for application memory" There is a yellow exclamatio

  • Oracle BI SE1 configuration for Finantial

    Hi, I am configuring Oracle BI Standart Edition one. My aim is to use it as reporting tool for EBS finantials. Please inform me, does BI SE1 provide a predefined model for EBS finantials, including cubes, dimensions, tables, mappings, etc? Does it co

  • Third Party Interface

    Hi Experts. I want some clarification, we are implementing BPM - Solution Manager. I was checking the BPM Monitors Catalog. I didnt find any thirdparty interface monitoring. Our client has SAP and it has got some thirdparty interface such as Vertex,

  • Get the longitude and latitude of a city

    Good afternoon. Does anyone know a routine for java, putting entry as a city, get the longitude and latitude of this city? For example: ObtainLatitudeLongitude(Paris) ----> 48.856667000000002 , 2.3509869999999999