Skip to Content
author's profile photo Former Member
Former Member

How to assign authorization S_RFC ?

Hi all,

Can someone tell me how to assign authorization S_RFC for any function group (In my case,PWP2)?

What's the exact procedure? I am very much new to ABAP programming.

I have looked at the follwoing threads :

authorization-srfc-for-function-group-pwp2

how-to-add-a-function-group-to-authorization-objec

Answers will be rewarded.

Thanks,

M.Subathra

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 15, 2006 at 04: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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 15, 2006 at 09: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 15, 2006 at 04: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 15, 2006 at 04: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 15, 2006 at 05:46 AM

    Hi Subathra,

    Just go through the following links :

    /message/1652676#1652676 [original link is broken]

    Reward points if helpful,

    Thanks & Regards,

    Sumana

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.