How to assign string to structure in unicode system R/3 4.7 ?

Priya Sharma priya.sharma at tcs.com
Thu May 22 04:53:37 EDT 2008


Hi All, 

We are upgrading system from non-unicode to unicode.

While passing a string to a structure ( MOVE RECEIVERS-RECEIVER TO 
RECEIVER_OBJECT, where 
RECEIVERS_RECEIVER = string 
RECEIVER_OBJECT = structure ) 
following error is thrown : 

"RECEIVER_OBJECT" and "RECEIVERS-RECEIVER" are not mutually convertible in 
a unicode program.

To resolve this error, i hv used :

CALL METHOD CL_ABAP_CONTAINER_UTILITIES=>FILL_CONTAINER_C
EXPORTING
IM_VALUE = RECEIVERS-RECEIVER
IMPORTING
EX_CONTAINER = RECEIVER_OBJECT
EXCEPTIONS
ILLEGAL_PARAMETER_TYPE = 1
others = 2

While activating the code, following error message is thrown :

"RECEIVER_OBJECT" is not type-compatible with formal parameter 
"EX_CONTAINER".

Please help me out to solve this issue .. 
I need to know what I am missing here to make my code correct.

Thanks in advance.
Priya





=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080522/67912ed1/attachment.htm


More information about the SAP-WUG mailing list