Authority Objects to read HR FM BAPI_ORGUNITEXT_DATA_GET

Hello gurus,
   i want to run only FM BAPI_ORGUNITEXT_DATA_GET  through a SAP User ID, i assigned some Authority Objects to it but its not returining anything if i run it through other user using same parameters its showing me the data. i assigned S_DEVELOP the FM and Function group of the FM, it has access to all the infotypes P_ORGIN-all, S_DEVELOP - All tables, P_PERNR - all, S_RFC-the selected FUGR and SYST function group, P_ABAP -all.
Do you guys think i am still missing something, to view the FM output.
In the same user I am getting output from FM BAPI_EMPLOYEE_GETDATA. using these objects.
NOTE: the user dont have any other objects assigned to it, apart from the specified here. (Though i assigned se37 for testing purpose).
i will really appreciate your reply on the same.
thanks in advance
Mani

Sorry - meant PLOG.  I haven't checked the FM in any depths,  but you if you pass object type O to the FM, this is the object type you will need to assign. 
The PLOG could look like this:
Infotype               1000, 1002 (you could put * here)
Planning status    1 (presuming this is what you use)
Object type          O
Plan version         01 (or whatever is your active plan version)
Function code      DISP, LISD (assuming you only want to see)
Subtype              *
You may need other obejct types in the authorization object.  If you use structural authorizations, they have to be in place as well. Consider that the authorization object defines what data your are allowed to read. Structural Authorizations decides where in the org.structure you can read those data.
Your best way forward may be to got to SE37 and test the FM.  Then directly after (if it fails to deliver) go to SU53 and check the authorizations.
No - you should not have to assign the transaction codes.
Hope this helps.
I may have misunderstood the usage of the FM. I am basing my answer on the fact that it reads OM.

Similar Messages

  • Query in  Authority object

    Is it possible to give multiple values to the field of the Authority object.
    For example
    AUTHORITY-CHECK OBJECT 'M_MATE_WRK'
    ID 'ACTVT' FIELD '03'
    ID 'WERKS' FIELD : '0002', '1030', 2700'.
    IF SY-SUBRC <> 0.
    WRITE : 'No authorization'.
    ENDIF.
    Is it possible to give mulitple values for the field WERKS.

    hi,
    it is possible to give authority for more than on field.
    program an AUTHORITY-CHECK.
    AUTHORITY-CHECK OBJECT <authorization object> 
       ID <authority field 1> FIELD <field value 1>. 
       ID <authority field 2> FIELD <field value 2>. 
       ID <authority-field n> FIELD <field value n>. 
    The OBJECT parameter specifies the authorization object.
    The ID parameter specifies an authorization field (in the authorization object).
    The FIELD parameter specifies a value for the authorization field.
    The authorization object and its fields have to be suitable for the transaction. In most cases you will be able to use the existing authorization objects to protect your data. But new developments may require that you define new authorization objects and fields.
    regards,
    satish,
    reward points.

  • Query regarding Authority object

    Hello Friends;
    I just wanna know why we check authorization on selection screen and What do u mean by authority objects?, Who creates It? What is the purpose behind creating it?? What transactions are there relating authority objects in SAP??
    And one more query is there
    See when we call any function module there are several parameters that it contains such as importing ,exporting, tables and exceptions ?? What is the exact use of exception parameters in that? How to handle those exception ...Is it before calling that function module or after ?? What is the syntax for it??
    Regards;
    Parag

    Exception are like errors so to use that in the FM we use raise command .
    Authorization is required ,assume u in Quality department and you are trying to execute a SD dept report which is as per rules not allowed so for that in abap we use Authorization object .
    Use this program for understanding DEMO_AUTHORITY_CHECK
    Transaction SU21 .
    PLease reward if useful.

  • View all the available authority object in any system!!

    Hi,
    Is tere any way i can see all the avaiable authority object in any system?
    Regards
    Gunjan

    Hi,
    Try transaction su21 .it should give you list.
    Thanks.
    Mark points if helpful.

  • BDC to PFCG (Delete Authority Objects from Roles.)

    When we try to change an authority object it gives an error message saying that 'This authority object is used in roles XXX'.
    To remove Authority Ojects from roles, transaction PFCG is used. But the problem is that BDC is almost impossible to PFCG.
    Is there any way you can suggest us to change an authority object when it is assigned to a role or how we can BDC delete authority object from a role or a function/badi we can call to achieve this.
    This is a very high level question.

    Hi
    U should consider PFCG trx is enjoy trx so it's not suitable for BDC, what doesn't mean you can't do a BDC program for that trx but it won't be easy.
    Anyway you can know the users assigned to certain profile reading table AGR_USERS. I believe PFCG shows them sorted alphabetical, so you can know the position where an user should be, after u should use PAGE UP and PAGE DOWN command to scroll the table control.
    Max

  • Custom authority object

    Hallo guys,
    have you ever used a custom authority object within a standard transaction code?
    I need to use a custom authority check in VA01/02/03, is that possible?
    Thanx!

    Hi mike,
    1. Thats not directly possible.
    2. we have to Modify the original source code,
       (by taking access key)
    3. Only then its possible.
    regards,
    amit m.

  • Authority object in sap

    hai,  i create a authority object, with fields etc for program. it has got activity '03', means DISPLAY.
    in SU01, Profile SAP_ALL is taken.(SAP_ALL means all authorization granted, i think).
    now, does it mean inspite of having DISPLAY activity,because of SAP_ALL i have activity to CHANGE the program?

    Dear Shiva,
    SAP_ALL will grant you complete authorization. Hence, you should be able to change as well if SAP_ALL is assigned to your user id.
    Hope this will help.
    Regards,
    Naveen.

  • How to find Authority Object before it is checked.

    Hi All,
    Is there a table or FM that I can use to read authority object for user?
    Thanks
    Edited by: Julius Bussche on Jan 1, 2009 1:33 PM

    For some object (particularly those checked automatically by the kernel) there are function modules available to check the authority of the user in your program, before the system does it anyway (and usually dumps if the authority is missing at runtime anyway).
    Take a look at the FM's starting with AUTHORITY_CHECK* --> F4 in SE37.
    Eg. AUTHORITY_CHECK_TCODE, AUTHORITY_CHECK_DATASET, etc. There might also be an AUTHORITY_CHECK_USERSTAT... not sure though...
    Cheers,
    Julius

  • How to test Authority Object

    Hello freinds,
    I have inserted authority object in z program, how can I test the program whether the user is authorized to carry out the transaction or not???

    Hi Amar,
    Please place a brreak-point at the statement "AUTHORITY-CHECK" and execute the program.
    If you have authrization then sy-subrc will be set to zero else some different value.
    Regards,
    Babul.

  • MAximum number of authorization fields in an authority object

    What is the maximum number of authorization object in an authority object ?

    An authorization object comprises up to 10 authorization fields.
    Read [AUTHORITY-CHECK|http://help.sap.com/abapdocu_70/en/ABAPAUTHORITY-CHECK.htm], look also at [SU21|http://help.sap.com/abapdocu_70/en/ABENBC_AUTHORITY_CHECK.htm] transaction screen.
    Regards,
    Raymond

  • Authority objects and tcodes

    Hi!
    In SAP, there is a table, called AGR_1251.
    In SE16, I give the OBJECT field, the S_TCODE value.
    Now I can see that there are a lot of combination, to give a transaction code to an authority object within the table's low and high columns.
    I mean, if I'm interested in checking the "XD01" transaction, there could be many possible cases which makes the "XD01" transaction correct, like
    - XD01
    - XD00 - XD02
    - XD0*
    - XD*
    - XD00 - XD99
    All of these intervals, and * values are good for the XD01 transaction.
    I would like to find a function module, which can tell me those entries, where the XD01 transaction fit. Is there one?
    Thank you
    Tamá

    Hi Tamas,
    1. One way of doing this is :
    a) select the required records from this table
       with your conditions
       and OBJECT = 'S_TCODE'.
    b) Here  u will get some records.
    c) take another RANGE variable
    d) loop at the above internal table found in (a),
        and populate the range variable with LOW and HIGH,
       and also sign = 'I'  and option = 'BT'.
    e) then using the variable on screen,
       u can check
       If variable IN Range.
      *--- means right to tcode.
      endif.
    regards,
    amit m.

  • How to find out in which role an authority object is included

    Hi,
    I need to call web services by an external application. Therefore the authorization object S_SERVICE is needed to call services.
    Now I want to add this object to a specific sap user, but how can I find out in which role this object is included? I don't want to create a new role for just only this standard SAP authority object.
    Thank you!

    >
    Torben Larsen wrote:
    > Hey!
    >
    > Thank you for your answer. I have now found roles, which include this object. But I still have the authorization problems and can see that the object S_SERVICE is the problem, when tracing with ST01.
    >
    > I'm not that much into authorization stuff. So do I need also a profile? I only could call the web services by using profile SAP_ALL.
    >
    > thank you!
    Now that you have required role with you .. simple assign that role to user id from transaction SU01 (Roles tabs).
    Sap standard roles will already have profile in it. You might have to generate the profile. Goto transaction PFCG enter role name hit display button , goto Authorisation tab, hit Display Authorisation button and on next screen press generate button (Shift+f5).
    By the way you can use SUIM to find role and profile for given authority object

  • Problem during creation of authority object

    Hi All,
    I am trying to do authority object of standart report RFASLDPC but when I am giving authorization object in authorization object field (Bcoz requirment is this transaction code for perticular company code)then it is following error/warning 'check object has not been maintained.'
    Could you please tell me what is the remedy for that?
    Regards,
    Amar.

    Hi,
      I think you should check if the authorty object that you are using has been created you can try to use transaction su21, i think the authority object that you are trying to use does not exist.
    Check the below link for more info
    LINK[ Auth Objects |http://help.sap.com/saphelp_nw04/helpdata/EN/80/1a6859e07211d2acb80000e829fbfe/content.htm]
    Regards,
    Himanshu

  • How to use custom authority object to execute certain code?

    Hi Gurus,
    I'm trying to use an authority-check just to execute certain ABAP code for some roles only, but I don't get to make it work as every user gets to exectute the code. I'm also not sure of which field(s) I should add to my authorization object when I'm checking it.
    Does anyone know if there's a way of making it? Thanks in advance.
    Edited by: Jorge Gonzalez on Jun 25, 2010 11:42 AM

    Hi.
    If the authority object is already created then you can view in transaction SU21, Select the custom object and double click on it.
    You can see the Authorization fields that need to be passed to the authorization object while using.
    For eg: If you see BUKRS, then you need to pass the company codes relevant so the authority check is performed
    All Authority object has activity which informs the operation to be performed. for eg:
    ACTVT: Activities.
    01 = Create
    02 = Change
    03 = Display
    06 = Delete
    07 = Activate
    10 = Post
    Also check for documentation if it is available, if so it makes life easy.
    Hope this helps
    Regards
    Shiva

  • Probem with CRM_ORD_OP authority object

    Hello friends,
    I facing a problem with CRM_ORD_OP authority object.
    I have set a pfcg profile as below, but I dont know why, CRM is not performing authority check for object CRM_ORD_OP, so user are able to create documents, but they could not find them.
    CRM_ORD_PR: PR_TYPE 'Z021',ACTVT '*'
    CRM_ACT: ACTVT u2018*u2019
    CRM_ORD_OP: ACTVT '*', PARTN_FCT 'Z0000021', PARTN_FCTT '0008'
    CRM_ORD_OP: ACTVT '*', PARTN_FCT 'Z0000022', PARTN_FCTT 'Y030'
    CRM_ORD_OP: ACTVT '*', PARTN_FCT 'Z0000023', PARTN_FCTT 'Y030'
    CRM_ORD_OP: ACTVT '*', PARTN_FCT 'Z0000024', PARTN_FCTT 'Y030'
    CRM_ORD_OP: ACTVT '*', PARTN_FCT 'Z0000025', PARTN_FCTT 'Y030'
    CRM_ORD_OP: ACTVT '*', PARTN_FCT 'Z0000027', PARTN_FCTT 'Y030'
    CRM_ORD_OP: ACTVT '*', PARTN_FCT 'Z0000028', PARTN_FCTT 'Y030'
    CRM_ORD_OP: ACTVT '*', PARTN_FCT 'Z0000029', PARTN_FCTT 'Y030'
    CRM_ORD_OE: SERVICE_OR u2018u2019, DIS_CHANNE u2018u2019, SALES_OFFI u2018u2019, SALES_GROU u2018u2019, ACTVT = u2018*u2019
    What I want to do it is simple. I want that users can access only their own documents.
    Does anybody know what going on?
    Regards,
    Lalas

    problem resolved

Maybe you are looking for

  • How to make a particular record in a particular column in a table as a link

    Hi All, I have a table in which the data is getting populated from the response of the BAPI. I have a column in this table which is not related to the BAPI response. I am binding the column with locally created attribute which is related to the custo

  • WRE54G v3 I can't get it to work with D-Link DIR-615.

    I just got the WRE54G today and spent all day without any luck trying to get this to work. I keep getting "Site survey fail, please try again". Which is what I've been doing most of the day, besides the reset button , as well as sticking a pin into i

  • Infinity connection died... what should I do?

    I'm posting from the 3g on my phone. Is there anywhere I can check the service status for Northolt exchange? My modem and router are both on, but the link light next to the power light on the modem switched off around 35 minutes ago, and now I don't

  • Transfer posting error

    Hi All, I am trying to move the stock from quality to un restricted, I am getting the error message "change the inspection stock of material in QM only" In MMR i checked the QM view. I found that three inspection types 01,04,Z9 are activated. IN QA32

  • Start j2ee : The system cannot execute the specified program

    when im giving "start j2ee" command it says "The system cannot execute the specified program" can anybody help 4ma studies please?