Application Development 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 XML file from presentation server and upload into application server

Former Member
0 Kudos

Hi all,

My requirement is to read XML file in presentation server into an internal table (required as I need to process the data of this internal table) and upload it into application server. I am using GUI_UPLOAD and getting data into internal table of structure

data: begin of itab occurs 0,

data(1000) type c,

end of itab.

After this I am using OPEN DATASET statement and moving it to application server.

But the problem is that data in XML file is getting truncated when moved to internal table. Please suggest me how to resolve this.

Regards

Vasu

1 ACCEPTED SOLUTION

brad_bohn
Active Contributor
0 Kudos

Sounds like your XML file doesn't have line breaks. Use type STRING for your internal table field.

2 REPLIES 2

brad_bohn
Active Contributor
0 Kudos

Sounds like your XML file doesn't have line breaks. Use type STRING for your internal table field.

Former Member
0 Kudos

Open dataset in binary mode