Skip to Content
0

Export Data from Buffer package wise

Mar 27, 2017 at 11:22 AM

37

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Horst Keller
Mar 27, 2017 at 12:14 PM
1

"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_cluster_medium.htm

Share
10 |10000 characters needed characters left characters exceeded
Uwe Gebhardt
Mar 27, 2017 at 01:15 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded