Getting an error while fetching the data and bind it in the Tree table

Hi All,
I am getting an error "A navigation paths parameter object has to be defined - " while fetching the data and bind it in the Tree table.
Please find the code and screenshot below
var oModel = new sap.ui.model.odata.ODataModel("../../../XXXX.xsodata/", true);
var oTable = sap.ui.getCore().byId("table");
oTable.setModel(oModel);
oTable.bindRows({
    path: "/Parent",
    parameters: {expand: "Children"}
Can anyone please give me a suggestion to rectify this?
Thanks in Advance,
Aravindh

Hi All,
Please see the below code. It works fine for me.
var oController = sap.ui.controller("member_assignment");
var oModel = new sap.ui.model.odata.ODataModel("../../../services/XXXX.xsodata/", true);
var Context = "/PARENT?$expand=ASSIGNEDCHILD&$select=NAME,ID,ASSIGNEDCHILD/NAME,ASSIGNEDCHILD/ID,ASSIGNEDCHILD/PARENT_ID";
var oTable = sap.ui.getCore().byId("tblProviders");
oModel.read(Context, null, null, true, onSuccess, onError);
function onSuccess(oEventdata){
    var outputJson = {};
    var p = 0;
    var r = {};
    try {
        if (oEventdata.results){
            r = oEventdata.results;
    } catch(e){
        //alert('oEventdata.results failed');
    $.each(r, function(i, j) {
        outputJson[p] = {};
        outputJson[p]["NAME"] = j.NAME;
        outputJson[p]["ID"] = j.ID;
        outputJson[p]["PARENT_ID"] = j.ID;
        outputJson[p]["DELETE"] = 0;
        var m = 0;
        if (j.ASSIGNEDCHILD.results.length > 0) {
            $.each(j.ASSIGNEDCHILD.results, function(a,b) {
            outputJson[p][m] = { NAME: b.NAME,
                                 ID : b.ID,
                                 PARENT_ID: b.PARENT_ID,
                                 DELETE: 1};
            m++;
        p++;
    var oPM = new sap.ui.model.json.JSONModel();
    oPM.setData(outputJson);
    oTable.setModel(oPM);
function onError(oEvent){
    console.log("Error on Provider Members");
oTable.bindRows({
    path:"/"
Regards
Aravindh

Similar Messages

  • Error while reading access data (URL, user, password) for the Adapter Engin

    Hi all,
    I encountered a red flag in sxmb_moni and when I click on the flag, I get the following message:
    Error while reading access data (URL, user, password) for the Adapter Engine
    Is there any way I can resolve this? thanks all
    Regards,
    IX

    Possible reason is Adapter engine is not registered on SLD. Check in SLD.
    You can also try restarting J2EE adapter engine and update SLD entries specific to XI domain.
    Lauch Visual admin go to Server > services > SAP AF CPA Cache
    Enter the appropriate values for:
    SLD.selfregistration.hostname (Use fully qualified hostname)
    SLD.selfregistration.httpPort
    SLD.selfregistration.httpsPort
    Finally, if all the above seem to be correct check the userID / pwd for user ID : PI*.

  • Error while reading access data (URL, user,password) for the Adapter Engine

    Hi,
    Any idea on below message? I am doing file to file scenario and got the below tarce from sxmb_moni.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.pi1.piserver1</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>no_messaging_url_found: Unable to find URL for Adapter Engine af.pi1.piserver1</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while reading access data (URL, user, password) for the Adapter Engine af.pi1.piserver1</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Thanks
    Balaji

    It looks like the adapter engine is not able to register him self on SLD, you have to check in the SLD the "Exchange Infrastructure" domain, you have to verify restarting the J2EE the adapter engine update the entries in the SLD related to the specific XI Domain.
    Launch Visual Administrator >> Server >> Services >> SAP AF CPA Cache
    Enter the appropriate values for:
    SLD.selfregistration.hostname (Use fully qualified hostname)
    SLD.selfregistration.httpPort
    SLD.selfregistration.httpsPort
    Sandro

  • Report the date and time of all the systems reporting to sccm

    Hi,
    We have a requirement to report the date and time of all the systems reporting to SCCMnot sure if this is possible.
    Appreciate any help regarding this.
    Thanks

    Not sure I understand what you are asking. Do you want to get the date/time for the last hardware inventory, heartbeat discovery etc?
    Kent Agerlund | My blogs: blog.coretech.dk/kea and
    SCUG.dk/ | Twitter:
    @Agerlund | Linkedin: Kent Agerlund |
    Mastering ConfigMgr 2012 The Fundamentals

  • Why won't the date and time stay in the menu bar?

    I just installed 10.6.2 and even when I use System Preferences to check the box in the Date/Time panel they flicker and disappear from the menu bar. Why won't the Date and Time stay in the Menu Bar? Any suggestions? Thanks.
    Frank B

    Doesn't any bring up the fact that Apple has so many customers with problems that the refuse to help unless you pay them cash? They update you and screw you over and then offer no useful troubleshooting scenarioius to help their millions of customers. It is because they want millions of our dollars. I hate Apple.

  • When printing from a website the date and website line on the printed page is in gibberish

    when i print from a website why are the date and website lines at the top and bottom of the page in gibberish?

    Adjust the print scale: File > Page Setup > "Format & Options": Scale (deselect: "Shrink to fit page width")
    * http://kb.mozillazine.org/Problems_printing_web_pages

  • Getting error while fetching Log data using B1TE Tools

    Hi,
    i am using B1TE Tools to test an add on which generating an error while fetching the Log File using DI Logs Reader. The error is below:
    "Wrong Xml file format. "The data at the root level is invalid, Line 1, position 1.".
    please report it on B1TE blog"
    Please help..
    Regards,
    Sunita

    > Do you want to add and/or update the data in the already existing tables or do you want to replace the content completely?
    >
    > so in that way :
    > bot the options are fine what ever take less time.
    Sorry mate, but YOU have to know what you want here.
    I gave you an easy to follow set of steps.
    As you don't seam to mind the outcome, just might just use them...
    > I wanted to know weathe i can use the  loadercli for thie export import or not? if yes then is there any new steps to do before i do the export import?
    We had this discussion before...
    >
    > For that the easiest option would be just to drop the tables of SAPR3 and run the import again.
    >
    > For ease of use you could also just do:
    > - logon as superdba
    > - drop user SAPR3
    > - create user SAPR3 password SOMEPW not exclusive dba
    >
    > After these steps you can easily pump the data into the database again.
    >
    > So here in th above given steps , i am creating a new SAPR3 user and why it is not exclusive dba ?
    >  i already have that user SAPR3 can i use the same.
    Yes, you do have the SAPR3 user.
    But you don't seem to like to read documentation or learn about how the tools work or anything like that.
    Therefore I gave you s simple way to reach your goal.
    Of course it's possible to reuse the user.
    But then you would have to deal with already existing tables, already existing data etc.
    You don't seem to be able to do that. So, the easy steps might be better suited for your needs.
    regards,
    Lars

  • Getting an error while viewing a data in owb

    Hi,
    I created an External table based on a flat file. But I am not able to view the data in the external table while the flat file has the data.
    I am using this external table as a source in my mapping but no data is getting loaded even after the successful execution of the mapping.I am getting the following error while viewing the data
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-29400: data cartridge error
    KUP-04040: file ATLAS in ATLAS_LOCATION1 not found
    Please help me regarding this. I am new to the owb 11g.

    Thanks for you reply. Still I can't view the data. Actually what i did is imported a .csv file using files then created a external table configured , validated and deployed.In next step created a mapping with this excel this using table operator validated and genrated code. In next step using the control center manager i deployed it. But i can't view the data still in the external table.
    Is this procedure is correct for loading the excel sheet in to databse. My client environment is on windows xp and database is on linux environment.
    Please help me regarding this.I am new to owb.

  • HT2473 How can I get the date and time back on the menu bar?

    Several items disappeared from my menu bar for no  reason known to me.  I miss the date and time and want it back. Please .  I have gone to System Preferences and clicked "date and Time" but it will not allow me to check anything on the page even though there is a box "Show date and time in Menu bar".
    What should be my next move?

    One more thing might help us
    In the Finder > Date & Time Preferences > Take a Full ScreenShot of the entire display showing the "absence" of the check box (or whatever) to Show in Menu Bar
    ⌘ Command + ⇧ Shift > Press ' 3 ' > release all three
    Use the camera tool > locate the screenshot in the Desktop (not sure whether it will say "Picture 1.png" or have a TimeDateStamp as a title.
    ÇÇÇ

  • How do you know the date and time synchronization in the windows version?

    Where can I see the date and time synchronization?

    There's a toolbar button sitting in the Customize Palette. Move that button to a toolbar or into the Open Menu box; when you hover the cursor over that button a tooltip will appear with the day-of-week and the time of the last Sync event.

  • Why can't I set the date and time insert to the format I want?

    I would like the date to be formatted in the short form on my docs.  However whenever I insert date and Time it always come out  at the long form i.e.
    Monday, 15 April 2013.
    Right clicking allows me to edit it but the next time I inset it the long form re-appears.
    I've tried to do it via the system preferences > language and text > region > customise  route but the same thing thing happens.  I choose the short form at the top of the choices but it still comes out in the long form on the docs.
    Only a minor point but it is irritating 'cos it should be simple (probably is 'cept I'm a bit slow).
    I'm running Mountain Lion 10.8.3
    Thanks
    W.

    Wilfred.   I found this in one of the More like this posts   >>>>>  opposite your first post.  It might apply if you are on Pages 08.   Insert Date/Time: Apple Support Communities
    I would never have thought of double or right clicking on the date itself.  I haven't tested it to see what formats exist.   One last suggestion, if we don't resolve it here, write a new post and put it in the iWork pages columns.   There you may meet up with the gurus in that persuasion.

  • I need to reinstall the LinuxO.S. on the main Sync Computer, how to keep safe the data and transfer them on the new installation?

    Simply I need to reinstall the Linux O.S. on the main FIrefox Sync computer, changing distro.
    I would like if it is possible to recreate the same Main configuration on the new Firefox installation without loosing all the stored Sync data and keep synchronized all the others PCs.
    How can I do that?
    Thanks
    Marinerdrums

    Yes, Firefox SYNC keeps your data in Firefox Server, and copy in your system
    For more
    *https://support.mozilla.org/en-US/kb/how-do-i-manage-my-firefox-sync-account
    *https://support.mozilla.org/en-US/kb/firefox-sync-take-your-bookmarks-and-tabs-with-you
    *https://support.mozilla.org/en-US/kb/how-do-i-set-up-firefox-sync

  • I get an error message that says date and time can't be set

    I am ready to send this thing back as it appears to be the first apple product that does not perform as advertised. I have been through the menus and set the time and date the best I can and I still cannot log into itunes.

    You have it set to automatically set the time and date.  To do that it has to be able to reach out to iCloud to get the time and date and something is blocking it from being able to do so.  So either need to fix the network/Internet connection or set it to not automatically set the time.

  • BizTalk Tracking Profile Editor not tracking the data and how to implement the Orchestration as wcf service over SSL

    Hi Ashwinprabhu,
    thank you very much for your answer.
    i have one more query, I have orchestration published as wcf service in IIS and internally orchestration calling one more service , it means orchestration sending a request and getting response back from the service.
    actually we are implementing the copy of that called service through biztalk orchestration for system automatic and tracking failed messages and n/w failures.
    But tracking profiler not tracking the Data.
    And we need to develop the http service as https(Over SSL), we implemented in iis using self 
    signed certificate, it is working just browser for wsdl(in browser), we are not able to test the service in wcf test client, it is giving wsdl error, in wsdl schema reference showing with HTTP only,
    please help me how to resolve the issue.
    Teegala

    First things first, I think it's best to publish only schemas as WCF service for dependency management reasons. That said - WSDL availability is covered in the WCF adapter under the behaviors. If you're using HTTPBasic this may be hard to modify, but using
    WCFCustom allows you to add the WSDL behavior and specify that it should be available via HTTPS.
    As to the BAM, are you using TPE within the orchestration or at the port level?  I'd imagine your TPE tracks the start and end events of your orchestration using the Orchestration Schedule.  If you're fairly confident that the TPE is correct and
    yet don't see BAM data 1) make sure your SQL Agent is running healthy and all jobs look OK and 2) check the TDDS tables in both the message box and the BAMPrimaryImport databases.  These will show you if there has been some sort of sync issue. There's
    even a TDDS errors tables - so check that out.
    Kind Regards,
    -Dan
    If this answers your question, please Mark as Answer

  • Prificaton of the data and load theme to a OWB table.

    Hello !
    I have a flat file in TXT mode , I want to load data in target table but first I need to do some purification like delete some record with id =1,2,9,10
    How can do it?
    thanks.

    Your mapping can filter the file before the data is ever staged in Oracle, the mapping example below illustrates;
    http://blogs.oracle.com/warehousebuilder/resource/OWB/owb_filtered_et.jpg
    There are OBE's illustrating how the flat file sampler works see below in the flat file OBE, it uses the file directly in the mapping which results in a SQLLoader mapping, rather than doing this if you create an external table using the flat file definition you can do what I did above;
    http://apex.oracle.com/pls/apex/f?p=44785:24:1778744827384310::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5248,29
    Cheers
    David

Maybe you are looking for

  • Import and Management of Video Files by Date Still Broken

    It really is very disappointing that after 3 versions, and 110 bug fixes, basic things like importing or managing a video file by date is still completely broken. Even more troubling, is that for someone who uses LR3 this is a very obvious problem, a

  • IPhoto Export to Shutterfly broken

    Is anyone able to use the shutterfly plug-in with iPhoto '08? If I go to File Export and click on Shutterfly nothing happens, and after doing so Export dialog won't appear again until I delete the plist file. On doing so Export works until I click th

  • FCP 6 problems after installing Leopard

    Final Cut Studio 2 has worked fantastic for me on Tiger. Export to Compressor, Open with Soundtrack, and DVD authoring was awesome in DVD Studio Pro. Then I installed Leopard and started running into some problems. I really like Leopard in all that i

  • Mac out of memory!!

    My macbook pro is completely out of free memory. I have 15.00 Mb of free memory right now. I was looking around to see the problem and in my activity monitor I discovered 2.2 GB of active memory. All my aplications are closed and I dont know where is

  • Trying to upgrade my cpu ram hard drive and anything else i can upgrade .

    product: F4c92UA#ABA model: 15-n261nr just trying to figure out what my compatible upgrades are so i dont mess it up and shove a bunch of random upgrades and break my laptop This question was solved. View Solution.