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

Module Pool With Table Control

former_member185124
Participant
0 Likes
848

Hi guys ,

i have got some runtime error  'Data objects in Unicode programs cannot be converted' like this.So, please give me the suggestion what can i do.

Regards,

Mahesh

8 REPLIES 8
Read only

Former Member
0 Likes
826

Hi Mahesh,

it looks some compatibility error. Can you share your code so that it will be easy for us to analyse.

Read only

0 Likes
826

PROCESS BEFORE OUTPUT.

* MODULE STATUS_9001.

LOOP AT  IT_ZCABLESPEC INTO ZCABLESPEC WITH CONTROL TC1

                                 CURSOR TC1-CURRENT_LINE.

ENDLOOP.

PROCESS AFTER INPUT.

LOOP  .

ENDLOOP.


Error will came at Pbo loop.

Read only

0 Likes
826

It's not much clear from here. In the run time error document the issue would be mentioned. Please check that. Also you can refer RSDEMO_TABLE_CONTROL.

Read only

0 Likes
826

Also in PAI try putting:

LOOP AT  IT_ZCABLESPEC .

ENDLOOP.


Read only

0 Likes
826

Are IT_ZCABLESPEC and ZCABLESPEC defined uising the same structure?

Regards,

Raymond

Read only

0 Likes
826

Hi Mahesh,


MAHESH K wrote:

PROCESS BEFORE OUTPUT.

* MODULE STATUS_9001.

LOOP AT  IT_ZCABLESPEC INTO ZCABLESPEC WITH CONTROL TC1

                                 CURSOR TC1-CURRENT_LINE.

ENDLOOP.


Kindly make sure both the IT_ZCABLESPEC And ZCABLESPEC have same structure. Check the global structure as shown below.


  DATA: IT_ZCABLESPEC TYPE TABLE OF TY_ZCABLESPEC,      "Internal Table

             ZCABLESPEC TYPE TY_ZCABLESPEC.                              "Work Area

Regards

Rajkumar Narasimman

Read only

Former Member
0 Likes
826

If you're making a new development, I suggest you to use editable ALV grid, it's much better than table control.

Read only

Former Member
0 Likes
826

Hi,

If you are using and currency and quantity field.

Change Dictionary type to decimal.

You will find above in screen painter Attributes.

Thank you.

Dular Sharma.