The UI element of the view will be desplaying in desable mode

Hi,
I have developed an application which is in the SAP Help Creating an Email Client Using Web Dynpro and Web Services.
Followed as it is steps in that example.
it has deployed without any errors,
but when we run the application its displaying all the UI Elements in disable mode.
could any one help on this,
Thanks & Regards,
Ravinder Jilla.

Hi
In supply function you are itself creating an element of node. no need to create it again.
By writing only following code you can create a node element which can enable all UI elements.
// In Supply function
node.addElement(node.create<your node>Element());
Other wise you can also do this in wdDoInit() of view controller
IPrivateView<your View>.I<your node>Element() element = wdContext.create<your node> element();
wdContext.node<your node>().addElement ( element );
this will create an element of your node and enable UI element bound to it.
Try the latter one and let me know the status
Mandeep Virk

Similar Messages

  • ABAP webdynpro how to give spacing between the UI Elements in a view

    Hi Expert,
    I am very new to webdynproapplication development. I am stuck in changing the look of the ui  elements of the view.
    Cud anyone explain  how  to set the spaces  between the  UI Elements on  a View is there any method ?
    I have set the Layout property  to Matrix layout. But here I am unable to set the spacing between the deffernet elements  as it is taking it automaticaaly  and I am not able to allign  all the  Elements.
    Need your help!.............thank you
    Moderator message: wrong forum, please have a look in the dedicated "Web Dynpro ABAP" forum.
    Edited by: Thomas Zloch on Apr 15, 2011 10:17 PM

    Hi anushree.,
    If u are using matrix layout:
    In Layout Data select MatrixHeadData to display UI in next line.,
    If u want to give space  between UI elements in the width enter 50, 60, 70 or what ever space u want.
    Also in the vGutter u can select medium ,  large ,  medium with rule  to give space between UI elements.
    n if u want to give space between lines  ., in the height enter 30 40 or whatever spacing between lines u want.,
    Matrix layout is a good layout., and u can play with colspan , hAlign, vAlign, vGutter, width and height options.,
    If u dont like the layout with these options then use Grid layout., where u can give custom spacing., with the help of Left Padding, Right Padding, Top Padding, Bottom Padding.
    reply if u need some more clarifications.,
    Thanks & Regards
    Kiran

  • How to find the WBS element for the payment document?

    Dear All,
    How to find the WBS element in the payment document?...I know in payment doc there will not be any WBS but is there any option where I can find in any of the Tables.
    I am in the process of developing a Z report where i need to fetch the payment documents based on WBS. Can any one please help me on this.

    Hi Ram,
    As you are not giving any input of WBS at the time of payment you cannot fetch this directly. But to know the WBS for the reporting purpose on which WBS the payment has been made, you can develop a Z-Report. The WBS elements of clearing documents against the payment entry can be fetched out.
    In this report if there is a single payment against many invoices also possible with different invoice and WBS elements to be displayed on the Z-Report
    Regards
    Divya S

  • Possible to show the WBS element in the down payment request?

    Hi,
    We have a

    Hi,
    We have a Plant maintenance order with a WBS element.
    We have created a PO for a vendor. The WBS element is not shown on the PO.
    Is it possible to show the WBS element on the down payment request of that vendor?
    Thank you for your feedback.
    Kind regards,
    Linda

  • Acrobat Reader DC on PC: How to deactivate the sidebar/element on the right side forever? (Question/Feedback)

    How can I deactivate the sidebar/element on the right side (export, create, edit PDF, more information, comment...) forever? It keeps coming back when I restart Acrobat Reader DC.
    If this is not a feature, I strongly suggest to implement that Acrobat Reader saves the last state whether it is shown or not (aka activated or deactivated).

    Hi Marcus,
    I can understand your concern, however its a part of core user interface in Adobe Acrobat Reader DC & Adobe Acrobat DC. So its not possible to disable it permanently.
    Some of our customers have raised the same issue & like them you too can fill a feature request for at Adobe - Feature Request/Bug Report Form
    Regards,
    Aadesh

  • Very urgent: How to append the form elements to the Querytext

    Hi All,
    Could anyone please guide me thru of how we can pass the Querytext in the serach results page in content server 10gR3. As far as I knew we
    pass thru in submitfrm() function in the resource include query_submit_form_function.
    Am actually trying to customize the search page and search results page and we have several onclick events in the search page.
    When we click on the radio button or checkbox. we were able to see the metadata fields in the dropdownlist and I will select the field name
    matches some value....How we can append the selected values to the QueryText. How can the Querytext build based on the selection of form
    elements.
    Please give me some idea...your help is very much appreciated. Let me know if you have any questions....
    Thanks,
    isha.

    Hey,
    Thanks for the response. I also got the same thought after going through in depth of Search related resource includes...
    I'm not sure of how to do this. Which includes I need to modify. And where exactly I have to write this Onclick event. And where exactly I have to pass this hidden parameters...I knew that we do have to add in Searchform form. However do we need to add the hidden parameters to the standard resource include.
    As far as I knew, submitfrm() is the function which holds of Searchform values and also query_form_init script.
    Could you please guide me through the steps. Which resource incliudes I have to modify/override..
    Thanks a lot for your help.

  • How to find out all the text elements in the report using Java?

    How to trace the contents of an rpt file?
    I am able to open the rpt file in my report viewer but can not trace it using the JAVA code.
    Actually, I need to find out all the text elements of rpt (Report) file and replace them with the contents of resource bundle.
    My Java code to open a report is given below:
    import com.crystaldecisions.reports.sdk.ISubreportClientDocument;
    import com.crystaldecisions.reports.sdk.ParameterFieldController;
    import com.crystaldecisions.reports.sdk.ReportClientDocument;
    import com.crystaldecisions.sdk.occa.report.data.ConnectionInfo;
    import com.crystaldecisions.sdk.occa.report.data.ConnectionInfos;
    import com.crystaldecisions.sdk.occa.report.data.Fields;
    import com.crystaldecisions.sdk.occa.report.data.IConnectionInfo;
    import com.crystaldecisions.sdk.occa.report.data.ParameterField;
    import com.crystaldecisions.sdk.occa.report.data.ParameterFieldDiscreteValue;
    import com.crystaldecisions.sdk.occa.report.data.Values;
    import com.crystaldecisions.sdk.occa.report.lib.IStrings;
    import com.crystaldecisions.sdk.occa.report.lib.PropertyBag;
    import com.crystaldecisions.sdk.occa.report.lib.PropertyBagHelper;
    import com.crystaldecisions.sdk.occa.report.lib.ReportSDKException;
    import com.crystaldecisions.sdk.occa.report.reportsource.IReportSource;
    public String viewRpt()
                   //1.) Setting Database Infos
                            IConnectionInfo iConnectionInfoObj=setDatabaseConnectionInfos();
                   //2.) Setting Report Path
                   String reportPath=u201DE:
    was60
    rptFilesLocation
    u201D;
                   reportPath=(reportPath!=null)?                                             reportPath:AppConstants.CONSTANTS.BLANK;
                   String reportName="report1.rpt";
                   String reportFullPath = reportPath +   rptName;
                 //3.) Setting Report Source
                             ReportClientDocument reportClientDoc = new ReportClientDocument();
                                              reportClientDoc.open(reportPath, 0);
                  IReportSource reportSource = reportClientDoc.getReportSource();
                  setReportSource(reportSource);
                  reportClientDoc.close();
              //4.) Setting the Fields Starts
              setFieldsCrystal(null);
              Fields fields = new Fields();
              ParameterField pfield1 = new ParameterField();
              Values vals1 = new Values();
              ParameterFieldDiscreteValue pfieldDV1 = new ParameterFieldDiscreteValue();
              pfield1.setName("@parameter1");
              pfieldDV1.setValue(u201Cvalue1u201D);
              vals1.add(pfieldDV1);
              pfield1.setCurrentValues(vals1);
              fields.add(pfield1);
              pfield1 = new ParameterField();
              vals1 = new Values();
              pfieldDV1 = new ParameterFieldDiscreteValue();
              pfield1.setName("@parameter2");
              pfieldDV1.setValue(u201Cvalue2u201D);
              vals1.add(pfieldDV1);
              pfield1.setCurrentValues(vals1);
              fields.add(pfield1);
              setFieldsCrystal(fields);
              //Setting the Fields Ends
    The sample jsp code to view the report is as follows:
    <%@taglib uri="http://www.businessobjects.com/jsf/crystalreportsviewers"
         prefix="bocrv"%>
    <bocrv:reportPageViewer viewerName="CrystalViewer"
                                                 reportSource="#{CrystalReportBeanObject.reportSource}"
                                                 displayToolbarRefreshButton="false"
                                                 allowDatabaseLogonPrompting="false"
                                                 allowParameterPrompting="false"
                                                 databaseLogonInfos="#{CrystalReportBeanObject.connectionInfosCrystal}"
                                                 parameterFields="#{CrystalReportBeanObject.fieldsCrystal}"
                                                 displayGroupTree="false" displayToolbarLogo="false"
                                                 displayToolbarToggleTreeButton="false"
                                                 enablePageToGrow="false" height="540"
                                                 zoomPercentage="100" width="750"
                                                 allowDrillDown="false"
                                                 displayToolbarPrintButton="true"
                                                 printMode="PDF"
                                                 ></bocrv:reportPageViewer>
    Edited by: JayKumarSharma on Mar 23, 2011 12:42 PM

    This is how you retrieve all the text fields in the reort:
    ReportObjects reportObjects = (ITextObject) oReportClientDocument.getReportDefController().getReportObjectController().getReportObjectsByKind(ReportObjectKind.text);
    for(int i=0; i< reportObjects.size();i++)
    ITextObject textObject = (ITextObject)reportObjects.get(i);
    // use ReportObjectController to modify the text object.
    If you want to modify the contents of the text element, you can do it as follows:
    TextObject oTextObject = new TextObject();
    Paragraphs oParagraphs = new Paragraphs();
    Paragraph oParagraph = new Paragraph();
    ParagraphElements oParagraphElements = new ParagraphElements();
    ParagraphTextElement oParagraphTextElement = new ParagraphTextElement();
    oParagraphTextElement.setText("This is the new text field");
    oParagraphTextElement.setKind(ParagraphElementKind.text);
    oReportClientDocument.getReportDefController().getReportObjectController().modify(textObject, oTextObject);
    oReportClientDocument.save();

  • How the text elements of the SMARTFORMS can generate a field?

    Hello guys
          I have got this problem of not getting the value of the fields from the smartform. i wrote the text element to populate the field by inserting as the following &IV_BID_HEADER-PROCESS_TYPE& first it comes with the shaded background but after i activate the smartform  the shaded part will gone and it remain as &IV_BID_HEADER-PROCESS_TYPE&  which basically cannot populate any value.
    can anyone help me on this,to keep the field remain shaded at the background which basicallly can populate the values of the fields.
    Thanks

    Hello,
    Please click on "FIELD LIST on/off" or ctrlshiftf4 and then drag and drop the same from the left bar.
    First find whether you have declared the value in Global Variables OR in Import/Export Interfaces.
    Hope this was helpful.
    Cheers,
    Suvendu

  • How can I access the sub elements of the Nested Cluster-2

    would like to know the label a sub element of a Nested Cluster. I have included the vi. I am trying to programmetically read the Text label of the data elements in Value N mode cluster (Max , Min Mode). I was looking into the Type descriptor document. It can tell me how many and what type of elements are in the cluster. But it does not gove me Refnum to those objects.
    Let me know if you have an solution to my question."
    Attachments:
    cluster_1.vi ‏24 KB

    Hi
    You need to do a recursion. If the reference you get from the array "controls[]" if of type cluster, then you have to loop through recursively.
    Openg toolkit has variant tools that might be of some help to you (www.openg.org).
    Good luck
    PJM
    Got EasyXML?
    JKI.VIPM.EasyXML.OpenG.LAVA.Builder.blog

  • How can I access the sub elements of the Nested Cluster

    I would like to know the label a sub element of a Nested Cluster. I have included the vi. I am trying to programmetically read the Text label of the data elements in Value N mode cluster (Max , Min Mode). I was looking into the Type descriptor document. It can tell me how many and what type of elements are in the cluster. But it does not gove me Refnum to those objects.
    Let me know if you have an solution to my question.
    Attachments:
    cluster_1.vi ‏24 KB

    I suggest posting this question on the LabVIEW forum. This is the Measurement Studio for Visual Basic forum and there are not nearly as many LabVIEW experts that monitor this forum as the LabVIEW forum.
    - Elton

  • Namespace Prefix in the Root Element of the variable

    Hi Gurus,
    We need to call a webservice which requires a namespace prefix at the root elemnt of the xml payload. But as we know that the default behaviour of BPEL removes the prefix so the invoke activity is failing and so we are stuck.
    I found this thread Namespace prefix in Root element missing during variable assignment but i feel the solution specified in this link works only in SOA 10g environment Please let us know what needs to be done?
    Appreciate a prompt response.
    NOTE: SOA Suite Version- 11.1.1.4
    Regards
    Ayush

    Hi All,
    we are also facing the same issue, Please provide the solution if anyone knows. We are also using the SOA Suite 11g Version.

  • Sort 1D array of clusters by the second element in the cluster

    Hello Folks,
    I need to sort 1D array of clusters [Point (X & Y)] using the second element (Y) of the Point cluster. Can anyone guide!!!!
    Thanks.
    Manu

    I see Darren is a bit faster than me.
    Here's my solution (LabVEWI 7.0), it is pretty similar.
    Message Edited by altenbach on 03-22-200602:01 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    SortByElement2.png ‏4 KB
    SortByElement2.vi ‏27 KB

  • Looping Over the Collection elements in the BPEL

    Hi Everybody,
    Note:It appears this thread long paragraph but those are schems structures only.I am giving them to give full depth of my req.
    1) First requirement :I have requirement wherein I have to retrieve the Data from Database adapter and modify it according to my requirements like below.
    1) Input data from Database Adapter example: (Initial Schema)
    <select_arrid_collection xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/Select_Arrid">
    <select_arrid>
    <arr_id>arr1</arr_id>
    </select_arrid>
    <select_arrid>
    <arr_id>arr2</arr_id>
    </select_arrid>
    <select_arrid>
    <arr_id>arr1</arr_id>
    </select_arrid>
    <select_arrid>
    <arr_id>arr2</arr_id>
    </select_arrid>
    </select_arrid_collection>
    2) I am modifying to get the collection objects based on element same arr_id(If it is arr1,I have to get the all the elements related arr1 into one of the collection Object that is select_arrid_collection.Likewise for any arr_id ,it has to group them into a select_arrid_collection element) like below:
    Modified schema:
    <root xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/Select_Arrid">
    <select_arrid_collection>
    <select_arrid>
    <arr_id>arr1</arr_id>
    </select_arrid>
    <select_arrid>
    <arr_id>arr1</arr_id>
    </select_arrid>
    </select_arrid_collection>
    <select_arrid_collection>
    <select_arrid>
    <arr_id>arr2</arr_id>
    </select_arrid>
    <select_arrid>
    <arr_id>arr2</arr_id>
    </select_arrid>
    </select_arrid_collection>
    </root>
    Note: root element is added in the schema that is why this modified xml has different namespace
    I am using below xsl file to get the above schema to get the solution for first requirement:
    <xsl:stylesheet version="2.0" xmlns:ns1="http://www.example.org" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
    <ns1:root>
    <xsl:for-each-group select="*/ns1:Select_Arrid" group-by="ns1:Arr_id">
    <xsl:sort select="current-grouping-key()">
    <ns1:select_arrid_collection>
    <xsl:copy-of select="current-group()">
    <xsl:apply-templates/>
    </xsl:copy-of>
    </ns1:select_arrid_collection>
    </xsl:sort>
    </xsl:for-each-group>
    </ns1:root>
    </xsl:template>
    </xsl:stylesheet>
    2) Second requirement:
    After getting the multiple collection elements(select_arrid_collection),I want to loop through each select_arrid_collection element and map the elements in that to another service schema.
    I have created the xsd like above required modified schema and assign it to a variable(element type) which takes same modified schema so that I can have a variable on which I want to apply while activity.
    But I want to have the idea how to loop through the multiple collection elements(select_arrid_collection) and map the elements of each select_arrid_collection to a input variable of a service.
    My problem is I have to get each select_arrid_collection element in the schema where root element is 'root'.I am not able to trace how to get the no of select_arrid_collection elements so that I can loop through in the transofrm activity.
    Can anybody help me put in this?
    Edited by: 899283 on Jan 9, 2013 1:48 AM
    Edited by: 899283 on Jan 9, 2013 1:52 AM
    Edited by: 899283 on Jan 9, 2013 1:53 AM
    Edited by: 899283 on Jan 9, 2013 2:02 AM

    Can you please let us know if there are some helpful/correct answers in your previous questions and follow the forum etiquette? https://forums.oracle.com/forums/ann.jspa?annID=893
    Where Can I create Staging table in SOA server?
    regarding sending response at a time to a WSDL in BPEL
    Do we need nodemanager for SOA server installation?
    I want to set the time for polling of  DB Adapter

  • Only the safari element of the ipad has locked up, how do i restart

    I purchased my IPad 2 early August 2011 and it has developed a problem. All elements of the iPad are OK other than the SAFARI bit which has "locked up". How do I re-start?, any ideas anyone?

    Try clearing Safari's cache : Settings > Safari > Clear Cookies And Data (and Clear History)
    If that doesn't work then try closing Safari completely and then re-open it : from the home screen (i.e. not with Safari 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Safari app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    A third option is a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Binding the UI element to the table in Adobe form

    HI all,
            I am working in Adobe Form.The form contains attributes like name,address,country,etc..
           In the same form i`ve created a table with all these attribute as a coloumn header.
          when the user click the submit button the data which i enetered in the attributes like name,address,country,etc should be populated in the corresponding  coloumns in the table with out hitting the data base..help me plz..thanx in advance...

    you can just put some code behind those fields (or behind a button) to copy the .rawvalue from one field to the other.

Maybe you are looking for

  • How to open page in same tab in which I have open previous one?

    When I open page with command "firefox.exe http://www.mozilla.com/" and then "firefox.exe http://www.google.com/" pages will open in different tabs. Is it possible to open webpage (or html file) outside browser (from command line or shortcut), and th

  • How can web developers access /www and below w/o root access in Solaris 9

    Our web servers are currently running on Solaris 9 and Apache 2.2.22. Our web developers do all their work in /www and below, which is owned by root. Is there anyway to give our web developers full access to /www and everything below it without givin

  • Why is my fan always running at 5500 rpm?

    My MacBook Pro is about 6 months old and suddenly over the last 2-3 days the fans are always running around 5500 rpm. The CPU heat is around 190 Farenheit with the fans running like this.  It's sitting on my desk with nothing but the desk underneath.

  • Macbook pro 2011 repair extension

    I have an early 15 inch macbook pro 2011 which has the same exact issue that the repair extension covers yet my serial number is not on the list.  Did Apple miss something?

  • When traveling aboard, what's the best way to go about voice data services

    I will be traveling for 5 weeks in Turkey and I will like to be able to use my iPhone to make emergency calls and maybe be able to get 3G coverage for navigation and information purposes. I understand that service fees for this kind of situations can