‎2014 Oct 14 5:04 AM
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
‎2014 Oct 14 8:52 AM
‎2014 Oct 15 8:32 AM
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.
‎2014 Oct 15 10:08 AM
‎2014 Oct 15 10:43 AM
Hello Stefan
i tried with these option but it didnt serve the purpose. Could you please suggest any other approach.
thanks
Nishi
‎2014 Oct 15 11:49 AM
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
‎2014 Oct 15 12:03 PM
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
‎2014 Oct 15 2:24 PM
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
‎2014 Oct 15 2:28 PM
Hi,
how did you download your file ?
could you check the file directly in the server ?
regards
Fred
‎2014 Oct 15 2:38 PM
Hii
i have downloaded file via option download available on AL11.
Regards
Nishi
‎2014 Oct 15 2:41 PM
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