Multiple form printing

Hi
I am new in sapscript, and I would like to know, if is it possible to make more output for more data. If for example I have in printing report an internal table with three element, and I want to trigger distinct print for each element, how can I do it?
I tried to open / write / close form in loop analizing table, but doesn't work .. how can I solve it?
thanks
gabriele

Hi
what I should do is this: I have internal table for example made by two field
TYPE and VALUE and internal table is ordered by type. Suppose internal table contains this values:
T1 VAL1
T1 VAL2
T1 VAL3
T2 VAL1
T2 VAL2
T3 VAL1
T3 VAL2
T3 VAL3
T3 VAL4
What I need is while looping internal table is this: if type change, create a new page with the same form, so that I have the report, printing 3 page:
the first contains
T1 VAL1
T1 VAL2
T1 VAL3
the second
T2 VAL1
T2 VAL2
the third
T3 VAL1
T3 VAL2
T3 VAL3
T3 VAL4
So what I don't know is while looping how to say to form "stop printing this page and start print another page"
thanks
Gabriele

Similar Messages

  • Adobe forms -Can we print multiple forms?

    i,
    Right now my form has an ability to display a single Order with single Header & line items.
    Hi,
    I want to enhance the functionality to multiple forms prints.I mean I will be having multiple headers and l ine items.
    I can fill my internal tables with multiple records data but what are the other form changes should i take care( hierarchy, data, etc...)
    In smartforms I was able to do this because there we can define loops.How do we handle it here in adobe forms?
    FYI.. I am filling internal table through WD application.Should I do Some context level changes?
    Also,
    In Dev environment I can see my Bold objects but when i move it to QA they are disappearing & font is also changing.What could be the reason?
    rgds
    Vara

    Hi Vara,
    Re: Adobe Forms
    Regards,
    Sravanthi

  • Generate and Print Preview Multiple Forms in a Single PDF

    There have been other questions similar to this but none directly address my problem.  We have the need to generate multple forms in a .pdf using Adobe interactive forms.  We can generate the multiple forms, but the user has to click on each form to view.  They want to have the forms in a single document that they can scroll through before printing.  We can do this in SmartForms but need to do it in Adobe.  Does anyone know how to generate multiple forms, either multiple copies of the same form or various forms, from an ABAP program into a single pdf that can be print previewed, in scrollable form, by the user?

    I can describe it one more time, I think:))
    You have multiple options, but only one "reasonable" within SAP.
    You can call an external application (through command line etc.) to concatenate forms for you.
    You can use iText as mentioned in the thread, and write yourself a "tool" which will concatenate the forms for you.
    Both these "options" would not be acceptable for my clients, I name them to help you get the whole picture.
    Then there is the third option: use a form for a single instance (template/ form A) and create a new form (form B), where you will use the A template:
    - you need to: create a new interface where everything from the old interface is a row of the table (example: you have a form to print out the personal card of the employee, so in a new form you will need to use a table, where a row is an employee)
    - you need to create a new form layout based on the new interface:
    in this new layout you will paste the whole layout of the old form (A/ single instance) and wrap it into a subform. The added subform will work as a table (you will bind that to the table from interface) and everything from the old template within this new subform will work as a "row" (something what you can repeat for each data item).
    Does that sound reasonable?
    Cheers Otto

  • Print multiple forms between FP_JOB_OPEN and FP_JOB_CLOSE

    I am aware, that there are questions regarding "Printing Multiple forms", but I didn't find answers there.
    Still my system is not working as expected:
    1.  FP_JOB_OPEN is called
    2. the generated Adobe Forms function is called multiple times
    3.  FP_JOB_CLOSE is called
    This program doesn't deliver all the pages, but just the first call. How shall I solve this problem?
    (Coding should work anywhere with copy-pase.)
    data: fm_name           type rs38l_fnam,
          fp_docparams      type sfpdocparams,
          fp_outputparams   type sfpoutputparams.
    parameters: p_fpname type fpname default 'FP_TEST_02'.
    * Get the name of the generated function module
    call function 'FP_FUNCTION_MODULE_NAME'
      exporting
        i_name     = p_fpname
      importing
        e_funcname = fm_name.
    * Sets the output parameters and opens the spool job
    call function 'FP_JOB_OPEN'
      changing
        ie_outputparams = fp_outputparams
      exceptions
        cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 4
        others          = 5.
    * Call the generated function module
    call function fm_name.
    * SECOND CALL ****************************
    call function fm_name.
    * Close the spool job
    call function 'FP_JOB_CLOSE'
    *    IMPORTING
    *     E_RESULT             =
      exceptions
        usage_error           = 1
        system_error          = 2
        internal_error        = 3
        others               = 4.

    Hi ZSOLT,
    In order to call the form multiple times please do the following,
    1) Just before your FP_JOB_OPEN you need to pass the output parameters (good practice). You can also set other parameters as well (for example nodialog, preview, copies., etc)
      CLEAR  fp_outputparams.
      fp_outputparams-dest = 'PDF1'.      "Default pdf printer
      fp_outputparams-reqnew = 'X'.       "New spool request
    Now call your FM FP_JOB_OPEN with the above output parameters.
    2) Usually this step is processed in a loop. (getting your interface data into a internal table and then looping at it)
    But here I am enhancing your example code.
    In order to trigger the form multiple times you need to change some input data to the form (for example I have changed date and time below in the prepare test data sections) so that the call function fm_name gets regenerated every time there is new data
    data  l_datatypes       type sfpdatatypes.
    prepare test data
      l_datatypes-char = '#'.
      l_datatypes-string = 'Auf geht''s! '.    "#EC NOTEXT
      l_datatypes-numc = '42'.
      l_datatypes-dec = 0 - ( 12345 / 7 ).
      l_datatypes-fltp = 0 - ( 12345 / 7 ).
      l_datatypes-int = 4711.
      l_datatypes-curr = 0 - ( 12345 / 7 ).
      l_datatypes-cuky = 'JPY'.       " no decimals
      l_datatypes-quan = 12345 / 7.
      l_datatypes-unit = 'DEG'.       " 1 decimal
      l_datatypes-date = '20040613'.      
      l_datatypes-time = '100600'.         
      l_datatypes-lang = sy-langu.
    FIRST CALL ****************************
    Call the generated function module
      CLEAR fp_docparams.
      fp_docparams-langu = 'EN'.       
      fp_docparams-country = 'US'.  
      call function fm_name
        exporting
          /1bcdwb/docparams        = fp_docparams
          datatypes                = l_datatypes
          mychar                   = l_datatypes-char
         mybyte                   =
          mystring                 = l_datatypes-string
         myxstring                =
          mydate                   = l_datatypes-date
          mytime                   = l_datatypes-time
          mynum                    = l_datatypes-numc
          myint                    = l_datatypes-int
          myfloat                  = l_datatypes-fltp
          mypacked                 = l_datatypes-dec
      IMPORTING
        /1BCDWB/FORMOUTPUT       =
    prepare test data
      l_datatypes-char = '#'.
      l_datatypes-string = 'Auf geht''s! '.    "#EC NOTEXT
      l_datatypes-numc = '42'.
      l_datatypes-dec = 0 - ( 12345 / 7 ).
      l_datatypes-fltp = 0 - ( 12345 / 7 ).
      l_datatypes-int = 4711.
      l_datatypes-curr = 0 - ( 12345 / 7 ).
      l_datatypes-cuky = 'JPY'.       " no decimals
      l_datatypes-quan = 12345 / 7.
      l_datatypes-unit = 'DEG'.       " 1 decimal
      l_datatypes-date = '20100913'.                 "You need to change your data in order it to trigger a new form with the new data.
      l_datatypes-time = '10700'.                        "You need to change your data in order it to trigger a new form with the new data.       
      l_datatypes-lang = sy-langu.
    SECOND CALL ****************************
    Call the generated function module
      CLEAR fp_docparams.
      fp_docparams-langu = 'EN'.
      fp_docparams-country = 'US'.
      call function fm_name
        exporting
          /1bcdwb/docparams        = fp_docparams
          datatypes                = l_datatypes
          mychar                   = l_datatypes-char
         mybyte                   =
          mystring                 = l_datatypes-string
         myxstring                =
          mydate                   = l_datatypes-date
          mytime                   = l_datatypes-time
          mynum                    = l_datatypes-numc
          myint                    = l_datatypes-int
          myfloat                  = l_datatypes-fltp
          mypacked                 = l_datatypes-dec
      IMPORTING
        /1BCDWB/FORMOUTPUT       =
    Close the spool job
    call function 'FP_JOB_CLOSE'
       IMPORTING
        E_RESULT             =
      exceptions
        usage_error           = 1
        system_error          = 2
        internal_error        = 3
        others               = 4.
    I have tested the above code and I am getting multiple forms.
    Please try on your end and let me know if it works.
    Thanks
    Raj

  • Urgent! Multiple PDF FORM printing

    How to make PDF form print multiple times depending on the amount of lines in the interface table?
    For example, as Import we get the table with 5 lines (positions of a document). So we need to print same pdf forms 5 times (data printed will be changing according to the positions data)
    how to make it?
    help please!!!

    Hi Julia,
    The Parent Subform should contain only the header part (i.e Column Headers). i.e. all the Static Contents
    and the actual repeating data should be inside ur Child Subform. Since u have set the Subform as Repeat Sunform Property in the Child Subform that automatically adds rows dynamically in the form.
    Follow the Hierarchy :-
    --> Top Most Subform (Type - Flow Layout, Flow Direction - Western Text)
    > All the Table Headers
    > Parent Subform (Type - Flow Layout, Flow Direction - Table, Allow Page Breaks within Content (checked))
    > Child Subform (Type - Flow Layout, Flow Direction - Table Row, repeat Subform for each data item (checked), Minimum Count - 1)
    > All the Table Row Elements.
    Hope u are clear with this now,
    Regards,
    Poojith MV <b></b>

  • RetrorespectiveActivation of Multiple Form 16 in mid- of the financial year

    Hi All,
    We have mainatined TAN as per the company Code in feature 40ECC. Now we want to have multiple Form 16 if there is change in company Code of an employee for the financial year 2009.
    We have not activated Multiple Form 16 Switch so far. Now in the last month of financial Year 2009 that in March'2010 (period 12/2009) we want to activate Multiple Form 16 switch from 01.04.2009. After activation Multiple form 16 Switch, we are planning to trigger retro for all employees from 01.04.2009.
    But we are not very much sure what will be the impact of activating Multiple Form 16 switch now in the last period of the financial year.
    Required your valuable inputs on this.
    Thanks,
    Ravinder

    Hi,
    Check whether multiple Form 16 switch is active or not.
    In case this is active, then the Form 16 will be generated as under:
    Company A - showing earnings from 01.04.08 to 31.12.08 only
    Company B - showing earnings from 01.01.09 to 31.03.09 as current earnings and from 01.04.08 to 31.12.08 as income from previous employment.
    In case multiple Form 16 is not active, then the Form 16 that you are getting is correct. However, in this case you need not print the Form 16 of company A. Only the Form 16 from the company code where the employee belongs to as on 31.03.2009 (i.e. last day of the FY) will be printed. And in this case the Form 16 will include complete earnings from 01.04.2008 to 31.03.2009 as current earnings.
    Hope this clarifies your query.
    VK

  • Merging multiple forms and having shared fields

    I am designing multiple forms for a client for application purposes.  There are about 40 forms in all. Client is designing a online helper that will help users download only the forms they need for their application.  So once that is decided, then we are giving them a download link for required forms only. In the end client will print the forms and submit them manually. (I know it could be done better, but not yet) There will be about 16-17 different combinations of forms.
    Thing is, many of these forms have repetitive fields (name, address, phone, email, etc), so we would REALLY like to have it so that once filled out, those fields could quickly populate all the rest of the remaining forms. (does that make sense?)
    I have had a couple ideas on how to accomplish this
    1) Magic
    2) Combined all required forms into one large PDF.  Make the 16-17 possible combinations and then just set them all up manually.
         Problem is that if Form 6 changes, it may change in 10 different packages.  I don't want to do that manually every time there is a change
    3) Somehow use Adobe Livecycle to piar the fields up in the different docs, and have them all linked. (think that is impossible, hense #1)
    4) Your suggestion?
    Thanks in advanced.
    Ask any questions you may need.

    The templates/PDFs designed in LC are primarily can not talk to each other. But we can make them pull and save the information stored in Database through LC workflow. Which will give them ability to transfer data between using SOAP (we can activate these SOAP transfers on certain events or on user actions). But that involves User acknowledging each time the data transfer activated (of-course there is an option to remember the user action and never ask the user but it is controlled by user). Things get complicated once you start in this direction. However we use this technique in our internal environment.

  • Multiple doucment printing for FI documents

    kindly provide r step by step for Multiple document printing ? like once the transaction for eg F-02
    has done for 100 dcuments we will be able to print the vourchers at a strech ; in fb03 we are able to view all
    fi documents but need print for all those one by one at a press of a button command ?
    urgently required

    Hi ,
    Kindly use T code F.62 for mass printing of corrspondence .
    As the corrospondece would require a programme for printing and a script for the same you will have to check the settings in the following nodes .
    SPRO - financial accounting new - general ledger accounting new - business transactions - corrospondence : internal documents - make and check settings for correspondence - 1. assign programmes for corrosponence types . 2. define form names for corrospondence .
    If you want any modifications in the scripts then go to se71 the give F4 and you will get all the form name application wise , select the relevant script and make the necessary changes .
    Regards ,
    Dewang T

  • Distribute multiple forms with HDWForm2Mail

    I am trying to create multiple forms using Dreamweaver's extension HDWForm2Mail. I thought this would be simple since I created my first form no problem and had it working within minutes.
    As I would like to have multiple forms, each on separate pages, I have run into an unexpected problem... Whenever I create more than one form everything works with the form itself (redirect and all), but when it comes through to my email it doesn't display any message.
    I am puzzled on how to fix this. I have had it working multiple times with a single form, but if I add two forms it automatically breaks. Also, I have also noticed as soon as I add a "file field" it also gives me the same result. What is up with this????
    Has anybody ever had this problem happen before or am I missing something obvious? I would appreciate the help!
    Justin

    Thanks for your responses.. and your input
    But the following details doesn't clear the picture of using multiple form in struts..........as I think.
    by the way I am going to create a form in struts and print the values of form first......
    Please give the more details..
    Thanks
    first define the form bean and then use that in action mappingform-bean
    ex
    <form-bean name="wamHistoryForm"
    type="com.td.rainbow.web.wam.form.WAMHistoryForm" />
    then
    <action path="/WAMHistoryDisplay"
    type="com.td.rainbow.web.wam.actions.WAMHistoryDisplayAction"
    className="com.td.rainbow.web.core.config.RainbowActionDescriptor"
    name="wamHistoryForm" validate="false">
    <set-property property="builder"
    value="com.td.rainbow.web.wam.builder.WAMHistoryFormBuilder" />
    <forward name="Success" path="wam_history" />
    <forward name="Failure" path="wam_history" />
    </action>

  • Same information multiple forms

    I have multiple forms, all pdf and working just great (more than 10) in which some fields repite. (5 fields like DBA, bus. Address, bus ph# etc) and at very often I use several of this forms at the same time. How can I do to enter the information on just one form and have it populate on the same fields (fields with the same name) but through out all the forms I have in my folder. That way I won’t have to retype everything all over again on each form I open. Just add the specific information pertaining to each form and then print them.

    The first part is easy: You go to Tools - Forms - More Form Options and there you'll see the options to export and import form data.
    For the second solution they'll need to study the Acrobat version of JavaScript: JavaScript for Acrobat | Adobe Developer Connection

  • How top open multiple forms at the same time in HRMS menu

    Hi,
    When enabling "Close Other forms" in HRMS menu by excluding the function ‘Navigator: Disable Multiform’ Function in the Responsibility Definition (System Administrator -> Security -> Responsibility -> Define), mutliple forms works fine but I'am facing another error.
    My problem is: when this option is enabled, I tried to run Payroll run request but it turned out that payroll list of values is returning empty values and I'am unable to select any payroll from list of values. the only way to do so is to remove back ‘Navigator: Disable Multiform’ Function from exclusion section in responsibility.
    My requirment is: to have multiple form and payroll run list of values working at the same time
    Thanks

    Reason for this , if ur request is attached to more than 1 responsibility , i think this issue will come , we got same issue
    we remove it from responsibility list , then it is working fine

  • How to pass a parameter from a report to multiple forms in the same page

    Hi:
    i have a report and a lot of forms in the same page. The fact is that i want to stablish a link over a filed in the report which would make some information appear in those forms so that information could be updated. For example: i have a report with company names. Over those names i want to put a link. When the link would be pressed the forms would reflect the information about that comany. Is this possible to be done? how can i do this or something similar?
    Thanks.
    Regards. Urko.

    Please see post Re: session state security
    It has been done for a single form in a page and can be extended to multiple forms as well.

  • Is it possible to create a form with multiple form fields on a single line?

    Is it possible to create a form with multiple form fields on a single line?  I can't find anything in the documentation or a template that does this.
    I am trying to create a "documents received" checklist with a check box on the left margin, a date-received field to the right of the check box and and a description of the document (Formatted Text) on the far right.
    In the past I have entered the Fixed Text with a word processor, published it to a PDF file, then added the check box and date fields with the Acrobat Forms editor.  I would prefer to use FormsCentral if it is possible.

    We now support multiple fields on one line. This post provides a brief overview.
    Give it a try and send us your feedback.
    Sorry it took so long.
    Randy

  • Using spry select on multiple forms in same page

    Greetings-
    My apologies if this has already been answered but after a few searches I've not found my solution....
    I have a web page with 2 different forms (completely different open form and close form tags) that I'm trying to get the Spry Select Widget to work in.
    Both forms' Spry Select widgets interact as expected with the user with one exception; the second form continues to submit to the action page even if the user is trying to submit an invalid value (the docs suggested using the value of -1 so that's what I'm using). The appropriate error gets displayed to the user but the form continues to submit, which I don't want. Is there a limitation that I missed regarding the use of multiple forms in the same web page with the Spry Select Widget?
    FWIW, I'm running the app on ColdFusion and even the cfform/cfselect won't work with the Spry Widget.... I've named and id'd all forms and form elements and still no luck.
    Any ideas?
    Thanks in advance,
    Rich

    Hi Brad,
    The preamble looks reasonable.  I would like to make sure you are clear on the process.
    The data needs to be rendered twice (i.e. a 2 step job).  In the first step you create a trace file with the page count for each document in it...\trace"^define User:PageCountForTrans_@:TransCount. @$page.@LF."."
    In the second step, that trace file is brought back in as a preamble file.
    Please confirm that you are in fact passing the data twice.
    cheers
    Chris

  • Multiple Forms in a Flash Document and Posting Using ASP

    Hello everyone!
    I have some what of a dilemma on my hands. I am creating
    multiple forms in one document using Flash and need them to post
    using ASP script. I have been researching this for the last six
    days, and I have had NO luck. I have noticed that all the
    information that I have found is for one form, not more than one.
    What I have so far is the Flash document, with 4 forms. The
    basic idea is that a user chooses from a drop down menu (the
    combobox) a location, and depending on the location chosen, it
    takes the user to another frame in the flash document. The forms
    (all their own movie clip) contains a name field, a department
    field, and either a manager name a userID field or an employee
    number as well as the basic buttons for submitting the form or
    resetting the form.
    So far what I have working is the drop down menu (combobox)
    taking me to the proper frame and it shows the appropriate form.
    The reset button clearing the form (deleting any information that I
    have imputed into the input fields), but I have absolutely NO idea
    how to get the submit button to work (I did manage to get it to
    send me a message if there was nothing in one of the input fields),
    and NO idea how to get the information to the ASP file.
    Where there are 4 forms do each of them have to have their
    own ASP file attached to them, or can I use one?
    If anyone knows a site that deals with multiple forms in one
    SWF and posts using ASP that would be greatly appreciated, or if
    you know some actionscript that could be helpful.
    Thank you all in advance.

    That would be part of my problem, I really don't know ASP,
    and I am flying by the seat of my pants.
    The current script I have for the ASP file is:
    <% @Language = "VBScript" %>
    <%
    Option explicit
    Dim strfullName
    Dim strdeptName
    Dim strmanagerName
    Dim strobjeemail
    Dim strlocation
    strfullName.Request.Form("fullName_txt")
    strdeptName.Request.Form("deptName_txt")
    strmanagerName.Request.Form("managerName_txt")
    strlocation.Request.Form("locationName")
    Set strobjemail = CreateObject("CDO.Message")
    strobjemail.From = "[email protected]"
    strobjemail.To = "[email protected]"
    strobjemail.Subject = "Program from " + strlocation
    strobjemail.Body = "This user has completed this progrmam
    from " + strlocation & Chr(13) & Chr(10) & "Name: " +
    strfullName & Chr(13) & Chr(10) & "Department: " +
    strdeptName & Chr(13) & Chr(10) & + "Manager: " +
    strmanagerName
    strobjemail.Send
    Set strobjemail=nothing
    %>
    The AS code that I have so far is:
    function formValidationChecks(){
    if (fullName_txt.length==0){
    status_txt.text = "Please enter your Name";
    else if (deptName_txt.length==0){
    status_txt.text = "Please enter your Department";
    else if (managerName_txt.length==0){
    status_txt.text = "Please enter your Manager";
    else {
    status_txt.text = "Thank You!";
    variables.fullName_txt = fullName_txt.text;
    variables.deptName_txt = deptName_txt.text;
    variables.managerName_txt = managerName_txt.text;
    varLoader.load(varSend);
    trace("-----");
    trace("Name: "+fullName_txt.text);
    trace("Department: "+deptName_txt.text);
    trace("Manager: "+managerName_txt.text);
    trace("Form validated");
    submit_btn.onRelease = function(){
    status_txt.text = "";
    if(formValidationChecks()){
    var lv = new LoadVars();
    lv.fullName_txt = form.fullName_txt.text;
    lv.deptName_txt = form.deptName_txt.text;
    lv.managerName_txt = form.managerName_txt.text;
    lv.sendAndLoad("mail.asp", lv, "POST");
    reset_btn.onRelease = function()
    fullName_txt.text = "";
    deptName_txt.text = "";
    managerName_txt.text = "";
    So far my reset button clears everything, and the submit
    button is tracing the content in the form fields, but it's not even
    grabbing the asp page.
    Any suggestions? Even pages that have tutorials that are in
    the form of a video.
    Thanks

Maybe you are looking for

  • PhotoSmart dont work with Windows 7 ??

    I have the following: HP PSC 1610 All-In-One Printer & a Photosmart M525 Camera and the software that came with it. On the older dell this worked great and but with the new Dell with windows 7 it dont download.  So I cant use the Photosmart system fo

  • How was this effect created?

    Hi, Can anyone tell me what was done to create the cool effect at this site? www.robbiecrawford.com When the links on the left are rolled-over an image appears in a small window that follows the cursor. Very cool. I was hoping to learn how to do that

  • Process take a while to go from Queued to Initiated

    Just wondering if anyone had any suggestions about how to speed up processes going from queued to initiated. E.g. you kick off a process, and it takes 15 or more more seconds to change status from queued to initiated and then start processing. Things

  • How do i copy an existing tel# from my phone book ...

    hi there, by now i am pretty frustrated. i am coming from a nokia 6280 which made it simple to include an existing object (tel#, note, calender event, you name it) into an sms, mms or email. my n95 does not do a thing like that. i could include a tem

  • Compressor stops halfway - Computer wants to restart

    I have a mid-2006 17" Intel Core Duo iMac with Snow Leopard installed. I'm having problems with Compressor (3.0.5) being able to completely export a 2 and half hour video from Final Cut Pro. Like I said, the film I'm compressing is 2.5 hours of HD vi