Authorization check on movement of material type

Dear Experts ,
Is it possible to have authorization check based on material type for a particular MB1B T code  with movement type 311 .
Or
Is it possible to have a restriction of material type for a particular movement type ?
Regards
Anis

Hi Nick Whitehurst
Do you know what is the exact settings for M_MATE_MAR for Material Type &
M_MSEG_BWA for movement type ?
Appreciated

Similar Messages

  • Authorization check without using variable of type u0093Authorizationu0094

    In WEB-reporting we want to authorize on a navigational attribute without using the variable of type
    “ Authorization”. Why would we do this?
    1. In a lot of queries we have to replace the existing variable of type “User entry” to a variable of type “Authorization”. We would like to avoid this work.
    2. When the variable is not ready for input the Report will always include all the characteristic values for which the user is authorized. We don’s want this.
    3. When the variable is ready for input on the selection screen all the authorized values are displayed and the user is able to select / deselect the values he/she wants to report. In case of a lot of authorized characteristic values the screen does not appear user-friendly.
    What we want is a behavior like some parts of R/3. For example: Controlling Area X consists of the Costcenters C1000, C2000, C3000, C4000, C5000 and C6000. A particular user has authorization for Cost centers C1000, C3000 and C5000. When running a ABAP-report with Cosctcenters the user is able to select certain Costcenters. Three possibilities:
    1. The user selects Costcenter C1000, C3000 and / or C5000: the ABAP reports the selected Costcenters.
    2. The user selects Costcenter C2000, C4000 and / or C6000: the ABAP gives an error-message: “no authorization”.
    3. The user does not select any Costcenters: the ABAP reads all the Costcenters and reports – on the basis of the users authorization – only Costcenters C1000, C3000 and C5000.
    In term of BW: we would like to introduce authorizations for a specific InfoObject which is used as an navigational of an other InfoObject. In the queries a variable is used of the type “User entry”. The user can select one or more values on the selection screen; an authorization check is fulfilled. He may – however – choose to leave the selection field empty; in this case the OLAP processor should report only the authorized values (in our case the last situation results directly in an error-message “no authorization”).
    Anyone has a suggestion?
    Thx in advance,
    Henk

    If you change the variable to type exit, and user input enabled, you can then build your logic in the user exit.
    If users have entered unauthorised values, it will be checked (by the system??). If this assumption is correct then all you need to do in your exit is to continue with the values entered by the user; and in case user has entered no values, populate the variable with values valid for the user (by reading the user authorization and corresponding charactertistics values and moving these to the variable).
    --> Adding further
    Since the authorization will not be checked by the system (I missed that these are not of authorization type variables), user exit will need to do this check. The logic for doing authorization checks / error messages / restricting based on authorizations - will have to be done in the user-exit.
    cheers,
    Message was edited by: Ajay Das

  • Restrict Movement by Material Type

    Hi:
    I want to restrict movements in transaction MIGO by material type. IS it possible?
    e.g. I created a role Z:STORES_CLERK and Z:FINISHED_PROD_CLERK.
    I want to restrict the role Z:STORES_CLERK to perform movements for only material types NLAG, HIBE etc and want to restrict role Z:FINISHED_PROD_CLERK. for material type "FERT"Is it possble??

    Hi ,
    It is not possible to restrict movemment type by material type.You can restrict by tcode.
    Regards,
    Nitin Amritkar

  • PR document material type Authorization

    Hi Experts,
    Is it possible to put a authorization in PR at the material type level? Requirement is that one set of users should be able to create PR for certain type of materials only.
    Thanks
    Alok

    Hi,
    I will give the Authorzation object and Authorization group
    1. M_MATE_MAR (Auth. Object)
    2. BEGRU  ( Auth. Group).
    You can change material type and authorization group here.
    Siva

  • Authorization Object for Material Type

    Hi All,
    Is it possible to restrict the user from creating the material master based on Material Type. If yes then what is the authorization object for the same.
    Regards
    Mahendra

    Dear Mahendra,
    You can definitely restrict a end-user to only particular Material Type thru Authorizations.
    Authorization Object: M_MATE_MAR
    This can be done thru authorization management. Consult your Basis person or follow this:
    SU01 - Enter the user Id & select display button. Now click on the Roles Tab & note down the role assigned to this user Id.
    Go to T-Code - PFCG - enter the Role name & select the change icon.
    Click on the Authorizations tab page. & then Click on Change Authorization Data.
    Now expand the menu tree of Materials Management: Master Data & further expand the menu tree of Material Master: Material Types. Now click on the change icon next to Authorization Group & select the required Material Type that you want to authorize the end-user.
    This is how you can give authorizations only for a particular Material Type. 
    Hope this helps.. .
    Give point if useful...
    Thanks,
    Jignesh Mehta
    Mumbai

  • Authorisation restriction to change batch ( MSC2N ) by material type

    Hi ,
    We have a requirement wherein we want to restrict users from changing batch records ( MSC2N ) by material type. Viz. A user xyz should not have authorization to change batch for material type FERT.
    We cannot use the authorization group ( BEGRU ) field of material master alongwith object M_MATE_CHG as this field is already being used for another purpose to restrict users by country for MM01,MM02 & MM03.
    Please do let know if you know of any alternative method of doing so.

    Hi,
    The new authorization object will work only if the corresponding changes are made in the related program.
    Open the program code for the MSC2N transaction (via Se93), and search for the string "AUTHORITY-CHECK". You will find a piece of code that checks for the authorization object M_MATE_CHG and its related field values. This will need to be changed to Z_MATE_CHG and its corresponding values.
    You will need an ABAP-er for this.
    Only then will the authorization check work correctly. Once this is done add the object in the corresponding role (and also change SU24 entry for MSC2N accordingly if required).
    Regards,
    Sanju.

  • Deactivate authorization checks in BSP or function modules?

    Hi all
    I have a BSP application that seems to use a standard function module that performs an unwanted authorization check on object M_MATE_VKO (Material check on sales organization)
    I know it is possible to globally deactivate authorization checks in certain SAP transactions (SU24)
    Does anyone know if there is a similar functionality for BSP applications or function modules? Any suggestions on how to deactivate such authorization checks in BSP applications?
    Regards
    Mike

    > I will also check with my developer if this function module has any return codes etc that can be useful for a custom authorization check. However, I thought these checks were all done within the function module and that it will only return a true/false authorization, sort of... and I am not sure it's a good idea to override all standard authorization checks in this function module
    Sometimes you can handle the messages, but your developer will be able to help you decide whether that is a good idea or not.
    Globally deactivating the object for the whole system is most likely not a good idea, as you seem not to want to grant it because you need it somewhere else...
    Deactivating all checks for the function module is probably not wise either, as I would think that it applies to the whole function group. Developers can do such things sometimes, but often it results in all end users being able to do the same.
    I know that proposal indicators can be set for function modules, but have not tried check indicators. Again, I suspect that it would apply to the whole function group.
    I would think that a carefull choice of function module and consulting with your functional guru about config which will not interfer with other requirements is the best route to take.
    I like threads like this. If I bump into a specific solution I will remember it. Try using the search here at SDN on the names of some of the FM's which you are considering - someone might already have solved it...
    Cheers,
    Julius

  • Create Material- Using authority by material type

    Hi Experts
    I want to  set authority for user to create material by using  material type. User will create only those  material in which they are assigned in specific material type.
    Please help me to solve this problem.

    Hi,
    You can proceed in the following way regarding this issue
    1] In OMS2, maintain the Authorization Group for a particular Material Type
    2] Maintain this Authorization Group in the activities of MM01 T-code with the help of Basis
    3] This will ensure that authorized user only can create material master for that material type
    Regards,
    Amol

  • Authorization Check For Pricing Reference Materail In VA01 & VA02

    Hi Expert, 
    User has requested to do authorization check for pricing reference material in line item in VA01/VA02. currently SAP does not has any authorization check for pricing reference material field at line item in VA01/VA02.  Is there any standard authorization object for this purpose or needs to use user exit to do this checking ie if the pricing reference material entered does not belong to the sales org as entered in sales header data then system will issue warning/error message.  What will be the standard user exit routine if there is no standard authorization object for this purpose ?
    Thanks.
    Regards,
    Tay
    Edited by: Hung How Tay on May 13, 2010 2:48 AM

    Hi,
    Try below in MV45AFZB
    USEREXIT_SOURCE_DETERMINATION
    Best regards,
    Anupa

  • Material Type Movement type and Storage location Authorization Object

    Dear All,
    My client wants that  certain type of material i.e. SFG should not be GR Mvt. type 101 at the FG storage location, they want to restrict to some  user ID .
    Is there any authorization object or the enhancement to control all three parameter to restrict to particular USER ID?
    Thanks in advance.
    regards
    ALOK Shrivastava

    Hi,
            Please check as follows.
            IMG > Material Management > Inv. management and Physical Inventory  > Authorization Management
                   > Authorization Check for Storage Locations (Indicator on)
    Regards,
        Gaito

  • Authorization check  for posting a specified movement type on certain plant

    <h5>Iu2019m posting goods movements using BAPI_GOODSMVT_CREATE, I have to check If the user has authorities for posting for a specified movement type on certain plant.
    How do I implement it, do I need to create a authorization object with ACTVT, WERKS and BWART, what will be value of ACTVT in this case?
    Or is there any other way through which the BAPI can automatically check for authorization.</h5>

    Just to bring to your notice that authorization check is done by the BAPI. Please check the function module.
    AUTHORITY-CHECK OBJECT 'M_MSEG_WMB'
                  ID 'ACTVT' FIELD '03'
                  ID 'WERKS' FIELD I_MSEG-WERKS.
         AUTHORITY-CHECK OBJECT 'M_MSEG_BMB'
                  ID 'ACTVT' FIELD '03'
                  ID 'BWART' FIELD I_MSEG-BWART.
    Regards,
    Lalit MOhan Gupta

  • Authorization check failed Auth. Obj. M_MSEG_LGO Goods Movements

    Hello security team.
    We are using two roles for one authorization object to be checked in the MIRO transaction. One role (1) checks the S_TCODE and the authorization object M_MSEG_LGO for ACTVT and  BWART  fields. The other role (2) checks for the same authorization object M_MSEG_LGO for LGORT and WERKS fields. I mean that the complementary effect between the two profiles attached to one and only user and employing the same authorization object M_MSEG_LGO could satisfy the return code SY-SUBRC = 0.
    I have the detailed error message in a file. Please let me know if the issue is clear enough.
    Best Regards,
    Victor Sarabia
    Edited by: Victor  Sarabia Rangel on Mar 16, 2010 2:16 PM

    Hello  Prasant and Julius.
    When you enter a goods movement  using transaction MIGO  I use the movement type values for a good movement. vgr. movement type 987 - Init. entry of state balance or movement types 101,102 GR goods receipt & GR PO reversal BWART field from the authorization object  M_MSEG_LGO.  We gather the movement type values into groups that represents the structural basis that distinguish between , for example:  Goods Receipt with Outbound delivery or  Place in Storage with Material Document .
    Authorization profile 1 for Outbound Delivery with transaction MIRO.
    S_TCODE: MIRO
    M_MSEG_LGO: Inactive
    Authorizat. T-C161126200
    Profl. T-C1611262
    Role MM_AL_OPERACION_ENTRADAS MMA_GRC: OPERACIONES ALMACENES
    Authorization profile 2 Bolton
    M_MSEG_LGO maintained
    Authorizat. T-C161137500
    Profl. T-C1611375
    Role NIVORG_ALMACENENTRADAS_4515  BOLTON:  PLANT ORG LEVEL
    Authorization Field ACTVT Activity
    01, 02, 03
    Authorization Field BWART Movement Type (Inventory Management)                                                                                101, 102, 103, 104, 105, 122, 123, 543, 544, 901, 902, 903, 904, 905, 906, 915,                                                                                916, 925, 926, 947, 948, 979, 980, 981, 982, 987, 988, DMS, RMS
    Authorization Field LGORT Storage location
    1000-1100, 1071, 1CBE, 2000, 3000, 3500, 4000, 5000, 6000, 7000, REHA, T000
    Authorization Field WERKS Plant
    4013-4019
    Profile 1: transaction_code MIRO binds with Profile 2: M_MSEG_LGO, movement type 987 and Authorization Field WERKS Plant 4013 and Storage Location 3000 to satisfy the return code SY-SUBRC = 0 for Goods recepit&Oubound Delivery position in the organization
    The  binding between master profile 1 and the bolton profiles 2,3,4u2026u2026.n  results  in an  organized role framework and greater specificity for handling different positions in the organization.
    Thank you.
    Victor Sarabia

  • Authorization material type in material master

    Hi expert,
    I want to know how to restrict users to create/change Material Master following
    the material type in the role.
    In role authorization Object: M_MATE_MAR Material Master: Material Types.
    I maintain material type like ROH , HALB , HAWA in authorization Group.
    But it is not work. Please help me.
    Thanks,

    Hi,
    Pl. check your role to users for the material master again for allowed material types. It should restrict the users only for the selected views only. This should be done for all the roles assigned to users in relation to materail master. (i.e. Create, Display & CHange). If you restrict the material type in create role only & it is not restricted in display role, then user will be able to create all the material types. hence restrict the material types in all roles related to material master (create, change, display) assigned to the user.
    Regards,
    Prashant

  • Material Type Authorization

    Hi All,
    I want to restrict a material type in purchasing documents (ME21N & ME31K, ME51N) & goods movement (MIGO)using authorization which is being used by different set of people.
    How can this be done.
    Thanks
    Suz

    you can use Use Auth object M_MATE_MAR Material Master: Material Types and in roles assignment for T-codes and MIGO authorization with movement types.
    i think basis can help you better in this case they can make the role according to the requirement.
    regards,
    qsm sap

  • Report based upon material type against movement type for a period ?

    i need a inventory report which should be based upon materil type & movement type for a particular period.
    For example- for last monthe how much Raw material has been issued againast production order. i would like report to allow me  ROH and movement type 261/262 and period entry. MB5B does not satisfy my requirements, ist of all there si no material type/secondly it restricts itself if i use movement types
    thanks
    sam

    Hi,
    You can create a small program to get report.
    Input fields Date of posting BUDAT, Movement type BWART (Plant if required).
    Check field BUDAT (Posting Date. Should check based on input date field.) In table MKPF.
    If data falls in required date range. Pick MBLNR-MKPF (Mat doc number).
    Go to table MSEG compare MBLNR-MKPF and MBLNR-MSEG if same pick field MATNR-MSEG (Mat number).
    Go to MARA check MTART-MARA for picked MATNR-MARA (in previous step). Take the material type.
    Add the below fields to out put
    MATNR, MTART, BWART-MSEG (Movt type), ERFMG-MSEG (quantity posted), WERKS-MSEG (Plant received), LOGRT-MSEG (S. Loc received).
    Please take advise from ABAPer regarding prog logic
    Thank you,
    Anand K

Maybe you are looking for

  • Mount Functionality in Nautilus Gone !!

    I have been using Arch sence November. Up untill yesterday, I realized that when I am in Nautilus, I have always seen my Other HD and partitions. I could mount them by clicking on my choice, give my password, and they would be mounted. I can no longe

  • Determine installed version of iPhone apps?

    Is there a way to determine the currently-installed version of my iPhone apps? I am just curious because a number of them have released updated versions, and I'd like to figure out what I have now before upgrading. I'm on iOS 4.3.5.

  • Having problems with CS5

    Hey, I have to create an animation for a school assignment... Anyway I'm quite new to Adobe Flash and I'm using Action Script 3.0. I have created the first segment of my animation and I'm now onto the second part but when i go to change the stage bac

  • Safari stops

    This is my second week using Macs and Safari 5.0 stops loading web pages of various sites. It will usually load the first site and then stop loading subsequent sites, And it will not connect to my router after that. It also stops Firefox. After getti

  • RMI registry on multiple net interfaces

    I'm interested in creating several RMI registry servers, each one listening in one different net interface of the same machine (two ethernet cards). Is there any way to do this without using custom RMI socket factories? From the documentation I have