08-12-2009 11:10 AM
Hi all,
I am facing one problem while updating ecc4.6c to ecc6.0/
In 4.6 one statement is
Data:zos like zo_ss where zo_ss=transparent table
zob-taskNo = zos. where zob is trasparnet table .
But in ecc 6.0 its giving mutual convertible error.
Kindly help me in resolving the issue.
Regards,
Smita
08-12-2009 11:12 AM
You can no longer move an entire structure into one field. Both fields should have to same type here.
08-12-2009 11:21 AM
Hi Smita,
zob-taskNo = zos. " this statement is wrong it should be zob-taskNo = zos-<field name>.
try to find the missing field of zos which is mapped to taskNo.
Thnks
Rohit G
08-12-2009 1:03 PM
Hi,
You cannot directly assign a field of a dbtable like this
zob-taskNo = zos
Since zob is a transperant table, You have to use update statement
Data:zos like zo_ss where zo_ss
loop at zos.
UPDATE zob SET taskNo = zos-taskno where field1 = zos-field1.
endloop.
Regards,
Vik