How to display standard text element of main window in next page

hi all
In scripts we have standard script medruck for purchase order.
i want to pull text elements ( terms and payment terms ) in to main window of next page.
i have included main window in page windows of next page ,but im unable to print text elements of terms and payment terms in next page...
any one give your valuable inputs.
Thanks
deepika.

Hi deepika,
First copy standard MEDRUCK to ZMEDRUCK and do the necessary changes.
Then check in driver program when exactly Terma and condition text element is called. Generaly its after printing all items but just check once to confirm.
If TERMS and condition element is called ate end just put a NEW-PAGE  command at end of the text element which is called before terms.
Hope this will help You.
Thanks
Dhiraj.

Similar Messages

  • How can I create more than one main window in a page of SAP SCRIPT?

    How can I create more than one main window in a page of SAP SCRIPT? If anybody helps me I will be obliged.
    Regards,
    Subhasish

    Hi Ganguly,
    It is possible to have more than one main window in a same page.
    You create a main window and simply you copy and past it in the same page.. it will create first main window name as MAIN and other main windows as MAIN01,MAIN02.... up to MAIN99.
    Contets flow from MAIN , MAIN01, MAIN02.......................MAIN99. contents after filling the current window it flows to next window(by default, you skip as well with some keyword not sure could be NEW-WINDOW)
    you want print the main window data twice? or you want to create two main window in the same page ?
    1. give two copies in the no of copies in the output type screen ( Which pop up is coming after excute the program ).
    2. create two page with the same script form.
    3. you can write the coding inside the program to print twice the same page.
    Hope this information use full to you..

  • How to place standard text at the bottom of the last page

    Hi Gurus,
               I have a requirement to place a standard text at the bottom of the last page.Right now i am having 2 sub forms
              in a  body  page  in that one(header details) will not get overflow and only visible in the first page and the second
             body page( Item  details)   will get overflowed, till here it is working fine. Now i need to include terms and
             conditions details at the bottom of   the   last  page but i included the standard text in the context area
             and i don't know where to place that text in the layout . I tried with including
             a sub form in the master page and placed the text    in   the  bottom of that sub form but it gets repeated
              in bottom of each and every page and i tried by placing one more sub form   in the body page
               but the text is coming immediately after the item detail gets ended.I need only at the bottom of the
              page where the item details ends. Please make me to solve this problem.

    Hi,
       I gone through the link in that they set the footer part of the purchase order immediately next
      behind the body(Table) so after the table growth gets completed the footer gets displayed
      but in my case after the table growth ends it should display at the bottom of that page.For
      example if the table ends at the top of the second page ultimately the footer should be at the
      bottom of second page.If the table ends at the bottom of the first page and if the footer can't
      display the whole content in the bottom of the first page then the footer should move to the
      bottom of the second page.

  • Text-element in main window

    Hello together,
    is it sorrect, that text-elements can only be used in the main window?
    Is there any chance to use text-elemnts in a new-created window?
    an example that does not work:
    new window: TABLE
    call in print-program:
    CALL FUNCTION 'WRITE_FORM'
            EXPORTING
              element = 'ITEM_GR'
              window  = 'TABLE'.
    Unfortunately i need a new window with a possibility to print several text-elements.
    Thanks a lot for help.

    Hi Marcel,
    In one of my developments, i've created text elements in the windows other than MAIN window. But it worked properly. I think there might be some other reasons for ur failure. Try to trace that.
    Or else u just try by changing the Window type as CONST.
    Try this out & let me know in case of any other concrens..
    Reward if useful.
    Pavan.

  • Issue with printing of multiple text elements in main window

    Hi experts,
    I have developed a sales order form in SAP script.
    I hv got two text elements in the main window. n i m calling these two text elements by using two write form functions in d print program.
    The first text element is gettin called n d relevant fields in dat particular text element is being displyed. (Window - Main)
    My problem is dat the second text element for the same main window is not gettin called n its relevant fields r not gettin displayed.
    Plz help me to solve the querry.
    Its urgent.
    Thanks n Regards,
    Purva

    Hi,
    Are you testing that from in same client where you developed, else make sure that after each change you need to transport the form to testing client.
    second thing is check with code did you mention the same text element in window editor and in the program.
    Reward if useful,
    Thanks,
    Sreeram.

  • Short dump when trying to see the text elements of main window

    Hi ,
            The form is running properly in 4.7 c . But when the same is copied in ECC5.0 (unicode) , i 'm getting short dump while trying to see the TEXT ELEMENTS .
                    The message is like ' trying to create a field with zero length'.
    Regards,
    Jytoi.

    hi
    I've never worked on ECC 5.0 version..however, I can only tell u that this could be the issue that code written in 4.7 may not be supported in 5.0..so try to get a good idea of ECC 5.0 before u start coding in this..
    regards,
    shamim

  • How to skip secondary window below main window  to next page.

    hi friends,
                          this is tax retail invoice in which main window contain a table where the items are listed
    as the items increses. the remaining items get listed on 2nd page thats ok..but the calculation part as total get
    calculated on both page in secondary window
    below main window
    tried with command with go to next page
    plse suggest.soon...urgent.
    thnx in advance.

    Put a condition on this secondary window for totals. Flag the checkbox 'Only after end of main window'.
    Cheers,
    Edwin.

  • Standard Text in 2 adjacent windows of a Script

    Hi,
    I am Calling 2 separate standard texts in 2 adjacent windows in LAST page.
    2 standard texts comprises 3 pages of text.
    I am calling the LAST page in MAIN WINDOW using the command
    /: NEW-PAGE LAST
    When i execute the program, only page of the text is appear at the LAST page.
    Rest 2 page texts are not appearing.
    What could be the problem? Please help me out.
    Thanks,
    DhanaLakshmi M S

    hi,
    try this.
    In the driver program ,
    CALL FUNCTION 'CONTROL_FORM'
      EXPORTING
        COMMAND         = 'NEW-PAGE LAST'
    EXCEPTIONS
      UNOPENED        = 1
      UNSTARTED       = 2
      OTHERS          = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • The main window of third page will not display the text element

    Hey, smartform guru,
    I am working on the smartform to print PO data.
    The smartform has first page and next page as usual.
    I created a third page P_TERMS to print the terms and conditions for PO printout.
    I used commend node to assign the page P_TERMS as the "Go to new page" and it did go to the P_TERMS page but the text element will not print in the main window in P_TERMS page.
    The text element will print in the secondary window.Since the terams and conditions are 4 pages long, I expected it to print in the main window, so I do not have to define several extra pages to print them.
    Any idea?
    Thanks in advance!
    Fisher Li

    Hi Fisher,
    Unfortunately, In a smartform, only single main window is continued to all pages even though you can declare windows under each page as main window, but it actually acts as the same window for all pages. It just means that if text from 1st page is overflowed, it will continue to the next page with main window.
    Command line to go to next page will create an extra page but since text is not flowed in main window, it won't print the text element you have included in main window on third page.
    The solution to your problem as I see is that either you include your terms and conditions in the main window of your first page and just before your text element for T&Cs, use Command to go to third page.
    Hope it helps.
    Ravi

  • HOW TO DISPLAY THE TEXT ON A PARTICULAR PAGE IN SAPSCRIPTS

    HI,
       HOW TO DISPLAY THE TEXT ON A PARTICULAR PAGE IN SAPSCRIPTS?

    in ur script main window
    /: IF &TTXSY-PAGE& = 15.              
    ur text or standard text           
    /: ENDIF.                             
    use this.
    hope it helps if any issues revert back

  • How to use Standard text in SAP SCRIPTS

    Hi all,
    Please tell me how can we use the standard text what we have created in SO10 with sap scripts.

    Hi Gaurav
    You can create standard texts using the transaction SO10. Then to insert these standard texts in the SAPScript choose the menu, Insert->Text->Standard and choose the standard text that you want to choose.
    Alternatively, you can display standard texts in your SAP Scripts using the command:
    INCLUDE ZSTEXT OBJECT TEXT ID ST LANGUAGE EN
    where ZSTEXT refers to the Standard Text name.
    Reward pts if found usefull
    Regards
    Sathish:)

  • How to use standard texts in smartforms

    Hi Friends,
          How to use standard texts in smartforms, ie in scripts we are using standard texts using tr so10.
    thanks in advance,
    regards,
    sharma.

    For long text
    method1
    Create TEXT node- general attributes change text type to include text
    then you can input text name/text object/text id/language
    method2
    create PROGRAM LINE node - use FM READ_TEXT to read it to a internal table
    then use LOOP or TABLE node to display it
    For TEXT module(For foreign language)
    Tr-code:smartforms -- choose Text module(not choose form)--create a text module object
    then enter smartform Create TEXT node- general attributes change text type to text module
    input the text module name which created by above
    btw SO10 is just for Scriptform, in smartforms we use text module to replace SO10

  • How to Print text in two main windows

    For printing label have created two main windows on a page. calling function write_form In ABAP Program under do loop for two times. 
    but program prints only one window. why is it so? how can i print text on two windows.
    do 2 times.
      COUNT = COUNT + 1.
    loop at itab WHERE DEPTT LT 200.
        CALL FUNCTION 'WRITE_FORM'
          EXPORTING
            ELEMENT  = 'TEST'
            FUNCTION = 'SET'
            TYPE     = 'BODY'
          WINDOW   = 'MAIN'
          EXCEPTIONS
           ELEMENT   = 1
           FUNCTION  = 2
           TYPE      = 3
           UNOPENED  = 4
           UNSTARTED = 5
           WINDOW    = 6
           OTHERS    = 7.
      endloop.
    enddo.
    Please guide.

    Since the information is variable and coming out of the print program, I can assume you want to print many labels but two to a page. Also, any page numbering, etc will need to be updated. This is easily accomplished with SAPScript but a feature people rarely use I believe. Here are the simple steps:
    1) On the Windows Screen: Creat a main window for the size of the label, etc knowing that you will be putting multiple windows on a page. For example, if page size is 8.5 x 11, maybe your window size is 6 X 4 or something similar. You only need one main window defined.
    2) Now go to Page Windows Screen. Add a window MAIN and down at the bottom where it says Window Type put in MAIN. Next to this field is a little field about two characters long. In here put in '01'.
    3) Now Add another window MAIN and down at the bottom put in '02'.
    Hopefully this gives you the idea. I've done this with up to 30 small windows in order to print variable window for labels on label stock such as Avery 8167, etc. 
    Good Luck!
    Tim Stadler
    Menasha Corporation

  • Pls explain how to add standard text in sapscript & smartforms

    Dear friends,
    pls explain how to implement standard text into sap script and smartforms.
    in how many we can do.
    and what is diff between include text & text modules in smartforms.
    how we can translate into multiple languages.
    Regards
    Jagadeeshwar.B

    hi,
    for the include text goto tcode so10.
    for changing the smartform and scripts use there methods..
    1. goto se63>translation->abap objects->other long texts->FS Forms and Styles---> for scripts use Forms
                                           for smartforsm use SAPSmart form
                                           for styles use Styles
    2. goto se71->utilities->original language.---> source lang
    (for scripts)                                                     target lang
    to include the include text created in the tcode so10 in the smartforms go to general attributes of the text element--text type> include text...
    regards,
    venkat.
    Edited by: venkat  appikonda on Mar 22, 2008 11:56 AM

  • How to add standard text in PO and how it is maintained ?

    How to add standard text (paragraph) in PO and how it is maintained ?

    Hi
    Please go through this document.which has a step by step
    Working with Frequently Used Texts
    Use
    You can copy texts from various sources to create PO texts:
    Standard texts
    Certain standard texts are supplied with the system and can be assigned to a purchasing document in Customizing.
    The content of some standard texts is predefined by your system administrator.
    You can also create standard texts yourself and copy them into purchasing documents.
    Master records
    Database fields
    Activities
    Creating Standard Texts
    You can create your own standard texts via Tools ® SAPscript ® Standard text.
    Inserting Standard Texts
    You can insert your standard text on the long text screen via Insert ® Text ® Standard.
    For more information, refer to the Basis documentation under BC Word Processing with the SAPscript Editor:  Including Texts.
    You can display the print preview via Text ® Print ® Print preview.
    Inserting Texts from the Master Record
    There are three ways of linking texts from a master record with a purchasing document. The relevant settings are made for each text type in Customizing for Purchasing. The indicator in the status column shows the nature of the linkage.
    Option                                              Indicator in status column
    The text is copied:               
    It is then independent of the text                 None
    in the master record. Changes to
    the text in the material master record
    have no influence on the text in the document.
    The text is displayed only:
    It cannot be adopted.                                          N
    The text is offered for copying:
    It can be copied via Header or Item ® Texts ® Adopt text. (In requisitions: Goto ® Texts ® Adopt text.) Changes made in the master record will also be adopted in the document until such time as you copy the text.
    Inserting Texts from Database Fields
    You can include the content of a database field at any point in the text on the long text screen. A value specific to the relevant document is displayed in the printed document.
    Choose Insert ® Symbols ® Program symbols.
    Choose DDIC fields.
    Search for the relevant table/structure (in the case of PO items, this is EKPO) and then choose ENTER .
    Choose the relevant table field.
    Choose Text ® Print preview to see the print preview.
    Reward if useful
    Aasif

Maybe you are looking for

  • How to reset Pen tool or changing it back to normal? (Adobe AI)

    Hello everybody. I'm having a problem with the Pen tool in Adobe Illustrator and I don't know exactly how to reset it or make it function like the Pen tool in Adobe Photoshop. As you can see below, when I'm trying to draw the shadows of face, hair an

  • Reading Archives (zip/jar etc)

    I am currently trying to figure out the best way to read an XML file and a series of images locally with a J2ME application. Ideally I want these to be read in as a single entity using the file browser on JSR-75 capable devices. I have been looking f

  • MSExchange ActiveSync Error 1106

    Looking for input on this.  We are getting these sporadic errors on both CAS. Each time followed by 4999 and 1334 (ASP 2.0). Everytime the device is an Android OS (different versions). AS Virtual Dir set to Basic Auth, Ignore Client Certs. Exchange A

  • HDV orginial video compress for SD DVD steps, I need

    I read some on this forum and not sure what I suppose to do to compress from FCP to SD DVD. Can you tell me what is the steps on compressor. It will be show on theatre screen (not hollywood type). FCP compression setting? Compressor setting?

  • LR4.4: Cannot open Raw files from Olympus OM-D E-M1 [was:Adobe lightroom.]

    Just bought a new cámara olympus OM E-1 and find that I can not download my fotos with Lightroom 4.4. Lightroom does not accept the format ORF. any help please!