‎2007 Apr 30 9:58 AM
Dear ABAPers,
I am working in the Upgradation project.In our Project we are moving the objects from SAP 4.6c to ECC6.0 version.I have copied one program from SAP 4.6c to ECC6.0.When i am checking it gives the following error
PERFORM accepted TABLES i_coss USING zcoss quantity hour.
"I_COSS" cannot be converted to the line incompatible. The line type must have the same structure layout as "I_COSS" regardless of the length of a Unicode . Unicode character. Unicode character.
Please Give me the solution for this Problem.
Thanks & Regards,
Ashok.
‎2007 Apr 30 10:03 AM
HI,
Check whether the DAta types of i_coss is one and the same in PERFORM and FORM.. subroutine..
The data type should be same for both the actual and formal parameters..
Hope didnt misunderstand your question..
reward if helpful ..
regards,
nazeer
‎2007 Apr 30 10:04 AM
Hi,
in the form routine you have to declare the same structure as table i_cross is using.
for example:
types: begin of s_coss,
field1 type c,
field2 type c,
.......
end of s_coss.
data: i_coss type standard table of s_coss.
perform accepted TABLES i_coss USING zcoss quantity hour.
form accepted tables t_coss structure s_coss
using p_coss type ...
p_quan type....
p_hour type ....
.
Kostas