06-15-2006 5:42 AM
06-15-2006 5:47 AM
You should insert the authority-check in the Function modules of your function group:
AUTHORITY-CHECK OBJECT 'S_RFC'
ID 'RFC_TYPE' FIELD <value>
ID 'RFC_NAME' FIELD <value>
ID 'ACTVT' FIELD <value>
This object has to assign to profile of all users who'll use those fms.
You can manage the profile by trx PFCG.
06-15-2006 5:47 AM
You should insert the authority-check in the Function modules of your function group:
AUTHORITY-CHECK OBJECT 'S_RFC'
ID 'RFC_TYPE' FIELD <value>
ID 'RFC_NAME' FIELD <value>
ID 'ACTVT' FIELD <value>
This object has to assign to profile of all users who'll use those fms.
You can manage the profile by trx PFCG.
06-15-2006 5:53 AM
Hi Mukesh,
Thanks for that reply. that is what given in the thread I had referred. I could not get what exactly it means.
1. How should the authority-check be inserted?
2. How should the object be assigned to the profile of an user using PFCG?
Please help.
Thanks,
M.Subathra
06-15-2006 6:04 AM
Hi all,
I just got the following document regarding assigning authorizations.
Let me go through & shall post back in case of any queries.
Regards,
M.Subathra
06-15-2006 5:47 AM
Hi,
I am confused a little, the authorizations are given to the user id's and to the objects / function groups.
If you want to make a function module to be remote enabled, go to the attributes of the function and there will be a radio button REMOTE ENABLED, just select that and activate the function.
If you want to give the authorization to a user you can do that in SU01 transaction profiles tab.
Regards,
Ravi
06-15-2006 5:50 AM
Hi
You would give authority to all users who have use this transaction
The below code should be used....
AUTHORITY-CHECK OBJECT 'S_RFC'
ID 'RFC_TYPE' FIELD <value>
ID 'RFC_NAME' FIELD <value>
ID 'ACTVT' FIELD <value>
Kindly reward points
06-15-2006 6:46 AM
06-15-2006 10:47 AM
Hi all,
I have gone through the document.
This is what I've inferred. Correct me if I go wrong anywhere..
--> The authorization object S_RFC is already available in the SAP R/3 system in the class <b>AAAB</b>.
-->To assign the object to the user:
Create a role & change the authorization data for the role.To do this, after creating a role,
press the <b>Authorizations</b> tab & click <b>Change authorization data</b>.Now,press Ctrl + shift + F9 and enter S_RFC.Generate the authorization.
A profile will automatically be created & assigned to the role.
Now,using tcode SU01, assign the role to the user.
I have some doubts in this:
I need to assign the S_RFC for function group PWP2 to an user. Where do I specify the function group? Should I edit the S_RFC somewhere?
If am not clear, please mention which part u want me to explain.
Any help will be greatly rewarded.
Thanks & regards,
M.Subathra
06-15-2006 10:51 AM
06-15-2006 11:01 AM
Hi,
I have gone thru the thread already.
I just want to ensure that the procedure that I have mentioned in my previous post in this thread is correct.
Please help.
Regards,
M.Subathra
06-15-2006 11:07 AM
The procedure looks ok to me!
I was referring to your question about S_RFC and function group PWP2: you just need to specify FUGR in the type and the name 'PWP2' in the related field.
Best regards,
Guillaume
Message was edited by: Guillaume Garcia
06-15-2006 11:14 AM
Hi,
Thanks for that immediate reply. Do u mean to say that While assigning the authorization object to the role itself, I'll be asked to specify the type and name?
At present, I don't have rights to change the authorization data. That's why I have the doubt.
Regards,
M.Subathra
06-15-2006 12:52 PM
You assigned the authorization object to a profile. And this profile is bound to the role.
Regarding the authorization object itself, you should definitely fill the 3 fields.
-> the traffic light should <b>turn green</b> and then you generate the profile
Best regards,
Guillaume