Application Development 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: 

Get role description from BAPI_HELPVALUES_GET

Former Member
0 Kudos

HI,

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

Regards

Joy

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

11 REPLIES 11

Former Member
0 Kudos

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

0 Kudos

HI,

For any single role .

Regards

Joy

0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

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.

0 Kudos

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

0 Kudos

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

0 Kudos

Hi ,

I need to find the desc for single role

Thanks

\joy

0 Kudos

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??