‎2008 Jul 18 2:47 PM
we are in the upgrade process from 4.6 to ecc6.
in the program there was a coding like this and it got error when we did uccheck.
MOVE INNNN TO DL_IT008.
because of the error, we change the coding to the following.
assign INNNN to <FS>.
move <FS> to DL_IT008.
unassign <FS>.
and when we run, we are getting dump says,
The statement
"MOVE src TO dst"
requires that the operands "dst" and "src" are convertible.
Since this statement is in a Unicode program, the special conversion
rules for Unicode programs apply.
In this case, these rules were violated.
any idea
‎2008 Jul 18 3:46 PM
Hi,
Please check this:
DATA:
innn LIKE prelp,
dl_it008 LIKE p0008.
FIELD-SYMBOLS: <innn> TYPE X,
<dl_it008> TYPE X.
ASSIGN innn TO <innn> CASTING.
ASSIGN dl_it008 TO <dl_it008> CASTING.
<innn> = <dl_it008>.
<dl_it008> = <innn>.
WRITE: sy-subrc.Regards
Adil
‎2008 Jul 18 2:51 PM
Please try the clause
casting type
in the assign statement
make the
data : <FS> type target type
‎2008 Jul 18 2:51 PM
if INNNN and DL_IT008 both are structure... then u mast use fld by fld move.
Amitava
‎2008 Jul 18 2:52 PM
‎2008 Jul 18 3:16 PM
DATA:
DL_IT000 LIKE P0000,
DL_IT001 LIKE P0001,
DL_IT006 LIKE P0006,
DL_IT008 LIKE P0008,
DL_IT009 LIKE P0009.
field-symbols <fs> type any.
MOVE INNNN TO DL_IT008.
assign INNNN to <FS>.
move <FS> to DL_IT008.
unassign <FS>.
This is what the coding part.
Move INNNN to DL_IT008 was giving issue that is why we changed to field symbels.
can you please tell me what will be the correct coding
‎2008 Jul 18 3:21 PM
‎2008 Jul 18 3:13 PM
Hi MAT,
Check this links:
http://help.sap.com/saphelp_nw04/helpdata/en/79/c55473b3dc11d5993800508b6b8b11/content.htm
http://help.sap.com/saphelp_nw04/helpdata/EN/79/c554d3b3dc11d5993800508b6b8b11/content.htm
If possible can you tell the INNNN and DL_IT008 types.
Regards
Adil
‎2008 Jul 18 3:46 PM
Hi,
Please check this:
DATA:
innn LIKE prelp,
dl_it008 LIKE p0008.
FIELD-SYMBOLS: <innn> TYPE X,
<dl_it008> TYPE X.
ASSIGN innn TO <innn> CASTING.
ASSIGN dl_it008 TO <dl_it008> CASTING.
<innn> = <dl_it008>.
<dl_it008> = <innn>.
WRITE: sy-subrc.Regards
Adil
‎2008 Jul 18 4:21 PM