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

Get role description from BAPI_HELPVALUES_GET

Former Member
0 Likes
1,238

HI,

there is a way to get the role description with BAPI_HELPVALUES_GET ?

Regards

Joy

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,190

There might be..depending on what kind of role you are looking for ?? (negative, double, double negative)

11 REPLIES 11
Read only

Former Member
0 Likes
1,191

There might be..depending on what kind of role you are looking for ?? (negative, double, double negative)

Read only

0 Likes
1,190

HI,

For any single role .

Regards

Joy

Read only

0 Likes
1,190

Hi,

Well I checked with BOR object BUS1006.

Gibvd the following values as input to FM:

OBJTYPE - BUS1006

METHOD - GETROLES

PARAMETER - BUSINESSPARTNERROLE

This will give you all the Roles for Business Partners.

You can try the same approach with other objects.

Regards,

Sachin

Read only

0 Likes
1,190

Thanks

but i want just to find role with role description of it with this Fm

do u have an idea how i can achieve it ?

Regards

Joy

Read only

0 Likes
1,190

Well, exactly what kind of role you are looking for?? Can you please provide some more details..

The FM requires Object Type as an input, along with the method and parameter. Go to TCode SWO1 and look for the Object Type for which you want the role.

Regards,

Sachin

Read only

0 Likes
1,190

HI

i need to find for example to role SAP_BC_WEBSERVICE_CONSUMER the description ,

how i can do so with the Fm ?

there is option to do so .

i am not familiar with all this logic

Regards

joy

Edited by: Joy Stpr on Sep 21, 2009 8:37 PM

Edited by: Joy Stpr on Sep 21, 2009 11:05 PM

Read only

0 Likes
1,190

hi,

You can select the role Description from the table AGR_TEXTS.

As for the FM, I think this will give all the values from the Search Help name provided to it.

Read only

0 Likes
1,190

HI ,

about AGR_TEXTS i know it ,

but can u elaborate on how i get the role desc from the helpvalue fm?

regards

Joy

Edited by: Joy Stpr on Sep 22, 2009 9:10 AM

Read only

0 Likes
1,190

Hi,

As I have said before, you need to find a BOR Object and method to use this FM

I checked with BOR object BUS1006.

Give the following values as input to FM:

OBJTYPE - BUS1006

METHOD - GETROLES

PARAMETER - BUSINESSPARTNERROLE

This will give you all the Roles for Business Partners.

You can try the same approach with other objects.

I found an Object ROLE, but it does not contain the methods for reading Role Description.

Regards,

Sachin

Read only

0 Likes
1,190

Hi ,

I need to find the desc for single role

Thanks

\joy

Read only

0 Likes
1,190

Well I am afraid I can't think of a way to use this FM for that. But why can't you use the table instead to get the Role Description??