Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Reg Structure to Table field (Numc Type) conversion

Former Member
0 Kudos

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

3 REPLIES 3

Sm1tje
Active Contributor
0 Kudos

You can no longer move an entire structure into one field. Both fields should have to same type here.

Former Member
0 Kudos

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

Former Member
0 Kudos

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