Adobe form page per work table record

I have read detail records into a table and I want one page per record in that table.  Other tables are to be subset of that record but all data to be written on each page relates to one record in the table.  How do I set the hierarchy so each record in the top table makes a new page.
Easy to do in Smartforms but I want to use SFP as it is much more detailed when designing form.
I have laid out the Master Page and I want each record to fit into Content area.
Also the Master Page was uploaded directly from pdf created from users desgn in EXCEL which worked nicely.
Do any of the example (FP_TEST*) Adobe forms work easily as an example?

Solution:  Define subform for the page.
subform tab > Content: flowed, Direction: Top to Bottom
Pagination    > Place; In Content Area If Dataset must be Paginated Overflow: Go To Content Area Overflow Leader *1st sub-subform
Binding        > Default Binding (the table with [*])
                         check Repeat Subform for each Data Item
                         check Min Count 1
This made each record in table a new page.  In my case I was writing a cycle count record (LINV) with additional statistical and historical data.

Similar Messages

  • ADOBE form page hiding using formcal scripting

    Hi Experts,
    I am new to ADOBE form and currently working on invoice print output. (NOT an Interactive adobe form)
    My requirement is
    i wanted to print one main page and 5 different annexures(anexures are having different layouts so is in diff forms and contained in diff pages)
    Deppending on 'Oreder reason' (made as global variable) , i need to select appropriate annexure and print
    main page and any one of the annexure.
    so i should hide all other annexure, to achive this i used formcalc scripting.
    i tried hiding annexure 2 by following code,
    data.Annexure2::ready:form - (FormCalc, client)
    if ( data.G_F_ORDER_REASON.rawValue == "ANX" )
    then $.presence = "hidden"
    endif
    i have passed value 'ANX' to this , i could see the value of order reason printed on page Annexure2 but it is not executing (getting in to if condition) condition and not hiding the page ...
    Experts please help me...
    this way i have to hide 4 other annexures...please help me or give me some other option to achive this.
    thanks and regards
    varun
    Edited by: skyblue on Aug 6, 2011 3:30 PM
    Moderator message: please do not cross-post.
    Edited by: Thomas Zloch on Aug 8, 2011 11:29 AM

    Hi Experts,
    I am new to ADOBE form and currently working on invoice print output. (NOT an Interactive adobe form)
    My requirement is
    i wanted to print one main page and 5 different annexures(anexures are having different layouts so is in diff forms and contained in diff pages)
    Deppending on 'Oreder reason' (made as global variable) , i need to select appropriate annexure and print
    main page and any one of the annexure.
    so i should hide all other annexure, to achive this i used formcalc scripting.
    i tried hiding annexure 2 by following code,
    data.Annexure2::ready:form - (FormCalc, client)
    if ( data.G_F_ORDER_REASON.rawValue == "ANX" )
    then $.presence = "hidden"
    endif
    i have passed value 'ANX' to this , i could see the value of order reason printed on page Annexure2 but it is not executing (getting in to if condition) condition and not hiding the page ...
    Experts please help me...
    this way i have to hide 4 other annexures...please help me or give me some other option to achive this.
    thanks and regards
    varun
    Edited by: skyblue on Aug 6, 2011 3:30 PM
    Moderator message: please do not cross-post.
    Edited by: Thomas Zloch on Aug 8, 2011 11:29 AM

  • Arabic SubTotals in Adobe Form Page.

    Hi Everyone,
    I have a requirement of printing Subtotals of a table in Arabic as well as English on the same page for all pages in the form.
    FYI i have made a function module to convert english digits into arabic, which i use in my code to convert english amounts to arabic amounts.
    Like -
    CALL FUNCTION 'ZJP_M_ARABIC_NUMERALS'
    EXPORTING ENGLISH = V_AMOUNT
    IMPORTING ARABIC = V_AMOUNT_AR.
    This gives me the arabic amount.
    Now i am printing english subtotals using the javascript code :
    var fields = xfa.layout.pageContent(xfa.layout.page(this)-1, "field", 0);
    var total = 0;
    for (var i=0; i <= fields.length-1; i++) {
    if (fields.item(i).name == "AMOUNT") {
    total = total + fields.item(i).rawValue;
    this.rawValue = total;
    Through this code i am able to get the english subtotal in my offline adobe form.
    My PROBLEM is - how do i use this english subtotal generated via javascript to convert it into arabic subtotal (using the FM)
    for each page.
    Any help is highly appreciated..!!
    Thanks,
    Piyush.

    Hi Piyush,
    Check this below link set locales for a field using java script this might help if you are looking for @ scripting
    /people/raghavendra.prabhu/blog/2010/12/17/currencynumber-formatting-in-hcm-forms
    I have 2 approaches (hopefully both of them will work).
    1)  Have a hidden field with arabic locale, in your loop keep adding values to this field.
    2) have the required field on the form set the locale to arabic, just assign the english value to this field. (if both english and arabic totals are from same records and same values mathematically then only the presentation locale is different but the value sud be the same right).
    If I am wrong understanding your requirement, please explain what is the difference ...?
    Cheers,
    Sai

  • Adobe Form - data from previous selected record is shown.

    Dear All,
    i have created a wd component consisting of two views.
    in the first view i am displaying  an alv which is bound to an internal table.
    on selecting a record and clicking a button the second view gets called containing an interactive form (adobe form)
    have provided a native wd submit button in the form which again calls the first view.
    The first time when i run the program it works fine.
    after clicking on submit the first view gets called again.
    now if i select another record, the adobe form gets the previous value even though in the context it shows me the current record.
    it always displays the record one previous to the current records selected.
    kindly give ur valuable suggestions.
    Regards,
    Niti

    Keep in mind I'm not using a textfield component, just a
    dynamic text box with the variable 'name' applied to it. Also,
    doesn't it matter that send_lv.fname was created within the
    LoadVars() method?
    At any rate, I tried doing what you said with the following
    code:
    name = send_lv.fname+""+send_lv.lname;
    However, what i end up getting in the textbox is
    'undefinedundefined'. I can't apply variables to the text fields
    instead because then it won't process the data to my php script.
    Any other suggestions?

  • ADOBE form - page reset for the second SO

    Hi all,
    Iam working on sales order form ( ADOBE Form). Nneed to display SO header and item details.But it is not for a single SO and it is for multiple SOs.First i need to display one sales order and its items after completing the all items of the first SO , the second SO details should come in the next page. This is fine, i have done this, but for the second SO the page numbers should start from 1. That means the page no has to be reset for each SO change.Suppose assume that, if the first SO is taking 2 pages for  printing item details and second SO is taking 3 pages for printing item details then the page nos should follows the below sequence:
    First SO :  1 of 2
                    2 of 2
    second SO : 1 of 3
                        2 of 3
                        3 of 3.
    but it is printing as 1 of 5, 2 of 5 ..... like this. Because we are using the system field for this.Can we reset the page numbers according to the condition?
    Regards ,
    Vineel.

    Hi,
    One addition to the previous answer. You need to set the Output device in the program itself and the nodialog field of the outputparams should be set to 'X'. For example you can go through the below code.
    DATA:
      w_formname TYPE fpname,
      w_function TYPE funcname.
    DATA : docparams TYPE sfpdocparams.
    DATA : formoutput TYPE fpformoutput.
    DATA : outputparams TYPE sfpoutputparams.
    DATA:
          BEGIN OF fs_orders,
            vbeln TYPE vbak-vbeln,
          END OF fs_orders,
          t_orders LIKE STANDARD TABLE OF fs_orders.
    SELECT vbeln
      FROM vbak
      INTO TABLE t_orders
        UP TO 5 ROWS.
    CHECK sy-subrc EQ 0.
    w_formname = 'YH297_FORM_SALESORDER'.
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
      EXPORTING
        i_name                     = w_formname
      IMPORTING
        e_funcname                 = w_function
      E_INTERFACE_TYPE           =
    outputparams-dest = 'PDF1'.
    outputparams-nodialog = 'X'.
    LOOP AT t_orders INTO fs_orders.
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = outputparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          OTHERS          = 5.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CALL FUNCTION w_function
        EXPORTING
        /1bcdwb/docparams        =
          document                 = fs_orders-vbeln
      IMPORTING
        /1BCDWB/FORMOUTPUT       =
        EXCEPTIONS
          usage_error              = 1
          system_error             = 2
          internal_error           = 3
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CALL FUNCTION 'FP_JOB_CLOSE'
    IMPORTING
       e_result       =
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDLOOP.
    Regards,
    Ram

  • Adobe Forms - Page Break via a Conditional Break

    Having read through the forum I am getting the impression that Page Breaks is a bit of a problem.
    I can enforce a page break between datasets by setting "After:" to "Goto Next Page", on the Object->Pagination tab, however this results in a blank page at the end of the entire output which is just the Master Page with all the static elements.
    The 'Conditional Breaks' sounds like the logical point to force a page break based on a combination of inequality or if a particular data element equals a known value.
    However, I don't seem to be able to get the 'Conditional Break' to work.
    So, the question I would like to ask, is how can you tell if the conditional break logic is correct and whether or not it is running? For example on an ABAP system is it possible to run it and debug it?
    My attempts at getting the break to open a pop up or write to disk via JavaScript fails, which is leading me to think they  are being ignored by the Adobe Form at both the server and client level.
    Is it possible that I have missed another setting somewhere else in the Adobe form configuration?

    Hello Jason!
    You are right that conditions (and all scripting) are bit tricky in this solution. Still they work.
    Debugging of AIF at ABAP side is not possible due to the architecture of the solution - from the ABAP POV it is just a web-service call and receiving result (PDF) back. You can't stop it on midpoint or intercept it somehow.
    At the same time there are other ways to check it.
    First, you can enable trace and saving additional info in SFP transaction under Utilities -> Settings.
    Details see [here|http://help.sap.com/saphelp_nw70/helpdata/EN/f7/a04aee0cb94978a011401311efe603/frameset.htm]
    And the nice way to check if your condition block is taken into the account is simple check like 1 = 2.
    If this works and you receive page break than all you need is find errors in your condition syntax, otherwise the problem is somewhere else.
    Regards,
    Petr Perstnev

  • Print Adobe form pages on different printers based on the condition

    Hi All,
    I am new in Adobe forms. We have requirement to print first 5 line items in adobe form (which are printing on first page) on one printer and remaining pages on another printer.
    What solution I was thinking was, in print program call the adobe form twice with flag as a importing parameter. For the first call the flag value will be set and for second run a blank value will be passed in flag.
    If flag is set then call make the first page "visible" and if flag is cleared then "hide" the first page and make the remaining pages "visible".
    But as its an item data which is designed on "Design" view I am not able to write a script to hide the page. Any suggestion you can give to resolve this issue.
    Thanks,
    Mihika.

    If it is OK to have the default printer defined/maintained in the user master (like tcode Su01 or System > User profile > Own data, Then the standard logic may suit your needs. I think you will need to undo some config for the whs. Te standard logic works as detailed below. the system needs to get to #4 below, then the SAP userid printer will be selected.
    the system proceeds with automatic printer determination as described below Config Tcode is OMLV.
    1) First the system checks whether a printer is set in the configuration "Printer-Movement". If so, the printer determination is complete at  this point.                                                         
    2) If not, the system uses the parameter "PriSrcTyp" defined in the configuration "Printer-Movement" to decide how it will proceed.  If the parameter is set here, the system checks if a printer is defined in the setting "Printer Picking Area" and then proposes this printer.                                                            
    3) If the system finds no printer, it searches in the setting "Printer - Storage Type" and uses this, if a printer is set.                   
    4) If the system cannot find a printer using the methods described above it selects the printer defined in the user master of the user currently logged on.                                                
    5) If no printer is defined here, the system automatically proposes LP01
    This writes the data to the spool file.

  • Adobe form data --- Backend SAP table

    Am working in Webdynpro using Java. Once the user fills in the adobe form and clicks submit, I want to post/write that information to backend SAP table. Any inputs or leads?

    HI,
    Can you please check the following document?
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/how-to%20guides%20-%20rig%20official/nw2004/webas/how%20to%20create%20online%20and%20offline%20forms%20in%20web%20dynpro.pdf
    I couldn't find such example. But we need to create a RFC function module to update table. This function module we need to call it when click on SUBMIT  button on the INteractive Form.
    Hope this helps.
    Update: Please also check the below link.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/d1088b7e-0c01-0010-c78e-984c0537e3ec [original link is broken]
    Thanks
    Ramakrishna
    Message was edited by:
            Ramakrishna Prasad Ramisetti

  • Calling Interactive Adobe Form from workflow work-item

    Hi Experts,
    Here is the requirement.
    WE have Interactive Adobe Form developed and now the requirement is to call this form in our workflow as work-item.
    When the work-item agent double-click on the work-item he must call the adboe form.
    Please provide your inputs/suggestions/Solution/Tips.
    Regards
    Krishna

    Hi Gurprit,
    Thanks for answering my question , appreciated.
    When I am in transaction SWFVISU in the drop-down for the Visualization type I dont see "Adobe Form" .  Whether we need to create an ABAP Webdynpro to call Adobe form.
    Please explain.
    Regards
    Krishna

  • Adobe Forms - Page Count

    Hi All,
    I am facing a problem with one issue in Adobe Forms.
    We need to have two sets of data in the same spool. Like one set of data on one body page and other set of data on other body page. So, if there are total 5 pages of 2 sets, they should print like 1of3, 2of3, 3of3 and 1of2, 2of2.
    Please Help !
    Thanks in Advance.
    Sahitya

    Hello Sahitya,
    If you know in advance two sets of data can be identified then you can trigger smartform twice for each data set and have added spool. In this case you need not to do any change in ur form design.
    Pls ref below link for further details of spool addition-
    http://help.sap.com/saphelp_nw70/helpdata/EN/e3/31f03bb8e8ed0ce10000000a11402f/content.htm
    Regards,
    Nishikant.

  • Moved site - ADDT insert form pages not working

    Not sure what has happened here. I have copied a site from:
    www.goodsafariguide.com to:
    www.goodsafariguide.net
    The domains are on a shared reseller hosting account so are both pointing to the same database, but I noticed that pages with ADDT forms were not displaying at all.
    I created a new page just with a basic form, and it works on the .com domain:
    http://www.goodsafariguide.com/campkalahari/newform.php
    But not on the .net domain:
    http://www.goodsafariguide.net/campkalahari/newform.php
    The database connection looks OK - any idea what the issue here could be?
    Thanks.

    Narrowed it down to the error:
    PHP Fatal error:  Class 'tNG_dispatcher' not found in /home/gsgnet12/public_html/campkalahari/index.php on line 27
    I think I can see what all happened now. I originally got thrown because I uploaded the entire site, including a folder containing lots of hi-res photos, that were never uploaded originally. It looks as though files that weren't uploaded when the disk space ran out were still showing up in the file directory, but with a file size of 0k.
    So then when I was reuploading files, Dreamweaver wasn't actually uploading them because it seemed to think they were already uploaded, and I could see them showing up on the remote server, so it all looked OK.
    Anyway - it all looks OK now.

  • Excel to .pdf/ Adobe Acrobat or Adobe Forms - whatever may work best and easiest

    If we can, how, create excel formulas in either pdf or adobe acrobat or adobe forms. Something that will work in same way as it would in excel.

    Thank you for your advices.
    I already download Acrobat SDK before, but it's really complicated for someone who know only VBA at intermediate level.
    I really plan to learn javascripts and COM in future, but I was thinking that if I ask you for I guess easy think (opening files and saving them to pdf) you will help by giving similar code or some clues.
    Anyway I found  this two methods in documentation: PDDoc.Save and PDDoc.Open and I believe that a combination of them can finally help me. Do you know how I can connect them to one part?

  • Script to open an pdf attachment in the adobe form is not working.

    Hello Experts,
    I have a requirement where i should open pdf attachment from the attachment tab of adobe form.
    For this i have written below  java script in the click event of a button ->
    I have an attachment pdf with name attach.pdf in the attachment tab of adobe form.
    var oObj = event.target;
    oObj.openDataObject();
    ->When i click on the button it is giving the error -> TypeError: Invalid Argument type.
                                                                                    Parameter cName.
    Can any one help me how can i use openDataObject method to open an attachment from the attachment tab of adobe form.
    Regards,
    Menaka.H.B
    Moderator message: wrong forum, please post again in Adobe Interactive Forms.
    Edited by: Thomas Zloch on Oct 18, 2010 12:52 PM

    Hi,
    Please refer to the thread below where this issue has been discussed:
    Creative cloud wants to make changes
    Regards,
    Sheena

  • Adobe Forms page break inside a table

    Hi,
    I have a 50 columns table and I need to print the first 25 columns on a page and the next 25 columns on the following page. Beside this if the number of lines in the table is big enough to flow on a new page I would like to print them like that:
    First n lines (where n is the maximum  of lines that can enter in one page)
    Page 1
    Coumn1 ........ Column25
    Page 2
    Column26..... Column50
    Next n lines
    Page 3
    Coumn1 ........ Column25
    Page 4
    Column26..... Column50
    and so on, until the lines in the table are all printed.
    Thank you very much!

    Hello Ana,
    You can only add a maximum of 20 columns and 50 rows in a single page, the solution would be to conditionally divide the main table as 20xN, 20xN, and 10xN. And regarding the flow on a new page:
    1. If you use the subform for line items, then make the subform type 'Flowed'.
    2. If you use only table in body page then check for Allow page-breaks within content.
    Regards,
    Manish

  • Generate forms dynamically according to table records....

    Hi,
    I am doing one application . This application contains 2 views. First view contain one table and second view contains no of forms which depend on no of records in table. ex. if table having 5 records then 5 forms will display on second view how i solve this problem ..please explain in brief...
    Regards,
    gurprit Bhatia
    Edited by: GURPRIT BHATIA on Feb 20, 2008 10:59 AM

    Hi,
    I think its not available in your version,
    You can try as follows
    loop through the elements create ui elements and context attributes
    bind them to the Ui elements
    for(int x=0; x<wdContext.nodeT().size(); x++)
                IWDTransparentContainer transparentContainer = (IWDTransparentContainer)view.getElement("<Your Container>");
                 // Add labels if needed
                IWDInputField inputField = (IWDInputField) view.createElement(IWDInputField.class);
                IWDNodeInfo nodeInfo = wdContext.getNodeInfo();
                //create a unique name and specify the datatype
                IWDAttributeInfo = nodeInfo.addAttribute(name, dataType);
                inputField.bindValue(attributeInfo);
                //finally add it to the container
                transparentContainer.addChild(inputField);
    Regards
    Ayyapparaj

Maybe you are looking for

  • Help in Performance Tunning

    Hi, I am looking for some help in tuning a query and details are below. SELECT NVL(B.START_DATE_TIME,            A.START_DATE_TIME) START_DATE,        NVL(B.CUST_PRODUCTION_SEQ_NUM,            A.CUST_PRODUCTION_SEQ_NUM) PROD_NUM,        A.HEADER_ID N

  • Applying keyword to multiple images

    I'm going through many thousands of images applying keywords. The keywords are applied with Option 1, 2, etc. I am finding that if I have more thn ne image selected, hitting option 1 applies the keyword to the first image only. Is this expected bahav

  • Using Adobe in SAP

    Hi, Can somebody please let me know how to use Adobe in SAP? Thanks & regards, Yogita Moderator message - Please ask a specific question - post locked Edited by: Rob Burbank on Aug 5, 2009 1:05 PM

  • 3D animation in iPhone application - audio volume drives a mouth morph?

    Hello, I created a series of 3D characters in LightWave 3D that I want to use in an iPhone application. Is there a way to use the audio volume to drive a morph? I want to set up a simple mouth-open/mouth-closed movement that is driven by the audio vo

  • Power mac g4 MDD doesn't recognize any CD when booting with C depressed

    Hi, I purchased this Power Mac Mirror Door Drive about a month ago on e-Bay. It came with OS 10.4.8 installed, no CD's for OS 10 and a CD with an Orange 9 containing OS 9.2.1. OS 9 was not installed on the machine. I have PhotoShop and Quark that req