‎2012 Feb 09 6:02 AM
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
‎2012 Feb 09 6:41 AM
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
‎2012 Feb 09 7:13 AM
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
‎2012 Feb 09 7:22 AM
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.