Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to get UserDefine table BusinessObject Name ?

Hi Expert ,

    I have added a master table and registered the table as a UDO . UDO details is below :

                     Code            : Category

                     Name           : CategoryUDO

                     Table Name  : WI_MS_CAT

    I want to Add/Read data from this table using DI Server Object.Below is the read format .

            string sCmd = @"<?xml version=""1.0"" encoding=""UTF-16""?>";

            sCmd += @"<env:Envelope xmlns:env=""http://schemas.xmlsoap.org/soap/envelope/"">";

            sCmd += @"<env:Header><SessionID>" + sessionid + "</SessionID></env:Header>";

            sCmd += @"<env:Body>";

            sCmd += @"<dis:GetByKey xmlns:dis=""http://www.sap.com/SBO/DIS"">";

            sCmd += @"<Object>Category</Object>";

            sCmd += @"<Code>541</Code>";

            sCmd += @"</dis:GetByKey >";

            sCmd += @"</env:Body></env:Envelope>";

            string custData = new Node().Interact(sCmd);

     I am getting an error "Business Object not found" . Please give me suggestion what will be the UserDefine Object name.

Thanks

Surajit

Tags:
Not what you were looking for? View more on this topic or Ask a question