09-22-2009 8:45 AM
HI,
i am working to get the role description as described in the below document .
can some one can help me to achive this via BAPI_HELPVALUES_GET ?
Regards
Nina
09-22-2009 9:29 AM
Hi Nina,
alternatively you can get all the texts (also long text) with FM PRGN_RFC_READ_TEXTS...
b.rgds, bernhard
09-22-2009 9:29 AM
Hi Nina,
alternatively you can get all the texts (also long text) with FM PRGN_RFC_READ_TEXTS...
b.rgds, bernhard
09-22-2009 11:14 AM
Hi Bernhard,
Thanks but this FM is not release to customer ,
there is a way to do it with BAPI_HELPVALUES_GET ?
i read this
E.g. for roles information, see section 1.6.2.4 but i don't know how to use it?
Regards
Nina
Edited by: Nina C on Sep 22, 2009 12:24 PM
09-22-2009 1:05 PM
Hi,
you can get the list of roles with the following parameters.
OBJNAME = USER
METHOD = ACTGROUPSASSIGN
PARAMETER = ACTIVITYGROUPS
FIELD = AGR_NAME
Btw that BAPI is well documented. You can use it for any parameter used in BAPI. You just need to identify Business object and corresponding method. Both things can be easily done in transaction BAPI.
Cheers
09-22-2009 1:57 PM
Hi Martin
Thanks !
there is a way to get description for specific role which is store in agr_define table ?
Regards
Nina
Edited by: Nina C on Sep 22, 2009 4:40 PM
09-22-2009 9:54 PM
Yes, it is possible. Please read a documentation for this BAPI in SE37 or BAPI. I suggest to check parameter SELECTION_FOR_HELPVALUES. You can use this structure to pass your selection criteria to BAPI.
Cheers
09-23-2009 9:40 AM
Hi Martin,
Thanks ,
i try but i cant find the description(i read the FM docu ) for single specific role can u help please ?
Regards
Nina
09-23-2009 10:49 AM
You should try harder. There is a separate page for the structure SELECTION_FOR_HELPVALUES. You just need to click on that structure. Basically it works like any other selection criteria in ABAP. So you want to restrick your selection for field ARG_NAME to value <ROLE_NAME>. Just set sign to "I" and option to "EQ".
Cheers
09-23-2009 12:27 PM
HI ,
I try it but i get all the roles with there description .
i put in the selection table
OBJTYPE USER
OBJNAME
METHOD ACTGROUPSASSIGN
PARAMETER ACTIVITYGROUPS
FIELD AGR_NAME
SELECT_FLD S OP LOW HIGH
/IPRO/AUTHOR I EQ
/IPRO/AUTHOR is example of the role which i need the description of it
and i get all the BE like 1000
Thanks
Nina
Edited by: Nina C on Sep 23, 2009 4:29 PM
09-23-2009 10:03 PM
09-24-2009 8:33 AM
09-22-2009 5:34 PM
Hi,
If I understood your question correctly. You want the text names of the roles maintained in agr_define table. If this is the case, you can refer to the table AGT_TEXTS as it stores all the text names of the SAP roles maintained in AGR_DEFINE.
Let us know if you need any more information on this.
Thanks.
09-22-2009 5:46 PM
Hi
i need to find the role description for specific role via BAPI_HELPVALUES_GET .
and without direct select from agr tables or unreleased api .
Thanks
Nina