01-08-2008 9:12 AM
Hello to all,
I've got a structure "test" in dictionary with char and dec fields like
PROFROLE PROFROLE CHAR 4 0
PREV_USEFACTOR PREV_USEFACTOR DEC 17 8
PREV_CALCULATED E_PREV_CALCULATED CHAR 1 0
my code is:
Data: l_var type test.
......
write l_var.
In this case I get the following error message:
Unable to convert "l_var" in a charakter like structure.
the following write instruction works fine.
write: l_var-PROFROLE, l_var-PREV_USEFACTOR, l_var-PREV_CALCULATED.
Does the automatic data type conversion only get active, when all fields of the structure are read seperately?
Regards Christian
01-08-2008 9:53 AM
Hi,
Yes. You have to wite the fields you want to display separately.
Regards,
Renjith Michael.
01-08-2008 9:51 AM
Hi,
When we use write statement, structures are treated as a data object of type c and must be character-like in Unicode systems.
With Regards
Madhu.
01-08-2008 9:53 AM
Hi,
Yes. You have to wite the fields you want to display separately.
Regards,
Renjith Michael.
01-08-2008 10:18 AM