Concatenate interface fields to Text Field in interactive forms

Hi experts.
I'm looking for solution.
I created adobe interactive form displaying in ABAP WebDynpro, using ZCI layout
I want to display sample text like: Hello mr. John today is monday. - John and monday are variables from interface.
But I have problem with this. It’s possible concatenate string values binding to one UI element?
I was tried initialize script (FormCalc, JavaScript) for TextField bud, it don' t work. – something was bad.
For example I have defined Global field in form interface and concatenate value in initialize runtime, it works for ABAP callings from front-end.
But when I show form from WebDynpro initialize runtime does not call from framework.
Can some body help me.
Or write same sample, thank you !!!!!!!

Hello Peter,
use a single TextField and concatenate the string before putting it into the context. FormCalc or JavaScript won't be needed then.
A good way to determine where the problem resides is to create an addition WD based
TextView and display the same data there. If it shows up with data there and with no
data in the form, then the problem resides in the form rather than in the WD context.
Best regards,
Thomas

Similar Messages

  • Concatenate interface fields(string) to Text Field

    Hi experts.
    I'm looking for solution.
    I created adobe interactive form displaying in ABAP WebDynpro, using ZCI layout
    I want to display sample text like: Hello mr. John today is monday. - John and monday are variables from interface.
    But I have problem with this. It’s possible concatenate string values binding to one UI element?
    I was tried initialize script (FormCalc, JavaScript) for TextField bud, it don' t work. – something was bad.
    For example I have defined Global field in form interface and concatenate value in initialize runtime, it works for ABAP callings from front-end.
    But when I show form from WebDynpro initialize runtime does not call from framework.
    Can some body help me.
    Or write same sample, thank you !!!!!!!

    Hi Peter,
    Have you try using text element ?
    Regards

  • F4 help for a single field in interactive form

    Hi Experts,
    I am working in HRAS process.I created a Form Scenario and an Adobe Form.  I linked my interactive form in portal using standard Start Processes iView . Now I have to create a value help(F4 help) for 'STATE' field based on 'COUNTRY' field value in adobe form.  I filled the Input value Help in the corresponding Form Scenario field. But in portal the adobe form shows the field as a single field only.
    How I can I attach the manual F4 help to 'COUNTRY' field?
    The how to  vary the F4 help values in 'STATE'  fied based on 'COUNTRY'  field?
    Do I need to code  in Java script for this?
    Please provide some inputs with code sample
    Thanks in advance,

    Lek,
    Check Nikhil's reply in this [thread|Re: Reg: value help from BADI is not displayed in the HCm form;. It should probably help you.
    Chintan

  • (URGENT) Check if fields in Interactive Form is empty before submit.

    Hi all,
    I need to validate my form to make sure that when a user clicks on the submit button, it should check if all the fields are being filled up, if fields are left empty, a message/error should promt telling the user to fill up the form before submitting the form.
    Once all fields are filled then proceed with submitting.
    Does anyone have any codes that u can provide me or help me with?
    Thanks In Advance.
    Regards,
    JingXuan

    There is a default functionality provided by Adobe... If all your fields are field, you can not submit. It will prompt .. to fill the form.
    Only you have to mark those field as mandatory.
    So select the field -> Go to Object Pallet -> Value Tab -> select the type as User entered Required
    This will solve your problem.
    You can also customise the requirements through scripting language.
    cheers
    Satya

  • Changing the background of a text field in adobe interactive forms

    Hello All,
    Is there any way to change the background colour of text field in interactive form dynamically.??
    Thanks,

    Naresh,
    Change the language to JavaScipt in Script Editor of LiveCycle Designer and use the following code to highlight the area of TextField where R,G,B means that you have to give the RGB values of the color you want.
    <YourTextFieldName>.border.edge.color.value = "R,G,B";
    For eg:- If you have a textfield with name TextField1 then this will highlight the TextField1 area in red color.
    if ((TextField1.rawValue==null) || (TextField1.rawValue==""))
      TextField1.border.edge.color.value = "255,0,0";
    You can use this on exit event of Textfield1 or at the submit button where you check the form data.
    Chintan

  • 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

  • Capture item by Dropdown list in Interactive Form

    Hi experts,
    I have a problem. I hope to get your suggestion ready. 
    I created a WebDynpro Abap that contains within it an Adobe Interactive Forms.
    With the method wddoinit by the component controller I set all values of the fields into interactive forms correctly.
    Inside the form there is a dropdown list which is bind to a table, the list of this dropdown list is filled with properly values of the table which is bind.
    When I select a value from the list dropdown I can not capture the selected item by the table corresponding of the data.
    Carryover below the code I use to recover (unsuccessfully) the values selected by list dropdown:
    DATA:
        node_adobe_data   TYPE REF TO if_wd_context_node,
        node_it0002       TYPE REF TO if_wd_context_node,
        node_stato_civile TYPE REF TO if_wd_context_node,
        elem_stato_civile TYPE REF TO if_wd_context_element,
        stru_stato_civile TYPE wd_this->element_stato_civile.
    navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
      node_adobe_data = wd_context->get_child_node( name =  wd_this->wdctx_adobe_data ).
    navigate from <ADOBE_DATA> to <IT0002> via lead selection
      node_it0002 = node_adobe_data->get_child_node( name =  wd_this->wdctx_it0002 ).
    navigate from <IT0002> to <STATO_CIVILE> via lead selection
      node_stato_civile = node_it0002->get_child_node( name =  wd_this->wdctx_stato_civile ).
    get element via lead selection
      elem_stato_civile = node_stato_civile->get_lead_selection( ).
    get single attribute
      elem_stato_civile->get_static_attributes(
        IMPORTING
         static_attributes = stru_stato_civile ).
    The problem persist also if I use the method GET_LEAD_SELECTION_INDEX.
    The return value always is the first item and not what I selected.
    I wait trusting your suggestions to solve the problem.
    Regards.

    Hi Davide,
    Maybe you can try to keep your own Index parameter (Integer) to keep track of the selected index.
    Then use that parameter to select data from your node:
    node_stato_civile->get_static_attributes(
        exporting
          index             = wd_this->lv_index
        importing
          static_attributes = stru_stato_civile
    Hope this helps.
    Regards,
    Roelof Albers

  • UI element for interactive Form

    HI Experts,
    My view has one input field and interactive form also have one input field when i button click ,the view input field value transferred to interactive form(adobe pdf form) input field ...
    Please Help me....
    Thanks & Regards
    Mani R

    Hi Mani,
    Go through the following tutorial. The tutorial expalins how you can set the context attributes of a view context to the UI element of a PDF form.
    Follow that process and map your view context attribute to the inputfiled of the PDF form UI element.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/63f09fc2-0401-0010-1482-dbf9891e7613">Non Interactive Form</a> In this form UI elements are readonly for display purpose.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#50">Online Interactive form</a>

  • Interactive Form Reader Toolbar

    Hi,
    I am developing web dynpro application with interactive forms in NWDS 7.0.6 SP16.
    Firstly, the readonly property of the interactive form does not seem to be working. I have to go ahead with enabled = false property for it. Is there any particular reason for this?
    Also, i am using the "Hide Reader Toolbar" from the Webdynpro library to hide the toolbar on the interactive form. When i set enabled = false for the interactive form, i see that this toolbar does not get hidden. Please let me know if there is any workaround for it.
    Thanks,
    Jyoti

    Hi Jyoti,
    Refer to the links given below :
    <a href="/people/juergen.hauser2/blog/2006/01/31/access-mode-and-presence-of-fields-on-adobe-interactive-forms Mode and Presence of Fields on Adobe Interactive Forms</a>
    <a href="Read Only InteractiveForm the readability of a single field on interactive form using the Form Ready Event</a>
    Regards
    Siddharth

  • Is it possible to have editable text field in interactive report?

    Is it possible to have editable text field in interactive report?
    Thanks,
    Dip

    Hi,
    I followed your suggestion and defined an IR with apex_item.text columns and it works fine. Now however I face a new problem when I run the page and use the standard Search Bar:
    - Click on Actions/Filter
    - Select a column, for example the employee name.
    - Open the Expression field LOV: I correctly see the different names.
    - When I select one of the names, in the Expression field, instead of the name, I see:
    "<input type="text" name="f03" size="20" maxlength="2000" value="Eugene" />"
    Horrible!!!!!!
    Is there a way to see the name and not that expression? The same thing get downloaded, so it´s really annoying.
    Thank you very much in advance for your help!!!
    Regards
    Francesco

  • Adobe Interactive Form text field not editable

    Hello,
    I created an Adobe Form using transaction SFP and placed a textfield on the body page.
    I then created a Web Dynpro application using SE80, placed Interactive Form container on the view. I also checked the flag 'Enabled' and provided the templateSource as my Adobe Form name.
    When I test the WD application, the text field is not editable.
    Can you please advise what needs to be done?
    Thanks
    Sagar

    Hi...
    Place the following code in domodifyview
    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( 'INTERACTIVE_FORM' ).
      lr_method_handler ?= lr_interactive_form->_method_handler.
      lr_method_handler->set_legacy_editing_enabled( abap_true ).
    Thanks
    Gopal.

  • Concatenate Two Fields Using EQL

    I am trying to concatenate two fields my company has in Endeca and am not being able to accomplish this. I have a Call_Num field and a Task_Num field. I would like to combine these fields with a hyphen in between. In the SQL queries I have written, I've been able to do this by typing: Call_Num || '-' || Task_Num. I tried this in EQL and am told that it doesn't recognize the ||. I tried using the keyword Concat (like you do in Excel) - CONCAT(Call_Num, '-', Task_Num), and it didn't recognize that either. I spoke to someone else in my company who uses Endeca and they told me that I need to convert Call_Num and Task_Num to integers (both fields are currently formatted as text - which is what I want, because Task_Num usually starts with a 0), multiply them by 1000 and then add them together. That isn't what I'm looking for either.
    I feel like I'm banging my head against a brick wall. I've been working on this simple task for about an hour now and have not met with any success.
    Any assistance you can provide would be greatly appreciated.

    EQL is for run-time querying, whereas you want the index to contain this as a concatenated property. Either generate this property as a concatenated version in your data feed to Endeca, or add a Record Manipulator to your pipeline of:
    <EXPRESSION TYPE="VOID" NAME="CREATE">
    <EXPRNODE NAME="PROP_NAME" VALUE="_YourConcatenatedAttribute"/>
    <EXPRESSION TYPE="STRING" NAME="CONCAT">
    <EXPRESSION TYPE="PROPERTY" NAME="IDENTITY">
    <EXPRNODE NAME="PROP_NAME" VALUE="Call_Num"/>
    </EXPRESSION>
    <EXPRESSION TYPE="STRING" NAME="CONST">
    <EXPRNODE NAME="VALUE" VALUE="-"/>
    </EXPRESSION>
    <EXPRESSION TYPE="PROPERTY" NAME="IDENTITY">
    <EXPRNODE NAME="PROP_NAME" VALUE="Task_Num"/>
    </EXPRESSION>
    </EXPRESSION>
    </EXPRESSION>
    Define a property in your pipeline and then map "\_YourConcatenatedAttribute" to this (the "_" prefix just reminds you that the source attribute is programmatically generated rather than being the name of a property in your source data). You can then use this concatenated property for any sorting, filtering etc. you want to do.
    Michael

  • Is it mandatory to bind each & every CONTEXT element to a text field on the form?

    Hello,
    I am developing an Adobe Interactive Form, i have Designer 8.1 and Reader 9.0 in my Windows 7 Laptop. When i checked the menu EDIT-->form properties --> Compatability, its Adobe XML form File (XDP)
    I have 3 elements (say, 1_Name, 2_Street and 3_City) in the CONTEXT and drawn ONLY 2 input enabled TEXT fields (for items - Name and Street of conetext) and then, BINDED them.
    I did not put any associate text field for CITY and no chance of binding!
    Pls. let me know that, Now can i utilize this CITY (of context) element containign data in the Java script? is this CITY is VISIBLE in the java script, even though it did not get BINDED with any text field on the form?
    THank you

    Thank you.
    If it got BINDED, i knew how to point/get/visible the CITY element (of CONTEXT) containming data by using the below java script,
    (this.rawValue == "A") or i can also get it with script of VISITOR.Page3.Subform11.CITY.rawvalue = "A"
    If i do NOT bind CITY to any TEXT FIELD of FORM, then, how i can retrieve/get/visible/point CITY content?

  • Making some words Bold/Underlined of an editable text field in Adobe Form?

    I have a a requirement of making some words Bold/Underlined of an editable text field in Adobe Form. I have created a "Text Field" and in "Value" tab as default value I have written the textline and made the field Type as "User entered - optional" so that at runtime user can edit that text. Now they want some words of the whole text line should display as Bold and some as Underlined. Can you please help me to meet this requirement.
    Moderator message: please have a look in the dedicated forum for "Adobe Interactive Forms".
    Edited by: Thomas Zloch on Feb 15, 2011 5:47 PM

    Just an idea, but you might try re-printing that original PDF file to the Adobe PDF printer (saving it as another pdf file, essentially). Then try again to add form fields. (You can copy the form fields you've already created and paste them onto the new file -- just copy and paste while in forms edit mode). A second shot in the dark if the first doesn't work might be to try again, but change the print settings when printing to PDF. I've ready some reports that the dpi setting can have an effect. Maybe go from 600 to 150 and see if that works. Let me know which, if either, of these ideas works.
    -Joe

  • How to concatenate two fields CSKS-KOSTL & CSKT-LTXT in BEx Query?

    Hi,
    I have a requirement to concatenate two fields CSKS-KOSTL (Cost Center) and CSKT-LTXT (Cost Center Text) and show them as one field in the BEx query.
    I do not know what to do, so please help me out.
    Thanks in advance.
    Regards
    Harman

    Hi Harman,
    If cost center is a masterdata, it can have its own text..i doubt why do u have 2 different fileds..
    Anyways if its a masterdata object maitaining its own text, then in the query properties under Display tab select Key&Text option this give you both key and text values in the output.
    If its two different fileds then its better to use concatenate in the transformation.
    Regards,
    Geetha

Maybe you are looking for

  • Upgrade 10.1.0.5 database to 10.2.0.4

    I am in the process of wanting to upgrade the Repository database from 10.1.0.5 to 10.2.0.4. I already upgrading the oms and agent to 10.2.0.4. Someone told me it is like upgrading a regular database to 10.2.0.4 but I have not done a upgrade from 10g

  • Error on tape drive copy

    hello, everytime i try to copy a data from a 3490E ibm tape drive, when i punch the ''copy to deof'' errors like ''CANNOT READ MEDIUM: UNKNOWN FORMAT'' UNIT ATTENTION  , ENQUIRE, DATA HAS CHANGED Pls do assist. moses

  • HT201335 can we still use the Airplay Mirroring  with iPhone 3gs?

    any advice on how to mirror my iphone3gs with apple tv

  • Deleted my recently added

    i deleted my recently added from my play list and dont know how to get it back HELP

  • Best Practices - Antenna Placement

    We have 3 3602Es connected to a 2504 WLC. I was wondering if anyone has advice or a site they can send me with best practices for antenna placement. They are all mounted on the side of a wall, near the ceiling (above everyone's head). Thanks!