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.

Similar Messages

  • Is there a user exit to restrict BOM change and display using material type?

    Hi Gurus,
    There’s a need to limit access to BOMs on a per material type however the client does not want to use the functionality of "BOM Authorization Group" in BOM header details.
    Do we have a user exit that can satisfy the said requirement?
    Thanks,
    Mae

    Hi
    Restriction to Changes of BOM will have better control using authorization object .Go to PFCG with your basis guy and try to explore the objects
    You can use C_AENR_BGR object to restrict.
    Otherwise , try apply BADI BOM_UPDATE
    Regards
    JH

  • How to Change Batch Classification of material master

    Hi,
    How to Change Batch Classification of material master  in a production system,Pl note that there is no stock and no open qty still system is not allowing me to delete the old Classification and add my new classification.
    Guys any solution for this.
    Thanks in advance
    rgds
    bijaya pradhan

    I believe there is a FM VB_CHANGE_BATCH for this, any body tried this FM?

  • Changing Batch Level from Material Level to Plant Level.

    I want to create the batch class with the class code 22 instead of 23. As the batch class is maintained at the Material Level, not at the Plant Level. So is it possible to change the batch class from Material to Plant Level and create batch class with code 22.
    Kindly suggest.

    Hi, Thanks for ur reply.
    I have applied SAP notes and changed the batch status from material level to plant level...But still i am getting the class type as 23.
    What are the next steps to be done. Currently in OMCT, Batch Level Conversion tab is active and rest all the tabs are in inactive state. so please guide.

  • Restricting Purchase order for a particular material type

    Hi All,
    How do I restrict a purchase order document type to be created for a particular material type.
    For eample PO document type NB should allow to create for materials with the material type ROH only and restrict the other material types by issuing an error.
    Many thanks in advance.
    Regard,
    Ravi

    Hi Ravi,
    This is not directly achievable in std. You will have to implement the check in a user exit, e.g. the BAdI ME_PROCESS_PO_CUST method PROCESS_ITEM.
    But why this strange reqmt? Maybe there's another solution whuch would keep you in std?
    BR
    Raf

  • Matarial master changes for a particular material type using BD21

    Hi All,
    <b>I am facing one problem related to change pointer in ALE.</b>
    I have configured the ALE layer between two systems successfully.
    <b>I have used filter group</b> on material type and also I have done the <b>reduction of IDOC.</b>
    When I trigger the material master data changes using BD21, it triggers the data for all the material type where as I want to trigger the material master data chages to particular material type only.
    Can anybody suggest some solution for this.
    Note: Please don't say to use <b>filter group on material type</b>......I have already done that.
    The correct solution will be rewarded with 10 points!
    Thanks & Regards
    Prabhat

    The firs thing I would do is verify the config.  Make sure the message type of the created IDocs matches the message type to which the filter is applied in the distribution model.  If everything looks ok, place break-points at the following locations:
    In FM MASTER_IDOC_DISTRIBUTE, on the call PERFORM DIST_MODEL_READ_FOR_MESTYP.  This subroutine reads the filters from the distribution model.  Verify the values in internal table RECEIVERS_AND_FILTERS are correct.
    In FM MASTER_IDOC_DISTRIBUTE, in FORM IDOC_SELECTION_AND_SERVICES, on the call to FM IDOC_DATA_APPLY_FILTER_VALUES.  This function should return the filtered results.  IDOC_DATA contains the data segments of your IDoc and CONDITION_BLOCKS contains the filter.
    When you run BD21, you should hit these break-points.

  • Changes not allowed in material type

    hi all
    i have 1 material & for this material is trading good but due to mistake i have created this material with material type FERT.but if i am going to change material type HAWA instead of this material type FERT system not allowed.showing error Purchse order is in process.how can i delete purchase order if already GR & GI happen for some material.what is sort closed.if i do sort closeed can i change material type.please suggest me.
    regards
    ajit

    Dear,
    To dlete PO which is in process for GR and GI has happened.....
    Go to Tcode MIGO........Select Cancellation option....and enter the GR and GI document and save it..It will cancell the document...
    Now go to ME22N and select the line item for that material ...and click on delete button and save,
    Now try to change Material type in Tcode MMAM..
    Regards
    Utsav

  • Restrict Info Record Creation Based on Material Type

    Dear colleagues
    I would like restrict material info record (ME11) creation based on given materialsu2019 material type (MARA u2013 MTART). Is it possible such control? If yes, can you please provide the way?
    Best regards

    Dear AP,
    Unfortunately I wasnu2019t able to find any user exit, badi or etc. That's way I need to post the question to the forum. Before providing any answer please consider that no question is post without any research and give the audience specific, to the point answers not such irrelevant ones.
    Thank you

  • Activation of Batch Characteristics in Material Master

    Dear Gurus
    In Material Master the character values are in grey mode and not allowing to select.can anyone suggest how to activate this.
    other characters are in Blue colour.
    Thnk in Advance
    MK

    Hi There
    In material master you can assign the class in the classification view, it will provide the characteristics, that will flow when you do the receipt there you can enter the values or Create Batch-MSC1n and Change batch MSC2n, you can enter the characteristics values,,
    I dont have clue why you are trying to enter the values in material master,,,
    In CL02- Create the class and assign the characteristics (Create the Charac T code CT04)
    Provide more details to check further,,,
    Thanks
    Senthil

  • ME21N restriction by material types

    Hi
    We would like to restrict ME21N access by material type. I believe this is possible  by turning on the authorisation check in  SU24 for ME21N transaction for authorisation object M_MATE_MAR and once the relevant material types are maintained through T-code OMS2
    Would these two changes suffice or do we need to activate any BADI in ME21N transaction to enable this authorisation check. I am not sure if M_MATE_MAR check is part of standard authorisation checks in ME21N. Please advise
    Thanks & Regards
    Dinesh N

    Hi,
    you mentioned article type but object M_MATE_WRK controls access on site level. Anyway, if ME21N performs check for this object then it will be executed. Hence I would suggest to run authorization trace to see which checks are executed. If check for your object is not there then there is standard BADI for POs that can be used to add additional authorization checks. So it will require some coding but not much. It's quite straight forward.
    Cheers

  • Restricting Material Type in MM02

    Dear All,
    I have a requirement from restricting access to material type in Transaction MM02.
    We have the Auth Obje M_MATE_MAR to restrict the Material Types. However, the Material Types needs to be restricted by Authorization Group. We get the below statement when we double click on M_MATE_MAR
    Defined fields
    Fields Possible values  Meaning
    ACTVT 01  User may create data.
    02  User may change data.
    03  User may display data.
    06  User may flag data for deletion.
    BEGRU   Here you must specify the authorization groups from table T134 for which the materials concerned may be processed.
    In Tansaction OMS2 against each material type we need to maintain separate authorisation group. We have about 15 material Types and i need to create 15 auth Grp
    I have created one Auth Grp and i request to advice if i need to assign this Auth Grp to any Table Assignment. I see that the Table T134 is assigned to the Auth Grp MC. The Table T134 maintains the list of Material Types.
    Please advice what should be my next action after creating the Auth group in SE54.
    Regards

    Hi Sumanth:
    As Raghu mentioned, you shouldn't need to create the auth group in SE54.
    Once the authorization group is populated with a value, you will noticed that an authorization check now occurs on that field for this specific material.
    Enter authorization group value in OMS2
    By entering a value in OMS2, an auth check will occur on every material classified under than material type, even if the auth group field is not populated directly in the material. If a value is populated in the material in MM02. two auth checks will occur, one based on the value populated in MM02, and another based on the value populated for that specific material type in OMS2. Hope this helps.
    Sorry, a link I posted earlier is now removed.
    Best,
    Jon

  • Shall i restrict CS01, CS02 by Material type wise

    Dear all Gurus,
    Please help me out to restrict the CS01 & CS02 by material type wise.
    Thanks in Advance
    pabale

    Dear Mr. Devendra,
    Please let me know the configuration in details becoz i want to restrict the user for not to change the HALB TYPE BOM in CS02 but in case of FERT type he can change.
    e.g.
    BOM Creation user has to rights to create / change the BOM of material type FERT.
    BOM Creation user has to rights to create / but no change authority the BOM of material type HALB.Change rights we have to assign to authority.
    Hope from you positive feed back and thanks for immediate respond to both.
    Regards,
    Pabale

  • Restricting the material types in MM01

    Dear experts,
    Our client is using few materila types like-HIBE,NLAG,ROH
    We have upgraded from 4.6B to ECC6. Now many other material types have come .
    While creating material in MM01,selecting the required material type among the many is inconvient.
    1)One way of removing the unnecessary mat types is deleting others in OMS2,
    The other way of restricting is --
    2) I can enter the authorisation group in OMS2 for the required material types and i can assign to M_MATE_MAR object in the required role, but it is not working
    Do i need to create authorisation group in any customisation for entering in the OMS2, because what i entered in OMS2 is not displaying in PFCG of the authorisation object under authorisation group.I have checked in SM30 also ,the same authorisation groups under T134 table are updated. Even though,mat types are not restricted in MM01 under material type field.
    Please suggest any other way of restricting the display of material types in Material type field of MM01 instead of deleting unwanted the material types in OMS2 transaction
    Regards,
    Dayanand

    You can use the material type specific transactionsminstead of MM01, remove the authorizations of MM01 transaction and add the required material type creation transactions
    example - Goor Matreials create(special)
    HIBE,NLAG,ROH
    MMB1                 Create Semifinished Product(HALB)
    MMF1                 Create Finished Product(FERT)    
    MMG1                 Create Returnable Packaging       
    MMH1                 Create Trading Goods              
    MMI1                 Create Operating Supplies(HIBE)        
    MMK1                 Create Configurable Material(KMAT)   
    MML1                 Create Empties                  
    MMN1                 Create Non-Stock Material         
    MMP1                 Create Maintenance Assembly      
    MMR1                 Create Raw Material(ROH)              
    MMS1                 Create Service                   
    MMU1                 Create Non-Valuated Material      
    MMV1                 Create Packaging             
    MMVH                 Create Centrally: Decentral.Shipping
    MMW1                 Create Competitor Product

  • Purchase Requisition restriction at Material Type level

    Hi MM Guru's
    as per Client requirment
    we want to restrict the Purchase Requisition creation at Material type level (i.e system should raise the error messege when we try to create the PR against Finished Goods) is that possible
    if yes how can we restrict the PR ?
    Thanks in advance

    Hi,
    Please do the following setting in SPRO-LOgistics general-Materila master- Basin setings- DEfine attribute for materila type . Here select FERT as materila type and go to details and select tab
    Internal and external urchase orders and give zero -External POs not allowed.
    While creating PR for this materila type, system will issue error message.
    REgards
    Ram

  • 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

Maybe you are looking for

  • What materials are used in Smartwatch 3?

    Hi, I want to buy a smartwatch 3, but before I would like to know what material is made as I am allergic to several things. Thank you

  • Indesign CC Files Not Opening

    Running windows 7. Just installed Indesign CC and deleted CS6. Now Indesign files won't display as Indesign files in Explorer and won't open from Explorer or Bridge. How can  I resolve this issue.

  • CALLER DISPLAY ON BT 4000 PHONE

    I cannot get caller display on my BT 4000 phone although I have the service. I have reset the settings on the phone and dialled "234", which didn't seem to work either.  I have even turned off the plug then turned it on again.  I am getting really fr

  • Cs5 InDesign crashing when exporting print pdf and markup file?

    We just did our upgrade yesterday from cs4 to cs5. Two things that I have discovered so far that I haven't been able to figure out. I need to create a pdf from a file...I go to export - print pdf - this QUITS (if I do the interactive pdf it works oka

  • Several workspaces/applications in  JDeveloper

    Hi Is it possible in Jdeveloper 10.1.3.4 to work with several sets of applications, similar to the workspace concept in Eclipse? Can I achive this by starting JDeveloper with a command line option or similar? I tried with the -conf command line optio