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

Data transfer error(application server)

Former Member
0 Likes
461

Hi Gurus,

While uploading data into application server, I have an issue. I am having the data in internal table but I am unable to send all the data into application server.

(open dataset file for output )

TRANSFER l_h_tbl_file TO fu_wk_get_file.

Data in internal table:

f1 f2 f3 f4 f5

1 2 - 4 5

after update to application server:

f1 f2 f3 f4 f5

1 2 - - -

I am getting 2 fields only. if any blank filed(f3) exist between those fields remaining fields also getting blank.

How can proceed further?

Regards,

Dhanu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
431

Try this..instead of moving field by field into the file 1st convert all he fields to a character stream..and then move that steam to file. Ex:

loop at internal table into l_h_tbl_file.

concatenate l_h_tbl_file-f1 l_h_tbl_file-f2 l_h_tbl_file-f3

l_h_tbl_file-f4 l_h_tbl_file-f5 into g_string.

TRANSFER g_string TO fu_wk_get_file.

endloop.

2 REPLIES 2
Read only

Former Member
0 Likes
432

Try this..instead of moving field by field into the file 1st convert all he fields to a character stream..and then move that steam to file. Ex:

loop at internal table into l_h_tbl_file.

concatenate l_h_tbl_file-f1 l_h_tbl_file-f2 l_h_tbl_file-f3

l_h_tbl_file-f4 l_h_tbl_file-f5 into g_string.

TRANSFER g_string TO fu_wk_get_file.

endloop.

Read only

0 Likes
431

Thanks for ur answer

I am using fixed length file. I am getting 900 characters data (divided into 48 fields). when I am transfering data into file I couldnt divide filed by field as u said. Can u tell me any other alternate?

Regards,

Dhanu