Application Development and Automation 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: 
Read only

Data objects in Unicode programs cannot be converted.

former_member196517
Contributor
0 Kudos
2,511

Hi ,

Can someone help me in gettig rid of this dump ..

"Data objects in Unicode programs cannot be converted. "

I am just doing a read statement and <lt_data> has subset of fields in CG_DATA structure

READ TABLE <lt_data> INTO cg_data

INDEX 1.

Reagrds

Anuj

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Kudos
419

Hello,

Because the structure of the int. table <lt_data> & the work area cg_data should be same.

May be create a new work area & then READ the table.

BR,

Suhas

3 REPLIES 3
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Kudos
420

Hello,

Because the structure of the int. table <lt_data> & the work area cg_data should be same.

May be create a new work area & then READ the table.

BR,

Suhas

Read only

Former Member
0 Kudos
419

I don't think you can use a subset of the structure. They have to be identical.

Rob

Read only

rainer_hbenthal
Active Contributor
0 Kudos
419

What kind of weird coding is this? The work area should always be of the same type of the corresponding table. If it is performance critical, you can limit down the fields via the transporting clause. Use a fieldsymbol for best performance, the transporting clause will be obsolet in that way cause no memory to memory copy is in place using field symbols.

If you dont need any of those fields and just need to no the existence use transporting no fields.