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

Regarding Application Server Data length more than 512

Former Member
0 Likes
1,327

Hello Experts

There is requirement to post the data into application server from internal table of length more than 512 characters.

But when we transfer the values from internal table to application server through open and closed dataset ,

the number of characters decreased to 512 from 800. but when we check data length of internal table field

its 800 but only 512 characters are transferred. i have come across two approaches which are not working.


Approach 1.

Calculating the length of the internal table field ie LEN

Transfer IT to FILE LENGTH LEN.

When we debugged and check the LEN its 800 but on application server its getting truncated.


Approach 2.

it spiting the record into two part ie below 512 and more than 512 so per record its taking two lines on application

hence while download also its taking two line which is not advisable.


So Experts need you suggestion for the same. Also kindly provide the data types for IT field and FILE if anything is specific.


Awaiting for your response

Nishi



10 REPLIES 10
Read only

Former Member
0 Likes
1,117

Still awaiting for reply from experts.....

Read only

0 Likes
1,117

Hello Team

Could you please explore this issue as and when you have a chance, seeing as you all have your own day job to do?

Thanks

Nishi

Message was edited by: Gareth Ryan Edited to change the request for ASAP help - everyone on SCN gives their time for free, around their work so please be patient and understand if you don't get an immediate response.  Also, please try searching before posting.

Read only

0 Likes
1,117

Hi,

as you need it asap im sure u did a little search on SCN.

does this here help you ? -->

it sounds like its only an issue if displaying the data/downloading via cg3y.

regards

Stefan Seeburger

Read only

0 Likes
1,117

Hello Stefan

i tried with these option but it didnt serve the purpose. Could you please suggest any other approach.

thanks

Nishi

Read only

0 Likes
1,117

Hi,

what did you try?

how did you get the file on your local pc?

where/how did you check the file has only 512 length?

regards

Stefan Seeburger

Read only

0 Likes
1,117

Hi,

did you try to copy the file directly from your application server to "somewhere" and not export it via SAP/CG3Y.

did you check the file somewhere outside SAP with a hex editor? (not with word-pad)

regards

Stefan Seeburger

Read only

0 Likes
1,117

Hii

before moving to application server i checked the length which is fine, in debug option ie Text in browser. then once data from internal table moved to application server we have downloaded in word format and check the length it was truncated.

Thanks

Nishi

Read only

0 Likes
1,117

Hi,

how did you download your file ?

could you check the file directly in the server ?

regards

Fred

Read only

0 Likes
1,117

Hii

i have downloaded file via option download available on AL11.

Regards

Nishi

Read only

0 Likes
1,117

Nishi, did you read the post of Stefan Seeburger ?   it explains AL11 cut the file in display to 512 car ...

use CG3Y  or direct access to the server

regards

Fred