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

Reading an XML File Dynamically

Former Member
0 Likes
848

Req:

Based on the File name a table is maintained such that it contains the fileds that xml file contain.

Ex: For Customer.Xls file, the table contains the Fields like CustID, Cname, CAdd etc. Only these values XML can hold.

Now I need a program shuch that it takes an XML File input. I need to update that data into a table.

Req:

Based on the File name a table is maintained such that it contains the fileds that xml file contain.

Ex: For Customer.Xls file, the table contains the Fields like CustID, Cname, CAdd etc. Only these values XML can hold.

Now I need a program shuch that it takes an XML File input. I need to update that data into a table.

5 REPLIES 5
Read only

Former Member
0 Likes
729

Hi Manjunath,

I think u need to design one transformation program for converting that XML data into system format.

U can create it thru STRANS tcode.

Go thru this links once.

Down loading SAP R/3 Data to XML file

Download and upload OO ABAP class in XML format

http://wiki.ittoolbox.com/index.php/Download_and_upload_OO_ABAP_class_in_XML_format.

Hope it helps.

Regards,

Lakshman.

Edited by: Lakshman N on Mar 3, 2009 6:56 AM

Read only

0 Likes
729

While conversion i am getting the error as Runtime Error: CONVT_CODEPAGE

Exception CX_SY_CONVERSION_CODEPAGE

At the conversion of a text from codepage '4110' to codepage '4103':

- a character was found that cannot be displayed in one of the two

codepages;

- or it was detected that this conversion is not supported

The running ABAP program 'CL_ABAP_CONV_IN_CE============CP' had to be

terminated as the conversion

would have produced incorrect data.

The number of characters that could not be displayed (and therefore not

be converted), is 2. If this number is 0, the second error case, as

mentioned above, has occurred.

Read only

0 Likes
729

I am new for STRANS creation. Any help file ?

Read only

former_member242255
Active Contributor
0 Likes
729

This message was moderated.

Read only

Former Member
0 Likes
729

Havent received further replies - So closed the thread - Any how thanks for all the answers