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

Finding object name based on the field value

Former Member
0 Likes
1,417

Heloo,

Actually i need to restrict the user for a single cost center, the plant has 3cost centers, now i need to restrict the user for each cost centers seperately, in order to do that all i have is the fields value (cost center), can i find the object name based on this so that i can restrict him.

Regards,

Sandy

Edited by: S@ndy on Nov 13, 2008 3:40 PM

1 ACCEPTED SOLUTION
Read only

jurjen_heeck
Active Contributor
0 Likes
1,152

Isn't cost center an organizational field? If so, have a look at table AGR_1252 to find all relevant roles with $KOSTL.

If not, you could try to search table AGR_1251 for all roles containg a field named KOSTL. That should also provide the obejct names.

I do not think you can easily find all objects based on a field name because an object can contain up to 10 fields and you'd have to search in all 10..... (unless I'm overseeing something here)

Isn't cost center an organizational field? If so, have a look at table AGR_1252 to find all relevant roles with $KOSTL.

If not, you could try to search table AGR_1251 for all roles containg a field named KOSTL. That should also provide the obejct names.

I do not think you can easily find all objects based on a field name because an object can contain up to 10 fields and you'd have to search in all 10..... (unless I'm overseeing something here)

5 REPLIES 5
Read only

jurjen_heeck
Active Contributor
0 Likes
1,153

Isn't cost center an organizational field? If so, have a look at table AGR_1252 to find all relevant roles with $KOSTL.

If not, you could try to search table AGR_1251 for all roles containg a field named KOSTL. That should also provide the obejct names.

I do not think you can easily find all objects based on a field name because an object can contain up to 10 fields and you'd have to search in all 10..... (unless I'm overseeing something here)

Read only

0 Likes
1,152

thank u for the reply, actually wat i was looking at is about the cost center, that is fine now, now i want to know if there is any way to know the objects based on the fields.. so that i can go find that and restrict it immediatley instead of me searching for that all around

Regards

SAndy

Read only

0 Likes
1,152

Table TOBJ will help you further.

Cheers,

Julius

Read only

0 Likes
1,152

Thank u Julius,

Cheers,

Sandy

Edited by: S@ndy on Nov 13, 2008 4:02 PM

Read only

0 Likes
1,152

So, is there anything you are still not sure about?