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

Problem in Activating the Program in Unicode Systems

Former Member
0 Likes
451

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.

2 REPLIES 2
Read only

Former Member
0 Likes
376

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

Read only

kostas_tsioubris
Contributor
0 Likes
376

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