Authorization object for purchasing

Hi Sap gurus,
Can someone tell me please how I can find suitable authority check object for purchasing? I created report for purchase orders history and now i would like to implement also authority check. I would like to check authorizations for purchasing groups, cost centers, orders types...
Do you have any example? Where to put this authority check into the program?
Thanks in advance, points granted,
BR
Saso

hi,
for purchasing grp object is: M_BEST_EKG
put authority check after selection screen
write
at selection-screen.
perform authority_check.
form authority_check
AUTHORITY-CHECK OBJECT 'M_BEST_EKG'
         ID 'ACTVT' FIELD '03'
         ID 'EKGRP' FIELD pr_ekgrp.
if sy-subrc <> 0.
error msg.
endif.
endform.

Similar Messages

  • Authorization Object for Purchase Group while GRN

    HI all,
    We wanted to restrict the specific users from doing GRN with ML81N & MIGO_GR against specific Purchase Group. Which authorization object can be used to restrict the user from processing others Pur. groups for which he is not authorised.
    Is there any std. object available, if not then what I need to do while creation of customized authorization object (in SU21), how system will call this authorization object in MIGO & ML81N. more detailed answers will be more useful.
    Thanks...

    closed...

  • Authorization Object for Purchase order Message control

    Hi ,
    Is there any stadard authoriztion object to control the print and print preview options for Message control .
    I am requied to control the print and print preview options for purchase order messages for certain users depeding on there authorizaion.
    Thanks in advane.

    Hi,
    When you click on the 'print preview' button on ME22N/ME23N the system
    makes an authority check on transaction ME9F activity 04. The current
    logic forces the print preview functionality to be accessed ONLY by the
    users who print. Therefore, only users that have authorization to use
    ME9F are authorized to use the Print Preview button in ME22N/ME23N.
    Kindly try the authorization objects M_BEST_EKG, M_BEST_BSA and
    M_BEST_EKO = 04.
    You can
    also have a look the  user exit
    EXIT_SAPLMEDRUCK_001 in enhancement LMEDR001 for print program
    SAPLMEDRUCK.
    INCLUDE ZXM01U04
    you can create own coding for all possible AUTHORITY-CHECK.
    BR
    Nadia Orlandi

  • Authorization Object For Activate Reservation/Purchase Req - IW31

    Hi,
    I want to authorize only certain users to use button  "Activate Reservation/Purchase Req" IW31 transaction. What is the Authorization Object for the above mentioned button, if any. Is there any other way that i can do this activity in customizing? I am using ECC 6.0
    We find that activating the objects below (suggests- SU24)
    M_BANF_BSA
    M_BANF_EKG
    M_BANF_EKO
    M_BANF_WRK
    allowed in IW31, that 'not-authorized-users' would not be able to create purchase requistions. therefore: no material procurement.
    But for reservations, we didn´t find  the object in  IW31.
    Thanks and regards
    Gabriel.
    Edited by: Gabriel_Fornazier on Dec 31, 2010 12:16 PM

    Olá Michely
    Segundo a SAP não existe objeto de autorização em BASIS para restringir por usuário o botão da transação IW31 que eu precisava(Ativar Reserv./Req. de Compra). Portanto segundo a SAP, poderia usar a ampliação IWO10006 para resolver isso.
    E foi o que fiz. Primeiramente criei manualmente um objeto de autorização 'Z'  dummy, para atribuir a um usuário que não quero que enxergue o botão.   'DISP' o nome do botão(dar F1 no mesmo) que desejo esconder.
    Posteriormete na EXIT desenvolvi o seguinte código para esconder o botão:
    AUTHORITY-CHECK OBJECT 'Z_VORG_ORD'
               ID 'ZBETRVORG' DUMMY.
    IF SY-SUBRC EQ 0.
      FCODE_EXC_CUST-FCODE = 'DISP'.
      APPEND FCODE_EXC_CUST.
    ENDIF.
    Portanto, todo usuario que tiver aquele objeto de autorização ''Z'' no seu perfil não vai exergar o botão Reserv./Req. de Compra.
    Essa é a melhor solução do que usar objetos de autorização de outras transações.
    Espero ter ajudado
    abraços,
    Gabriel M. Fornazier
    SAP FI Certified Professional
    Minas Gerais - Brasil

  • Authorization object in Purchasing Info Record

    Hello,
    I can't find an authorization object in the purchasing info record to block the acces to the general fields at client level, user by user.
    I have found only the following authorizations object:
    M_EINF_EKO : Purchasing Organization in Purchasing Info Record
    M_EINF_EKG : Purchasing Group in Purchasing Info Record
    M_EINF_WRK : Plant in Purchasing Info Record
    S_TCODE : Transaction Code Check at Transaction Start
    An authorization object like 'M_MATE_MAN : Material Master: Data at Client Level' doesn't exist for the Purchasing Info Record?
    Thanks,
    Fabien.

    Dear Friend
    If dont have Authorization object in Purchasing Info Record, You can create the Spool request Number in SU53 Transction Code, send to Your Basis people, he will priovide the Authorization object in Purchasing Info Record.

  • Authorization object for field, EBAN-ESTKZ (creation indicator)

    Dear All,
    Does anyone know if there is an authorization object for field, EBAN-ESTKZ?
    I need to control the PR's authorization at creation indicator level. i.e. we need to remove the ability for all users to change Purchase Requisitions created by MRP.
    Thanks,
    Arun.

    Hi Jay,
    Thanks for your response.
    I didnt find it there. You have any Z options?
    Thanks,
    Arun.

  • Authorization object for "add approver" in contracts

    Hello, Experts,
      I am looking for authorization object for adding approver in contracts.
    But without adding authorization for changing contracts.
      Regards,
        Rami Kleiman - HP

    1. you can try to restrict  the authorization object ( Manager Role-- /SAPSRM/MANAGER) for contracts to display ( remove the change).
    2. you can also change the personalization object key "BBP_WFL_SECURITY" to None ( but i, think this will affect all the objects like shopping carts purchase orders etc..)
    Thanks
    velu

  • Authorization object for Object services

    Hello together,
    I want to know if there is an authorization object for Generic object services functionilty especially the WF options like WF overview, start WF, Archieve WF..............................
    My understanding is any user who has access to a particular Business object, can user GOS to view WF stuff..................Is my understanding correct or should we have extra functions.....................
    Regards

    Check authorization objects S_OC_ROLE and, for recent releases, S_GOS_ATT.
    Regards,
    Raymond

  • Authorization object for plant on selection-screen

    Hi All,
    I need to cehck the authorization object for plant on sleection screen..the palnt is select-options.
    I have written the code
    Declaration of local constants.
      CONSTANTS : lc_i(1)  TYPE c VALUE 'I',
                  lc_eq(2) TYPE c VALUE 'EQ'.
      REFRESH : r_werks.
      LOOP AT s_werks.
        IF s_werks-low IS NOT INITIAL.
          AUTHORITY-CHECK OBJECT 'M_MATE_WRK'                "Check if the user has autorization for the plant.
                               ID 'ACTVT' FIELD '03'
                               ID 'WERKS' FIELD s_werks-low.
          IF sy-subrc NE 0.
            r_werks-sign   = lc_i.
            r_werks-option = lc_eq.
            r_werks-low    = s_werks-low.
            APPEND r_werks.
          ENDIF.
        ENDIF.
      ENDLOOP.
      LOOP AT s_werks.
        IF s_werks-high IS NOT INITIAL.
          AUTHORITY-CHECK OBJECT 'M_MATE_WRK'                "Check if the user has autorization for the plant.
                               ID 'ACTVT' FIELD '03'
                               ID 'WERKS' FIELD s_werks-high.
          IF sy-subrc NE 0.
            r_werks-sign   = lc_i.
            r_werks-option = lc_eq.
            r_werks-low    = s_werks-high.
            APPEND r_werks.
          ENDIF.
        ENDIF.
      ENDLOOP.
    My doubt is will the authorization will check the plants in between 1001 and 2001..suppose i have pplants 1001,1002,1003,1004,2001..Now will the above code will check for all the plants or only 1001 and 2001 if i specify in the select-options.
    Regards,
    raj

    Hi Raj
    First no need to LOOP AT s_werks and check s_werks-high as it will always be present only once in the table s_werks.
    Do this
    SELECT werks FROM t001w INTO li_werks
    WHERE werks IN s_werks.
    LOOP AT li_werks.
    *check your authority thing here and fill the range
    ENDLOOP.
    Pushpraj

  • Authorization Object for Marketing Attributes

    Hi Experts,
    We are working with CRM 2007 and use in BP Marketing Attributes. Does someone know if there are any authorization objects for Marketing Attributes? We would like to restrict some of users to see some Attribute sets!
    Thank you in advance,
    Roula

    Hi Roula,
    Thank you so much for awarding points.
    Please note that in Transaction PFCG you have to assign the appropriate three digit attribute set key under the authorization group BGKRL to the authorization object C_KLAH_BKL for assigning attribute sets and to the authorization object C_KLAH_BKP for editing attribute sets.
    Please have a look at the Note in the bottom of the page at the following link for further information.
    http://help.sap.com/saphelp_crm60/helpdata/en/46/3517cc86e01421e10000000a1553f6/frameset.htm
    Regards,
    Deepak

  • Authorization object  for PLANNING PLANT

    Hi all,
    My client has different Planning plant & Production plant.
    If I need to give access to GR for order (MB31), how do I know the authorization object for the Planning plant.
    User should be given access to MB31 to the Planning plant & NOT to the Production plannt.
    Any idea where we could find the authoriz. objects for a particular field?
    Pls advise.

    Goods Receipt for Production Order: Movement Type            M_MSEG_BWF
    Goods Receipt for Production Order: Plant                    M_MSEG_WWF
    these are the authorisation objects with activities as  ACTVT and WERKS
    Maintaine the values for ACTVT  as
    01 Create or generate,
    02  Change
    03 Display
    04 Print, edit messages
    and maintaine the values WERKS   (ur plants 4 which u want to give authorisations)
    and BWAR ( movement types 4 which u want to give authorisations)

  • Kindly tell me authorization object for MRP type

    Hi friends,
    Kind tell me what is the authorization object for MRP type in material master.
    Your help is considered more important.
    thanks in advance
    willaims

    Hi Willaim,
    There is no standard authorization object for MRP type.
    Regards,
    Alexander

  • Kindly give authorization object for mrp type in material master

    Hi friends,
    Kind tell me what is the authorization object for MRP type in material master.
    Your help is considered more important.
    thanks in advance
    willaims

    hi,
    check your authorisation objects here:
    Go to PFCG --> Environment (at menu bar) --> authorization objects --> Display...
    Here see for MRP and MM for material managament in the tree structure...
    Regards
    Priyanka.P

  • Mandatory Authorization object for the BO user

    Dear All
    I am facing some problem for the BO user.
    can you let me know what are mandatory Authorization object for BO user to run the dashboard without error.
    Fast reply appreciate.
    Thanks
    Haji

    Dear All
    i am working for Analysis Authorization.
    i included Analysis Authorisation object  to the user.
    S_RS_AUTH  BI Analysis Authorizations in Role.
    when i checked in the BW side its working fine.
    when i checked the user in the BO side.
    filter values are coming correct, but the values in the column are not showing.
    its throwing an error.
    kindly help me to solve this issue.
    Thanks
    Haji

  • Authorization object for delivery block

    Hi ,
    How do I check the authorization object for any field? I specifically need one for delivery block.
    Please help.
    Thanks,
    Shailaja

    Hi,
    If your looking to put a delivery level block or its removal then i guess you explore it through userexit mv45afzz
    Regards,
    Saurabh

Maybe you are looking for

  • Mail crashes in lion if email has special attachment

    Hello, every time I started Mail it crashed. After disabling the account it worked. When enabling again, it crashes. I could find out which email caused the problem by forwarding it to another account. It was one mail with two attachment. An HTML fil

  • Is there a way to make the AAC music files smaller?

    A while ago the AAC music files seemed to double, I want to save room on my computer so I've been changing all my songs to the mp3 setting instead, but I would like to go back to AAC, but they are way to big. Does anyone know how to make them smaller

  • Connection from Windows PC to Mac os X (snow leopard)

    Hello, I have remote mac which is running almost still , i'm using ssh for remote control but sometimes i need to do something in graphic mode. Is there any easy way to control remote GUI of mac?I used long time NX nomachine server on linux but unfor

  • Is MSN hotmail forcing mac users to use Outlook a problem?

    A) Hotmail is forcing its email users to use Outlook.com B) It needs Microsoft Silverlight C) Outlook.com is optimized for IE, Chrome 17 & up, Firefox 10 & up, & Safari 5.1 I spent years as a mac user where I couldn't send email out from hotmail beca

  • Confirmation of Finish Goods Non Valuated for MTO

    Hello SAPper Friends, I was doing a Make to Order production with Strategy 20. When I was doing the confirmation with at least four operations, in the first operation was fine, movement type 261 was posted for the components and also in the last oper