Skip to Content
0
Former Member
Dec 05, 2006 at 06:12 PM

IMPORT/EXPORT FROM DATA BUFFER

2334 Views

Hi,

I have some code like this:

DATA: b type xstring.

DATA: a type xstirng.

EXPORT '1234' TO DATA BUFFER b.

IMPORT a FROM DATA BUFFER b.

for some reason a does not get set to the value that I assigned to b.

However, this code works:

DATA: b type xstring.

DATA: a type xstirng.

EXPORT some_internal_table TO DATA BUFFER b.

IMPORT a FROM DATA BUFFER b.

Does anybody know why internal tables work but other data types do not?

Thank you.