Not able to read the value selected in DDBK.

int key = Integer.parseInt(wdContext.node<Nodename>().getCurrentElement().getAttributeAsText("<attribute>"));
IWDAttributeInfo attributeInfo = wdContext.node<Nodename>().getNodeInfo().getAttribute("<attribute>");
ISimpleValueSet values = attributeInfo.getSimpleType().getSVServices().getValues();
String text = values.getText(key-1);
Solved.
Edited by: Tony on Mar 12, 2009 9:39 PM

We were using JDK1.6.0_29 and it was not supporting ODI 11.1.1.5, so we have uninstalled the JDK1.6.0_29 and reinstall the JDK1.6.0_11.This solves our issue.
Thanks a lot!!

Similar Messages

  • I am not able to read the xslt table column value.

    Hi,
    I have the scenario like this.
    I have two irpt pages  first.irpt and  second.irpt and saperate xslt tables for each page  and common js file for two pages.
    when I click on first.irpt   page xslt table row that opens  the  second.irpt as a popup window then I click on the column in second.irpt xslt row  after that  column value should be inserted  in to first.irpt  xslt table column.
    In above I have done everything except I am not able to update the first.irpt  xslt table column as Even I am not able to read that value.
    For your reference:
    /* This function will be called when we select the row in first.irpt xslt table here SelectBatch_b.irpt means second.irpt
    function getBatch(row)
    var id=row;
    var material=document.getElementById('Material_'+row).value;
    var location=document.getElementById('StoreLoc_'+row).value;
    var plant=1000;
    var strUrl = "SelectBatch_b.irpt";
    strUrl = "?plant="plant"&""location="location"&""material="material;
         window.open (strUrl,"mywindow");
    /*This function will be called when we select the row in second.irpt (SelectBatch_b.irpt)
    function getBatchID(row)
    var Batch=document.getElementById('Batch_'+row).value;  // reading second.irpt xslt table column value
    document.getElementById('Batchc1').value=Batch;  // reading first.irpt xslt table column value and inserting.
    window.close();  // here I am getting error like object expected.
    Please help me in this .
    Edited by: rajkumar12345 on Feb 29, 2012 1:45 PM

    Hi Rajkumar,
    Please find below the method to pass the variable back and forth in .irpt page.
    First Page:
    var Toaccessinchildpage = "value";
    function getBatch(row)
    var id=row;
    var material=document.getElementById('Material_'+row).value;
    var location=document.getElementById('StoreLoc_'+row).value;
    var plant=1000;
    var strUrl = "SelectBatch_b.irpt";
    strUrl += "?plant="plant"&"+"location="location"&"+"material="+material;
    window.open (strUrl,"mywindow");
    function populate(strBatch)
         document.getElementById('Batchc1').value=strBatch;
    Second Page:
    function getBatchID(row)
    var Batch=document.getElementById('Batch_'+row).value;
    window.opener.populate(Batch);
    window.close();
    You have to call parent page function from child page.
    No need to use common js.
    If you want to access variable from parent page use
    window.opener.<variable name>.
    Example
    window.opener.Toaccessinchildpage
    You have to declare that variable as global variable in Parent page js file.
    Refer First page code.
    Regards,
    Selva

  • Not able to edit the value options in LKM

    Hi
    I have recently upgraded to ODI 11g .
    In that we are not able to edit the value options in LKM.
    (i.e.. editor window is not appearing, not able to edit the text.
    Please let me know the solution .
    Thanks

    We were using JDK1.6.0_29 and it was not supporting ODI 11.1.1.5, so we have uninstalled the JDK1.6.0_29 and reinstall the JDK1.6.0_11.This solves our issue.
    Thanks a lot!!

  • Not able to read the wsdl file from server Premature EOF encounter

    Hi All,
    I am facing issue while accessing a web Service from server. Here is the clear view about it.
    I created a simple SyncBpel process in a composite and deployed in to the server and it is working fine. Later i created a new Asyn bpel process in a composite and in the external reference i dragged a web Service and imported the wsdl url from server of the SyncBpel and wired the Asynbpel process to webserive .
    Now here i am facing peculiar behavior which i am not able to trace it out.
    1) For the first time when i import the url of syncBpel from the server i am not facing any error and it is working fine as expected but when i close the Jdeveloper and open it i am not able to user the web Service and it is saying as "Not able to read the wsdl file from server Premature EOF encounter"
    2)When i close and open the Jdeveloper i can see the url of the wsdl which imported in webserver is changing from http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL to http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/BPELsync.wsdl
    3)when I open and see the url http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL I can see the soap address as *<soap:address location="http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel!1.0*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c/bpelsync_client_ep"/>*
    I don’t understand why the soap end contains “*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c” and this kind of url for soap address is coming to all the bpel process which I am deploying in the server.
    I checked the in Jdeveloper where webproxy is uncheck and the server is also up but still I am facing issue of reading the error.
    Can someone please help in resolving the issue.
    I am using SOA 11g 11.1.1.5 and Jdeveloper 11.1.1.5
    Many thanks.
    Tarak
    Edited by: user11896572 on Jan 17, 2012 5:22 PM

    Hi,
    Setting default from the jdeveloper -
    During composite deployment from Jdeveloper (wizard driven), you will be given an option to choose the version of the composite and there will also be an option for you to choose if the composite needs to be deployed as default.
    Setting default from the em console -
    After deploying a composite, login to the em console and click on the composite that you want to set as default, and you will find a tab - "Set as Default". please note that this tab will not be seen, if the composite is already set as default.
    Refer -
    http://docs.oracle.com/cd/E12839_01/integration.1111/e10226/soacompapp_mang.htm
    8.2 Managing the State of Deployed SOA Composite Applications
    Thanks

  • Not able to read attribute value

    Hello Experts.
    I have child WD component say u201CBu201D,  in this created node (Name : B) with one attribute (Name : Test) and selected as interface node.In this component I am setting the value for attribute (Name : Test).
    I have added above WD component u201CBu201D  in the parent WD Component u201CAu201D as Used Webdynpro Component. So I got node (Name : B)  in the component parent  Component u201CAu201D.
    When I am trying to read attribute (Name : Test) it is coming empty in Parent Component u201CAu201D.
    I have verified all the binding and basic things  everything looks fine but I am getting empty value in Parent Component u201CAu201D.
    Thanks in Advance.
    BR
    - CW

    I  want to access Attribute 'TEST 'of the Component B in Component A. Normally it should come if node is exposed as interface BUT It is not coming.
    Carlin,  you will get the TEST attributes value in Component 'A' only if the value for 'TEST' attribute is set in Component 'B'.
    in Component A, if you try to read the value of TEST attribute before its value been set in Component 'B' then you will get empty value only.
    in some way you need to tell the component 'B' to set the value for 'TEST' Attribute before accessing it in Component A.
    one way is to expose the SET_ATTRIBUTE method and calling the same from Component A
    another way is to embed the B's interface view into A's view and then explicitly clicking on the buttons in B's interface view.
    Unless the value is not set by Component B, if you it access in Component A, you will get initial value only.
    Hope its clear.
    BR,
    Saravanan

  • Not able to get the value from type defined in other progarm

    Hi All,
    I have a create a type in one package spec(Globally), now i am using the same type in another package.Simply i am calling the first package and try to store the value in Type and use the same type in second package.
    But i am not able get the value
    Type declaration
    Declared in package Spec
    TYPE t_aa_derive_tbl_type IS TABLE OF xxxx%ROWTYPE;
       t_aa_derive t_aa_derive_tbl_type;
    Package 1
    Package1. PROCEDURE name(
    some parameters);
    is
    Cursor
    c1 is Select * from dual;
    begin
          OPEN c_aa_derive;
            FETCH c_aa_derive
            BULK COLLECT INTO t_aa_derive;
            CLOSE c_aa_derive;
         END get_aa_derive;
    In My second package
    I am calling
    Package1. PROCEDURE name(
    some parameters);
    and then i am trying to
    for i in 1 .. package1.t_aa_derive.COUNT
      LOOP
    end loop;
    I am not able entered the loop for some reason.
    Could some one guide me if anything i missed.
    Cheers,
    San

    I have a create a type in one package spec(Globally), now i am using the same type in another package.Simply i am calling the first package and try to store the value in Type and use the same type in second package.
    Why?
    1. Why aren't you just using SQL to do the work?
    2. Why don't you just open a CURSOR and pass that instead?
    BULK COLLECT INTO t_aa_derive; 
    3. Why aren't you using a LIMIT clause? Are you sure that only a very small number of rows will be queried?
    4. Why aren't you using a PIPELINED function instead of passing a collection?
    Using collections with potentially unlimited numbers of rows is not scalable. Also, using collections can be more difficult for 'data consumers' to work with than if you just use a CURSOR or PIPELINED function.
    Make sure you are using the proper architecture so that your code is both modular, scalable and easy to use.

  • Not able to get the value in ADF taskflow on load

    Hi,
    I have created an ADF task flow. I have created a ViewObject in this ADF taskflow and I am setting the value of this ViewObject using the java API.
    The issue is that i need to show the data when this ADF task flow executes first time.
    Currently I am getting the blank table in jspx page when ADF task flow is run. Now when I click on a button then I can see the required data in the table.
    Please help me to solve this issue.

    Thanks for the reply.
    I have tried placing the code to get the set the data in table and display the same from table in bean constructor, but I am getting table value as null.
    Looks like it is not able initialize the table until the jsff page gets loaded.
    Does jsff page gets loaded after bean constructor method gets called ?

  • Not able to view the values on the report viewed using Query Report Viewer

    Hi all,
    There seems to be some unknown problem with the Report Template I have prepared and uploaded on PIA XML Publisher. When I run it with some ID set, it doesn't seem to show the values from the Data I give. For example if I have a field called ChartField in my report Template, It doesn't seem to get populated when I do SetID.
    Why is it so?

    Hi all,
      select bdmng from resb into corresponding fields of table it_stpo2
                for all entries in it_stpo
                 where matnr = it_stpo-idnrk
                 and xloek ne 'X'.
      loop at it_stpo2.
        move-corresponding it_stpo2 to it_stpo.
        append it_stpo.
      endloop.
    In the above code, m able to fetch the records in the table it_stpo2. but the data is not gettin populated in the final internal table it_stpo. Both the internal tables it_stpo & it_stpo2 are same.
    The data is gettin moved from it_stpo2 to it_stpo but only upto the header level. its not gettin appended in the table it_stpo even after using append stmt.
    Plz help me to resolve this issue. its urgent.
    Rgds,
    Purva

  • Not able to display the values on the alv report.

    Hi all,
      loop at it_stpo.
        indx = sy-tabix.
        select single bdmng from resb into it_resb-bdmng
                        where matnr = it_stpo-idnrk
                        and xloek ne 'X'.
    it_stpo-bdmng = it_resb-bdmng.
    modify it_stpo index indx.
      endloop.
    in the above code, m fetchin the values of bdmng and populating it in the it_stpo.
    the values get populated in the internal table.
    But the problem is only the first value of all the entries gets populated.
    For ex:
    it_stpo-idnrk = C0201AA0800N ** under this components der r three entries***
    i want to display all three values of these entries.
    1.A0201AD6750N                          990
    2.A0201AJ0960N                           1,578
    3.A0201AJ1140N                           2,996
    but the value 990 gets repeated thrice for the above three entries. n the value 1598 n 2996 is not gettin displayed.
    lll, for all other entries. only the first entry value gets displayed for their respective components.
    suggest modification in my code so dat i cn display all the values.
    thanks in advance.
    regards,
    purva.

    Hi all,
      select bdmng from resb into corresponding fields of table it_stpo2
                for all entries in it_stpo
                 where matnr = it_stpo-idnrk
                 and xloek ne 'X'.
      loop at it_stpo2.
        move-corresponding it_stpo2 to it_stpo.
        append it_stpo.
      endloop.
    In the above code, m able to fetch the records in the table it_stpo2. but the data is not gettin populated in the final internal table it_stpo. Both the internal tables it_stpo & it_stpo2 are same.
    The data is gettin moved from it_stpo2 to it_stpo but only upto the header level. its not gettin appended in the table it_stpo even after using append stmt.
    Plz help me to resolve this issue. its urgent.
    Rgds,
    Purva

  • Not able to get the values from screen field?

    hello
    i am using MIRO and there is a screen name withholding tax and from there i want to retreive the withholding tax code before saving so that i can do some validations on it but how can i retrieve the values.
    when i press f1 there it shows structure not the table and structure contains no value so please help me in this so that i can retreive that value during run time
    thank you

    Hi Vikas,
    you can use this badi MRM_WT_SPLIT_UPDATE, the method will be WHTAX_SPLIT_UPDATE
    in this badi please see the importing and exporting parameters, you will get the  values of withholding tax code  as TE_RBWS in export parameters.
    Please search in google or SCN you will get how to use it.

  • Not able to get the value of ODI Variable when i pass thru Option

    Hi,
    I have ODI variable called prev_etl_run_date which will hold the last successful etl run date. I want to use the value of this variable in one of my KM step.
    But i don’t want to use directly in my KM. So I passed the variable name thru KM Option.
    I intend to use the variable’s value in the KM step, as shown below:
    <%=odiRef.getOption("MY_OPTION_1")%>
    Here I am expecting the value of the variable, but here I am only getting the variable name only.
    Is there any substitution method available in ODI KM , please help me to solve this issue.
    Thanks
    nidhi

    ODI options are not intended for run time parameters. They are like design choices or debugging flags or parameters that can be specified in code template. Previous ETL run time stamp is hardly a design choice.
    On the other hand, it is really a bad practice to put a variable inside KM directly. That creates a dependency that you can easily avoid by putting a filter using that variable in the interface.

  • Not able to set the value in marketing context node for BP_HEAD

    Hi,
    I am trying to set the value in marketing node of BP_HEAD from bp_addr component. i am calling the set_property method but it is not changing the value, when i debugg the code, it actually changing the value in bol structure but it is not calling the get/set method of bp head.
    i am working on BP corporate person  creation i.e. in bp_head component and account details view. I added the marketing attributes in UI configuration and also the address attributes.
    this is what i coded in get method of country in standardaddress context node of BP_ADDR
    lv_entity ?= current.
        IF lv_entity IS BOUND.
          lv_parent = lv_entity->get_parent( ).
          IF lv_parent IS BOUND.
            lv_entity_mkt = lv_parent->get_related_entity( iv_relation_name = 'BuilMarketingRel' ).
            IF lv_entity_mkt IS BOUND.
              CALL METHOD lv_entity_mkt->set_property
                EXPORTING
                  iv_attr_name = 'ATTRIBUTE'
                  iv_value     = attribute1.
    Can anyone please guide me on how to set the value cross component and can we call the get/set method of that attribute which is not in same component?
    Regards,
    Kamesh Bathla

    Sorry, what I said was rubbish, because the LSMW and the session run in different external sessions.
    I have searched forum for these terms: "company BUK parameter BDC background"
    These threads Is it possible to set default company code in SM35? and Release BDC in SM35 in background, How to set defaul company code? seem promising, but I'm not sure they really solve.
    In case these threads don't help you, I think you can create your own Z transaction which sets the BUK parameter id and then does a LEAVE TO TRANSACTION 'ABAON'. Then create again the recording on the Z transaction.
    If you are using ECC6, then you may also enhance the standard to reset BUK parameter id at the very beginning of ABAON, in case it's run in batch input (sy-binpt = 'X'). Be careful as sometimes SAP does batch input on some transactions, so that could make the standard fail.
    Last thing, you can contact SAP support, though it might probably be considered as consulting.

  • FAGL_FC_VAL in ECC 6.0 M not able to get the dynamic selection options

    Hi
    While executing the transaction FAGL_FC_VAL in ecc 6 we are not getting the dynamic selection option same as ecc 5 we need business area as selection option.
    Please provide solution.. if any note to be applied we will do that. we have recently migrated to ECC 6.0
    Regards,
    Abhijeet

    Sorry. This typo was only in this forum message. Within the BPEL process it's :
    <from expression="ora:countNodes('inputVariable','payload','/ns1:Transmission/ns1:TransmissionBody/ns1:GLogXMLElement/ns1:Release') "/>
    Still 0 count.

  • Not able to get the value in the next page

    Hi,
    I am newbee for JSF and this question may sound silly. I tried to search through this
    forum, google....but did not find a solution....I hope some one here could please help
    me :-(
    I have Page1 and Page2. Page1 has a h:inputText field and a submit button.
    On click of the "Submit" button in Page1, I have to pass this text value entered by
    the user to Page2. In Page2, I have <h:inputText readonly="true" /> field,
    which will display the value that the user entered in Page1. Also, Page2 has a "Submit"
    button. On click of Page2.Submit button, the value displayed in the Page2.textfield
    is not getting populated to the Page2 bean attribute.
    Here are the code that I am using
    1. Page1:
    <f:view>
    <h:form id="Page1">
         <h:inputText id="primaryKey" required="true" value="#{Page1.primaryKey}" />
         <h:commandButton id="command" value="Submit" action="Page1"/>
    </h:form>
    </f:view>
    2. Page2:
    <f:view>
    <h:form id="Page2">
         // Yes, Value attribute points to Page1.primaryKey to display user entered value in this page.
         <h:inputText id="test" value="#{Page1.primaryKey}" readonly="true" />
         <h:commandButton id="command" value="Submit" action="#{Page2.save()}"/>
    </h:form>
    </f:view>
    3. faces-config.xml
    <navigation-rule>
    <from-view-id>/Page1.jsp</from-view-id>
    <navigation-case>
    <from-outcome>Page1</from-outcome>
    <to-view-id>/Page2.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <managed-bean>
    <managed-bean-name>Page1</managed-bean-name>
    <managed-bean-class>com.Page1Bean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <navigation-rule>
    <from-view-id>/Page2.jsp</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/success.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <managed-bean>
    <managed-bean-name>Page2</managed-bean-name>
    <managed-bean-class>com.Page2Bean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    4. com.Page1Bean.java
    public class Page1Bean {
         private String primaryKey;
         //getter and setter method below
    5. com.Page2Bean.java
    public class Page2Bean {
         private String test;
         //getter and setter method below
         public String save() {
    Now let me explain my issue, I enter a value in Page1 -> click on submit -> I see this value in the text field of
    Page2. But when I click on submit button of Page2, test attribute is still null. Could you please suggest me what
    am I suppose to do inorder to get this value in Page2Bean when I click on save button?
    Hope to listen from one of you,
    Thank you,
    VinodRamu

    Go here
    http://jsffaq.com/
    Many of your questions will be answered

  • Not able to see the values properly

    Hi,,
    I am using Jdev 11.1.1.5.
    I see the value of “val.toString()” is correct and the Sql of the view is fine. Then what can be the reasons that no values come out in the popup?
    Why do I get “No data to display” within the popup once I clicked the link?
    Could any other people help pls?
    Edited by: Hua Min on Apr 4, 2012 5:02 PM

    Hua, you must be kidding...
    Do you expect us to read and somehow digest your other 30+ post long thread?
    You don't even bother to give the minimal needed information (which you should know by now!).
    Timo
    Edited by: Timo Hahn on 04.04.2012 09:18
    OK we are half there. You edited your original post. so let me do the same.
    I don't see a jdev version...
    No use case?
    What do you try to do?
    What does ExecuteWithParam execute?

Maybe you are looking for

  • I am trying to restore a backup on my iphone

    but cannot because it asks me to turn off find my phone - which is greyed out.

  • How can I make by portfolios in Adobe Pro xi able to opened by previous versions?

    I recently upgraded to Adobe Pro XI.  I use this program to make portfolios for municipal meetings and post to our website. I need to make the portfolio able to be read by various version.  I have tried the "save as other" but it still will not open

  • Error opening Oracle SQL Developer 1.2.1

    In my IDE, I saw extensions pane with title "Entensions - Log" which has the following contents: oracle.ide.db Warning: Classpath entry \DISTAPPS$\ORACLE\v10\Oracle10g\jdbc\lib\ojdbc14.jar not found Warning: Classpath entry \DISTAPPS$\ORACLE\v10\Orac

  • Best option for Webcam for quality video

    I'm looking to put together a few short movies for my family. It's a bucket list thing so I've got a Mac mini & I'm trying to work out the best webcam to buy. I was about to buy the C920 but then realised the limited capability. I also have all the a

  • Could ftp, now can't

    For some time I've used Fetch, Cyberduck and Transmit. I have two non-.mac account that I have been able to ftp to without problems. Recently if I try to ftp to my Charter account Cyberduck will time out, Fetch and Transmit just indicate that they ar