Plant restriction in PR.

Dear,
There are some users who are authorised to create PR for 3 plants. By mistake, some times, user creates a single PR having more than one plant. That is, different plants are assigned for different line items of the PR. This creates problems for us during execution of further customised processes.
We want to permit assignment of only one plant in a PR.
Is there any configuration/user exit/BADI available to restrict this.
Please help.
Regards,
Siva
9840978315

Dear Shiva,
I will propose 2 solutions.
1.in the personel setting (PR Screen) make default value - plant which u want for perticular user. so whenever he will enter T code ME51n.. the Plant will come default.... Tell user to not touch plant field in PR.
2. You can Restrict Perticular user to Perticular palnt with a help of authorization team ...
Hope u got the solution.
Anil patreddy

Similar Messages

  • Plant restriction at sales order level by user

    Dear SD experts,
    Is it possible to restrict plant at sales order creation by user, if so, how this is to be configured.
    my requirement is user shall not able to create sales order(sales document) for plants restricted.
    pl help
    thanx in advance
    regards
    Srihari

    Dear Sir,
    Wud like to explain what circumstances i am asking this restriction;
    1. have total three plants - 1001, 1002,1003 & these plants are to three sales offices ie., SO1, SO2, SO3, respectively
    2. material extended to above plants with purchase & sales views
    3. I have three users user1, user2, user3 : these are are belong to three Sales Offices ie., SO1, SO2, S03 respectively,
    4. I have three sales document types say sd1, sd2, sd3
    Current settings are user1 can raise sales order for any plant ie., 1001, 1002, 1003, system is not stopping, as user1 is belong to Plant 1001 & Sales Office - SO1 only,
    my requirement is system shud not allow if user1 is trying to raise sales order for other than Sales Office & Plant.
    Hope u r clear about what circumstances I am asking this requirement.
    Experts can help us without User Exit & SHDO, is there any solution for restriction plant.
    Thanx in advance
    Regards
    Srihari

  • Restrict all ECC6 roles on Comp Code / Plant restrictions

    Hi
    thanks for your time and trying to help in advance
    we have a requriement where we need to restrict all roles in ECC6 to a combination of Comp Code & plant to which they belong with few exceptions
    we dont want to go the route of derived roles due to huge maintennace , are there any custom developments options where in we can restrict based on an user exit or create a custom table and check with the user runs a bunch of tcodes ( problem is its not just one as in ECC6 we need this restriction for large number of tcodes and multiple roles
    is it worth looking at any options ?
    thanks

    Hi,
    Do the job with derived roles.  This will save considerable time and expense over trying something like dynamically entering CC/Plant into an auth check as it would involve modifying hundreds of SAP programs (as you have already identified).
    If you suddenly have a new restriction requirement then your company/client need to accept that there will be an overhead for the change.
    One method that may be mentioned is "value roles" or "enabler roles" (if you use the search for term = enabler, you will get some info), but while they may slightly reduce time to implement these, the ongoing support will be increased and there is a high potential to leave your build in tatters.

  • Plant restriction in Contracts

    SDN Experts,
    Could you help me in the following issue? Our customer wants to create a contract in ECC which can be used by almost every plant of its company code. However there are a few plants that cannot use this contract. Is there a way to restric which plants can use this contract to create purchase requisition's/purchase order?
    For example:
    The plants A, B, C and D are assigned to Comp. Code 123. Contract 4400 is created and should be used only by plant A, B and C. Plant D cannot use this contract. How can this be achieved without replicating each item of this contract to plant A, B and C?
    Obs: The option to replicate each line of the contract for the plants that will use is not valid, because the contract may contain thousand of items.
    Thanks,
    Gustavo

    Dear Simil,
    >If you can  use  2 purchase organisations.
    You can assign P.org1 to plants A, B,C & P.org2 to D
    Create contarcts at P.Org level so that you can use for A,B and C.
    >If you dont want 2 p.organisations
    create contracts without plants, so that A,B,C can use the contract.
    For Plant D create  contracts with plant D. In PO need to put a small validation to avoid other than d contracts/
    Hope it will helps you
    Regards,
    Vasu

  • How to restrict Warranty by Plant

    Hi Experts,
    i'm new to the Warranty module so i am need in much help..
    I've created a role with t-code WTY as this role will allow users to process claims but it is also their business requirement to restrict the view to only a particular plant.
    For example, currently there are Plants 2001, 2002, 2003, 2004. So plant 2002 should not be able to see what plants 2001, 2003 and 2004 are having..
    i've tried enabling the m_mate_wrk object in su24 and then adding it to this role but when i see the trace, what i see is that the m_mate_wrk DOES get read but although plant had been defined, it's being read as a dummy ...so i guess what i've tried to do here is wrong...
    really appreciate if anyone can give some useful pointers as to how this plant restriction can be done for this role..
    Thanks!

    Hi Dmitry,
    To restrict actions by status, you have to define a schedule condition for each action in SPPFCADM transaction. You can refer to this doc if you need more help.
    Kind regards,
    Stéphane.

  • Restrict CO Report by Plant

    Dear gurus,
    Is there a way to restrict CO tcode with Plant?
    For example, in tcode KB01, i've enabled check for Plant in SU24, but it's not working.
    How do I link the plant restriction in that tcode?
    thanks for your help.
    Best regards,

    Gurus,
    That note doesn't contain KOB1.
    We want to restrict the plant in KOB1. Is that possible?
    Thanks for your help.
    Best Regards,

  • Custom SAP report used to display an average standard cost per material.

    Hi All,
    I need to implement a report with the following functionality,
    This is a custom SAP report used to display an average standard cost per material.  Standard cost data is stored in SAP at the Material/Plant level.  This report will gather the individual Standard Costs at each applicable plant (restricted by selection screen input and additional logic specified in more detail in the u201CReport Fieldsu201D section) for applicable Materials (restricted by selection screen input; if not specified all materials should be returned) and calculate an average standard cost for each material.  The corresponding Currency and Base Unit of Measure will also be displayed.
    Additionally the relevant u201CCommodity Code/Import Codeu201D information should be displayed for each material returned.  This attribute is also stored at the Material/Plant level.  To determine the value of this field for each relevant material, the report logic must retrieve the values stored for each plant.  If all values are the same, the value can be output to the report.  If not all values are equal, a message u201CNot Consistentu201D should be output.  It should be noted that if all values are u201Cnull,u201D a null value should be returned in the report.
    Can any one provide me with sample code for the same??
    Thanks Debrup.

    Hello,
    Also refer this [ THREAD|Re: error in Fleet management customising] and [link|Error when recording measurements in IFCU]
    Regards
    Nav
    Edited by: Desire_Naveen on Nov 4, 2009 12:35 PM

  • BI Security Model

    Hello,
    We are facing some issue in the new BI Security model. we are having lots of info-provider and ODS, using the same characteristic and authorization relevant in the existing old model.
    Going future it will look like:
    The situation:
    Our info cube ZCCA_C03 contains the following authorization relevant info objects (I'm keeping this simple):
        company code
        cost center
        plant
    We have a query that contains
        company code
        cost center
        value (key figure)
    We have AAOs set up as follows:
        AAO1                              AAO2                          AAO3                          AAO4
        company code 100           cost center *                plant *                          plant AUS1
        ZCCA_C03                       ZCCA_C03                  ZCCA_C03                   ZCCA_C03
    We have a user ZBITST1 with 3 authorization roles:
        AAO1
        AAO2
        AAO3
    The user can run the query. OK.
    Now the user's access changes to:
        AAO1
        AAO2
        AAO4 - with plant restriction
    The user can not run the query. The query is looking for plant = : .
    Here is what we learned:
    Users with access to all values for all authorization relevant objects can run all queries against the cube.
    Users with a value restriction in, say, plant, can run queries that contain that authorization relevant object AND use an authorization variable (which will be filled in by the AAO).
    Users with a value restriction can NOT run queries that DON'T contain that authorization relevant object, e.g. if they are restricted by a plant value, they can't run a query that does NOT have plant in the selection screen of the query (and uses the auth variable).
    Questions:
    Are the above statements correct?
    When would we need to use : ?
    What's the difference between using : and using * ?
    What other statements are true?
    Thanks,
    Rahul

    Hi Rahul,
    Check this OSS note  921820 - Information about authorization concept of BW 3.X systems
    for colon  check oss 727354 and it is as follows
    Symptom
    You experience difficulties with colon authorization when you execute a query.
    Other terms
    Colon authorization
    Reason and Prerequisites
    You require colon authorization to view the values of an authorization-relevant characteristic in aggregated form. What does this mean exactly?
    Example:
    The 0COUNTRY characteristic is authorization-relevant and is contained in the InfoProvider used. You defined a query as follows:
    1. 0COUNTRY is in the free characteristics (not in the drilldown) without any selections
                  - or-
    1. 0COUNTRY is not used in the query.
    In both cases, no 0COUNTRY values appear in the query. Also, the query is not restricted to any 0COUNTRY values. The colon is required for the authorization check. You see the following message in the authorization log:
               "Check for ':' Added"
    Note the following:
    Case 2) is often overlooked: The authorization-relevant characteristic is not in the query, but rather in the InfoProvider. This does not mean that an authorization check does not take place on the characteristic. Since the key figures displayed are implicitly aggregated using all of the values for the characteristic, this must also be authorized.
    In a query, a selection can occur locally in a restricted key figure or in a structure. If the query contains other key figures, and this selection (or other selections) does not apply to these key figures, the colon is also required in the authorization.
    Solution
    If the above authorization problems occur, you must perform the following:
    1. If you want queries with no restrictions to run:
               Grant colon authorization to the user.
    1. If you do not want to grant colon authorization to the user:
               Restrict the characteristic in the query to a certain selection (single value, interval, hierarchy node, and so on) and authorize this selection explicitly.
    You must perform one of the above actions while the characteristic is being checked for authorizations.
    Other information
    The star authorization ('*') authorizes everything (of course, this also includes queries that require a colon).
    If the authorization-relevant characteristic is a navigation attribute (0COUSTOMER__0COUNTRY, for example), the behavior of the authorization check is not altered in any way. An exception occurs if the InfoObject appears both as a characteristic (0COUNTRY) and as a navigation attribute (0COUSTOMER__0COUNTRY) in the InfoProvider. You must then refer to note 642072.
    A colon authorization is not taken into account when you use a variable of the type "Fill from authorization", since it is not known at the time of the variable processing whether or not the affected characteristic is in the drilldown.
    Jaya

  • How to restrict change to plant specific data in MM01 and MM02 transaction.

    Hi Experts,
    The requirements is to restrict the plant specific data change in one system. As of now we have 2 different system lets say sys-1 and sys-2. our requirement is if at all any of the users are trying to change/create the material in Sys-1 they should be only able to update basic information and parts regional information/global informations only in sys-1.
    Do we have any option in customizing?
    If not then what would be the way to achieve this?
    Please help.
    Thanks!!!!
    Rajesh.

    Hi,
    Please refer the below link it may help you..............
    Authorization object for label Data view in mm02

  • How to restrict a user for the other plant orders In CATS

    Hi
    We are using CATS for entering labour hours in PM orders. While entering the time in CAT2 first we will select the personal number of the employee and the order number in which he has worked .
    My question is while entering the order number if we worgly entered the other plant order number it should give error message saying that order number not belong to other plant.
    How can we restrict this .At present it is accepting the other palnt orders
    Thanks in advance
    Gangadhar

    Hi,
    You have to add some more fields in CAT2 this will serve your purpose.
    Text for Plant etc .
    Regards,
    Kapil Kaushal

  • Restrict PO creation for multiple plants for same company code

    Hi Gurus,
    We want to restrict PO creation for multiple plants in the same company code. Based on Standard SAP settings for Purchasing organization assignment with multiple Plant and multiple Plant assignment with single company code, this is happening. Is there a way that we can restrict by doing some customization change.
    Any thoughts or ideas will be highly appreciating.
    Thanks and Best regards,
    Karun Kumar

    Hi,
    Said functionality is not available in SAP standard.
    To avoid the same ,i can suggest implement release strategy for PO,and then higher authority / commercial team can check created PO,if multiple plants available in single po then they have the option of rejection for the same.
    Or else check BADI-ME_PROCESS_PO_CUST,take the help from abapor and apply the restriction to select multiple plant in PO.
    Hope this will resolve your query,
    Thanks & Regards,
    Sandesh Sawant

  • Can we restrict deliveries at plant level for a particular period

    Hi all,
    At month end , if we want to close the sale, and restrict all the delievries in that month for a particular plant.. will that be possible, if yes how?
    can anyone advise.

    Hi,
    Temporary Soluition may be
    In the Material Master,there is a setting for Plant-sp.matl status.
    You can use this for stopping the posting .
    it can be used to stop the material from being used in POs, BOMs and movements etc. by plant (you would also need to use the sales block -Dchain specific status to prevent sales orders).
    Thanks,
    Raja

  • How to restrict plant and companycode

    Hi all,
    My requirement is
    I have few questions on client requirement.
    -     FI (AP/AR/AA/GL) u2013 4 years of data, all open items, for company code 0013, 0022
    -     MM u2013 4 years of data for plants 0013, 0022
    -     COPA data, fiscal year 2010 onwards for operating concern CORP and 0030
    For COPA->Do I have to create 2 separate datasources one for each operating concern?
    How and where to restrict plants for MM?
    How and where to restrict Companycodes for FI?
    Will that be at IP level?
    Thanks all.

    Hi Harika,
    I guess you need to write ABAP routine for multiple Single value restrictions in Infopackage level.
    In Data selection tab, Type(as your requirement is to restrict the plant field with 2 fileds) select the type beside plant and select 6-ABAP Routine --> enter the routine name and write the logic.
    Use this above method as a standard practise. But for your requirement, (since only two plants are involved) you shall use two rows of plant and restrict them.
    If you need further help, feel free to post.
    Hope this helps.
    Regards,
    Guru

  • Restriction of a document on the material plant views

    Hello everyone,
    I would like to link a document to a material, but to restrict this link only to the views related to plant level.
    The document must not be reachable in the views "Basic data 1" and "Basic data 2", but must be reachable in the view QM for instance.
    I have seen in SPRO (path : Cross-Application Components > Document Management System > Control Data > Define document types >  Define object links) that it is possible to link the document to MARC table only.
    It sounds good regarding my requirement but unfortunately it doesn't seem to work as expected.
    Can someone has an idea on this issue ?
    Thanks a lot.

    Hi,
    If it is PO extend the structure KOMPBEA with the item category PSTYP column...
    If it is SO use the structure KOMPBV1
    Try this..in the routine..
    SY-SUBRC = 4.
    **If sales order.
    CHECK KOMPBV1-PSTYV = 'ZZZZ'.
    **If purchase order.
    CHECK KOMPBEA-PSTYP = 'Z'.
    SY-SUBRC = 0.
    Hope this helps.
    Thanks
    Naren

  • To restrict authorization of tcode MEK1,MEK2,MEK3,MEK4 at plant level

    Hi,
    We have  a requirement where we need to restrict authorization for tcode MEK1,MEK2,MEK3,MEK4 at plant level.
    Presently we can restrict authorization at Purchasing organization level but not at Plant level.
    Any pointer please!
    Regards,
    Chetan

    Hi,
    You can restrict the users for the authorization of these T-Codes on their  User ID. Take help of  Basis who controls Roles & Profiles. (T-Code PFCG)
    Hope this helps,
    Best regards
    Amit Bakshi

Maybe you are looking for