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

Solution for Unicode error MESSAGEG:Z

Former Member
0 Likes
517

Hi all ,

I have a code

PERFORM write_report TABLES i_guideline

using 'Merit'

'Guideline Amount' .

FORM write_report TABLES p_i_mrth STRUCTURE i_mrth

using p_title

p_title2.

After its unicode error check it is showing .

Error Code : *MESSAGEG:Z*

Error Msg : I_GUIDELINE" and the line type of "P_I_MRTH" are incompatible. With regard to alignment gaps, the line type of "P_I_MRTH" is not a real initial part of "I_GUIDELINE". .

Can anyone please give me any solution .

Thanks ,

Regards ,

Swashrayee

3 REPLIES 3
Read only

Former Member
0 Likes
471

hi

http://forums.sdn.sap.com/thread.jspa?threadID=1077855

this is not solution for this question....this is solution for sub divison alv header ...

thanks

chaitanya

Read only

uwe_schieferstein
Active Contributor
0 Likes
471

Hello Swashrayee

Without telling us the (data) definition for itab I_GUIDELINE and the structure I_MRTH it is diffcult to address your question.

I assume that I_GUIDELINE has an unstructured type whereas I_MRTH is structured (or vice versa). Moving unstructured data into a structured field (or vice versa) was acceptable before Unicode but may the root cause in your situation.

Regards

Uwe

Read only

umashankar_sahu
Active Participant
0 Likes
471

Hi,

In Unicode system type Incompatible error will appear when transferring the data from one structure to another strucrture which is not same alinged.

Might Be your one of the structure where filed's of i_guideline are like

a(4) type C ,

b(2) type C,

c type I,

d type N.

but another structure are I_MRTH

a (4) type c,

b Type I,

c Type C,

d type N.