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

Calculation based on Internal Table Row ID

Former Member
0 Likes
679

Hi,

I have internal table, i want to do some calculation based on Internal table Row ID, wich will create system automaticlly and this id will uniq. I want to use this id in my program.

So how can i do this.

Ranveer.

Hi,

I have internal table, i want to do some calculation based on Internal table Row ID, wich will create system automaticlly and this id will uniq. I want to use this id in my program.

So how can i do this.

Ranveer.

4 REPLIES 4
Read only

Former Member
0 Likes
614

Hi,

The field sy-tabix will give you the table index or the row id. You can use this field for validation, to carry out your calculations.

Regards,

Sharmila

Read only

0 Likes
614

Hi Sharmila,

No I dont want Sy-Tabix. Its not my solution.

Actually I want ROW id like first row and first columt (matrix ) 00, 01, 11, & 12 etc.

I have to use system generated id.

Thanks

Ranveer.

Read only

Former Member
0 Likes
614

hi,

if u want to create this id automatically,use transaction SNRO,

or u can create t through programming too.eg. suppose field is 'id' in table 'customer'.

select * from from customer.

itab-id = sy-dbcnt + 1.

modify customer from itab.

u can use this id in calculations too,

Read only

0 Likes
614

Hi,

Thanks for Reply.

I want to fetch internal table row id like 00,01,11,12 etc.

How can i do this?

Ranveer.