‎2010 May 11 12:47 PM
Hi,
I am using following code for importing memory-id from
IMPORT E_VBKOK XANZPK TEXTTAB XBOLNR FROM MEMORY ID MEM_ID.
TEXTTAB XBOLNR are structur.
DATA: BEGIN OF MEM_ID,
MANDT LIKE SY-MANDT,
UNAME LIKE SY-UNAME,
MODNO LIKE SY-MODNO,
END OF MEM_ID.
It is showing unicode error . How it will be solved.
‎2010 May 11 5:57 PM
Hi ,
The memory id should character type. Use the below data declarations.
DATA: BEGIN OF MEM_ID,
MANDT(3) TYPE c,"SY-MANDT,
UNAME(12) TYPE c,"SY-UNAME,
MODNO(10) TYPE c,"SY-MODNO,
END OF MEM_ID.
Regards,
Naveen
‎2010 May 11 1:35 PM
Hi,
The memory id MEM_ID should be of character type. That means all the components of the Structure should be of type C,N,D,T.
Try changing the types into equivalent character fields.
Thanks
Ajay
‎2010 May 11 5:57 PM
Hi ,
The memory id should character type. Use the below data declarations.
DATA: BEGIN OF MEM_ID,
MANDT(3) TYPE c,"SY-MANDT,
UNAME(12) TYPE c,"SY-UNAME,
MODNO(10) TYPE c,"SY-MODNO,
END OF MEM_ID.
Regards,
Naveen
‎2010 May 11 10:03 PM
Hello
You need to provide the data objects for the IMPORT statement (see ABAP keyword documentation for IMPORT):
IMPORT E_VBKOK = var1 XANZPK = var2 TEXTTAB = var3 XBOLNR = var4
FROM MEMORY ID MEM_ID.
Regards
Uwe