01-08-2009 5:42 AM
Hi Gurus,
I am working in SAP Unicode system.
We have transferred the standard programs for Non-Unicode to Unicode system.
In one standard function module, <table name> is defined in TABLES parameter as a type of TLINE structure, which has two fields - one is 132 length CHAR and other is 2 length CHAR.
In the same function module , one subroutine is being called, for which <table name> is passed.
But in the FORM of subroutine, this table is defined as a type of HLINE, which has only one field - 134 length RAW data type.
So due to confilct in data types ( CHAR and RAW ) , I am getting an error that both data types are not line compatible.
Do i need to use casting concept to remove the error.
Please suggest me the way to handle this.
02-16-2009 11:50 AM
hi,
declare the table as same data type.
dont go for any other types.
if you still want the form table as HLINE, then before the form call declare a varibale with TLINE data type pass the values to HLINE.
i think this will be little complex, because again it will be type incompatablity.
we can forcefully pass the values to HLINE with a class.
but i think no need, declaring with same data type might be easy.
Thanks
Vinod