Dynamic coloring in interactive form

Hi
I'm developing a PDF using Interactive form UI element.
My requirement is to dynamically change the colour of values (based on the same values) that appear in text input fields as well as of the values that appear in table rows.
Is this possible? If yes, kindly help me with an example.
Your help is highly appreciated
Regards,
Ravikanth

techincally, this is more of a Web Dynpro question...
Have you thought that you might not have any data in whatever tables you're selecting from?
SAP doesn't pre-load those flight data tables - you have to load them yourself.

Similar Messages

  • Regarding dynamic tables in interactive forms

    Hi All,
            I have designed a webdynpro view which contains a table,i have to generate a pdf format file which also contains
    a table as there in the webdynpro view.
            I  have designed a dynamic table in interactive form and binded the interactive form ui element with the datasource and pdfSource.
    In the interactive form i am getting only one row data of webdynpro view table.In the Object palette, I selected Repeat Row For Each Data Item.
           share with me if u have any idea or send any document regarding table binding(dynamic) in interactive form.
    Thanks & Regards,
    saleem

    Hi saleem..
    Check this link..
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-ffd41e8e8d59">Dynamic interactive forms an example</a>
    https://www.sdn.sap.com/irj/sdn/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#47
    Urs Gs

  • Dynamic table in interactive form & WD ABAP

    Hi,
          I have created a adobe interactive form adding the rows dynamically when pressing add button. The form works fine in Life cycle designer preview. But it doesnot work in Webdynpro ABAP runtime.
    Please let me know if any of you have a solution for the same.
    Regards,
    Vimal

    >
    Abhimanyu Lagishetti wrote:
    > change the displayType property of the interactive form and try
    > I had this problem long back, submit button was not working when changed this property it started working
    >
    > i hope it is helpful
    >
    > Abhi
    Actually be careful. Just changing the displayType probably isn't enough.  If you change from ActiveX to Native, you also must adjust the form itself - converting the form type and adding the JavaScript Header. And also Native (or ZCI) based forms are only available after SP12. If your system patch level is older than that release you might still have problems. 
    The ACF based forms do require an ActiveX control that gets pushed to the frontend. So this limits their browser support and also requires a version of the ACF control that matches your server.  So sometimes you get an ACF version mismatch if you work with multiple servers on different release levels.  ActiveX controls can also be blocked in IE depending upon the security settings that your company imposes.
    So first of all - do the SAP example ACF form applications work for you?  If they work, but this form doesn't then the problem may still be in the form itself.
    Two - are you at a release level where you can use Native forms instead?  If so you might consider going back to your Forms team and have them conver the form for you and use the Native display type.  This will reduce the complixity of having to rely on an ActiveX control. Finally if you are stuck with ACF then you need to start troubleshooting your security browser settings and/or the version of the ACF control that is installed on your desktop.

  • ABAP WD application - Dynamic filling adobe interactive form

    Hi,
    I am developing a WD Application which has  Adobe interactive form in which when user enters an input field 1 it should automatically populate respective values for input field 2 in the same form.I have this relation maintained in ztable.
    How do we handle this?
    Rgds
    Vara

    Mahesh,
    Sorry for the confusion.
    Here is my req..
    My WD application will have a parameter-Inputfield1 for entering job number
    My interactive form will have
    - Inputfield1 as header.
    - A dynamic table with inputfield2 & inputfield3
    Inputfields2 as item values - should be filled automatically after user input inputfield1 ,
    inputfields3 will be manual entry from user
    Finally i should take all these 3 values and submit it to SAP.I can have a SUBMIT button for this at the end of the form.
    rgds
    vara

  • Button to load dynamic image in interactive form webdynpro for java

    Hi all
    i tried to use image field to load dynamic image as shown in the online interactive form tutorial
    and it worked for test but when try it with view appears inside viewset it doesnt....
    so i think if we could call the image after render by pressing a button inside the form it may work
    but the problem is i have no idea about how to implement such solution ,so if any one has any idea about how to implement such solution i will be thankful if he can share me the solution.
    thanks.....
    Naguib..

    use the following tutorial. it is very easy to follow and it works fine, i have tried that.
    http://www.docstoc.com/docs/2540673/How-To-Integrate-ADOBE-form-on-WebdynPro-for-ABAP-and-Deploy-it-
    in case of some more problems, ask again and point out the part of tutorial where there is a problem.

  • Put dynamic image on interactive forms can u please tell steps by ste

    Hi,
    I need to display image on interactive forms can u please tell steps by steps.
    Regards,
    Gurprit Bhatia
    Edited by: GURPRIT BHATIA on Dec 26, 2007 5:20 AM

    Hi Gurprit Bhatia,
    To add a static image:
    In the Standard tab of the Library palette, drag a Static Image object into the form.
    Insert the image:
    To reference a link to an object stored separate from the form, double-click the Static Image object on the form design and insert the image:
    In the URL box, type the URL to the image file.
    Click the Browse button  to the right of the URL box, navigate to the image file that you want to insert, and click Open.
    With Regards,
    RooP KumaR .

  • Dynamic table in interactive form...

    Hi Friends,
    I am a beginner in adobe forms development.
    I want to create an adobe form with dynamic internal table. I.e. addition of rows and deletion of rows dynamically. I have gone through some of the threads in SDN. But still I am not able to make it.
    I used following approach for the same. Kindly correct me if i am wrong.
    Step1: I have created a context with the required fields in webdynpro abap with cardinality 1..1.
    Step2: In the adobe form I created a table using table assistant.
    Step3: a.  Wrapped the table into a subform and set the content as "Flowed"
                b. Selected "Repeat Table item for Each Data Item" at table level and body level with min count as '1'.
                c. Selected "Repeat Table item for Each Data Item" at header row with min count and max as '1'.
    Step 4: Added two Webdynpro native submit buttons by name "Add" and "Delete" and coded as follows:
               For add button:
              var nTableLength = Table.nodes.length;
              var nNumRow = 0;
              for (var nCount = 0; nCount < nTableLength; nCount ++) {
              if ((Table.nodes.item(nCount).className == "subform") & (Table.nodes.item(nCount).name !== "HeaderRow")) {
             nNumRow = nNumRow + 1;
            if (nNumRow == 7) {
            xfa.host.messageBox("The maximum allowable number of rows is 7. You cannot add any more rows.", "Warning", 3);
           else {
            Items.Table.Row1.instanceManager.addInstance(1);
    Still dynamically rows are not getting created. But when i click on add/delete some process is happening.
    Do I need to write any logic in Webdynpro abap??.
    Please clarify.
    Thanks in advance.
    Regards,
    Phani.

    Hi Runal,
    I'm following your document, but I'm not getting the adobe forms buttons working. I try to put the code that you mention, but I got an error message in the WebDynpro View saying: "field get_element is unknown", this is the code that I'm adding in the
    method WDDOMODIFYVIEW.
    data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
          LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
    check first_time = abap_true.
      LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT(u2018ZDYN_TBL_FORMu2019).
      LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
      LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    If I double click in the class CL_WD_INTERACTIVE_FORM, I can't see any method GET_ELEMENT.
    I don't know where the problem is, could you help me?
    thanks,
    Luis Lara

  • Simple Question Alternate color for Interactive form

    I can easily change the alternate color in rows for tabular but not interactive,
    can someone show me how.
    Thanks,
    Doug

    Hi,
    At the moment, I don't think that's possible - see: Interactive report template
    You can get the alternating colours when the page is first loaded (the above link has an example of doing that), but when you use the pagination functionality, the colours are lost.
    Andy

  • Change Language Dynamically in Adobe Interactive Form with Webdynpro

    Hi Experts,
    I want to display some text in Arabic in my Adobe Form. Where do I store the translations for the english text and how do I substitute it to display the translations. I also noticed one issue. When I hardcode some arabic text in the text field. It appears as a junk character when my form is displayed in the application. We are using ECC 6.0 and non unicode. Is it possible to display arabic in such an environment.
    Regards,
    Abdullah

    Solved using JDBC

  • DYNAMIC TABLE IN WEBDYNPRO INTERACTIVE FORM TO WDCONTEXT

    Hi,
    I am working with Interactive Form in (Webdynpro Java). In that form i am having Dynamic table. For that Table datas are comes from Bapi.
    In that table i have ADD button to add a row. If i add a row and enter datas in that row means were it should be stored?
    How can i send those added datas to Bapi? There is any possible way in SP12?
    Please let me know if any way is there?
    Thanks,
    Senthil prabhu

    Hi,
    To add a row in dynamic table in interactive form How to create dynamic table in the interactive form
    also check page 11-13 in this docuemnt https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/63f09fc2-0401-0010-1482-dbf9891e7613
    after adding it you can send the table data to rfc asusal Problems while setting Multiple Rows of data as Table Parameter to the RFC
    give a lot at this too want to save data
    regards,
    Pradeep

  • DYNAMIC TABLE IN WEBDYNPRO INTERACTIVE FORM

    Hi,
      I am using dynamic table in interactive form(webdynpro java).  In that form i bind node for to populate the details for the table. The details should be come from RFC.
    The RFC contains more than one record. While i tried to populate all the records to the dynamic table i cant able to got all the datas. I got only one record to the table.
        Interactive Form table node structure is:
                Node                                          Cardinality                             Singleton
    vnPDFDataSource                                    1..1                                         true
            chnTableList                                     1..1                                         true
                           chnTableRow                     0..n                                         true
                                   chnRowData              1..n                                        false
                                             attr-1
                                               attr-2
                                                attr-n
    o   The nodes bound to table and row in Adobe form are:
    chnTableList u2013 bound to Table
    chnTableRow u2013 bound to Row   
    If anybody know means let me tell how to solve the problem.
    Thanks,
    Senthil prabhu

    Hi,
    To add a row in dynamic table in interactive form How to create dynamic table in the interactive form
    also check page 11-13 in this docuemnt https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/63f09fc2-0401-0010-1482-dbf9891e7613
    after adding it you can send the table data to rfc asusal Problems while setting Multiple Rows of data as Table Parameter to the RFC
    give a lot at this too want to save data
    regards,
    Pradeep

  • Create Interactive Form UI element Dynamically

    Hi Experts,
    I have a requirement according to which i need to create multiple PDF forms at runtime.
    The approach that i would be using is creating interactive form U I element at runtime.
    So as a test application in a views wdDoModifyView i added the below
    In the do modify view i have added the below piece of code
    if (!firstTime)
                   IWDNodeInfo l_sel_nodeInfo =
                        wdContext.nodeCtx_vn_binary().getNodeInfo();
                   IWDAttributeInfo l_attrInfo =
                        l_sel_nodeInfo.getAttribute(
                             IPrivateAdobeView1.ICtx_vn_binaryElement.CTX__VA__BINARY);
                   if (view.getElement("adobeFrm") == null) {
                        IWDTransparentContainer container =
                             (IWDTransparentContainer) view.getElement(
                                  "RootUIElementContainer");
                        IWDInteractiveForm adobeFrm =
                             (IWDInteractiveForm) view.createElement(
                                  IWDInteractiveForm.class,
                                  "adobeFrm");
                        adobeFrm.bindDataSource(
                             wdContext.nodeCtx_vn_adobe().getNodeInfo());
                        adobeFrm.setMode(WDInteractiveFormMode.UPDATE_DATA_IN_PDF);
                        adobeFrm.setTemplateSource("AdobeView1_InteractiveForm.xdp");
                        adobeFrm.setDisplayType(WDInteractiveFormDisplayType.NATIVE);
                        adobeFrm.bindPdfSource(l_attrInfo);
                        adobeFrm.setVisible(WDVisibility.VISIBLE);
                        container.addChild(adobeFrm);
                        adobeFrm.setTemplateSource("AdobeView1_InteractiveForm.xdp");
    But now i am stuck at this point as its giving me null pointer exception on execution.
    Could some one provide me links to the tutorials which contains dynamic creation of Interactive form UI element
    Thanks in advance!!!

    Hi Rekha ,
    I do have this link but as per this tutorial the layout of adobe form is generated during design time whereas i need to create the mulitple PDF at runtime.These PDF need to be displayed to the user . The approach that i am using is to create Interactiveform  U I element at runtime.
    The  code that i tried is already provided in my first post.I need some more concrete tutorials /examples for this.
    Basically i need to know how to add elements like a table/textfield and data within those table/ textfields  in an adobe form(Interactive form UI element) at runtime.
    Regards ,
    Navya.
    Edited by: navya_4321 on Feb 2, 2011 6:22 AM

  • Interactive form CO

    Hi All,
        Wont the Impersonalized form support the dynamic behaviour of Interactive forms? I have a dynamic table in the impersonalized form in which i was not able to add a row,(other scripts are working fine) but i was able to add a row when it is an ordinary PDF.
    Even then same dosen't work in ordinary IF that was send in mail.
    So wont the GP support Dynamic Behaviour of IF's?
    Thanks
    Gopal.
    Edited by: Gopal Krishnasamy on Jun 5, 2008 8:14 PM

    Hi
      I was not able to achieve the same with IF as   Impersonalised form, i was able to achieve with only when i use Composite form as Impersonalised Form, if there are any other posibilities let me know...
    Thanks
    Gopal

  • Brining data from Interactive Form to Web Dynpro Context

    Hi All,
             i have a dynamic table in interactive form. The table fields are binded to a context attributes.
         i have created the elements for the context in the weddynpro and when i fill the table in the interactive form and click SubmittoSAP button, it fetches only the first row of the table and for other rows it shows null.
    Can some one help on this?
    Thanks
    Gopal

    Hi,
    Wat is the PDF Mode property u have given?
    Try generate PDF
    GS

  • Issues in creating Interactive Form UI element at runtime.

    Hi Experts,
    I have a requirement according to which i need to create multiple PDF forms at runtime.This i need to do using webdynpro Java.
    The approach that i would be using is creating interactive form U I element at runtime.
    So in a test application in  views wdDoModifyView i added the below code i.e.
    In the do modify view i have added the below piece of code
    if (!firstTime)
                   IWDNodeInfo l_sel_nodeInfo =
                        wdContext.nodeCtx_vn_binary().getNodeInfo();
                   IWDAttributeInfo l_attrInfo =
                        l_sel_nodeInfo.getAttribute(
                             IPrivateAdobeView1.ICtx_vn_binaryElement.CTX__VA__BINARY);
                   if (view.getElement("adobeFrm") == null) {
                        IWDTransparentContainer container =
                             (IWDTransparentContainer) view.getElement(
                                  "RootUIElementContainer");
                        IWDInteractiveForm adobeFrm =
                             (IWDInteractiveForm) view.createElement(
                                  IWDInteractiveForm.class,
                                  "adobeFrm");
                        adobeFrm.bindDataSource(
                             wdContext.nodeCtx_vn_adobe().getNodeInfo());
                        adobeFrm.setMode(WDInteractiveFormMode.UPDATE_DATA_IN_PDF);
                        adobeFrm.setTemplateSource("AdobeView1_InteractiveForm.xdp");
                        adobeFrm.setDisplayType(WDInteractiveFormDisplayType.NATIVE);
                        adobeFrm.bindPdfSource(l_attrInfo);
                        adobeFrm.setVisible(WDVisibility.VISIBLE);
                        container.addChild(adobeFrm);
                        adobeFrm.setTemplateSource("AdobeView1_InteractiveForm.xdp");
    But now i am stuck at this point as its giving me null pointer exception on execution.
    Could some one provide me links to the tutorials which contains dynamic creation of Interactive form UI element.
    I do have links which show creation of input fields at run time  but couldn't get any on creation of Interactive Form UI element at runtime (dynamically).
    Thanks in advance!!!

    Hello Dan,
    About the license issue, take a look at the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/interactiveforms">Adobe Interactive forms section on SDN</a> on the right side there is a FAQ. In the FAQ there is something mentioned about license.
    When you are using NWDS04s the Adobe Document Service (ADS) is already installed. You only need to configure the ADS. Take a look at <a href="http://service.sap.com/adobe">http://service.sap.com/adobe</a> on the left click on "Media Library" --> "Documentation".
    When you want to make use of Adobe Interactive forms you need a Adobe Reader 7.x.x or higher.
    Hope it helps.
    Kind regards,
    Maarten.

Maybe you are looking for

  • Problem installation SAPNW2004sABAPTrial on O.S. VISTA

    Hi all,        I tried to install SAPNW2004sABAPTrial  on my mobile PC in which Operating System VISTA is installed. When I tried to modify the file "hosts" in order to add the new loopaback, VISTA stopped me because I don't have the autorization als

  • Office 365 - content search web part

    Hi, I have an office 365 site, and in one of the page, i had added 4 Content search web parts each of it having its own custom display templates. Now, the problem is when the page is browsed (intermittent) or edited (always), the CSWP's throwing erro

  • Run another application

    hello peepz... i was wondering if it is possible to run another application when the user open another. what i mean is when user open applicationA, it will automatically run applicationB. The reason why i need this is because i want to use applicatio

  • How do i edit a DVD .VOB video

    I recently had a VHS tape converted to a DVD by Costco.  It is in a .VOB file format.  What is the best way to edit in Premiere Elements vers 12?

  • 2007A PL8 UOMs are missing when creating a document via DI-API

    If a document is created via DI-API the UOMs are missing. The behavior till PL8 was that UOMs were taken from the item master when creating a new document. Regards