Importing BusinessPartners Data via XML
Greetings,
I've got a problem on importing BusinessPartners data via XML. I exported an BusinessPartners object by using the GetBusinessObject and SaveXML methods and I now want to use this XML file to create a new BusinessPartners object.
<i>Dim vCmp As SAPbobsCOM.Company
'settings & connect...
vCmp.XmlExportType = BoXmlExportTypes.xet_ValidNodesOnly
'or vCmp.XmlExportType = BoXmlExportTypes.xet_ExportImportMode
Dim vBPSave As SAPbobsCOM.BusinessPartners
vBPSave = vCmp.GetBusinessObjectFromXML("C:\object.xml", 0)
...</i>
Error is like this:
<i>Exception Details: System.Runtime.InteropServices.COMException: <ErrorList><Error>System Id = 361754288, Line Number = 1, Column Number = 79, Description = The namespace of element 'schema' must be from the schema namespace.</Error><Error>System Id = 361754288, Line Number = 1, Column Number = 99, ...</i>
Can anyone tell me what the problem is? Is there any other propertis I need to set?
I found where the problem was.
This line should be used before create the XML file:
<i>vCmp.XmlExportType = BoXmlExportTypes.xet_ExportImportMode</i>
Similar Messages
-
Hi,
CRM 7.0 comes with Data Warehousing workbench. I need to make some reports in CRM which are already present in BW system. The idea is to make cubes in CRM and load from BW and make reports in CRM system.
I am planning to import the objects (characteristics, key figures, cube etc) via XML import in transport connection.
I would like to know the limitations of it. Is there any restriction on file size?
Regards,
GauravHi Dirk,
thank you for your fast reply!
I'll check the possibility of using BAPIs.
The advantage of the approach with exporting, editing and re-importing xml metadata definitions is that I just have to rename the objects in the xml file, which should be a matter of a few hours. But what to do with tags like
<XMISAPBI:com.sap.bw.cwm.core.InfoObject.descriptionLong xmi.idref="com.sap.bw.cwm.core.Description::81DD390D55F1A048AC444F945"/>
where the GUID refers to the description later in the xml file. Can I just create my own GUID?
Some more background information: my first idea was to use the xml export as a helper for automated documentation. And then I thought, why don't develop a small two way tool, which can comfortably create or edit a metadata xml file.
Kind regards,
Martin -
Importing form data per XML - Using the form interface?
Hi!
I'm developing interactive forms by adobe and I want to import my form data per XML file. The xml file and the email are created by my pdf document.
Now this xml file has to be parsed by a report or something like this.
Is it possible to use the form interface, I implemented, or do I have to parse it manually?
I think it has to work with this interface because it makes the pdf and it "knows" what to import/export.
Am I wrong with my suspicions or can you help me with this problem?
Thanks & greets,
Philip GillißenI'm pretty impressed of Adobe and their stuff (I do NOT refer to the community), how helpful they are.
Perhaps I didn't understand the meaning on the offical customer support website, stating:
The best way to contact us...
Ask our experts
Our community and staff are at your service 24/7
Even worst, their is a similar question from 25/09/2013 (http://forums.adobe.com/message/5711946#5711946) and no feedback form Adobe stuff at all.
Great service guys!
Thanks a lot! -
Is there any online reference to the XML methods available in 6.1?
I would like to set up a LabView system that acquires data from local hardware, and then sends acquired data as XML "packets" to a remote web service. I can't seem to find any online reference to this when I search the site. I don't want the "gee golly 6.1 is cool" marketing stuff. Just a simple technical reference to abilities.If you're looking for more technical information about all the new features of 6.1, try the LabVIEW 6.1 Upgrade Notes. Here's what they say about the XML functions:
"Use the Flatten to XML function located on the Functions»Advanced»Data Manipulation palette to convert any LabVIEW data type to the XML format according to the LabVIEW XML schema. Use the Unflatten from XML function located on the same palette to convert a data type in the XML format into LabVIEW data.
For these conversions, LabVIEW uses a predefined XML schema that is described in labview\help\LVXMLSchema.xsd."
Kelly Holmes
LabVIEW Documentation
Kelly H
LabVIEW Documentation
National Instruments -
Getting data via "XML Data" connectivity
Hi,
I need to retrieve data in Dashboard Design SP2 from one table stored on a SQL Server 2000. As I need to refresh the data I only have the option to use the "XML Data" connection (we are using BO4.0 Edge and can't use QaaWS).
However, I am completly new in this XML topic... In which way should data be delivered so that I can use it in Dashboard Design (in Data Manager -> "XML Data" I have to input a "XML Data URL"...)?
Thanks!Hi steve,
Please refer below tutorial. It shows an example to create dashboard with XML file as data source.
[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0efea0a-f515-2e10-2daa-cc5a4d23c1a8]
Hope it helps you.
Regards,
Nikhil Joy -
I get Ora-00600 when I try to fetch large data via Xml
Hi all
I user Oracle8i ver 8.1.6, when I execute the following
procedure:
PROCEDURE TTG_EXEC_SQL (SELECT_STATMENT in VarChar2, Result Out
Clob, err_no Out Number) IS
-- This Procedure excutes SELECT command and return the result
data throw Xml CLOB parameter.
QueryCtx DBMS_XMLquery.CtxType;
ErrorNum NUMBER;
ErrorMsg VARCHAR2(200);
RES1 CLOB;
Begin
QueryCtx := DBMS_XMLQuery.NewContext( Select_Statment );
DBMS_XMLQuery.setRaiseException(QueryCtx, true);
DBMS_XMLQuery.setRaiseNoRowsException(QueryCtx, true);
DBMS_XMLQuery.propagateOriginalException(QueryCtx,true);
ResULT := DBMS_XMLQuery.getXML(QueryCtx);
DBMS_XMLQuery.CloseContext(QueryCtx);
Exception
when others then
DBMS_XMLQuery.getExceptionContent (QueryCtx,ErrorNum,
ErrorMsg);
ERR_NO := NVL(ErrorNum,0);
END;
I get Ora-00600 error when the retrived data is more than 800
records.
can any one help me Pls ASAP.
THNX
HusamCan you get the query result with SQL command alone?
-
How to edit and import the scenario via XML format?
Hi gurus,
In our project, we have a lot of ECC clients. So in PI system, we need to do a lot of same work in one scenario(Although we have config wizard,it's still boring because of our slow network speed).
Do we have any fast method to fix that? I mean can we edit the xml of one scenario and then import it into ID?
There is an import function but only we can import tpz files.
Thanks in advance. Any help will be appreciated.I believe that XML Data will be used for some later "technical Analysis" or for some documentation purposes and can not be used for the purpose you need to..
Regards,
XA -
Import/insert data from XML into Oracle database tables?
Hi. (I am using JDeveloper 10.1.3.3.0 and Oracle 10g)
I have been able to export the data from one of my database tables by using a View Object and .writeXML.
Now, I want to take an xml file that is formatted in the same way as what is spit out by the writeXML and put that info in my database table. I followed online examples and have tried using .readXML like so:
Element element = XMLDoc.getDocumentElement();
vo.readXML(element, -1);
I know it is sort of working, because at first I got an error message that one of the required attributes was missing. So, I added that attribute to my xml file and ran my code. No errors. But, I checked my database, and the new records were not added.
Is there something I have done wrong? Or is there perhaps something I left out? I also noticed there were several versions of readXML like readFromXML. Which one should I use and how?
Thanks.KUBA, I changed my code to match your example:
DocumentBuilder db = DocumentBuilderFactory.newInstance().newDocumentBuilder();
File xmlFile = new File("C:/myfilehere.xml");
Document doc = db.parse(xmlFile);
Element element = doc.getDocumentElement();
vo.readXML(element, -1);
vo.getDBTransaction().commit();
I still get no errors, but my database table has no new records.
Any ideas why?
Thanks. -
Hi guys,
I'm using SAP 2007 SP01 PL10. I know that you can import data into a UDO using the DTW, but I can't seem to find a template for this. Can anyone help?
thanks,
CostasCostas,
Try to avoid reading the steps for creating or importing the UDOs presented in the SAP Note only!
There's much more information within the SAP Note such as LINKS and Related Notes. Please, go through all these resources.
A SAP Note can take you to a link or to another SAP Note. Don't base your reading only in the content of the Note. Follow the links provided there.
Regards
Victor -
Hi,
I am new to oracle in SQL we use to import bulk data in xml formate and then insert it into the data.
is there any way of doing the same job in oracle?
i have a table
empId empName empFatherName
i want to bring a bulk of user name and father name in xml(clob) format,
add my id by extracting it from a sequence and insert it combine to the table.
thx...Hi,
By using SQL*LOADER you can do this in oracle database.Check the below link for usage.
http://www.oracleutilities.com/OSUtil/sqlldr.html
Best regards,
Rafi.
http://rafioracledba.blogspot.com/
Edited by: Rafi (Oracle DBA) on Jan 11, 2011 10:41 PM -
Importing via xml deletes already populated fields???
Hey all
Im kind of new to this, so any help would be great.
I've created some forms that have similar named fields but some fields are named differently, If I fill in one form and export data as xml and then import this data into another form that has has a few textfields/numericfields already containing data, the imported data imports fine, but the the fields containing data previously, which have totally different field names are wiped?
Anybody have any ideas at all? All information would be superb.
LeeIn PL 36 I had a very bad problem trying to create the invoice from draft (via XML). This was caused by the CogsAcct field. When I stripped it from the xml then it worked...
Regards -
Error while importing data from XML file to a Oracle database
I am getting the following error while importing data
*** atg.xml.XMLFileException: No XML files were found for "/Dynamusic/config/dynamusic/songs-data.xml".
The files must be located under the name "/Dynamusic/config/dyna
*** java.io.FileNotFoundException: D:\MyApp\ATG\ATG10.0.3 (Access is denied)
java.io.FileNotFoundException: D:\MyApp\ATG\ATG10.0.3 (Access is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:120)
at atg.adapter.gsa.xml.TemplateParser.importFiles(TemplateParser.java:6675)
at atg.adapter.gsa.xml.TemplateParser.runParser(TemplateParser.java:5795)
at atg.adapter.gsa.xml.TemplateParser.main(TemplateParser.java:5241)
I have placed the FakeXADataSource and JTDataSource properties files as required. In fact I have been able to import data in all machines. Just this one machine is giving problems. I have also checked out the access rights. Can someone help me please?Confirm that you have access to D:\MyApp\ATG\ATG10.0.3 and existence of Dynamusic/config/dynamusic/songs-data.xm
-
Import data from xml using ssis
Using Sql Server 2012 STD edition, SSDT (Visual Studio 2010 shell, .net framework 4.0.3 SP1
I am trying to import data from an xml file using ssis.
Here are the three options I tried and none worked. Please see errors that I encountered in all options and let me know what I can do to import this data in sql
server.
I created a new ssis project with an ssis package. I pulled a data flow task on the control flow. On the data flow tab I pulled an xml source and a sql server
destination. Now I tried to configure the xml source task in the the following three ways, but none worked.
1. I browse the xml file to set xml location. Browse the xsd file to set xsd location, then click ok. I get the following error:
HRESULT errorcode 0xC02090CF from a method call. There was an error setting up the mapping. Undefined complex Type 'gml_V4.1_Release:PolygonType'
is used as a base for complex type extension
2. I browse the xml file to set xml location. check "Use inline schema" Click ok. Error:
HRESULT errorcode 0xC020929E from a method call. The xml source adapter was unable to process the XML data. Multiple inline schemas are not supported.
3.I browse the xml file to set xml location. Click "Generate XSD". Error: The supplied xml instance is a schema or contains inline schema. The
class cannot infer a schema for a schema.
Thank you for your help.Hi ,
I think something problem with the XSD file i too faced somewhat same problem, i have created XSD file from the following link and tried in my package it has worked why don't u try to create xsd file from following link and try again once.
http://xmlgrid.net/xml2xsd.html
Niraj Sevalkar -
Import Comments data and Dimension Members from csv file via Data Manager
Dear Experts,
I have two questions regarding the data manager.
Q1.Is it possible to import "Comments" from the csv file via Data Manager?
We'd like to import the amount with "Comments".
My image of csv file is like below;
ACCOUNT,CATEGORY,TIME,ENTITY,INPUTCURRENCY,AMOUNT,COMMENTS
1100000,ACTUAL,2010/06,LC,30000,This is comment
Q2.Is it possible to import the dimension "members" from the csv file via Data Manager?
We have a user-defined dimension named "Project"
and would like to import the members, instead of maintaining them in BPC administration manually.
I found an online help information which says "Import Master Data from a Data File Example",
but I could not find any relevant sample package for this.
(I tried to import the members by using "Import" package, but it failed...)
reference:http://help.sap.com/saphelp_bpc75/helpdata/en/86/8b1bfc12c94fb0b585cca70d6f1b61/content.htm
Thanks in advance for your help.
FumiHi Fumi,
In this case, I would suggest you to create a customized SSIS package which will fill-in the "Comment<APP>" table, according to the csv file you have. I do not know any standard package that allows you to import comment the way you would like...
Best Regards,
Patrick -
mac version 10.9.4.
importing vinyl albums via garage band. Have to import tunes individually as tunes will not retain individusl otherwise. trouble is they will not rejoin as one album in iTunes.I understand it is because data available on cd's is not on vinyl imports . Any clues on how to fix this?"Have to import tunes individually as tunes will not retain individusl otherwise." -- I don't understand this sentence.
iTunes will not assign track names to items imported from vinyl. You will have to label the files yourself in the Get Info window. As long as you give all the tracks on an album the same album information and the same artist information they should group together. if the artists differ then you need to give all the tracks one common album artist (often "Various Artists")in addition to individual track artist.
Maybe you are looking for
-
a update version of firefox came up.. tellingme to update to new version of firefox. So I did.. it loaded the current version. I always have my 'history' showing. (in the VIEW title on top of screen I go to SIDEBAR, and have history showing. It is on
-
How do you find what your IP address is?
Whenever a microwave turns on in our house I lose connection and I was wondering how to find the IP address of my wireless-G router to see if typing it in manually will help.
-
I recently received a pop up from 'euro-pol' asking me to pay money to unlock my safari.
I recently received a pop up from 'euro-pol' asking me to pay money to unlock my safari. I searched google on another computer and found it is quite a common malware issue. I found instructions of unlocking safari by resetting safari completely. Safa
-
Use of APIs to update Absence info in Oracle HR/SSHR 11i
Dear all, Use of APIs and Absences 1. Can you please let me know which are the relevant APIs to update Absences Information into Oracle Human Resources Application? 2. Where can I find relevant documentation on how to deploy these APIs? Thanking you
-
Problem when engineering to relational model
I have modeled everything in Logical model and then engineered it to the relational model. Now I have to make some changes, and I'm doing them in Logical model. When I'm engineering it to Relational, although I just altered one single item, I see tha