SAPScript: How to print mutiful forms in one program?

Dears,
I want to print invoice in my program, And one invoice number should print one form.
My question is : if there is a internal table contains 10 different invoice number, and I want to print 10
forms. Is that means, I should use FM 'OPEN_FORM' 10 times?       
If do, I would have to fill the popup dialogue window 10 times.
Anybody who have good ideas about this problem?     Thank a lot.
Sincerely yours,
Julie

I suppose you want to print several sapscripts in one spool
In that case you need to use START_FORM END_FORM
It would be something like this
OPEN_FORM
Loop at invoices.
START_FORM
ENDFORM
endloop.
CLOSE_FORM

Similar Messages

  • How to print HR form

    Hi,
    how to print HR form..(not smartform or sapscripts)
    i.e how to connect the form to the program and where to write the program.
    <b>as we do it in sap scripts ,SE38 for program to connect SE71 layout program..</b>
    Cheers,
    Raghavesh
    Message was edited by:
            Raghavesh Reddy

    Hi Raghavesh,
         I think you are taking about the HRFORM name that we give in the Report RPCALCU0 in the HRFORM..
    If this is the case then you can use the transaction 'HRFORM'..
    In this you can find some Examples.
    Reward points if it solved your problem.
    Regards,
    Kiran I

  • How to print all columns in one page

    Hi,
    Can anybody explain me how to print all columns in one page.we have around 15 to 20 columns for 4 reports and all these reports are build on one multiprovider.we are using BW 3.5.
    Can anyone explain me  how to print ALL COLUMNS IN ONE PAGE  .currently they are getting all columns in 2 to 3 pages. They are using PORTAL to run the reports here.
    Is it possible to do by customizing Webtemplate or by macros in Workbook.Please help me
    Edited by: kotha123 on Oct 11, 2010 5:58 PM

    Hi,
    Your best bet is to use a workbook template or else Excel to pdf option...Thanks

  • How to print multiple copies on one page ?

    How to print multiple copies of one document on one page ?
    in coreldraw I used to make the document -for example a business card 5x9 - and when sending to print it automatically placed the number of cards that would fit in my A4 sheet.
    how do I make the same operation in Indesign.
    thanks

    Hi, Peter S.
    >I can see that as a shortcut to printing a page of different cards for multiple people, but to do a simple n-up of a single card it seems overly complex to me. What am I missing?
    * It's just an alternative to copy/paste and step/repeat.
    * For a one-time only use, perhaps it's a little more complex than necessary. But for any future needs, only the content of the data file needs to be changed, either by editing, or by pointing to a new data file. If different cards for multiple people becomes necessary, it's ready to go.
    Regards,
    Peter Gold
    KnowHow ProServices

  • How to print a form with digital signatures

    I created a form that was signed digitally and submitted electronically. When I look in my summary table, the signature shows, but when I create a pdf of the form, the signature does not show. How can I print the forms with the digital signature showing?

    Yu -
    There is no need to post the same question repeatedly - this does not affect how quickly we can respond.
    Merging with:
    How to print a form in a UIX page and
    how to print a form in a UIX page?
    Andy

  • HOW TO COPY A FORM FROM ONE TO ANOTHER CLIENT

    HOW TO COPY A FORM FROM ONE TO ANOTHER CLIENT

    Hi Tina,
    To copy either a Script or a Smartform fron one client to another client i.e from reference client 000 to any client say 010  follow instructions as given below:
    Go to Tcode SE71->Give Form name MEDRUCK then go to Menu path Utilities->Copy From Client, give
    Form Name: MEDRUCK
    SOURCE:000 (it will be already there)
    Target Form: Zmedruck(here give ur form zname)
    Execute
    It will be copied into all languages.
    Then come back to SE71
    Give your form name Zmedruck
    Language:: de then goto change mode
    then menu path->utilities->convert original languge to En and enter you will get a message original language of form zmedruck converted from de to en,
    now  change language de to en in se71 main screen and then do what ever changes you want to do , this is how you can copy a script or smartform from one client to another client.
    If this answer is useful reward points any queries revert me back.

  • How to copy pf-status from one program to another program

    Hi Gurus,
    Can any one tell me the procedure how to  copy pf-status of one program to another program .if i want to copy pf-status which is in production server to development server how can i do this.pls help me out.
    Regards.

    Hi,
    GO TO  SE41,
    Select Status,
    In from u can give  ur old pgm and staus name
    In To u can ur new one .
    Save and activate.
    Regards,
    S.nehru.

  • How do I restart forcefully while one program I've downloaded online (PDFpen) can't be closed neither removed?!!

    How do I restart forcefully while one program I've downloaded online (PDFpen) can't be closed neither removed?!!

    Hold down the power button until the screen goes black if it's really necessary.
    In your case, you can force quit.
    When an app won't quit as it should, click Force Quit from your Apple  drop down menu or press Option + Command + Esc.
    Select the app then click Force Quit.
    That way it's not necessary to shut down your Mac.

  • Can we create two different forms in one program

    Hi Experts,
    i have to create a smartform in which there is two type credit and second is invoice.If the type is invoice then open a different form in size also and if it is credit then open a different form . Is it possible that we can craete two different forms in one program.can hide the form according to type.

    Hi
    Yes u can just simply
    START-OF-SELECTION.
      PERFORM CHECK_INVOICE.
    For Credit Memo
      IF W_DOC_CAT = 'O'.
        PERFORM GET_HEADER_DATA1.
        PERFORM GET_DATA_ITEM1.
        PERFORM GET_FOOTER_DETAIL1.
        PERFORM GET_HEADER_TEXTS1.
        PERFORM DISPLAY_SMARTFORM_CREDIT.
      ENDIF.
    For Debit Memo
      IF W_DOC_CAT = 'P'.
        PERFORM GET_HEADER_DATA2.
        PERFORM GET_DATA_ITEM2.
        PERFORM GET_FOOTER_DETAIL2.
        PERFORM GET_HEADER_TEXTS2.
        PERFORM DISPLAY_SMARTFORM_DEBIT.
      ENDIF.
    try and

  • I own the Master Collection CS6, but am missing Acrobat ... how do I re-install this one program?

    I own the Master Collection CS6, but am missing Acrobat ... how do I re-install this one program?

    using your master collection installation files, start setup.  you will be given the option to install only acrobat after entering your serial number.

  • SAPSCript how to print  a comment at the end of main window on first page?

    In SAP Scripts, How do I print a comment at the end of the first page (I have several pages of data) in the main window?
    - Ven

    hi
    good
    yes we can put condition.....to display the footer window get printed after all data in main window gets over.........................assingn u r footer window to next page [ i.e u r second page] ...and write the condition
    In such senario no need to use a window for footer.
    In the Script form:
    -> In the Main Window itself after all the main data create an Element.
    -> Use BOTTOM and END-BOTTOM; write your footer information between them.
    In your Driver Program:
    -> After printing all the data (means after passing to form and before closing the form) call one WRITE-FORM with the footer element.
    I'm sure it will work.
    f u r not interested to change the print program. Then simply insert simple code in the footer wondow.
    now insert this code in ur footer window
    IF &TTXSY-PAGE& = &SAPSCRIPT-FORMPAGES&.
    *all code in footer goes here.
    ENDIF.
    &TTXSY-PAGE& holds the page number of current page.
    &SAPSCRIPT-FORMPAGES& holds total form pages.
    This will work.
    write this code then the footer will be printed in last page itself
    /: IF &NEXTPAGE& EQ 0
    whatever footer you want.
    /: ENDIF
    You need to create an element in the MAIN window. You can do it in two ways:
    1. In SE71, you can create:
    /:E FOOTER
    /:BOTTOM
    Text
    /:ENDBOTTOM
    In the print program, just call this element.
    2. In you print program, populate parameter type = BOTTOM in FM, WRITE_FORM.
    Ex.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    element = 'FOOTER'
    type = 'MAIN'
    window = 'BOTTOM'
    EXCEPTIONS....
    However, if you issue new page having new header data. Thus, new item data. And if it will exceed more than 1 page, the footer will still appear. To solve this, you need to create a new element in MAIN. Ex. INIT_FOOTER. It just contains the following:
    /:E INIT_FOOTER
    /:BOTTOM
    /:ENDBOTTOM
    Call this after passing all item data.
    reward point if helpful.
    thanks
    mrutyun^

  • How to print two voucher in one page?

    HI,
    we want to print two voucher in one paper. what are the steps to be taken in sapscript? is it purely relted to SPAD?
    Regards,
    lijo Joseph

    hi joseph,
    i'm not sure how related this would be to your concern, but in my place, we've implemented that by sizing a voucher as half a page, so that when we print vouchers, the printer would know that one page is half of a regular page. SPAD is one place to fix, but the actual printing program and SAPScript was also customized so that it would send two vouchers for printing consecutively, and would fit in one page.
    ryan.

  • How to print Adobe Forms without the black/gray backgrounds in the side columns

    How can we print Adobe Forms without the black/gray backgrounds in the side columns? We are wasting a lot of ink printing out these forms and would like to have simply black ilnes to distinguish columns and black lettering, but no background colors.  Any help would be appreciated. Thanks.

    I am not positive what you are printing from but I am thinking it is from the View Responses tab with a response row selected and then shown in "Detail View" and that the column of field names has a dark grey background...
    To change the color of the column headers select the row of headers (do this by clicking on the first dark grey header field and then scroll to the last one and shift+click on the last one), then in the "Text" tools change the text color to Black and the Fill color to white:
    (Selected the header cells)
    Changed the text/font color to black and the fill color to white
    Now you can see the detail view does not have the dark grey.
    Thanks,
    Josh

  • How to print 20 lines in one page and remaining lines in another in script?

    Hi I created 2 pages in script for page1 next page is page2 , how i can print 20 lines in one page and remaining in next page plz send me the code for that and is windows same for 2 pages?...

    Hi Krishna,
    Try below code...
        CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          form                              = form.
        CALL FUNCTION 'START_FORM'
        EXPORTING
         language               = sy-langu
         startpage              = page1
      LOOP AT itab.
        count = count + 1.
        item = count mod 20.
        IF item EQ '1' AND count NE '1'.
           CALL FUNCTION 'END_FORM'.
           CALL FUNCTION 'START_FORM'
           EXPORTING
             language               = sy-langu
             startpage              = <b>page2</b>
        ENDIF.
       "write_form statement ....
      ENDLOOP.
    Message was edited by:
            Hikaruno

  • Printing multiple forms for one output types.

    Hi,
    I need to print the form 4 times for one specific output type.  My internal table contains only one record, but for that one record also i need to print 4 forms. How can i do this, i tried using control parameters but in vain.
    Any suggestions of how to achieve this,
    Thanks & Regards,
    Ramana.

    Hi,
    I am working with only one smart form. But there are different output types(ZVSL, ZVFX, ZVFE & ZVFI) configured for that form. But for one specific output type (ZVSL), i need to repeat the print for 4 times.
    Thanks & Regards,
    Ramana

Maybe you are looking for

  • I can't see my photos opened with CS6 - Help with Nvidia GeForce GT issues?

    I just bought a new Toshiba Satellite P855-335 laptop running Windows 8 with a Nvidia GeForce GT 640M video card, but I am only able to open my photos when I disable the Graphics Processor from within CS6 Preferences.  When the check is active, I see

  • Error "Item 000010 does not exist" while creating sales order in VA01

    Dear All, As per customer requirement we are trying to validate shipping data( item level) and unloading point( item level)  by customer enhancement. Enhancement:       V45A0003 Function Module:    EXIT_SAPMV45A_003 INCLUDE:                ZXVVAU05 I

  • Tomcat 6.0 server deployment.

    Hi all, This might be the repeated query but I did'nt found it in the forum.The problem is that when we make changes in .xml file or .java file;then without restarting the server the changes are not visible. So,is there any trick or idea so htat ever

  • Can not lookup jms resource

    platform is java application server PE 8, jms queue resource name is jms/queue, built using admin console. A jsp file lookup the queue resource: <% InitialContext ctx=new InitialContext(); Object o1=ctx.lookup("java:comp/env/jms/factory"); Object o2=

  • Why does Firefox download .docx files as octet-stream?

    When I try to open or download files that have the .docx extension FireFox 5.0.1 says they are octet-stream. Internet Explorer 8 opens and downloads the files correctly. Do I need to switch browsers or is there a easy "fix?"