‎2007 Feb 12 7:57 AM
hi
im working with smartforms..
im passing an internal table to form..
in da form i've created a table.in da main area of table im using a loop to print internal table data..
under data tab of loop im using
loop at itab into wa.
(wa is defined in global defintions and has same type as dat of itab)...
when i activate the form it does not show any error and is activated....
but when i run da print program runtime error appears with da following message:
UC_OBJECTS_NOT_CONVERTABLE...
and indicator is on line in form module with code LOOP AT ITAB INTO WA.
can ny1 temme how to resolve dis issue...
points 'll b rewarded..
rgds
Message was edited by:
abapuser
‎2007 Feb 12 8:57 AM
Hi ,
I think this is related to unicode objects .
What is itab declared as .
read this .
Implicit conversions
The above rules also apply to all ABAP statements that use implicit conversions
according to the MOVE semantics. For example, this is true for the following
statements for internal tables:
APPEND wa TO itab.
APPEND LINES OF itab1 TO itab2.
INSERT wa INTO itab.
INSERT LINES OF itab1 INTO [TABLE] itab2.
MODIFY itab FROM wa.
MODIFY itab ... TRANSPORTING ... WHERE ... ki = vi ...
READ TABLE itab ...INTO wa.
READ TABLE itab ...WITH KEY ...ki = vi ...
LOOP AT itab INTO wa.
LOOP AT itab .... WITH KEY ... ki = vi ...
Please reward if useful.
‎2007 Feb 12 8:57 AM
Hi ,
I think this is related to unicode objects .
What is itab declared as .
read this .
Implicit conversions
The above rules also apply to all ABAP statements that use implicit conversions
according to the MOVE semantics. For example, this is true for the following
statements for internal tables:
APPEND wa TO itab.
APPEND LINES OF itab1 TO itab2.
INSERT wa INTO itab.
INSERT LINES OF itab1 INTO [TABLE] itab2.
MODIFY itab FROM wa.
MODIFY itab ... TRANSPORTING ... WHERE ... ki = vi ...
READ TABLE itab ...INTO wa.
READ TABLE itab ...WITH KEY ...ki = vi ...
LOOP AT itab INTO wa.
LOOP AT itab .... WITH KEY ... ki = vi ...
Please reward if useful.
‎2007 Feb 12 8:57 AM
Hi,
Check the table type of the internal table that you have declared in Form Interface.
regards,
G@urav
‎2007 Feb 12 9:19 AM
hi
table type of itab in form interface is same as the type of internal table in print program