Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to store XML files

Former Member
0 Likes
1,802

Hi experts,

I have an abap applicatrion that has to store xml files received from a web service.

Where is better to store these files, in sap transparent tables or in the IXOS for example?

Thanks

6 REPLIES 6
Read only

brad_bohn
Active Contributor
0 Likes
1,519

What method of storage do you want to use? Direct or BDS? Where/How do the files need to be visisble? I don't know why you'd use a table unless you're using BDS and the default config to store the documents. And it sounds like you have an imaging system in place, so you proably have BDS configured to point there. Use a file/archive server to reduce the load on your app/DB server.

Read only

Former Member
0 Likes
1,519

The application that a said is a BAPI that will be called out of the ECC.

That BAPI will storage the XML.

The files will be viewed in a specif transaction in the ECC.

What is the best way to storage it? BDS?

Thanks

Edited by: Jorge Castro on Jan 18, 2011 11:13 AM

Edited by: Jorge Castro on Jan 18, 2011 11:14 AM

Read only

brad_bohn
Active Contributor
0 Likes
1,519

Again, it really depends on your requirements for visibility, readability, and searchability. There is a system overhead associated with using BDS/Archivelink but if you need to associate files with an object type / object value, then that's the way to go.

Read only

Former Member
0 Likes
1,519

Brad,

An java application will call that BAPI passing the XML when error occurs in the process. The XML will contain the error details.

I want to associate the error messages with the respective XMLs.

What do you mean with "object type / object value" ?

Thanks

Edited by: Jorge Castro on Jan 18, 2011 5:09 PM

Read only

brad_bohn
Active Contributor
0 Likes
1,519

Object types serve as the basis for document storage in BDS / Archivelink. You'll have to dig into the help files for more info, but it doesn't sound like a good approach in your case since you don't have an 'object' such as a customer master or document number. In your case, you might want to parse the XML and use application logs to store the errors; have a look at that functionality.

Read only

Former Member
0 Likes
1,519

Brad,

parsing the xml doenst solve my problem, because the requisite is to display the original XML on the screen.

I want a help to know what way to follow. Storage it on DBS or IXOS or transparent table or another option.

As soon as I discovery the best way, I will study how to do.

Thanks very much

Edited by: Jorge Castro on Jan 18, 2011 6:46 PM