How to Retrieve a List of Business Objects using DI Server?

In DI Server (and DI-API) I could not find how I can get a list of business objects, for instance ServiceCall objects.
and more - say i need the list with a filter on customer code and call status?

...at least not to the extent that you are looking for.
Please check the E-learning:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d78ab1f9-0901-0010-8495-8ca0facaea2e?prtmode=navigate
at: https://www.sdn.sap.com/irj/sdn/businessone-elearning
...or go the sample code for the DataBrowser (sub-)object in the "SDK Help Center"...
...or go to the DI API sample (no. 2 I think I remember).
...to find out how you can navigate between the records of the result of your SQL query; from there you could e.g. export the objects to XML...
HTH

Similar Messages

  • List of business objects

    Hi all,
    Is it possible in the DI API to get a list of business objects (for example business partners) from the Company object or do I have to use a recordset with an SQL statement? If so, how. And if not, where do I find a translation of tablenames (e.g.: AACP, INV6 etc.) to business objects.
    This seems a pretty generic question, but I cannot seem to find the answer. Does anyone have a pointer to good reading on the DI API subject?
    Thanks!
    Best regards.
    Chris G.

    Hi Chris,
    this is an excerpt from the SDK Help file.
    It works on other object too, of course.
    Private Sub DataBrowserOperations()
        '// A Data Browser object can not be created, it is invoked
        '// as a property of a business object.
        '// The BusinessPartners object is used to demonstrate the
        '// use of a DataBrowser object
        Dim BusinessPartners As SAPbobsCOM.BusinessPartners
        '// A DataBrowser object contains a Recordset object.
        '// Because a DataBrowser Object can not be created,
        '// a Recordset Object should be created and then assigned
        '// (linked) to the Recordset Property of the DataBrowser
        Dim oRecordSet As SAPbobsCOM.Recordset
        '// Get a new BusinessPartners object
        Set BusinessPartners = oCompany.GetBusinessObject(oBusinessPartners)
        '// Get a new Recordset object
        Set oRecordSet = oCompany.GetBusinessObject(BoRecordset)
        '// Perform the SELECT statement.
        '// The query result will be loaded
        '// into the Recordset object
        oRecordSet.DoQuery ("Select cardcode from ocrd where cardtype = 'C'")
        '// Asign (link) the Recordset object
        '// to the Browser.Recordset property
        BusinessPartners.Browser.Recordset = oRecordSet
        '// Access the data
        '// Once the Browser points to a row in the
        '// result set you can use the properties directly
        BusinessPartners.CardCode
        BusinessPartners.CardName
        '//Get the next Business Partner
        If BusinessPartners.Browser.EOF = False Then
            BusinessPartners.Browser.MoveNext
        End If
        '//Get the previous Business Partner
        If BusinessPartners.Browser.BoF = False Then
            BusinessPartners.Browser.MovePrevious
        End If
    End Sub

  • How to retrieve Task Lists from All Subsites to the Parent Site and display in Grid view using CAML Query

    How to retrieve Task Lists from All Subsites to the Parent Site and display in  Grid view using CAML Query + object model

    do u just want task list or items under task list for all subsites
    for items use spsitedataquery ref
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsitedataquery.aspx use recursive to get it from alll subsite under site collection
    for tasklist only u can a simply use a for loop to find in all subsite
    Manish Sati

  • How to get list of custom objects used in abap report program?

    Hi friends,
    I have a requirement in which I have to scan the entire abap report and retrieve list of custom objects used in it for example custom tables, data elements, structures, table types etc,. Is there any provision in SAP like fuction modules to do this functionality?  As of now I am coding everything manually where so many possibilities are there for all kinds of objects. Provide your answers and suggestions...
    Thanks,
    Nastera

    Hi,
    The best way to do this is environment analysis. Follow the steps:
    1. Open se38, type in the program name (don't click on on display/change or create button, stay on first screen only)
    2. Click on environment analysis button (hot key SHIFT+F4)
    3. It will throw a pop-up, which will ask for type of object you want to see, which are linked /used by this program. select all (or may be if you are only interested in Tables, then select table only)
    4. Hit 'Enter'
    You will get the full list of all objects used in this report program. Just note down the one which starts with Z or Y and that's it.
    Cheers,
    Anid

  • Get hierarchal list of business objects

    Hi,
      I'm using SWO_QUERY_OBJTYPES to get a list of business objects, but I need to display a hierarchy similar to the BAPI explorer. What business object can I use to browse business objects? If no business object is available, what function calls are available to get at the data?

    Hi Chris,
    this is an excerpt from the SDK Help file.
    It works on other object too, of course.
    Private Sub DataBrowserOperations()
        '// A Data Browser object can not be created, it is invoked
        '// as a property of a business object.
        '// The BusinessPartners object is used to demonstrate the
        '// use of a DataBrowser object
        Dim BusinessPartners As SAPbobsCOM.BusinessPartners
        '// A DataBrowser object contains a Recordset object.
        '// Because a DataBrowser Object can not be created,
        '// a Recordset Object should be created and then assigned
        '// (linked) to the Recordset Property of the DataBrowser
        Dim oRecordSet As SAPbobsCOM.Recordset
        '// Get a new BusinessPartners object
        Set BusinessPartners = oCompany.GetBusinessObject(oBusinessPartners)
        '// Get a new Recordset object
        Set oRecordSet = oCompany.GetBusinessObject(BoRecordset)
        '// Perform the SELECT statement.
        '// The query result will be loaded
        '// into the Recordset object
        oRecordSet.DoQuery ("Select cardcode from ocrd where cardtype = 'C'")
        '// Asign (link) the Recordset object
        '// to the Browser.Recordset property
        BusinessPartners.Browser.Recordset = oRecordSet
        '// Access the data
        '// Once the Browser points to a row in the
        '// result set you can use the properties directly
        BusinessPartners.CardCode
        BusinessPartners.CardName
        '//Get the next Business Partner
        If BusinessPartners.Browser.EOF = False Then
            BusinessPartners.Browser.MoveNext
        End If
        '//Get the previous Business Partner
        If BusinessPartners.Browser.BoF = False Then
            BusinessPartners.Browser.MovePrevious
        End If
    End Sub

  • How to create a universe in Business Object from BW

    Dear Memebers
    I need your help, I'm trying to create a report in business object using a cube as datasource, but when execute it does not appears the text, for example costumer 1000, his name is coca-cola.
    Does anyone help me?, maybe i does not set something
    Thanks a lot
    Ariel

    Hi Ariel,
    Not sure what BW is? If this is not related to using a SDK you may want to post your question in the Business Objects enterprise or Crystal Report Designer Forum.
    Thank you
    Don

  • How to run crystal report in business objects xi 3.1 sp3 enterprise

    hi, i created crystal reports thru crystal reports 2008, i have the crystal reports locally on my machine. the source for the crystal report is stored procedure to get the data from database
    the main thing is i need to import these reports into business objects xi 3.1 and i need to run the report in business objects. the bo server is on solaris and the reports i have r in my local machine (i.e windows).
    i am using this way to import the report into bo server.
    In Crystal Reports: File>Save As>My Connections (Define your BO Server) and save the reports to your BO Server.
    but the main thing is i cannot run the crystal report in cmc. what am i doing wrong, do i need to set any database configuration in business objects ?

    Normally you should run your CR reports in the INfoView. You can start a report either by double clicking on it or by selecting View in the context menu. Still in order to fetch data you have to press the Refresh button in the CR viewer window (in the InfoView).
    In the CMC I assume that you are using the Run now option in the context menu. Please note that this will just schedule your report immediatelly. hen the report is scheduled a new instance is created hich is available in the History of the report. In order to see a report in the CMC select again View in the context menu and you can again fetch data by pressing the Refresh button.
    Regards,
    Stratos

  • Business Objects used in SAP OVS

    Hi, experts.
    How do I know the Business Object used in an SAP OVS?
    Please kindly answer.
    Regards.

    Hi, Sunil Maurya,
    I am sorry that I misunderstood my problem.
    My BO has a field that uses CompanyID.OVS.
    I want the companyID of the CustomerInvoiceRequest.xbo to use as an ID for my custom BO to get some other field but CustomerInvoiceRequest only uses AccountBusinessPartnerID.OVS.
    And what I am getting with this code
    "companyId = this.BuyerParty.PartyKey.PartyID.content"
    is just account id.  What i want is a CompanyID that I can use to retrieve other field from my own BO.
    I am really sorry if my writhing is complicated and hard to understand.
    Regards.

  • Creating a business object using bapi

    can some one tell me how to create a business object using a bapi and is it possible to create bapi using business object.which is dependent on which one.

    >
    jayashankar wrote:
    > can some one tell me how to create a business object using a bapi and is it possible to create bapi using business object.which is dependent on which one.
    No....
    First read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]...

  • Re: Error while deploying Mobile Business Objects to Unwired Server

    Hi,
              I am new to SUP.    When i am trying to deploy my Mobile Business Object  into Unwired Server, I am getting an Exception like this
    *com.sybase.security.SecException : could not resouce with the ID of domain:// at Com.sybase.sup.admin.server.ServerAdminImpl.checkAccess*
    Can Any body  please help me how to resolve this.     Thanks in Advance.
    Regards
    Balu

    Hi,
    Its look like licesne issue. please check server log.
    Thanks

  • Transfer of business object from development server to testing server

    if i want to transfer business object from development server to testing server how can i do that?
    what is the system landscape?
    what is business object?

    Hi Rizwan,
    U can get details of Business Objects in tcode - SWO1.
    Business objects are real world entities modeled as objects in an information system.
    Business objects encapsulate both data structures and the functions applied to the data, but hide their full complexity from other objects. This encapsulation of data and functions makes it easier to modify program components, because you can program with the relevant entities without having to know all the implementation details. You can also reuse existing functions.
    Client programs access business objects by reading their attributes, or by calling the methods that make up the objectu2019s interface:
    Attributes
    Attributes describe the data stored in an object through a set of properties. They provide direct read access to the data structures of objects, but client programs cannot change them from outside.
    Methods
    Methods provide a way to encapsulate the data structures of business objects, and to process them. When accessing an object, the client program calls a method with parameters and gets back return parameters.
    Interface
    The interface is the set of methods associated with a business object, and determines how an object interacts with the outside world.
    The client program defines the object types to be used and, at runtime, creates object instances of those object types.

  • WebSphere Portal 6.1 SSO problem with Business Objects Release 3 server.

    Have anybody successfully integrated SSO between WebSphere Portal 6.1 BO portlet with Business Object release 3 server ?? If so please help. I have followed the steps in BO documentation (Portal Integration Kit for WebSphere) but when I logged on to portal I get the following error message
    Auto signon to the BusinessObjects Enterprise infrastructure at hostname  failed. Contact your reporting administrator for assistance." message

    Anybody still looking for a solution following the below guides.
    http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_pik_adminportlet_en.pdf
    Replace secEnterprise with secLDAP in below guide for LDAP Automatic Sign
    http://help.sap.com/businessobject/product_guides/boexir3/en/xi3_pik_deploy_ibm_en.pdf

  • List of Info Objects used in a process chain

    Hi,
    I have a master data process chain and in that process chain, close to about 50 Info objects are included. Rather than checking manually, I would like to know if there is any automated way to get the list of info objects used in a process chain.
    Please let me know if there is any table that gives this information.
    Thanks & Regards.

    following transparent tables store Process Chain related data... there you might get the information you are looking for..
    RSEVENTCHAIN       Event Chain Processing Event Table
    RSEVENTHEAD        Header for the event chain
    RSEVENTHEADT        Header for the event chain
    RSPCCHAIN     Process chain details
    RSPCCHAINATTR      Attributes for a Process Chain
    RSPCCHAINEVENTS      Multiple Events with Process Chains
    RSPCCHAINT      Texts for Chain
    RSPCCOMMANDLOG     System Command Execution Logs (Process Chains)
    RSPCLOGCHAIN      Cross-Table Log ID / Chain ID
    RSPCLOGS     Application Logs for the Process Chains
    RSPCPROCESSLOG     Logs for the Chain Runs
    RSPCRUNVARIABLES      Variables for Process Chains for Runtime
    RSPC_MONITOR     Monitor individual process chains
    Regards,
    Sharayu

  • How to save a list template and make use of it in another website as webpart ?

    How to save a list template and make use of it in another website as webpart ?
    1. Save As "List A" as .STP
    2. Go to another website, in the document workspace I try to Add webpart -> Browse -> Upload the STP file, but after that the List A webpart still doesn't appear.
    Any clue which part went wrong? 

    Hi,
    firstly you need to upload the .STP file to a list solution gallery of the site and then you can add the list (under custom name) to the webpage
    see here for how to-
    http://office.microsoft.com/en-us/sharepoint-server-help/copy-or-move-a-list-by-using-a-list-template-HA101782479.aspx
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • How to retrieve sharepoint list data and show it on excel-addin using C#

    Hi,
    we have a sharepoint list where all students are present. we wanted to get the data from the list and show it via excel addin (VSTO) (something like save,retrieve buutons) . we have some more business logic which need to be performed before the data is retrieved
    . once data is shown on excel , user modifies it and update/save the record back to sharepoint.
    can you please give some samples and suggest any links to start with development.
    Thanks
    chaitu

    Hi chaituatp,
    For this requirement, I would suggest you to get familiar with how to create VSTO applications, and how SharePoint object model works. Here are some sample code about this:
    How to: Retrieve List Items using JavaScript:
    http://msdn.microsoft.com/en-us/library/hh185007(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/ee534956(v=office.14).aspx
    VSTO application show data in datagridview:
    http://stackoverflow.com/questions/16926275/simple-example-of-vsto-excel-using-a-worksheet-as-a-datasource
    Thanks,
    Qiao
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Qiao Wei
    TechNet Community Support

Maybe you are looking for

  • ITunes/QuickTime Player Failes to Launch

    I am wondering if downloading the latest update was a good idea. When I attempt to launch iTunes I receive the following error: "iTunes cannot run because it has detected an problem with your audio configuration." Havins seen some other posts make re

  • Jawbone + 2.2.1 = Static.   Or is it just me?

    Hey, anyone being told their Jawbone 2.0 BT headset is getting periods of static since updating to 2.2.1? It might be a coincidence, but since update callers have mentioned that I go from sounding crystal clear to hearing static. When I mess w. the h

  • Itunes Library Catastrophe - XML

    So after being frustrated with the fact that even though my Itunes Music Folder was the same, I was getting 16000 exclamation marks, and after trying everything else on this list, I tried the last option of deleting my files and exporting and then re

  • Why should we overide hashCode method when we overide equals ?

    Why should we overide hashCode method when we overide equals ?

  • Got a zen, getting a muvo to

    Hi, Please can someone advise us before I make a big mistake! We have a Zen touch, which is great... we are going to buy my stepdaughter an MP3 player, and figured on buying a small MuVo, say 52 or gig... probably... The question is will our computer