Incremental number assigned to adobe form field upon opening form

I have a form posted on the web that clients fill out and submit when they hire a new employee.
Is there a way to have a number populate in a field incrementally that does not repeat.  For instance if the form is opened by user 1, it gets Form 1, then later user 2 gets Form 2.  The number would not repeat.
.  Any thought?

Form fields can't directly-communicate with a webserver except during the submit process, so you can't use the same counter tools that websites use. There are some options to allow PDF forms to pull data from remote servers (using Flash) when the document opens, but again it will require some code on the server to send the correct information, and creates problems if the person filling in the form is offline at the time (or denies the network connection dialog). Using a timestamp field solves the problem of your users being offline, but it's only going to give you a pseudo-unique code (there's a tiny chance two forms could get the same value if they were opened at the same time) and of course the value you get is huge - not the sort of thing you'd want as an employee number.
Setting up something in PHP or ASP to run the type of XFDF/FDF workflow I show in the video isn't difficult, and the code will run on any web host which supports those languages. You don't need a special type of server.

Similar Messages

  • To assign the Adobe form in the communication method of the output type.

    Hi Gurus,
    SAP has provided an option to assign the SAP script In the communication method screen which will use to print the layout (document) using this SAP script.  Internally it will overwrite the form name of the Nace transaction. SAP has not provided a field to assign the Adobe forms.
    Can any one help me to resolve this issue
    Thanks,
    Raju Singhireddy

    I don´t understand your problem. I always use Adobe forms in my NACE transaction. Otto

  • Sequence number over multiple adobe form calls

    Dear all
    I posted this question in another subforum - http://forums.sdn.sap.com/thread.jspa?threadID=1997461 - three days ago,
    but nobody could answer, so I try to post it here.
    We would like to have a sequence number for each page.
    The Adobe Form gets called more than once, so the second call doesn't know, how many pages were printed already, thus it cannot continue the sequence number.
    Do you have any ideas?
    Of course, I would prefer not to publish an SAP-service only for this purpose...
    (The transaction is HRFORMS, we would like to print a sequence number bar code, so that the packing machine to the envelope senses, if two pages are stuck together.)

    Hi,
    I have a problem in printing current page number of an adobe form.
    My requirement is that , my form got 2 pages. On first page i am not printing page numbers and excluded from numbering.
    Numbering starts from second page. The second page needs to be repeated twice.
    In this case my page printing should look like :
    First page - no page number
    second page - 1 of 1
    Third page - 1of 1 (as it is a copy)
    IF second page extends to multiple pages (eg.. 2)
    First page - No Page no
    First instance of second page - 1of 2 , 2 of 2
    Second instance of second page - 1 of 2 , 2 of 2 . Presently it is printing like : 3 of 2 , 4 of 2. I need to initialize current page count. I could able to set the total page count 2 via variable from print program. But while printing the second instance, I am not able to initialize the current page count.
    I have seen the following thread which exactly talks about my problem but with out any solution.
    http://forums.sdn.sap.com/thread.jspa?messageID=10601698&#10601698
    I have tried initializing the current page count in the initializing event and tried assigning the initial value when the second copy starts but for entire no of pages the same initialized value is coming.
    Can anyone help me in this regard.
    Thank You,
    Regards,
    Naresh.

  • Forcing on Highlight Fields upon Open and Saving in Acrobat Reader

    I'm using the Actions panel in the Page Properties to turn on the Highlight Fields when my PDF document is opened using:
    if (!app.runtimeHighlight){
    app.runtimeHighlight = true;
    and this works perfectly, however this document is being viewed mostly in Acrobat Reader. In order to allow my users to save the content in the forms I turned on, "Extend Features in Acrobat Reader".
    The first time this new file is opened, the field highlights turn on, however after content is saved to the forms and the document is resaved the Highlight Fields no long turn on when the document is opened.
    How can I utilize both of these options even after the file is resaved?
    Thanks

    It should work better if you add this script as a document-level script, instead of a pageOpen script.
    However, keep in mind that you are changing an user's preference setting, which is considered to be not so nice.
    Hope this can help.
    Max Wyss.

  • Adobe Programs Crashing Upon Opening / libc++abi.dylib

    Hello,
    I have CS3 (old, I know) running on a Mac Lion OS X 10.7.5. It has worked for years, and after I cleaned up my Mac last week, the Adobe programs suddenly decided to stop opening (I have not downloaded any fonts recently or possibly even ever). Below is the error message I get for Photoshop. Please help!!! After doing some forum research, I feel like this is a code issue and I have no experience with any of that. Let me know if you need any more information...
    THANK YOU in advance!

    Between the time the software was working and the time it wasn't, did you install any new fonts? If you did, you might want to remove such fonts and see whether the startup problems remain. There have been reports of marginal fonts causing the CS applications to crash upon startup. One of the first things that these applications do as part of startup is to call an Adobe core technology routine that looks for and caches information about fonts that have been installed ever since the program had been last successfully run. A corrupted or marginal font might be causing the crashes you are experiencing.
              - Dov

  • Incrementing Number on Adobe Designer 7.0 Form

    Hello -
    I am wanting to create a PO form where an incrementing number gets applied to a field each time a user opens the form. The user is creating a purchase order, and instead of using preprinted-paper forms he/she wants to use an Adobe form. I have created the entire form in Adobe Designer 7.0, however, I cannot seem to get an incrementing number to be calulated/populated into a field. The form then gets mailed to others, however, when they open the form the number should not change because it is already populated. It should only populate (and increment the counter) when the field is blank (i.e. a new purchase order is being created).
    I got something like this to work in Acrobat Pro 6.0 using a "global tracking number"....
    Please help.
    Thank you.
    Rick

    I'm not familiar with the "global tracking number" functionality you are referring to (I couldn't find any such beast in Acrobat 7 Pro), but it would seem to me that what you need is some sort of database connectivity. The PO number field would be the index on a PO table. If the customer is intent on keeping the PO numbers unique, would they not be tracking these is some sort of database repository?

  • Get number of pages of adobe form before printing

    Dear Experts,
    I want to get number of pages adobe form will print before printing the form.
    Please suggest.

    Hello Sagar,
         Without executing the generated Function Module, it is not possible to get the page count of a form in driver program because the generated FM itself is responsible to execute the whole layout and determine the number of pages in the PDF output. The below screenshot shows the number of pages in the structure /1BCDWB/FORMOUTPUT of generated FM after the generated FM is executed successfully.
    I really don't know why you need the number of pages before calling the generated FM. But if you still need it, then you might need to call the whole FM cycle twice( FP_JOB_OPEN , Generated FM, and FP_JOB_CLOSE ).
    1) First time while calling the FM FP_JOB_OPEN, you need to modify the contents of SFPOUTPUTPARAMS structure. Send the blank values in fields GETPDF, REQNEW and REQIMM, and send the "X" in fields NOPREVIEW, NOPRINT and NOARCHIVE and 000 in field COPIES.
    The reason for doing this is, we do not want actual PDF output. We only want to determine the number of pages.
    2) Now execute the generated FM . You will get the number of pages in the structure /1BCDWB/FORMOUTPUT-PAGES as shown in screenshot above.
    3) Now call the FM FP_JOB_CLOSE as usual.
    4) Again call the FM FP_JOB_OPEN. This time you again need to modify the contents of SFPOUTPUTPARAMS structure reversely. Send the "X" in fields GETPDF, REQNEW and REQIMM, and send the blank values in fields NOPREVIEW, NOPRINT and NOARCHIVE and 001 in field COPIES.
    This time we need the actual PDF output.
    5) Now do the required processing with previously fetched number of pages before calling the generated FM.
    6) Now call the FM FP_JOB_CLOSE as usual.

  • Adobe forms with table

    HI ,
    I NEW IN ADOBE FORMS I WAS CREATE ONE CUSTOM TABLE HAVEING 4 COLUMS IN THAT  4TH COLUMN IS AMONT FIELD. I WANT TO ADD TOTAL AMOUNT DISPLAY IN SEPRATE NUMERIC FILED. WHILE I ENTER DATA INTO IN THAT COLUMN AUTOMATICALLY ADD AMOUNT AND DISPLAY IN ANOTHER FIELD. PLZ HELP ME

    HI,
    You  search a  FP*  more number of  Standard Adobe Forms there...
    Regards,
    Ansari

  • Internal number assignment in mm

    Hi,
        My client requirement is for each material,the internal number assignment should be character field like  KS00023. for example material is manufactured by kawasaki KS00023 n if the material is from tata
    the TT00024.They want along with internal number, code of the manufactured company.
    is it possible in sap through enhancements.
    please help me as soon as possible.
    Thx in advance,
    Neelima.N

    Hi Neelima,
                     Go to the transaction SNRO and give the Object as MATERIALNR and go for Number ranges and  Display intervals.These number ranges would be assigned by the functional guys. For more information go for object types for Materials in the SNRO transaction M*.
            U can also create ur own intervals in the transactin SNRO by going to option Number Ranges
    Regards,
    Vijaya Lakshmi
    Edited by: Vijaya Lakshmi on Jan 21, 2009 8:34 AM

  • Current page printing problem - while repeating pages : Adobe forms

    Hi Experts,
    I have a problem in printing current page number of an adobe form.
    My requirement is that , my form got 2 pages. On first page i am not printing page numbers and excluded from numbering.
    Numbering starts from second page. The second page needs to be repeated twice.
    In this case my page printing should look like :
    First page - no page number
    second page - 1 of 1
    Third page - 1of 1 (as it is a copy)
    IF second page extends to multiple pages (eg.. 2)
    First page - No Page no
    First instance of second page - 1of 2 , 2 of 2
    Second instance of second page - 1 of 2 , 2 of 2 . Presently it is printing like : 3 of 2 , 4 of 2. I need to initialize current page count. I could able to set the total page count 2 via variable from print program. But while printing the second instance, I am not able to initialize the current page count.
    I have seen the following thread which exactly talks about my problem but with out any solution.
    Re: Adobe Forms - Page Count
    Can any one help me in this regard.
    Thank You,
    Regards,
    Naresh.

    Hi,
    I am not sure how your page design looks like.
    Assumption:
    During runtime, ONLY 1 page for Page1, multiple pages for Page2 and Page3, same number of pages for Page2 and Page3.
    This is what i did:-
    I have 3 pages:
    Page1: With NO page number: ONLY 1 page
    Page2: With page number: Multiple page
    Drag the "Insert -> Custom -> Page n of m"
    - TextField: "CurrentPage",
    -- replace the original script: "this.rawValue = xfa.layout.page(this)" with "this.rawValue = xfa.layout.page(this) - 1"
    - TextField: "PageCount",
    -- replace the original script: "this.rawValue = xfa.layout.pageCount()" with "this.rawValue = ( xfa.layout.pageCount() - 1 ) / 2"
    Page3: With page number: Multiple page
    Drag the "Insert -> Custom -> Page n of m"
    - TextField: "CurrentPage",
    -- replace the original script: "this.rawValue = xfa.layout.page(this)" with "this.rawValue = xfa.layout.page(this) - 1 - ( xfa.layout.pageCount() - 1 ) / 2"
    - TextField: "PageCount",
    -- replace the original script: "this.rawValue = xfa.layout.pageCount()" with "this.rawValue = ( xfa.layout.pageCount() - 1 ) / 2"
    Good luck.

  • Clear the contents of a field on open

    Hello,
    I would like to clear the contents of a field upon opening a form record. This field will then be populated with the logged on user name, V('APP_USER'). This is to display the user who last edited the record.
    Does anyone know how to do this? The field will only update if it is empty to start with so I need to delete the field contents only if the 'Save' button is pressed and then replace it with the current logged in user.
    Thankyou in advance,
    Kind Regards,
    Steve Welch

    Hello Scott,
    Sorry it was very simple in the end. Thanks for pointing me in the right direction. PL/SQL Expression, V('APP_USER')
    Kind Regards,
    Steve Welch

  • Problems!:  calculated fields in Adobe Forms using the ISR/PCR framework.

    Hi there,
    I have made an Adobe form in the ISR framework. Everybody who is familiar with these forms in the framework knows that the adobe form is embedded in a standard webdynpro which consist of a roadmap with three steps.
    Step 1: Fill out the form
    Step 2: Check and fill the form
    Step 3: Submit the form. After submit the form can be send to a manager or can be directly processed in SAP HR.
    Problem 1:
    When I test the adobe form and fill in a number in a field and click on next everything goes fine. But when I click on previous step the value which I filled in before is gone and put to 0,00.
    Problem 2:
    Also another problem is that calculated fields, do not show directly when clicking on next step. When you click on next step and then previous step, then you see the value of the calculated field.
    Problem 3:
    Also another problem is with the calendar function. When I fill in a date by hand and click on next the BADI behind the form sees 00-00-0000. When I use the calendar function everything goes well.
    Who can help me with these 3 problems.
    Greetings.
    Message was edited by: Sandhya Banwarie

    Hi Phil,
       Interesting - I have a similar issue.  We want to use the Request for Transfer scenario in ERP 2005, but it has not been developed in Adobe forms by SAP yet (it isn't available in 2004 either)!  So, we have decided to use the old JSP PCRs instead.
    Your issue is probably because you're using the same 2005 iviews to create your PCRs.  The 2005 PCR iviews are written in WebDynpro, and appear to assume that each one will be an Adobe form!  If you assign the old PCR iviews to your manager (give them the old MSS role under Migrated Content->EP5.0... in the pcd if you have it installed), you will be able to create a PCR with the JSP forms (regardless of the "Entry in Web" setting in QISRSCENARIO).
    The next issue is the approval.  In 2005, transaction SWFVISU has task TS50000075 configured as Java Webdynpro.  You'll need to change that to iView, and specify ID = com.sap.pct.hcm.isrdispatcher.default.  I'm following the UWL item type guide for this at:
    http://help.sap.com/saphelp_nw04s/helpdata/en/b1/cc1357eead454bb144face4a66be7d/content.htm
    Having said this, my approval is not working!  The item type has clearly changed, because the workitem name is no longer a hyperlink (rather annoying), but when I hit the "Launch Task Page" button (default name I think) I get the error:
    "Unable to perform action because the system returned an invalid URL"
    I can't see this "invalid url" anywhere in the logs, so I can't see where it is getting it from, or what path, etc I'm meant to put!  In your old system, what did you have as the "Server for ISR call" under "Additional Data for Scenario" in QISRSCENARIO?  Also, what did you have in the "URL" box that appears under the Additional Data for Scenario button when you change the Entry Type to JSP?
    Many thanks,
    Russell.

  • How to change the Field Symbol, so Adobe Forms takes it as a Table?

    Hi guys,
    I created an Field Symbol, in a Interface which I use for Adobe Forms. The type of the Field Symbol is STANDARD TABLE, and this field symbol I fill with data from another program.
    But the problem is that in adobe forms, this Field Symbol is taken as TEXT FIELD and not as Table... and this shows me a Dump because it can't convert Internal Table to type C (the dump is like that).
    What I need, is how to change the Field Symbol, so Adobe Forms takes it as a Table?
    I looked at Adobe Form, and found this:
    The Type Category of the Field Symbol is DICTIONARY TYPE and I think I need to change it to Internal Table as shown in the right picture.
    Does someone have any idea?

    Hello Taly,
    To what i understand your requirement, you need to pass data from Field symbol to internal table in Adobe form.
    You have done it correct partially. I have replicated your scenario and steps are below -
    1) Create a Z structure
    2) Create Z Table Type
    3) Create Adobe Interface with Table & Field Symbol. Also do coding as shown to assign the internal table populated in driver program to filed symbol.
    4) Design Form as -
    5) Code driver as -
    *& Report  ZR_AF_FS_1
    REPORT  zr_af_fs_1.
    DATA: fm_name           TYPE rs38l_fnam,
           fp_docparams      TYPE sfpdocparams,
           fp_outputparams   TYPE sfpoutputparams,
           it_kna1           TYPE ztt_fs_1.
    * Sets the output parameters and opens the spool job
    CALL FUNCTION 'FP_JOB_OPEN'                   "& Form Processing: Call Form
       CHANGING
         ie_outputparams = fp_outputparams
       EXCEPTIONS
         cancel          = 1
         usage_error     = 2
         system_error    = 3
         internal_error  = 4
         OTHERS          = 5.
    IF sy-subrc <> 0.
    *            <error handling>
    ENDIF.
    *&---- Get the name of the generated function module
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'           "& Form Processing Generation
       EXPORTING
         i_name     = 'ZAF_FS_1'
       IMPORTING
         e_funcname = fm_name.
    IF sy-subrc <> 0.
    *  <error handling>
    ENDIF.
    *-- Fetch the Data and store it in the Internal Table
    SELECT kunnr name1 name2 adrnr FROM kna1 INTO TABLE it_kna1 UP TO 15 ROWS.
    * Language and country setting (here US as an example)
    fp_docparams-langu   = 'E'.
    fp_docparams-country = 'US'.
    *&--- Call the generated function module
    CALL FUNCTION fm_name
       EXPORTING
         /1bcdwb/docparams        = fp_docparams
          it_data                   = it_kna1
    *    IMPORTING
    *     /1BCDWB/FORMOUTPUT       =
       EXCEPTIONS
         usage_error           = 1
         system_error          = 2
         internal_error           = 3.
    IF sy-subrc <> 0.
    *  <error handling>
    ENDIF.
    *&---- Close the spool job
    CALL FUNCTION 'FP_JOB_CLOSE'
    *    IMPORTING
    *     E_RESULT             =
       EXCEPTIONS
         usage_error           = 1
         system_error          = 2
         internal_error        = 3
         OTHERS               = 4.
    IF sy-subrc <> 0.
    *            <error handling>
    ENDIF.
    6) Output -
    BR.

  • Adobe Form - Locked field

    Hi All
    Could someone please tell me what are the function 'Lock Text', 'Lock Static Object' and 'Lock Field' under 'Edit' on menu selction bar - used for - (I'm new with Adobe Form) - Thanks

    Hi Liem,
    You can find answers to such questions easily in adobe designer help. I am providing below the answer to your query, Hope it will be helpful:
    Lock text:
    LiveCycle Designer lets you lock text in text objects or in the captions of objects by using the Lock Text command. When you select Lock Text, you must double-click the desired text or caption in order to edit it. This makes it not as easy to modify the text. If Lock Text is not enabled, you click in the caption or text object to start editing the text.
    Lock Text applies to all text and captions on the form design. Using Lock Text is particularly useful if you want to select and move objects but not make any changes to the text. You can single-click the object to select it, but you must double-click the caption or text in order make any changes.
    Lock Static Object:
    LiveCycle Designer lets you lock all static objects on the form design by using the Lock Static Objects command. All static objects in the form design cannot be selected, moved, or modified.
    The Lock Static Text command is useful in situations when you have finished formatting static objects in the form design and want to continue working with other types of objects.
    For example, your form includes a large number of text field objects, as well as text objects that provide instructions on filling the form. You have laid out and formatted all the static text objects and need to apply a different font to the text field objects. You can easily do this by locking the text objects and then using Edit > Select All to select all the text field objects at once and then change the font.
    When text objects are locked, the text inside them is also locked. However, if you want to continue to select and move text objects, but not make any changes to the corresponding text, you can change the behavior of the text to make it not as easy to modify.
    Lock Field:
    LiveCycle Designer lets you lock all field objects on the form design by using the Lock Fields command. All field objects in the form design cannot be selected, moved, or modified.
    The Lock Fields command is useful in situations when you have finished formatting the field objects in the form design and want to continue working with other types of objects.
    For example, your form includes a large number of text field objects and check box objects, as well as text objects that provide instructions on filling the form. You have laid out and formatted all the field objects and need to apply a different font to the text objects. You can easily do this by locking the field objects and then using Edit > Select All to select all the static text objects at once and change the font.
    When field objects are locked, their corresponding captions are also locked. However, if you want to continue to select and move fields, but not make any changes to the caption, you can change the behavior of the caption to make it not as easy to modify.
    Regards,
    Vaibhav Tiwari.

  • Adobe Forms: date and number display format

    Hello all,
    I am new to Adobe Form, and I am quite unimpressed with how difficult it is to do the most simple things.
    I have managed one way or another to solve all my problems until now, but this one got me stuck.
    I have date and number fields in my form, and here is what I want to do but cannot (beware, it is impressive): I need these fields to be displayed using the defaults date and number settings of the SAP user who is generating the form.
    Anyone has an idea of how that can be achieved?
    Thank you.
    Moderator message: please post again in the dedicated forum for "Adobe Interactive Forms".
    Edited by: Thomas Zloch on Feb 24, 2011 1:53 PM

    Hi Thomas,
    For these kind of issues you will get many answers if you search the forum.
    If your requirement is to display the current date in the form, just drag and drop the "Current date" UI element from the Library palette -> Custom.
    If it is to get the date from SAP and display, pass date to the context node and just drag and drop the field into the form from the data view.
    Check the following wiki by Chintan. It explains some common scenarios in javascript.
    [JavaScript Part 1|http://wiki.sdn.sap.com/wiki/display/ABAP/JavaScriptforCommonScenarios-PartI]
    [JavaScript Part 2|http://wiki.sdn.sap.com/wiki/display/ABAP/JavaScriptforCommonScenarios-PartII]
    Use an 'if' condition, check the value and based on the value you can make the field hide/visible in the form.
    Hope this will help.
    Thanks & Regards,
    Sanoosh

Maybe you are looking for