How to store "hidden information" in Interactive Forms?

Hi all,
I need to store additional information for single fields of a form. This information should not be visible for the user. I retrieve this additonal information by calling a web service in Javascript for each field.
Of course I could simply use additonal fields and mark them as "invisible". Since I need this for each field of my form, I would end up with many many invisible fields. This does not sound like a good idea.
My crude idea is to simply modify the XML Source of the form and include the information there in plain XML. Of course I can do so by simply editing the XML Sourvce in Livecycle Designer. But how can I read out and write into these manually created data structures during run-time? Is there any way to access that? Is the XML source accessible at all during run-time?
Thanks in advance
Christoph

Hi Christoph,
You can use the WebService and populate the additional information into different fields.
Here you can cheive this by having many single fields and populating information into those fields or by using a single hidden fields and write the JavaScript to populate the information having a delimiter set to defferentiate the different information.
To do this first you call a WebService by having a submit button or you need to cal Webservice from Form Ready event of the field or from the change event of the field(this event works fine for drop down).
From where you are generating the WebService(for eg if its an Function Module), there you need to have an,( eg. variable A), variable as a export parameter. And this parameter must be of type String and in coding you need to concatenate your all information into variable A using a delimiter (like ^, rarely used characters) set by you. And in the form you bind the variable A (in response of the Data Connection ) to hidden variable. Now below the Code where you have called the WebService there write the JavaScript to split the information stored in the Hidden variable.
Regards
Pradeep Goli

Similar Messages

  • How to integrate Flashisland for Adobe interactive forms

    Hi Experts,
       Can you please help us in understanding how to integrate Flashisland with adobe interactive forms?
    We need to add swf file in the interactive forms, which will be used in webdynpro abap application.
    Any idea will be helpful for us.
    Thanks for the support.
    Regards
    Sathish

    Hi Sathish,
    You can not add swf file in interactive form, however you can integrate you flash island with web dynpro ABAP application.
    Adobe flash island and adobe interactive form are two different things and have different purposes.
    You can have adobe flash island and adobe interactive form in a single WD application(even as part of the same screen), but still there will be integration on the data level not on UI level. The UI elements for both will react separately from each other and there can't be any integration of adobe flash island inside adobe form.
    However you can develop a flash application using which you can view adobe interactive form similar to adobe reader and use this flash application as part of your WD ABAP application but that doesn't make any sense as without flash island we can show it in WD ABAP view.
    I hope this will clear your doubt.
    Regards,
    Vaibhav

  • How can user attach file to interactive form, and be read by abap program?

    Hello,
    I created an abap interactive form, sent to the user, then user fills out the form fields, then it is uploaded back to sap, then my program reads this data and process it.
    It works.
    Now I want users to be able to attach any file they want, and the abap program to extract this file out of the PDF, to put it into SAP (or anywhere).
    I succeeded in attaching a file, I can "see" it via function module get_annotations, but I get the file in compressed form by Adobe (filter="FlateDecode").
    Do you know how to unzip the file, or is there another way to attach files in adobe reader/extract them via abap?
    I use acrobat reader 8.1.2
    Thx a lot!
    sandra
    Below is the xml obtained by GET_ANNOTATIONS. We see that there are other text annotations, and that the attached file has {length="98005"}, though real file (before "attach file" to the PDF, and also after "detach file") has length 111 995 bytes. It's why I deduced that there is a compression (I also tried to extract it as-is and open it with adobe but it doesn't work.
    <?xml version="1.0" encoding="UTF-8"?>
    <xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">
      <annots>
        <highlight rect="212.347,624.257996,252.979004,636.539978" creationdate="D:20080604100938+02'00'"
    name="2114308b-275d-4eca-8bfc-c8288ef4a77c" color="#FFFF00" flags="print"
    date="D:20080604100938+02'00'" title="mtresori" subject="Texte surligne "
    coords="215.432999,636.179016,249.893005,636.179016,215.432999,624.619019,249.893005,624.619019"
    page="0">
          <popup rect="595.276001,516.179016,775.276001,636.179016" flags="print,nozoom,norotate"
    open="no" page="0"/>
        </highlight>
        <fileattachment rect="15.345001,802.841003,29.345001,822.841003"
    creationdate="D:20080604101011+02'00'" name="f6e12648-c9b0-4cd1-b08b-82876c8300d7"
    color="#4055FF" flags="print,nozoom,norotate" date="D:20080604101019+02'00'" title="mtresori"
    subject="Piece jointe" file="SAP_WIDGETS2.pdf" mimetype="application/pdf"
    creation="D:20080603112937+02'00'" modification="D:20080603112937+02'00'" size="111995"
    checksum="9F846412B510089F7C6DBCC6527C6339" page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p>SAP_WIDGETS2.pdf</p>
            </body>
          </contents-richtext>
          <data MODE="raw" encoding="hex" length="98005" filter="FlateDecode">
    4889CC570B5414D719F651A38EC468D5C6A2980104E528BBF3B8F3B2626405242920020A0AA4AEBB
    C3B2BAECEAEEA2A018030A628C8FFA4A0F568F58426A1EF5118FB5266A8D9AA2B16A55044541C5
    A62656EBA315935AE8BDB3BBEC2C0BD9D5B39EB3671966FEFBFCE6BF
    ETC. (all hexa code is the attached file, but with compression by adobe)
          </data>
        </fileattachment>
        <text rect="96.187408,680.099976,116.186996,698.099976" creationdate="D:20080613144537+02'00'"
    name="73360fcf-f5e5-4d5b-9315-fe4c42924300" color="#FFFF00" flags="print,nozoom,norotate"
    date="D:20080613144617+02'00'" icon="Comment" title="srossi" subject="Note" page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p dir="ltr">
                <span dir="ltr" style="font-size:10.0pt;text-align:left;color:#000000;
    font-weight:normal;font-style:normal">
    ffffffffffffffffffffff
                </span>
              </p>
            </body>
          </contents-richtext>
          <popup rect="595.276001,578.099976,775.276001,698.099976" flags="print,nozoom,norotate"
    open="yes" page="0"/>
        </text>
        <text rect="100,82,120,100" creationdate="D:20080613144627+02'00'" state="Marked"
    name="d524b7d5-1a85-4b62-80b3-5875dd152c51"
    color="#FFFF00" flags="hidden,print,nozoom,norotate" date="D:20080613144627+02'00'"
    icon="Comment" title="srossi" subject="Note"
    inreplyto="73360fcf-f5e5-4d5b-9315-fe4c42924300" statemodel="Marked" page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p>Marked definie par srossi</p>
            </body>
          </contents-richtext>
          <popuprect="595.276001,-20,775.276001,100" flags="print,nozoom,norotate" open="no" page="0"/>
        </text>
        <text rect="100,82,120,100" creationdate="D:20080613144633+02'00'" state="Accepted"
    name="88af2cb6-7516-4f21-81e6-97edc7a85184"
    color="#FFFF00" flags="hidden,print,nozoom,norotate" date="D:20080613144633+02'00'" icon="Comment"
    title="srossi" subject="Note" inreplyto="d524b7d5-1a85-4b62-80b3-5875dd152c51" statemodel="Review"
    page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p>Accepted definie par srossi</p>
            </body>
          </contents-richtext>
          <popup rect="595.276001,-20,775.276001,100" flags="print,nozoom,norotate" open="no" page="0"/>
        </text>
        <text rect="100,82,120,100" creationdate="D:20080613144642+02'00'" state="Marked"
    name="a8c6b485-c3f9-44e2-ad53-c61b2766d9d5" color="#FFFF00" flags="hidden,print,nozoom,norotate"
    date="D:20080613144642+02'00'" icon="Comment" title="srossi" subject="Note"
    inreplyto="f6e12648-c9b0-4cd1-b08b-82876c8300d7" statemodel="Marked" page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p>Marked definie par srossi</p>
            </body>
          </contents-richtext>
          <popup rect="595.276001,-20,775.276001,100" flags="print,nozoom,norotate" open="no" page="0"/>
        </text>
        <text rect="100,82,120,100" creationdate="D:20080613144647+02'00'" state="Accepted"
    name="0136b689-575c-46b8-a21a-86e3c8d73904" color="#FFFF00" flags="hidden,print,nozoom,norotate"
    date="D:20080613144647+02'00'" icon="Comment" title="srossi" subject="Note"
    inreplyto="a8c6b485-c3f9-44e2-ad53-c61b2766d9d5" statemodel="Review" page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p>Accepted definie par srossi</p>
            </body>
          </contents-richtext>
          <popup rect="595.276001,-20,775.276001,100" flags="print,nozoom,norotate" open="no" page="0"/>
        </text>
        <text rect="100,82,120,100" creationdate="D:20080613144657+02'00'" state="Accepted"
    name="a21fc3c5-cf6a-4c6f-bc1f-328a91050b4e" color="#FFFF00" flags="hidden,print,nozoom,norotate"
    date="D:20080613144657+02'00'" icon="Comment" title="srossi" subject="Note"
    inreplyto="2114308b-275d-4eca-8bfc-c8288ef4a77c" statemodel="Review" page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p>Accepted definie par srossi</p>
            </body>
          </contents-richtext>
          <popup rect="595.276001,-20,775.276001,100" flags="print,nozoom,norotate" open="no" page="0"/>
        </text>
      </annots>
      <f href="acTempF-00000028453-00000000089"/>
      <ids original="03473EFED11DB2110A00000000000000" modified="959796E85292D54DB7FA558CAAD4A346"/>
    </xfdf>

    Hello everybody,
    I am sure you have an answer to my question above. It was :
    how is it possible for a user to ATTACH files to a PDF interactive form, and then be able to READ them via a program ? (I guess the solution to read them via ABAP or JAVA is quite the same?)
    Thx a lot !
    sandra

  • How to read attachment from adobe interactive form

    Hi,
    My requirement is- vendor should fill all the detail in an offline interactive form and attach necessary documents in the form itself. How can i read the attachments from the form inside my program and how can i store it in SAP. I am using FM ' SMUM_XML_PARSE' to read all the data in the form.
    Best Regards,
    Tofan

    mailForm
    Parameters: bUI, cTo, [cCc], [cBcc], [cSubject], [cMsgBody]
    Returns: nothing
    This method exports the form data and mails the resulting FDF file as an attachment to all recipients,
    with or without user interaction depending on the value of  bUI.
    If it is set to true then the rest of the parameters are used to seed the compose new message window that is displayed to the user.
    If bUI is set to false, the cTo parameter is required and all others are optional.
    You must use a semicolon u201C;u201D to separate multiple recipients in cTo, cCc, cBcc parameters.
    The length limit for cSubject and cMsgBody is 64k bytes.
    Example:
    /* This will pop up the compose new message window */
    this.mailForm(true);
    /* This will send out the mail with the attached FDF file to fun1 @ fun . com and fun2 @ fun . com */
    this.mailForm(false, "fun1 @ fun . com; fun2 @ fun . com", "", "", "This is the subject", "This is the body of the mail.");
    Note:
    This is a Windows-only feature. In addition, the client machine must have its
    default mail program configured to be MAPI enabled in order to use this method.
    I had to change the code:
    instead of this.mailDoc :
    var myDoc = event.target;
    myDoc.mailDoc(false, "fun1 @ fun . com; fun2 @ fun . com", "", "", "This is the subject", "This is the body of the mail." );       
    But the outlook new message window still opens...
    Any Idea's?
    Eran

  • How to consume web service in interactive forms?

    Does anyone knows how to consume the web services in Interactive forms?
    Where my interactive forms is created using SAP Netweaver and my web services is created using myEclipse?
    Your help wil be greatly appreciated...and i would not be stingy with the points i award as long as it is useful to me..
    thanks...

    Check this
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f09cf040-237b-2a10-54bb-bbcbf2d48639
    Regards,Anilkumar

  • How to Destroy PDFs generated thru Interactive Form ELement

    Hello Friends
    My team has figured out that constructing pdfs through Interactive Form Element in Netweaver is a big performance issue
    We need to destroy those pdfs generated , So please help us out with this
    thanks a lot

    I guess I'm still not fully understanding your problem.  You mention that they aren't being cleared from the JVM?  On the server or client side? How exactly are you seeing that they aren't being released? I'm assuming you mean server side because you mention JVM.  The JVM isn't used on the client side to display the UI element.  There is no JVM used in Web Dynpro ABAP for the server side processing.  The only place the JVM is used is in the Adobe Document Services itself for the rendering of the PDF.  Is that where you are seeing instances not being cleared?  I'm not exactly sure how that would be manifesting itself.  Could you please provide some more detail.

  • How to send attachment to adobe interactive form

    Hi
    I have two interactive forms i.e initiator and approver from intiator i want to send an attachment(word document) to approver.can you please tell me how to do this.
    Thanks
    Krishna

    Hi,
    this blog may be helpful to you,
    Demystifying Attachments with SAP Interactive Forms
    Regards,
    ramesh

  • How to do actions in adobe interactive form

    i have two dropdowns and 1 button i have to do some actions according to the selection of this drop down and button.
    pls help me
    and also me what is the difference of offline and online interactive form.
    with regards
    shantoa aloor

    These PDFs might help you
    http://www.adobe.com/devnet/acrobat/pdfs/js_api_reference.pdf
    http://www.adobe.com/devnet/acrobat/pdfs/js_developer_guide.pdf
    Online forms: The processing has to be done online.
    Offline: You can save the form to your local system and process it as and when you want.
    -Ashutosh

  • How we can attach documents in interactive form through GP

    Hi,
    I am creating a Callable Object(CO) for Interactive Form(IF) through GP. This IF is designed in Adobe Live Cycle Designer 8.  I am unable to get reader rights for this PDF which is downloaded as normal form/Impersonalized form. I am having default value for  Document Handling as Acrobat 8 (Dynamic) XML Form in Adobe Live Cycle Designer 8
    I created a NWDS project to test the reader rights which consists an IF. I tried with NWDS 7. When I run the application, I am getting reader rights, and able to attach documents, and able to sign the document.
    I am unable to get these features when I try with GP.
    Do I need to do any thing when I am doing with GP?
    Can any one suggest what needs to be done.
    Thanks in advance.

    Hi ,
    Check this link.Hope this might help.
    http://help.sap.com/SAPHELP_NW04S/helpdata/EN/0f/619fd378a641b29386063019c24fc4/frameset.htm
    Regards,

  • How to make fields readonly in Interactive Form based on Roles

    Hello All,
    I want to make few fields readonly and also want to disable few fields from the Interactive form based on the role, logged in by user.
    Looking  for a code Snippet on this issue.
    Need help in this Regard.
    Thanks & regards,
    Debasish

    Is the URL you are trying to call a schema.procedure ?
    If so, you need to grant execute privilege on the procedure to the <portal-schema>_public database user.                                                                                                                                                                                                                                                                                                                               

  • How to Disable Save Button in interactive form via sfp

    Dear,experts
    My requirement is that Disable Save Button in interactive form via sfp .Is there any options to do this or write Javascript/Formcalc.Please help!
    Thanks
    Vince.

    I found a adobe documentation that says that If you want to disable some toolbar buttons, you will have to use application-level Javascript. Looks like it is not possible from ADLC
    Place the following Javascript code inside a .js file in
    %ProgramFiles%\Adobe\Reader 9.0\Reader\JavaScripts   to disable the toolbar buttons:
    // [File - Create Adobe PDF Using Acrobat.com], plus toolbar button
    app.hideMenuItem("WebServices:CreatePDF");
    app.hideToolbarButton("Weblink:CreatePDF");
    // [File - Collaborate], plus toolbar button
    app.hideMenuItem("Annots:FileCollaboration");
    app.hideToolbarButton("Annots:CollabToolButton");
    app.hideToolbarButton("CommentTask");
    app.hideToolbarButton("SigTaskButton");
    app.hideToolbarButton("SaveFileAs");
    app.hideToolbarButton("Save");
    Regards
    Sandy

  • How to provide search functionality on interactive form

    Hi  Experts,
      I have an requirement in HCM P&F where v need to provide an search on interactive forms.
      The selected values has to be mapped to workflow.
      kindly can anyone provide the appropriate solution for this requirement.
    Thanks,
    P.s.Raj

    You will need a generic service to handle the searching and populating the "results". That will be in the form of a drop-down on your form itself. From there, I would think, the user could pick from the drop-down and add whatever they selected to some "list of receipients". It's VERY possible but will take a bit of effort...and  a good understanding of generic services and user events in HCM P&F.
    Past that, I am not providing you a detailed solution. That's called "work" and I get paid well for that. =) haha
    C.

  • How to create Online & Offline PO  interactive form?

    hello,
    I am required to create an online as well as offline PO creation form.As i am new to adobe forms,i do not have much knowledge.
    Kindly help me know how to proceed for the above mentioned forms.
    Thanks,
    Rosalin

    Hi Rosalin,
    I don't think there are standard adobe forms available for PO either in ECC 5 or ECC 6. You have to take it as a custom development either directly in ECC using TCode SFP or using WD ABAP/Java.
    Adobe Lifecycle Designer provides you a sample form. Check the following path in your PC if the Lifecycle Designer has been installed. It is just a sample.
    C:\Program Files\Adobe\Designer 8.0\EN\Samples
    Goto TCode SFP. In form put ISR* and search. You will get the list of available standard forms. Check the following thread as well.
    [Re: What forms are available as standard from SAP?]
    Thanks & Regards,
    Sanoosh
    Edited by: Sanoosh P K on Mar 2, 2011 7:10 AM
    Edited by: Sanoosh P K on Mar 2, 2011 7:16 AM

  • How to send submited information on the form created in flash catalyst to an email??

    Hi,
    i have created a contact form in flash catalyst including submit button and i need this information to be emailed, when people press the submit button.
    does anyone here have the idea what should i do and what is the easiest way????
    please help me on this...

    Hi Faryar,
    Emailing a form requires some special setup on your web server. The actual sending of the email is done on the server-side. The SWF you create in Catalyst sends a request to your server, which then sends the email. Unfortunately, you have to be prepared to learn some server-side coding to get this to work.
    Here are some resources to help you get started:
    - A tutorial on making web forms: http://www.javascript-coder.com/html-form/how-to-make-a-form.phtml . Note that you'll be doing the actual form UI in Catalyst, instead of HTML (so you can skip those parts).
    - Using the Flex Form control to sending email using PHP on the server: http://cookbooks.adobe.com/post_Submitting_a_Flex_form_using_PHP-8523.html . Note that you're not using the Form control, but this demonstrates how to write the PHP code.
    - A good discussion of this topic. http://www.actionscript.org/forums/showthread.php3?t=181049
    - One cheesy way of doing this without a server is to create a mailto link with the email body pulled from the form. When the user clicks the link, his email client will open up with the email pre-written, but he will still have to send it. I don't really recommend this method as many users don't have mailto configured on their machines. If you do want to do it, you just need to construct a mailto link dynamically from the form contents. Add a "Go to URL" interaction in Catalyst, import the project to builder, and then change the URL to something like this:
    "mailto:[email protected]?subject=Form Submission&body=" + firstNameTextInput.text + ", " + lastNameTextInput.text".
    -Adam

  • Re: How to store the Information in arrays or Map?

    Hello Everyone,
    I'm reading a calling information from a file
    Calling number, Called to, Time Started, Time Ended
    050, 060 , 1255, 1350
    050, 080, 1050, 1100
    050, 060, 1110, 1130
    080, 090, 0530, 0610
    What is the best way to read this information and store it in arrays so that if I want to find out 050 called what numbers and at what times ?? How can I do that ?

    Create a class called Call or CallData or something that has fields for those quantities. Store instances of that class in a Map where the key is the calling number and the value is the object.
    http://java.sun.com/docs/books/tutorial/collections/

Maybe you are looking for

  • How to create the patch file for Printer installation?

    Hi, Recently I bought a network printer and really want to install printer via the batch file, but I don't know how and what command needs to be typed in Notepad. Could you please give me some templates for this? Thanks,

  • Loss of sound due to no playback devices following an system update.

    I have a Model #: 23-c055, Product #: H4A31AA#ABA.  My machine was updated over the weekend with an automatic update and now my playback devices for both video and audio are gone.  The selections within Device management are not available for selecti

  • Colour sync profiles missing

    Ive had a lot of colour problems lately, mainly when importing from photoshop to quark express - the colours go very strange - the magenta especially is simply way too high. When checking colour profiles, i constantly get this message: Searching for

  • Would a 1.33Ghz Logic Board be a straight swap for a 1.2Ghz?

    My girlfriend's 12-inch iBook has lost it's backlight and I've decided to get a new Logic Board for it. It's a 1.2Ghz, 256mb built in ram, Radeon 9200 32mb board. Could I replace it with the 1.33Ghz, built in 512mb, Radeon 9550 32mb board? They look

  • Pricing error: Document Incomplete: While creating sales order

    Hello, When I create a sales order, the order always remain incomplete due to pricing data incomplete. There is a manual condition type as a discount. ZDIS     Manual Discount %      In which even if I put some data, it takes the data but the error r