Retrieve Hierarchy Leaf Node using API.

Hello All,
  Is there a way to search in the Hierarchy Lookup table only on it leaf node.
Example.
I have a Hierarchy structure
Americas
   I
   ___ North America
                    I
                    _____ United States and Virgin Island
                                                      I
                                                      ______ United States,US,USA.
For the above structure if i search by "United States" and put in CONTAINS as a constrain then, i need to retrieve only "United Stated,US,USA". Is there a Java API, to do this search.
Thanks,
Priya.

Hi Priya,
yes there is API Command available for retrieving the Hierarchy elements.
All you need is the Record ID of the selected innermost leaf noe that you can get by performing a search.
Once you get his record ID for the innermost leaf node, you need to use the RetrieveHierAncestors Command to get the Values for the parent of the leaf node.
Documentation is avaible at: [http://help.sap.com/javadocs/MDM/SP06/com/sap/mdm/data/commands/RetrieveHierAncestorsCommand.html]
Hope his helps!!
Cheers,
Arafat

Similar Messages

  • Hierarchy Leaf node does not display in F4 functionality

    Hello,
    Scenario:
    - profit center based hierarchy
    - user has access to only leaf nodes in that hierarchy.
    - authorisation works perfectly and displays only the correct values
    Problem:
    When we run the query in the portal and use the F4 functionality to select the profit center value nothing is displayed.
    This is ok for the particular case where one profit center needs to be accessed by the user since it is automatically filled out, but if that user has access to more than one profit centers this is a problem.
    System:
    BI7 BCS
    Support Package Stack 10 ABAP+Java
    SAP_BW is on SP11
    Please note that the profit center field is also not greyed out.  We raised an oss about this and SAP responded with "this is working as intended".  Thus the use is able to type the values into the profit center hierarchy box.

    Check whether you are filtering any level of the hierarchy when running this query? or you are using a hierarchy variable and defaulting it to certain level which doesnot show what you are looking at.
    Hope this helps you.

  • Error deleting Hierarchy leaf nodes

    Hi SDNers,
    I have hierarchy table whose values I want to delete.
    If I check in the Main table, none of the records are assigned the hierarchy values. But if I try to delete it, i am getting the error "one or more values are set to records in another table" !!
    If I select all the records in the main table, and try to modify the heirarchy field value.. the error is "Records cannot be modified because their data is out of date"
    I have tried unloading n loading again with update indices.. but same error!!
    Note: In the hierarchy table one of the leaf node i want to delete is greyed out!!
    Thanks,
    Priti

    Hi Priti,
    If I check in the Main table, none of the records are assigned the hierarchy values. But if I try to delete it, i am getting the error "one or more values are set to records in another table" !!
    I faced the similar kind of error, on carefully evaluating the repository  in our case i found that this hierarchy values are assigned to a field in Qualified table. So i would suggest you to please check all the other sub-tables (flat tables, Qualified tables etc) where may be a field in any of this sub-table is look-up to this hierarchy table.
    Regards,
    Mandeep Saini

  • Error retrieving child form data using API in 11g

    Hi,
    I am getting the following error while reading the process form child data from the process task.
    <Jul 25, 2012 11:14:43 PM IST> <Error> <XELLERATE.APIS> <BEA-000000> <tcFormInstanceOperationsBean/isProcessFormChildDataDataUnique: no PRF isKey set up for sdk:45>
    <Jul 25, 2012 11:14:43 PM IST> <Error> <XELLERATE.APIS> <BEA-000000> <tcFormInstanceOperationsBean/isProcessFormChildDataDataUnique: no PRF isKey set up for sdk:45>
    However, the same piece of code works fine from the eclipse. Let me know how to resolve this.
    Thanks in Advance.
    -Hrushi

    I am getting this error if I use Platform class
    java.lang.NoSuchMethodException: com.univar.processtask.updateProcessFormData.<init>()
    at java.lang.Class.getConstructor0(Class.java:2706)
    at java.lang.Class.getConstructor(Class.java:1657)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpUPDATEPROCESSFORM.UPDATEPFOM(adpUPDATEPROCESSFORM.java:105)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpUPDATEPROCESSFORM.implementation(adpUPDATEPROCESSFORM.java:56)
    at com.thortech.xl.client.events.tcBaseEvent.run(tcBaseEvent.java:196)
    at com.thortech.xl.dataobj.tcDataObj.runEvent(tcDataObj.java:2492)
    at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(tcScheduleItem.java:2938)
    at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(tcScheduleItem.java:560)
    at com.thortech.xl.dataobj.tcDataObj.insert(tcDataObj.java:604)
    at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:474)
    at com.thortech.xl.dataobj.tcORC.insertNonConditionalMilestones(tcORC.java:849)
    at com.thortech.xl.dataobj.tcORC.completeSystemValidationMilestone(tcORC.java:1165)
    at com.thortech.xl.dataobj.tcOrderItemInfo.completeCarrierBaseMilestone(tcOrderItemInfo.java:500)
    at com.thortech.xl.dataobj.tcOrderItemInfo.eventPostInsert(tcOrderItemInfo.java:152)
    at com.thortech.xl.dataobj.tcUDProcess.eventPostInsert(tcUDProcess.java:194)
    at com.thortech.xl.dataobj.tcDataObj.insert(tcDataObj.java:604)
    at com.thortech.xl.dataobj.tcDataObj.save(tcDataObj.java:474)
    at com.thortech.xl.dataobj.tcTableDataObj.save(tcTableDataObj.java:2905)
    at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.setProcessFormData(tcFormInstanceOperationsBean.java:682)
    at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.setProcessFormData(tcFormInstanceOperationsBean.java:398)
    at Thor.API.Operations.tcFormInstanceOperationsIntfEJB.setProcessFormDatax(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy384.setProcessFormDatax(Unknown Source)
    at Thor.API.Operations.tcFormInstanceOperationsIntfEJB_h6wb8n_tcFormInstanceOperationsIntfRemoteImpl.setProcessFormDatax(tcFormInstanceOperationsIntfEJB_h6wb8n_tcFormInstanceOperationsIntfRemoteImpl.java:992)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:84)
    at $Proxy179.setProcessFormDatax(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
    at $Proxy382.setProcessFormDatax(Unknown Source)
    at Thor.API.Operations.tcFormInstanceOperationsIntfDelegate.setProcessFormData(Unknown Source)
    at com.thortech.xl.webclient.actions.DirectProvisionUserAction.handleVerifyProcessData(DirectProvisionUserAction.java:2072)

  • How to get the leaf node in a hierachy????

    if i get a record that a parent node in a hierachy table ,so how can i get the leaf node of this parent node quicklly?????thank you!

    Hi xuhuanjun ,
    Refer to the below threads which disucss the same.
    Re: how to ensure a hierarchy tree's node is a internal leaf???????
    Re: Retrieve Hierarchy Leaf Node using API.
    Hope it helps.
    Thanks,
    Minaz

  • Avoid essbase login pop up when using API

    HI,
    I have written a vb macro to retrieve data from essbase using APIs. I have used EssVConnect. Eventhough i give the server,username and password to a variable and execute the procedure, the essbase login screen appears. I want to avoid this as this code would be used for automation. Please help me in doing so. The retrieval code which is part of the automation code is here below. Here the sheet name, application name and the database name is read from another worksheet and assigned to the variables sheetName , AppName and DBName. The Cache here is the application name and database name which are assigned is to the variables AppName and DBName is highlighted in the essbase login popup. And if i modify the variable Server1 to server the procedure stops running. it says login failed due to insufficient credentials. But i use admin user.
    Declare Function EssVConnect Lib "ESSEXCLN.XLL" (ByVal sheetName As _
    Variant, ByVal UserName As Variant, ByVal Password As Variant, ByVal Server _
    As Variant, ByVal application As Variant, ByVal database As Variant) As _
    Long
    Declare Function EssVRetrieve Lib "ESSEXCLN.XLL" (ByVal sheetName As _
    Variant, ByVal range As Variant, ByVal lockFlag As Variant) As Long
    Declare Function EssVDisconnect Lib "ESSEXCLN.XLL" (ByVal sheetName As _
    Variant) As Long
    Sub RetrieveData()
    Server1 = "localhost"
    UserName = "admin"
    Password = "password"
    Set Ssheet = Sheets(sheetName)
    Ssheet.Activate
    AppName = CStr(applicationname)
    DbName = CStr(DatabaseName)
    TimeStart = Timer
    sts = EssVConnect(sheetName, UserName, Password, Server, AppName, DbName)
    If sts = 0 Then
    x = EssVRetrieve(sheetName, Null, 1)
    If x = 0 Then
    Y = EssVDisconnect(sheetName)
    If Y <> 0 Then
    GoTo ErrHan
    End If
    Else
    GoTo ErrHan
    End If
    Else
    MsgBox ("Connection failed for the worksheet - " & sheetName)
    GoTo ErrHan
    End If
    TimeEnd = Timer
    TimeTester = TimeEnd - TimeStart
    ErrHan:
    On Error Resume Next
    End Sub
    Edited by: ragavhere on Nov 13, 2009 7:03 PM

    Hi,
    Thanks for your responses. Server variable problem is secondary. I have a excel worksheet in this format
    ApplicationName     DatabaseName     SheetName
    RetilPOC     Plan1     Sheet2
    RetilPOC     Plan2     Sheet3
    RetilPOC     Plan3     Sheet4
    The application name,database name and sheet name are read by a procedure from this worksheet row by row and passed as a parameter to the procedure "RetrieveData".My primary objective is to login to the essbase application and database which are passed as parameters from the procedure which invokes the procedure "RetrieveData" without the essbase login screen coming up. How can i do it automatically?The user shouldn't keep typing the username and password. The procedure should read the login credentials from the variables and login automatically. How do i need to modify my code to achieve this?

  • Retrieving hierarchy fields from MDM to SAP R/3 using MDM ABAP API's

    Hi all,
    I have developed a code to retrieve fields from MDM to SAP R/3 using MDM ABAP API's, i could retrieve   all of the fields excluding the Lookup[Hierarchy] fields like-  FACILITY CODE  etc...
    please update me if anyone has any experience on this.
    Thanks and regards,
    Aastha Mehrotra

    Hi ,
    Any one worked in the MDM API to retrieve Hierarchy fields ???
    Regards,
    Arun.

  • Hierarchy VIewer - Card only on Leaf nodes

    I am using version 11.1.2.3.0.
    Is there a way to show a Card only on the leaf nodes of the Hierarchy VIewer?
    I have information that only applies to the nodes on the very bottom of the tree.
    Thanks in advance.

    This should be possible.
    I've not tested this but you can use the rendered property of the panelCard component and set it to an EL which evaluates to false is the node has children (node.hasChildren? or some other data which lets you know if you want to show the card).
    If this does not work you leaf the rendered property as is and use the visible or rendered property of the component which holds the information you only want to show in leaf nodes.
    Timo

  • Copy Top node of a hierarchy to the leaf node of another - within dimension

    Hi,
    Scenario is, user uploads monthly data in the respective leaf nodes of Monthly Input hierarchy. But at a later stage user might want to adjust figures directly on the Annual level.
    For that matter I've got 2 hierarchies in Time Dimension, which look like as below:
    Monthly Input
    2007.TOTAL
    2007.Q4
    2007.Dec
    2007.Nov
    2007.Oct
    2007.Sep
    2006.TOTAL
    Annual Input
    xxxx.ANL
    2009.ANL
    2008.ANL
    2007.ANL
    I could think of two solutions:
    1- To upload monthly data directly into .ANL leaf nodes and add signed data values w.r.t. key dimensions and YEAR. Problem is Append functionality isn't available if you loading/importing data from flat file. Can guide me if, somehow, it is workable or not? 
    2- To copy the .TOTAL nodes to the respective member of  .ANL nodes (e.g. 2007.TOTAL to 2007.ANL). I'm not sure if it is possible or not?
    Many thanks in advance for more suggestions and earliest reply.
    Regards,
    Shabbar
    Edited by: Ali Shabbar on Jun 30, 2009 1:00 PM

    Hi Shabbar,
    If I was faced with the requirement to provide a means for allowing both monthly inputs and annual adjustments, I would use one hierarchy, rather than trying to sync signdata values between two hierarchies.  With the structure I've shown below, users could report on unadjusted values with 2007.YEAR, annual adjustments with 2007.ADJ or both with 2007.TOTAL.
    2007.TOTAL
    |
    |--2007.ADJ
       |--2007.ANL
    |
    |--2007.YEAR
       |--Q4
           |--2007.DEC
           |--2007.NOV
           |--2007.OCT
    Best regards,
    [Jeffrey Holdeman|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/jeffrey+holdeman]
    SAP BusinessObjects
    Enterprise Performance Management
    Regional Implementation Group

  • Alternate hierarchy with only the Leaf nodes

    Hi,
    I have an account hierarchy with multiple levels in it. Now I want to make an alternative hierarchy with only the leaf nodes of that hierarchy with using the same nodes. Can anyone please explain the steps how to do it.

    Unless you have any special requirements it will be straight forward, get an export of all the leaf members in an action script format and execute the INSERT action on your alternate hierarchy, you can create your alternate hierarchy with only the TOP node and insert the leaf members under it, in case you have thousands of them, you can split them by introducing dummy parents, also if you wish to maintain any local properties, please have them updated accordingly.

  • Retrieve xml attribute value of nth xml node using xpath query

    I have an xml with following stucture...
    <xml>
    <header>
     <DocumentReference OrderId="order001">
     <DocumentReference OrderId="order002">
     <DocumentReference OrderId="order003">
    I have to loop through this xml and retrieve the orderId values inside Biztalk orchestration.
    In the expression shape, I get the count of 'DocumentReference' nodes using an xpath query and then
    Added a loopshape to make sure it loops thru all nodes
    Loop condition:   n<=nodeCount     (where n is an integer variable, n=0 to begin with, incremented by 1 thru each loop, nodeCount is # of DocumentReference nodes)
     I try retrieve to the orderId in the following expression shape using the below xpath query
      xpathQuery = System.String.Format("//*[local-name()='OrderReference'][{0}]/@orderID)",n);
      sOrderId = xpath(MsgSingleInvoice,xpathQuery);
    And I get the following exception:
    Inner exception: '//*[local-name()='OrderReference'][1]/@orderID)' has an invalid token.
    Exception type: XPathException
    Appreciate any help!   thanks!

    Thanks for the quick response. I got rid of it.
    And I see a different error:
    Inner exception: Specified cast is not valid. Exception type: InvalidCastException
    Source: Microsoft.XLANGs.Engine  
    Target Site: System.Object XPathLoad(Microsoft.XLANGs.Core.Part, System.String, System.Type)
    Since variable 'n' is of integer type, I suspected it and changed it to n.ToString() and tested again and still see the same error.

  • Need to display only leaf and not the node using tree table

    Hi,
    Am using Jdeveloper 11.1.2.0.0 . As per requirement , am having Department - Employee View wherein Department is the parent considered as node and Employee as a child which is considered as a leaf. Having dragged and dropped the DepartmentView as a tree table -> shuttle department id and department name to be displayed -> added EmployeeView to the same and shuttled employee id along with the first and last name. so this works as it has to be in the below structure...
    10 ADF
    256 A
    257 B
    258 C
    20 JAVA
    259 D
    260 E
    Code for the same ..
    <af:treeTable value="#{bindings.DepartmentsView.treeModel}" var="node"
    selectionListener="#{bindings.DepartmentsView.treeModel.makeCurrent}" rowSelection="single" id="tt1">
    <f:facet name="nodeStamp">
    <af:column id="c1">
    <af:outputText value="#{node}" id="ot1"/>
    </af:column>
    </f:facet>
    <f:facet name="pathStamp">
    <af:outputText value="#{node}" id="ot2"/>
    </f:facet>
    </af:treeTable>
    *Here comes my requirement , need to display only the leaf nodes which has employee name [Employees] and need to hide the node [Department] in the below structure....*
    256 A
    257 B
    258 C
    259 D
    260 E
    Things tried to achieve the requirement....
    1. Got only the EmployeeName in the nodeStamp facet as below. Hence am getting only Employee name but the issue is am getting the icon for the node [Parent - Department]. Now how do i hide the same.
    <af:treeTable value="#{bindings.DepartmentsView.treeModel}" var="node"
    selectionListener="#{bindings.DepartmentsView.treeModel.makeCurrent}" rowSelection="single" id="tt1">
    <f:facet name="nodeStamp">
    <af:column id="c1">
    <af:outputText *value="#{node.FirstName}"* id="ot1"/>
    </af:column>
    </f:facet>
    <f:facet name="pathStamp">
    <af:outputText value="#{node}" id="ot2"/>
    </f:facet>
    </af:treeTable>
    Please do suggest some solution....
    Thanks and Regards,
    Vinitha G

    Hi,
    Thanks for the reply. As the project has already implemented tree table they do not wanna change any logic written for the same. So they wanted to just display only the leaf node data using treetable component. Can you please suggest.
    Thanks and Regards,
    Vinitha G

  • Leaf node Hierarchy based on tree position

    Hi All,
    I need to find the Hierarchy of given leaf node. Can you please help me. Here are details
    create table t_rk_4 (child_id number, parent_id number, treenum varchar2(100));
    insert into t_rk_4 values (2,1,'1');
    insert into t_rk_4 values (3,1,'1');
    insert into t_rk_4 values (6,2,'1.2');
    insert into t_rk_4 values (7,6,'1.2.6');
    insert into t_rk_4 values (4,3,'1.3');
    insert into t_rk_4 values (5,4,'1.3.4');
    insert into t_rk_4 values (7,5,'1.3.4.5');
    insert into t_rk_4 values (8,7,'1.2.6.7');
    insert into t_rk_4 values (4,9,'1.9');
    insert into t_rk_4 values (9,1,'1');
    In the above date, child 8's parent is 7 only in case if tree context 1.2.6.7
    select child_id,parent_id connect_by_isleaf,level,lpad(' ',level*3)||a.child_id
    from t_rk_4 a
    start with child_id = 8 connect by child_id = prior parent_id ORDER SIBLINGS BY child_id;
    when I run the above query I am getting all tree contexts,
    Is there a way I can only get tree positins thru 1.2.6.7 ?
    In real table I have more than 1 million records..
    Any help would be helpful..
    Thanks
    ay.

    Hi,
    Welcome to the forum!
    Thanks for posting the CREATE TABLE and INSERT statements! It clarifies things a lot and makes it much easier to reply.
    Another very helpful thing is to post the results you want from the data you posted. In this case, I think you want:
    . CHILD_ID  PARENT_ID CONNECT_BY_ISLEAF      LEVEL INDENTED
             8          7                 0          1    8
             7          6                 0          2       7
             6          2                 0          3          6
             2          1                 1          4             2Is that right?
    Notice how multiple spaces are not compressed in the section above. That's because I typed &#123;code&#125; (all small letters, in curly brackets) before and after that section.
    To get those results, I just added one line to your CONNECT BY clause, saying that the parent's treenum has to be the first part of the child's treenum:
    SELECT     child_id
    ,     parent_id
    ,     CONNECT_BY_ISLEAF
    ,     LEVEL
    ,     LPAD (' ', LEVEL * 3) || a.child_id     AS indented
    FROM     t_rk_4     a
    START WITH     child_id = 8
    CONNECT BY     PRIOR parent_id     = child_id
    AND          PRIOR treenum     LIKE treenum || '.%'     -- *** NEW CONDITION ***
    ORDER SIBLINGS BY     child_id;What do you want to do if the node you're starting with has two (or more) parents?
    If we START WITH child_id = 7, the query above produces this output:
    . CHILD_ID  PARENT_ID CONNECT_BY_ISLEAF      LEVEL INDENTED
             7          5                 0          1    7
             5          4                 0          2       5
             4          3                 0          3          4
             3          1                 1          4             3
             7          6                 0          1    7
             6          2                 0          2       6
             2          1                 1          3          2That is, there are two rows in the table with child_id = 7, so the query shows two lines of ascent. The alternate route, going through the node with child_id = 9, is not shown. Is that what you want?

  • How to retrieve data from MDM using java API

    hi experts
    Please explain me the step by step procedure
    how to retrieve data from MDM using java API
    and please tell me what are the
    important classes and packages in MDM Java API
    thanks
    ramu

    Hi Ramchandra,
    You can refer to following links
    MDM Java API-pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2d18d355-0601-0010-fdbb-d8b143420f49
    webinr of java API
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/89243c32-0601-0010-559d-80d5b0884d67
    Following Fourm Threads will also help.
    Java API
    Java API
    Re: usage of  java API ,
    Matching Record
    Need Java API for Matching Record
    Thanks and Regards,
    Shruti.
    Edited by: Shruti Shah on Jul 16, 2008 12:35 PM

  • Trying to retrieve list of rooms using EWS Managed API but it returned empty collection

    Hi,
    I'm trying to retrieve list of rooms using EWS Managed API. Before I have tried the following code I make sure our Administrator put all the rooms in a list following  link https://technet.microsoft.com/en-us/library/ee633471%28v=exchg.141%29.aspx.
    Here is the simple code I have used :
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using Microsoft.Exchange.WebServices.Data;
    using System.Net;
    using System.Security;
    namespace ExchangeConsole1
    class Program
    static void Main(string[] args)
    ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013_SP1);
    service.Credentials = new NetworkCredential("username", "Password1", "domain");
    service.Url = new Uri("https://email.xxxx.com/ews/exchange.asmx");
    EmailMessage email = new EmailMessage(service);
    EmailAddressCollection listOfRoomList = service.GetRoomLists();
    // Display the individual rooms.
    foreach (EmailAddress address in listOfRoomList)
    Console.WriteLine("Email Address: {0}", address.Address);
    service.GetRoomLists() results "Enumeration yielded no results". Could anybody help me please ?
    Thanks
    Sandipan

    Enable tracing and see what the response from the server looks like. Also depending on your setup and how long ago your administrator created the list, it may take some
    time to replicate.
    Administrator has done it one week ago. Here is the trace response I am getting
    <Trace Tag="EwsResponse" Tid="9" Time="2015-04-10 15:36:37Z" Version="15.00.0847.030">
    <?xml version="1.0" encoding="utf-8"?>
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Header>
    <h:ServerVersionInfo MajorVersion="15" MinorVersion="0" MajorBuildNumber="995" MinorBuildNumber="31" Version="V2_15" xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
    </s:Header>
    <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <m:GetRoomListsResponse ResponseClass="Success" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
    <m:ResponseCode>NoError</m:ResponseCode>
    <m:RoomLists />
    </m:GetRoomListsResponse>
    </s:Body>
    </s:Envelope>
    </Trace>
    It's say no error.  Any help ?
    Thanks
    Sandipan

Maybe you are looking for

  • 2008 MacBook Pro 17" eats airport cards

    I have a 2008 MacBook Pro which was under AppleCare support and had it's AirPort card replaced several times. A few weeks after the support expired, again the last card Apple put in started to fail and soon became unusable. The local apple store refu

  • PC Suite, no action on icons.

    Win XP Pro SP2 PC Suite: 6.82.22.0 Haveing a problem with Nokia PC Suite, I can't click on some of the icons, like "Connect to the Internet", "Manage Connections" etc. Some of them work, like the file manager, messages and contacts. Another computer

  • Why when we burn a DVD from iMovie, does it pause in different places?

    Why when we burn a DVD from iMovie, does it pause in different places?

  • Do not see the canvas

    Hello everyone, excuse my English,google helps me, but I have a big problem with motion 4 please help me. if I write or draw a colored shape in the canvas do not see the canvas remains black. is not a hardware problem because I have the same problem

  • HT5137 Why is my ipad stuck in the low battery screen?

    Why is my ipad stuck in the low battery screen? Help!