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

smartform error

former_member188827
Active Contributor
0 Likes
710

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
597

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.

3 REPLIES 3
Read only

Former Member
0 Likes
598

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.

Read only

Former Member
0 Likes
597

Hi,

Check the table type of the internal table that you have declared in Form Interface.

regards,

G@urav

Read only

0 Likes
597

hi

table type of itab in form interface is same as the type of internal table in print program