Adding Text to the last page in SAP Script RVORDER01

Hi Experts,
                 I have copied RVORDER01 and changed the log for it and added my ZRVORDER01 in NACE.
Now they want Some text to be added to the last page of the script how to do this without changing Standard Print Program ? Please guide me.
Regards,
Dheepak

Hi,
If you copied the the Standard Script to a ZScript then why is the problem adding a Text to the Last page......You should be able to do this easily .....i believe...Sorry if i misunderstood......

Similar Messages

  • Need to print some text only in last page in SAP script

    Moved to correct forum by Moderator.  General wasn't right either.
    Hi All.
    I need to print "Remarks" only in last page of sap script.
    Can anyone please help me on this.
    Thanks
    Senthil kumar V.
    Edited by: Matt on Nov 21, 2008 7:38 AM

    Hi,
    you have 4 possibilities.2 at non main window, 2 at main window.
    at non main window.
    1. /: IF &PAGE(C)& = &SAPSCRIPT-FORMPAGES(C)&
    remarks
    remarks
    remarks
       /: ENDIF
    2, /: if &NEXTPAGE& ='0'.
    remarks
    remarks
    remarks
       /: ENDIF
    at main window
    3. Add the remarks at the last item of the main which is printed
    4. add a new item to your main (/E)
        put your remarks in it.
       Change your program in such a way this item will print as last one.
       like
        /E REMARKS
    remarks
    remarks
    remarks
       and in sapscript program add logic at the end.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    element = 'REMARKS'
    EXCEPTIONS
    element = 1
    window = 2.
    I am sure this will do. Make a choice.
    Gr., Frank

  • Printing LAST page in SAP script on the back side.

    Hi ,
    I have a problem with the printing of the LAST page on the reverse side of the form, when done with a vendor.
    At a time we print many vendors together.
    So, when done with printing of a vendor it needs  to print his address on last page, reverse side(address)
    Next will be followed by another vendor details.
    I cannot give 'D' for the first page because it would fail if the form flows more than 2 pages.
    is there any way of triggering the LAST page in SAP Script when it done with printing of one vendor.
    any help would be highly appreciated.
    regards.

    Hi ,
    In Script PO i have to print 'Terms and Conditions' text only on the back side of last page of the PO.
    Presently script contains THREE pages ( FIRST, NEXT, TERMS).
    FIRST with attributes :
    next page as NEXT , Print mode T.
    NEXT with attributes :
    next page as NEXT and print mode T
    TERMS with attributes :
    next page as ' '.
    I Created 'TERMS AND CONDITION' window.For TERMS page i selected 'TERMS AND CONDITION' window only.
    So page window of 'TERMS'  is 'TERMS AND CONDITION'  and i included standard text in 'TERMS AND CONDITION' window.
    If PO contains 9 pages( that means MAIN WINDOW data flows up to 9th page with footer also ).
    So i have to print standard text(Terms and conditions) back side of 9th page only not on all pages.
    So total PO contians 9 pages with 10 prints.
    Please help to solve the issue
    Thanks and Regards
    Venkata swamy

  • How To trigger last page in sap script of customer account statement

    Hello all,
    I am working on customer account statement.
    It has it's own standard script(F140_CUS_STAT_02). But my client's requirement was completly diffrent,so i copied that to z script and made some changes like delete some window and some another window.
    Now on first page , i have following windows,
    1) Header
    2) address
    3) main
    4) Account
    5) Footer.
    Next Page having following windows,
    1) Header
    2) Main
    3) account
    4) footer
    Now i want to print account window on lsat page, so i put the condition nextpage = 0.
    and it is working fine , but as account window is physically present after Main window , so that much blak sapge is getting creted after main window on every page.
    To remove that blank space i am thinking of creting one more page and everytime i want display account window on that page.
    I have creted the last page also. but in my output it not detecting that last page.
    For First page - next page is next.
    For Next page - next page is next.
    for Last page- next page is last.
    Also i have added following code at last in  main window.
    /: NEXT-PAGE LAST.
    But i think i am placing this code at incorrect position in main window.
    I am not able to find out the correct podition to put the above code,but main window of that script conataing so namy text element, and that text element are getting handled from driver program based on some conditions.
    I have added my code in main window but not changed the original code.
    Plz let me know where to write /: NEXT-PAGE LAST. in main window.
    Or provide me some another solution to trigger thet last page in sap script.
    Regards,
    Anuja Dhondge

    Hi ,
    actually in account window i have used tha box command to print account statement.
    Previously i was printing this account statement in main window itself but without using bottom and end bottom command.
    So , as i made some changes or add some code in main window then lines of this account statement  were getting dismental.
    So my question is using bottom and end-bottom command this will happen or not????

  • How to print last page in sap script in ladscape format?

    Hi all,
    can any 1 tell me How to print last page in sap script in ladscape format?
    Thanks In advance.
    Pravin

    Hi Pravin Sherkar,
    we can do this in SAP Scripts.
    we need to create two pages, one of landscape and another of potrait.
    now after filling the data at last we need to call the page which is of format landscape using START_FORM  function module.
    You can use condition &PAGE& = &FORMPAGES&.
    Please check this link
    Printing Portrait/Landscape in sapscript
    Re: Landscape and potrait in same layout?
    http://www.sap-img.com/ts013.htm
    Best regards,
    raam

  • Problem with a text in the last page of XML Publisher Template

    Oracle Applications : 11.5.10.2
    Oracle BI Publisher Template Builder for Word 10.1.3.4 Build 129
    Hi,
    I have a problem with XML Templates, I need that a text (*Este documento no confiere origen, señala únicamente país de manufactura.) is always at the bottom of a table and it has to be in every page, the problem is in the last page where the text is showed twice.
    <?start:body?>
    LINEA EN
    FACTURA
    DESCRIPCIÓN
    CANTIDAD
    NO. DE SERIE
    PAIS DE MANUFACTURA*
    F LINE_NUMBER
    ITEM_DESCRIPTION
    CF_PRIMARY_QTY
    CF_SERIAL_NUMBER
    CF_PAIS_DE_ORIGEN
    E
    *Este documento no confiere origen, señala únicamente país de manufactura.<?end body?>
    *Este documento no confiere origen, señala únicamente país de manufactura.
    Is there a way in order not to print the text twice in the last page?.
    Regards,
    Sergio.

    Whatever the problem, it's likely due to how those paragraphs
    were formatted in Word. The RH conversion usually only reflects
    what was done there.
    Are you comfortable inspecting the underlying HTML code (the
    RH TrueCode tab)? I think you'd find some type of SPAN tag or STYLE
    attribute that is determining an absolute paragraph width.
    Otherwise, you could try this experiment:
    1. Strip the base Word doc to a moderate size, but which
    includes at least one of these non-wrapping paragraphs.
    2. Select All and press Ctrl+spacebar (this removes all
    formatting from the selected text).
    3. Import that Word doc to RH and see how it looks now.
    Good luck,
    Leon

  • Finding last page in SAP Script when there are  multiple layouts involved?

    Hi,
    I want to find out the last page in the SAP script. I have used &NEXTPAGE& = '0', this is finding the last page of a one layout however I do have three layouts in my script. I have also used the &SAPSCRIPT-JOBPAGES(3ZC)& and I have taken one counter and comapred as follows-
    If &SAPSCRIPT-COUNTER_1(+)&  = &SAPSCRIPT-JOBPAGES(3ZC)&
    LAST PAGE.
    endif.
    This is also not working. Please advise if there is anyway to find out the last page from print program.
    Thanks,
    Jyoti

    Hi,
    U can do like this, Set a flag in ur driver program when u reach to print the last layout then pass this flag value to Script. In script check when this FLAG = 'X' & &NEXTPAGE& = 0 then u print the required in ur last page.
    Eg:
    define a FLAG in ur driver program and make the value as 'X' when it reach the last layout.
    in script, write the condition like:
    /:  IF &FLAG& = 'X' AND &NEXTPAGE& = 0
         write text.
    /:  ENDIF.
    Hope it helps!!
    Rgds,
    Pavan

  • Last page in SAP Script

    Hi All,
    I have a requirement of printing terms and conditions of PO on a new page of SAP Script.
    I created a new page as LAST and called it through NEW-PAGE command from MAIN window.
    On my LAST page I created 1 window, which calls Standard Text.
    Issue I am facing is in spite of having data of more than 1 pages , print preview is displaying only 1 page of Terms and Condtions.
    Can you please let me know what am I missing?

    Hi Shradda,
    you also can just add an additional processing.
    You know, something like
    /: PERFORM 'YOUR_ROUTINE' IN PROGRAM 'YOUR_PROG'
    /: ENDFORM
    See here: https://help.sap.com/saphelp_crm700_ehp02/helpdata/en/4e/34f87463de02c2e10000000a15822b/content.htm?frameset=/de/4e/3663…
    But in my opinion it is the best to make a copy of the original because I'm pretty sure, there will be more additional requierements in the end and just to enhance or to use this technique is very hard to understand after the second implemented spot
    Can you share your stuff how you tried it?
    I mean, calling two sites in a row should definitv work fine.
    /: NEW-PAGE 'LAST1'
    /: NEW-PAGE 'LAST2'
    I tried it on my own and it works perfectly fine...
    Did you gave your last-page a followpage while testing the first suggestion? That is of course a must-have.
    ~Florian

  • Urgent - Not able to Print back page for Last Page in SAP Script.

    Hello All,
    I need to Print back page in SAP Script, I am able to do it by setting print mode as D, but now the problem is, it does not print back page for last page.
    For eg. if there are 3 pages it prints back page for first two. If there is only one page then it does not print back page.
    Please Help.
    Thanks.

    hi,
    Yes, we can print logo as water mark in scripts
    Just do as like this....
    Upload your logo via SE78.
    - Select 'Import' button from application toolbar of SE78, and perform upload.
    and write this code in scripts
    BITMAP 'COMPANY_LOGO' OBJECT GRAPHICS ID BMAP TYPE BCOL 
    regards
    Sankar

  • Displaying last page in SAP Script.

    HI All
    I have created 3 pages.
    Data will be displayed in the first page and 3 page ie the last page will display a small Note.
    I have a requirement in which Both First and last page should be displayed.
    IF data is too long then after first the next page should get displayed  and then the last page.
    I tried using start_from and End_form . but the issues was not solved.
    Please help.

    Hi,
    Please try to control the printing of First and last page based on the Internal Table contents.
    Check if the internal table is empty after printing the first page and then put a if-condition in the script editor to control triggering of second page.
    Then you can print the last page with instructions.
    Regards,
    Lakshmi

  • Print text on back side of last page in sap script

    Hi All,
    In Script PO i have to print 'Terms and Conditions' text only on the back side of last page of the PO.
    Presently script contains two pages ( FIRST, NEXT).
    FIRST  with attributes :
       next page as  NEXT , Print mode T.
    NEXT  with attributes :
       next page as NEXT and print mode T
    Please help us in solving issue.
    Thanks and Regards
    Venkata Swamy

    Hi ,
    In Script PO i have to print 'Terms and Conditions' text only on the back side of last page of the PO.
    Presently script contains THREE pages ( FIRST, NEXT, TERMS).
    FIRST with attributes :
    next page as NEXT , Print mode T.
    NEXT with attributes :
    next page as NEXT and print mode T
    TERMS with attributes :
    next page as ' '.
    I Created 'TERMS AND CONDITION' window.For TERMS page i selected 'TERMS AND CONDITION' window only.
    So page window of 'TERMS'  is 'TERMS AND CONDITION'  and i included standard text in 'TERMS AND CONDITION' window.
    If PO contains 9 pages( that means MAIN WINDOW data flows up to 9th page with footer also ).
    So i have to print standard text(Terms and conditions) back side of 9th page only not on all pages.
    So total PO contians 9 pages with 10 prints.
    Please help to solve the issue
    Thanks and Regards
    Venkata swamy

  • How to get the last page  SAP Script form

    How to get the last page  SAP Script form.
    I want to print a specific information in the last page of SAP form (Script). Please tell me how to get the last page number.
    Regards

    Hi
    You have to check the system variable &NEXTPAGE&, if it's 0 it means you're in the last page.
    From SAP Help:
    This symbol is used to print the number of the following page. The output format is the same as with &PAGE& .
    Note that on the last page of the output, in each window that is not of type MAIN, &NEXTPAGE& has the value 0.
    /: IF &NEXTPAGE& = '0'
       Last page
    /: ENDIF
    Max

  • How to print text or field (inside a rep fram)on the last page in report 6i

    Hi Everyone,
    I want to print the text on the last page.
    my text is inside a repetating frame.
    as i want to display page no in the filed
    and if it is a last page, display page number appended with Last
    so it will look like
    for 3 pages
    on the first page
    1
    on second page
    2
    and on last page it should display
    3 Last

    You cannot know if you are on the last page or not. See this similar thread: Get value of total pages variable
    Why not put the page number in the margin like this:
    Page 1 of 3
    Page 2 of 3
    Page 3 of 3
    You do that by creating a text field in the margin. Enter this text:
    Page &<PhysicalPageNumber> of &<TotalPhysicalPages>

  • How to print in the last page of the script..?

    Hi,
    I am working on a script. I have a header window and one main window. In the main window, I am printing the line items of the Invoice. Once the line items finish, I have to print the sub totals there. and also to print the company agreement details(around 10 lines of text) in the last page of the script.
    So, <b>how to print the agreement details in the last page of the script..?</b>
    Can anyone provide me a sample code to find the last page of the Script layout..?
    And regarding writing the agreement details, is it better to hard code the text or use the standard texts..? which one is better..?
    Regards,
    Paddu.

    HI,
      Just create a Standard text, if you are going to use this standard text in other layouts also... and use it otherwise you can hard code it as this its of only 10 lines.
    declare one more element in the  main window itselft and call it atlast it would print in the last page..
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'FOOTER'<b><- This element should contain the agreement details</b>
    FUNCTION = 'SET'
    TYPE = 'BODY'
    WINDOW = 'MAIN'
    EXCEPTIONS
    ELEMENT = 1.
    Thanks
    Mahesh

  • Creation of New Page in SAP Script

    Hi Experts,
    Please advice when will a new page trigger in SAP Script :
    As per my requirement I need to create a new page for an existing layout and make changes to the second page alone...
    but this page should be triggered only for a specific condition. Is it possible to trigger second page when it satisfies certain conditon?
    I have searched SDN regarding the same but most of them have recommended to use NEW-PAGE...but as per my understanding NEW-PAGE is used when certain data needs to be printed on the next page ( not on the new page ).
    Thanks
    Karthik.R

    Ok friend,
    Try using the conditions in your driver program using 'CONTROL_FORM' function module. or using some other condition in it.
    You can also give conditions in text editors and you can trigger the pages.
    i think these links will help you in solving your solution just check these Link: [new page based on condition in sap script|new page based on condition in sap script; this is just an hint from this you can develop the idea.
    Link: [Breaks in Smartforms|LAST PAGE FOR SAP SCRIPT;.
    Also there are other few related links in SDN which will help you.
    I think this must solve your issue if you still face any queries please revert back to me i will help you.
    Thanks,
    Sri Hari

Maybe you are looking for

  • Time Machine Backup turns on the display

    After using the Sleep Display script in Tiger from Dockables, it was a pretty welcome relief to see that you could put your display to sleep with a hot corner = D. However, I can't get the display to stay sleeping consistently. Whenever Time Machine

  • I am utilizing imovie 7.1 and I am trying to shorten the length of a clip.  How do I do that?

    I am utilizing imovie 7.1 and I am trying to shorten the length of a clip.  How do I do that?

  • Show a message if the search result is 0

    Hi all, I have html jspbean , html for enter , jsp for display, bean for business. i want to handle if the search is not match display a message. i not how to handle in servlet just is whiler(rs.next(){ count ++ if (count<=1) display message. but how

  • PDF Viewer in Captivate?

    Does the newest version of Captivate provide a PDF viewer? I need to be able to display a PDF w/o forcing the user to click a link and launch the PDF in a browser window.  I have seen articles about third party groups creating ways to embed PDF viewe

  • TableView   javascript code

    Hi, We have a *.js file, this is a Date/Time Template created in JavaScript. Is it possible to call this *.js template from a Cell in a TableView. Any Advice would be appreciated. NAC