How to create a dynamic fields in the Adobe Interactive form ?....urgent...

Hi Experts,
I'm working on Adobe Interactive form developed in WDP ABAP.( I have successfully config the ADS in my server.)
Action:
1. Create two view -
first_view and second_view in the WDP ABAP..
2. In the first_view, there are a input field( named "elements_number") and  a button(named "create_button") .
3. In the second_view, there is Adobe Interactive form ( named "adobe_form" ).
4. Run the WDP ABAP: first_view is opened. Type a number ex."3" in the "elements_number", click the "create_button".
5. The second_view is opened.
6. The "adobe_form" is occured.
7. There are 3 text_fields in the "adobe_form".
Steps (1) ~ (6), I have completed, but I don't know how to implement the step (7).
Please give me some hint on this. I try to use the CL_WD_ADOBE_SERVICE, but I didn't found any examples.  Do you give me some ways to implement the function? Thanks a lot.
Thank you very much.
Thanks,
Tao

Hi Philippe,
Thank you very much in advance.
Do you tell me how to hide elements in the "adobe_form" in the WDP ABAP? How can I get the elements attributes in the "adobe_form" from the method WDDOMODIFY of the second_view  in the WDP ABAP.
Please give me some hints on this. Do you give me some ways to implement functions( hide elements and  get elements's attributes)? Thanks a lot.
Thank you very much.
Thanks,
Tao

Similar Messages

  • Drop down in dynamic table in the Adobe Interactive Form (Web dynpro ABAP)

    Hi All,
    I have scenario use drop down in dynamic table in the adobe interactive form (Using the button the dynamic table row will be increasing and decreasing).
    Assume I Add five rows dynamically in the dynamic table. The Last column contains Drop down.
    I have button in the adobe form.
    Button Name = u201CSAVEu201D
    Button type    = SAP Submit button (Native type u2013 I am Using ZCI).
    While clicking save button, I need to store the dynamic table datau2019s to back end system. I can able to store the data to back end system. After form data getting saved those particular values need to display in the adobe form. 
    Here I am facing a problem.
    I cannot able to view as a default value in the drop down, which I have selected some values after save operation I am not getting any values in the drop down as a default.
    Example:
    The dynamic table contains 5 rows (Each and every row Drop down contains one to ten values).
    1)     I have selected second value in the Drop down (ROW1)
    2)     I have selected fourth value in the Drop down (ROW2)
    3)     I have selected fifth value in the Drop down (ROW3)
    4)     I have selected seventh value in the Drop down (ROW4)
    5)     I have selected third value in the Drop down (ROW5)
    I press the save button that particular Drop down value gets saved in back end system and that particular values want display in the Drop down as a default value.
    How to resolve this problem.
    Regards,
    Boopathi M

    Hi,
    Solve the problem .
    I have created the New node for dropdown. also i have one node already for table.
    The new node i bind to dropdown, the table same for table.
    Its working fine
    Boopathi M

  • How to create a dynamic table were the JTable columns keep varying

    How to create a dynamic table were the JTable columns keep varying based on the input to the jtable

    Oooh, I lied. DefaultTableModel has an API for adding and
    removing columns. I didn't know that. You should have read
    the API.
    As for preferring to extend AbstractTableModel rather than
    DefaultTableModel, I think it's more correct. DefaultTableModel
    is a simple implementation of Abstract for basic cases. It isn't
    intended to be extended. I figure most people extending
    DefaultTableModel are also extending JFrame, JPanel, and Thread
    instead of encapsulating the first two and implementing
    Runnable for the third.

  • How to hide a fieldsuFF08elementsuFF09 in the Adobe Interactive form ?....urgent...

    Hi Experts,
    I'm working on Adobe Interactive form developed in WDP ABAP.( I have successfully config the ADS in my server.)
    Action:
    1. Create two view -
    first_view and second_view in the WDP ABAP..
    2. In the first_view, there are a input field( named "elements_number") and a button(named "create_button") .
    3. In the second_view, there is Adobe Interactive form ( named "adobe_form" ). There are 3 text_fields elements in the Adobe Interactive form.
    4. Run the WDP ABAP: first_view is opened. Type a number ex."2" in the "elements_number", click the "create_button".
    5. The second_view is opened.
    6. The "adobe_form" is occured.
    7. There are 2 text_fields displayed in the "adobe_form" and 1 text_field hiden in the "adobe_form".
    Steps (1) ~ (6), I have completed, but I don't know how to implement the step (7).
    Please give me some hint on this. I try to use the CL_WD_ADOBE_SERVICE, but I didn't found any examples. Do you give me some ways to implement the function? Thanks a lot.
    Thank you very much.
    Thanks,
    Tao

    Hello Wang,
    You need to transfer some additional information in an unused data field. Then, by using scripting within the form template, you can hide the input fields in question.
    Best regards,
    Thomas

  • How to binnding the data in the adobe interactive forms for making a table?

    Hi, experts,
    Function:
    Through the sharing context node between adobe interactive form and a WDA for ABAP, display the data of the sflight_node in the ADOBE.
    version:
    Acrobat Reader 8.1.0
    currently both of the SAP-ABA and SAP-BASIS SP level: 9
    ADS : Successful.
    The following is my action:
    1.     Create a interface (Z_SFLIGHT_INTF) with a attribute node (SFLIGHT_NODE) that type is "sflight"  using the transaction code "sfp"
    2.     Create a form (Z_SFLIGHT_FORM) using the transaction code "sfp" with the interface Z_SFLIGHT_INTF.
    3.     Trag the sflight_node in the Z_SFLIGHT_INTF to the form( Z_SFLIGHT_FORM).
    4.     Open the layout tab in the form(Z_SFLIGHT_FORM), and create a table(table1). Click the table created just now, select the binding tab in the object tab, and in the Default Binding, select the SFLIGHT_NODE under the Z_SFLIGHT_FORM.
    Problem 1:
    Do you tell me whether is right for binding the context SFLIGHT_NODE using this way? If bind 3 context attributes in the sflight, how can I do it?
    5.     Create a WDA for abap (ZZ_02_SFLIGHT), and create a view(MAINVIEW) using transaction code "se80" in the sap-gui with adobe interactive form. Set the templatesource(Z_SFLIGHT_FORM) in the  adobe interactive form properties and saved, and then, datasource is "MAINVIEW_Z_SFLIGHT_FORM" automatically.
    6.     But I only found the attribute SFLIGHT_NODE under the context node(Z_SFLIGHT_NODE), and  I don't found the NODE ( SFLIGHT_NODE ) context in the context tab in the WDA for abap so that I don't set data to the context NODE (SFLIGHT_NODE).
    Problem 2:
    Do you tell me what can I do it so that I get the node SFLIGHT_NODE rather than attribute in the WDA for setting the data to the CONTEXT NODE (SFLIGHT_NODE)?
    Thanks a lot.
    Best regards,
    Tao

    Hi, experts,
    You can reply back to me via e-mail if you think we should discuss this internally at [email protected] or [email protected]
    Thanks a lot.
    Best regards,
    tao

  • Filling dynamic drop down in adobe interactive form( webdynpro ABAP)

    HI all,
    Im new in Webdynpro ABAP, my requirement is to fill drop down list in adobe interactive form. i created adobe form and its working fine.
    I Created context like ROOT(cardinality 1:1)->DATANODE cardinality 0:n. This context is for drop down and in wddoinit i did  like this.
      IN WDDOINIT ,
    DATA lo_nd_root TYPE REF TO if_wd_context_node.
      DATA lo_nd_datanode TYPE REF TO if_wd_context_node.
      DATA lo_el_datanode TYPE REF TO if_wd_context_element.
      DATA ls_datanode TYPE wd_this->elements_datanode.
    navigate from <CONTEXT> to <ROOT> via lead selection
      lo_nd_root = wd_context->get_child_node( name = wd_this->wdctx_root ).
    navigate from <ROOT> to <DATANODE> via lead selection
      lo_nd_datanode = lo_nd_root->get_child_node( name = wd_this->wdctx_datanode ).
    get element via lead selection
      lo_el_datanode = lo_nd_datanode->get_element(  ).
    ls_datanode[] = lt_dna_value[].
    CALL METHOD lo_nd_datanode->bind_table
      EXPORTING
        new_items            =  ls_datanode
        set_initial_elements = ABAP_TRUE.
       index                =
    while executing  i'm getting this error ": WebDynpro Exception: ADS: com.adobe.ProcessingException: No output was generated while rendering: Stream for: PDFOut.(200,101). " . can u please tell me how to bind value for drop down.
    I created sample table in same form and i binded same value to table, that time its executing fine.
    can u please tell me solution for this Scenario.
    Thanks
    Hemachandran.
    Edited by: hemachandran R on Sep 12, 2008 2:27 PM

    hi,
    My requirement, is to use dynamic drop down in dynamic table. I am using webdynpro abap.
    i populated the value in drop down.
    Its working fine but the problem is how to fill the default value in drop down. because i want to bind the default value which im getting specify value from the table.because each row
    im getting different values, like first row
    CAR
    , that CAR want to fill as a default value in drop down  and second row  as
    BIKE
    that BIKE  want to fill as default value in drop down  ( example drop down contain   car , bike , cycle).
    In adobe form i binded like this
      $record.DATANODE.DATA[*].DNA_RATING
    i dont know whether this one is correct or wrong  .
    im getting default value as empty.
    please give me some solution how to do this.its very urgent
    thanks
    hemachandran.

  • How to invoke HTTP Web Services in an Adobe Interactive Form

    Hi all,
    I am using Adobe Livecycle Designer stand-alone (without Netweaver integration), currently a trial 8.2 version.
    I need to invoke an HTTP Web Service (non-SOAP) in an Adobe Interactive Form. The Net.HTTP method does not work due to security reasons. The error message I get is:
    (german)
    " NotAllowedError: Sicherheitseinstellungen verhindern den Zugriff auf diese Eigenschaft oder Methode.
    Net.HTTP.request:28:XFA:form1[0]:mysubform[0]:Region[0]:change"
    In english this translates to: "Security settings prohibit the call of this property or method.
    And indeed the "Javascript for Acrobat API reference" includes the following note:
    "Note:This method can only be made outside the context of a document (for example, in a folder level JavaScript)."
    So this method seems to be excluded from use in an Adobe document, e. g. in an interactive form. But why is it then listed at all? Is there a way to call HTTP Web Services in an Adobe Interactive Form by somehow branching out the call outside the document itself? Of course I do not want to call a SOAP service which then calls the HTTP Web Service
    Is there any other way to invoke HTTP Web Services in an Adobe Interactive Form?
    Thanks a lot for your response!
    Regards
    Christoph

    Hi,
    back again, had to handle other issues, sorry.
    Just to get a little more concrete. The condition depends on the context node attributes. So if an attribute is initial, it's field should not been shown, if it's not initial, it should ne shown. There are 6 context attributes and therefore 6 fields in the form. How can I get the attributes' value?
    And can I put them into the same subform or do I have to create 7 (6 conditions + blank-condition) subforms?
    I put the fields (textfield and context node value) that should be shown depending on conditions in a subform. So how can I adress this subform?
    I'm not so familiar with JavaScript, so please help me. I need something like:
    if (context_node_attribute X is initial) {
             subform_1.presence = "hidden" ;
    I tried it with
    if ( ARB_STUNDEN.rawValue != null) {
         Beratungsstunden.presence = "hidden" ;
    but it didn't work....
    Thanks,
    Tan

  • How to display case sensitive elements in an adobe interactive form

    Hi Experts,
    I'm not sure if this is the correct section for my problem or if I should post it in Web Dynpro section...
    Out of an Web Dynpro Component I'm starting an Adobe Interactive Forms and filling it's elements by Web Dynpro Context Nodes. So long everything's fine.
    Now I need to display some elements depending on cases of my Web Dynpro.
    In other words for example:
    if x = 1 show some elements in my interactive form,
    if x = 2 don't show them but show other elements
    and so on....
    Is there any function in interactive forms to realize that?
    I had a similar problem before, depending on Web Dynpro cases different Forms are executed and displayed as shown here
    [Re: Web Dynpro & case sensitive selection of Adobe Forms] but in this case I need to handle with the elements of my interactive forms.....
    Any ideas?
    Thanks in advance,
    Tan

    Hi,
    back again, had to handle other issues, sorry.
    Just to get a little more concrete. The condition depends on the context node attributes. So if an attribute is initial, it's field should not been shown, if it's not initial, it should ne shown. There are 6 context attributes and therefore 6 fields in the form. How can I get the attributes' value?
    And can I put them into the same subform or do I have to create 7 (6 conditions + blank-condition) subforms?
    I put the fields (textfield and context node value) that should be shown depending on conditions in a subform. So how can I adress this subform?
    I'm not so familiar with JavaScript, so please help me. I need something like:
    if (context_node_attribute X is initial) {
             subform_1.presence = "hidden" ;
    I tried it with
    if ( ARB_STUNDEN.rawValue != null) {
         Beratungsstunden.presence = "hidden" ;
    but it didn't work....
    Thanks,
    Tan

  • How to create a attachement field in the conent type programmatically ?

    Hi Every One,
    i want to create 3 attachment fields in sharepoint content type.
    how we can create it
    Thoughts ?
    Regards,

    Check if below hlps
    http://social.technet.microsoft.com/wiki/contents/articles/20267.sharepoint-2010-create-site-columns-and-content-types-using-c-net.aspx
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/c17500fa-bf14-4e16-ace8-5c382bb4c7c4/invalid-request-attempting-to-set-content-type-field-for-creating-list-item-in-sharepoint-2013?forum=sharepointdevelopment
    SPSite site = new SPSite("your site");
    SPWeb web = site.OpenWeb("your web");
    SPField field = web.Fields["field Name"];
    SPFieldType fieldType = field.Type;
    switch (fieldType)
    case SPFieldType.AllDayEvent:
    break;
    case SPFieldType.Attachments:
    break;
    case SPFieldType.Boolean:
    break;
    case SPFieldType.Calculated:
    break;
    case SPFieldType.Choice:
    break;
    default:
    break;...
    }http://stackoverflow.com/questions/2200369/check-which-field-type-column-belongs-programmatically-in-sharepoint

  • Dynamic images in PDF (Adobe interactive form)

    Hi All,
            I have stored image in database using BLOB.
    I retrieve the image using
         WDWebResourceType.getWebResourceTypeForFileExtension(extn);//get Type
         IWDResource res = WDResourceFactory.createCachedResource(CSVFile, Filename, type1,true);
            res.getUrl(0);
    Where CSVFile is of type InputStream.
    But when I give this link to the image field in interactive form, the image is not getting displayed. (But it is getting displayed in the image UI element of web dynpro.)
    What should I do to show images in PDF from BLOB?
    Please let me know.

    Hi,
    Solve the problem .
    I have created the New node for dropdown. also i have one node already for table.
    The new node i bind to dropdown, the table same for table.
    Its working fine
    Boopathi M

  • Fields Disabled in ADOBE Interactive Form

    Hi Guys,
    While developing a WebDynpro application which have ADOBE form into it. We want to make this form as an interactive form, but the fields remain disabled and is not allowing for entering any value.
    Please not that we do not have SAP Portal into the landscape, and we are developing the Web Dynpro application using SE80.
    Thanks & Regards,
    Sandip

    We don't need any file on the system, it will automatically be generated....
    A sample would be:
    <?xml version="1.0" encoding="utf-8" ?>
    - <xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xfa="http://www.xfa.org/schema/xfa-template/2.1/" xmlns:xfadata="http://www.xfa.org/schema/xfa-data/1.0/" xmlns:xhtml="http://www.w3.org/1999/xhtml">
      <xsd:import namespace="http://www.xfa.org/schema/xfa-data/1.0/" />
    - <xsd:element name="NODE" version="2" fromWDContext="true">
    - <xsd:complexType>
    - <xsd:sequence>
    - <xsd:element name="NODE1_1" minOccurs="0" maxOccurs="1">
    - <xsd:complexType>
    - <xsd:sequence>
    - <xsd:element name="EMP_NAME" type="ZDE_NAME">
    - <xsd:annotation>
      <xsd:documentation>Name</xsd:documentation>
      </xsd:annotation>
      </xsd:element>
    - <xsd:element name="COMPANY_NAME" type="NAME1_GP">
    - <xsd:annotation>
      <xsd:documentation>Company Name</xsd:documentation>
      </xsd:annotation>
      </xsd:element>
    - <xsd:element name="CURRENT_DATE" type="DATUM">
    - <xsd:annotation>
      <xsd:documentation>Date</xsd:documentation>
      </xsd:annotation>
      </xsd:element>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
    - <xsd:simpleType name="ZDE_NAME">
    - <xsd:annotation>
      <xsd:documentation>Name</xsd:documentation>
      </xsd:annotation>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="50" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="NAME1_GP">
    - <xsd:annotation>
      <xsd:documentation>Name 1</xsd:documentation>
      </xsd:annotation>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="35" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="DATUM">
    - <xsd:annotation>
      <xsd:documentation>Date</xsd:documentation>
      </xsd:annotation>
      <xsd:restriction base="xsd:date" />
      </xsd:simpleType>
    Regards,
    Reema.

  • Reagarding saving and sending the adobe interactive form as non interactive

    Hi ,
              I am trying to send the interactive adobe form as non-interactive form  through email.The interactive form size is very large because of the interactivity.
    Can anybody suggest how to do this.
    Regards,
    Debasis

    Dear Antony,
    Thanks for the reply.
           I got you but can you pls guide me how to go about it.
    I need to send the email while submiting the form.So when and how i will be mapping each data node /attibutes of the main form with the intermediate form.My interactive form is of 30 pages and it may grow upto 40 pages.My response is with the to the main form where i am showing the success message.
    Regards,
    Debasis Nayak

  • Sending the adobe interactive form as non-interactive form through email

    Hi ,
              I am trying to send the interactive adobe form as non-interactive form  through email.The interactive form size is very large because of the interactivity.
    Can anybody suggest how to do this.
    Regards,
    Debasis

    Dear Antony,
    Thanks for the reply.
           I got you but can you pls guide me how to go about it.
    I need to send the email while submiting the form.So when and how i will be mapping each data node /attibutes of the main form with the intermediate form.My interactive form is of 30 pages and it may grow upto 40 pages.My response is with the to the main form where i am showing the success message.
    Regards,
    Debasis Nayak

  • Save the Adobe Interactive Form as Readonly Form

    Hi,
    I have Adobe form displayed in Portal Iview(HCm Process and Form),Now i have few queries.
    How can we enable save and print button for the user in the interacive form.
    For Save button instead of saving as editable form will it be possible to save as read only kindly guide me in do this.
    i have SAP EC 6.04
    ADS installed latest version
    Adobe Reader 9.0
    Thanks,
    Nachy

    Hi,
    Currently in my ivew i have a option of review where the fields are readonly.
    When i Press F8 i could see the Toolbar to save and print,When i save it it is still saved as editable form.
    More over i want to know through adobe script how can we enable the tool bar.
    This is required because based on the Role of the user,i want to enable the tool bar.
    Additionally,through script is it possible to set the tool bar with few buttons instead of all.
    Thanks a lot for your help,
    Nachy

  • Require a credential for the Adobe Interactive Forms scenarios- Charges

    Hi Friends,
    I need a info on Adobe Document Services, I have configured the service in an ECC 6.0 system. Now I would like to enable the interactive feature of adobe  forms. which is further required to apply for a credentials .pfx file PKCS#12 file. I just want to know whether it is chargable ( $ ) for one credentials, I have S -user ID of my client. I need this for testing purpose ..is there any alternative way to get this PKCS#12 file in free for some duration or the only way to create message to SAP applying for credentials ( As per SAP Note: 736902)
    Regards
    Ravi

    Hello Rabi,
    I did some investigation about the licensing for Adobe forms and i figured out from our SAP Rep that first 20 forms that you change..are free and after that its chargable..You might need to check your SAP Rep to get more insight into it.
    Hope this Helps.
    Rajeev

Maybe you are looking for

  • How can I use an iPad upgrade for an iPhone?

    My iPad (Verizon) and iPhone were stolen from my car. My iPad has an upgrade available. I understand that normally the iPad can only be upgraded to another tablet. But someone told me I may be able to switch the upgrade to a phone. I have an old Veri

  • SQL Developer video problems on Parallels (Win XP)

    I am running ORACLE 11G, APEX and SQL Developer on my MacBook pro. Initially I installed 1.5.4 SQL Developer and I stared having problems when editing SQL scripts. Edit window, blacks out the lines which are not being viewed. Very annoying when worki

  • Menu, Scroll Bar, Etc. Images Getting Scrambled

    First, the essentials: OS X 10.7.5 (11G63) MaBook 13-inch, Aluminum, Late 2008 Memory: 8GB, 1333 MHz, DDR3 Pictures describe the issue much better than words: http://imgur.com/a/OWwtQ As you can see from the above images, my control-click menus, scro

  • Firefox says my operating system doesn't support upgrade. I have MAC OS X 10.5.6

    When I tried to download the latest Firefox version, a message said that my operating system doesn't support the upgrade. But the information on download page says MAC OS X 10.5 or better is okay. My system is MAC OS X 10.5.6

  • Regarding  parameters in rfc

    hi all, can any one explain me why RFC does not support the u201Cby referenceu201D mechanism , as i want to pass table parameter to rfc how they wil be passed without  u201Cby referenceu201D . thanks in advance dilip