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

Looping issue in Smartform

Former Member
0 Likes
611

Hi All..

I am working on a smartform.

While activating the form, i came across a error called "A line of I_ITEMS and WA_ITEMS is not mutually convertible. In Unicode program, I_ITEMS must have same structure layout".

But in program, i have defined both objects as follows..

Data: i_items TYPE STANDARD TABLE of ty_items.

Data: wa_items TYPE ty_items.

What to do now..???

How to resolve this issue..????

Please Help me out....

Regards

Pavan

1 ACCEPTED SOLUTION
Read only

jayanthi_jayaraman
Active Contributor
0 Likes
580

Hi,

In Form Interface->Tables

you need to give the declaration as

itab <b>like</b> structure_name

Kindly reward points if it is useful.If your problem is not solved,kindly revert back.

5 REPLIES 5
Read only

Former Member
0 Likes
580

Hello,

Have you declared the table(passed from program) correctly in Smartforms ??

Regards,

Shehryar Dahar

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
580

Hi,

If you are passing internal table from your program,it's struture should exist in ABAP dictionary.Even if you defined in your program,that is not sufficient.

Kindly reward points if it helps.

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
581

Hi,

In Form Interface->Tables

you need to give the declaration as

itab <b>like</b> structure_name

Kindly reward points if it is useful.If your problem is not solved,kindly revert back.

Read only

Former Member
0 Likes
580

Hi Pavan

If you are on NON-UNICODE system, uncheck the check box "Unicode Check active" from the attributes of the program. This will resolve your problem.

If not kindly post your code, so we could help...

Kind Regards

Eswar

Read only

0 Likes
580

Thanks to everyone here...

Special Thanks to Jayanthi...

I have changed the I_ITEMS's structure in Form Interfaces of the form.

Now its working fine...

Regards

Pavan