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

type TABIX mutually convertible?

Former Member
0 Likes
877

hi there....

i want to knw if type TABIX is mutually convertible to anything or not.

for eg, when i write

var1 type TABIX value 1.

it throws a syntax error that tabix is not mutually convertible to 1.

please help.

7 REPLIES 7
Read only

Former Member
0 Likes
841

hi,

use this way ...

Data : var1 type sy-TABIX value 1.

Read only

Former Member
0 Likes
841

Hi Prem,

You CANNOT use it like this.

Use SE11 and check TABIX. It is a structure and you are trying to assign a value to a structure, which is not possible in UNICODE environment.

Instead you can use SY-TABIX as avinash has suggested.

Best Regards,

Ram.

Edited by: ram Kumar on Dec 12, 2008 7:37 AM

Read only

0 Likes
841

Hi Ram,

thats what i need to do... i cannot do it in unicode, but it is possible in 4.6 ..... i am working on an upgrade process from 4.6 to 6.0 and hence require this functionality. what ddo you suggest....

Read only

0 Likes
841

Hi Prem,

As i understand, in Upgrade process, we have an option to modify such errors in programs right

I would suggest you to go a head and modify TABIX to SY-TABIX, to avoid confusion at later point of project. I dont think there is any work around.

Best Regards,

Ram.

Read only

0 Likes
841

yep there is the way of manually doing it... but im developing a prog which does this automatically, and hence need to add this too.... anyways, thanks for the help.

Read only

Former Member
0 Likes
841

Hi,

Instead of TABIX use SY-TABIX.

Read only

Former Member
0 Likes
841

completed.