Skip to Content
avatar image
Former Member

Export Data from Buffer package wise

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 27, 2017 at 12:14 PM

    "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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 27, 2017 at 01:15 PM

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

    Add comment
    10|10000 characters needed characters exceeded