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

Export Data from Buffer package wise

Former Member
0 Likes
722

Hi,

to reduce the memory requirement, I would like to use ABAP Locators / Streams.

The good news is, that the data is already stored in a XString Field on the database.

But the XString got created with the help of the EXPORT TO BUFFER Command from

an internal deep table.

My question is: Is it possible to stream the content of such a field?

How many bytes do I read, to get valid Input Data for the IMPORT FROM BUFFER Command?

Thanks for your help.

With kind regards

Uwe Gebhardt

2 REPLIES 2
Read only

retired_member
Product and Topic Expert
Product and Topic Expert
587

"Is it possible to stream the content of such a field?"

No, as SAP's own documentation says:

"The content of a data object filled by EXPORT TO DATA BUFFER can only be evaluated using IMPORT FROM DATA BUFFER. In other evaluations, for example when comparing data clusters, the result is not defined."

https://help.sap.com/http.svc/rc/abapdocu_751_index_htm/7.51/en-US/index.htm?file=abapexport_data_cl...

Read only

Former Member
0 Likes
587

thanks a lot, I guessed / feared so, but there is always the chance, that I overlooked something.