Creating Authorization for multiple plants

Hi,
I have one requirement that, Creating Authorization for multiple plants
SELECT-OPTIONS:    s_werks FOR mseg-werks.
    AUTHORITY-CHECK OBJECT 'M_MSEG_WMB' 
           ID 'ACTVT' FIELD '03'
           ID 'WERKS' FIELD s_werks.
1. If have no of plants in s_werks then how to authorize the plants?
2.if i dont enter any plant in my selection screen how to authorize that?
3. if i have 5 plant only then how i can authorize those perticular plants only?
Thanks in advance,
Thanks,
DP.

S_WERKS is not a field; it's a set of fields.  Use simple ABAP to select your plants and loop at the selection(s) to check...

Similar Messages

  • Creating PO for multiple plants from central Pur Org

    Dear Friends,
    we assigned Central Pur Org as 0001 with all plants.  we want to make Purhcase Order for a particular material for all plants in single PO.
    how to define in Release Strategy for PR and PO.
    advice please.
    thanks in advance
    Rajesh

    Dear Mr. Deepak
    I entered all plants in Characterist... and assigned with release group and code... but still not showing release strategy in PO. 
    PO is accepting ... there is no error showing while making all plants in single PO...
    please advice
    Rajesh G

  • Creating a PO Using BAPI For Multiple PLants Or Multiple Line Items

    Hi All
        Can you please suggest me how to create a Purchase Order Using BAPI_PO_Create1 for Multiple Plants Or for Multiple Line items. The Requirement is like the PO is for single material for single vendor but for mulple stores i.e plants
    NOte:  Suggest me the  Creation of PO for MUltiple Line items or for multiple plants Using BAPI . Hope you people will give me the needful.
    Regards
    Shivakumar Bandari

    Hi,
    Here is the sample code to do that...
    *---> po header data
      wa_poheader-vendor    =  your vendor..
      wa_poheader-doc_type  =  Your doc type..check with Functional contact....
      wa_poheader-purch_org =  Purchasing Org..
      wa_poheader-pur_group =  Purchasing Group
    *---> po header data (change toolbar)
      wa_poheaderx-vendor    =  'X'.
      wa_poheaderx-doc_type  =  'X'.
      wa_poheaderx-purch_org =  'X'.
      wa_poheaderx-pur_group =  'X'.
    *---> poitem data
    data: item like ekpo-ebelp.
    item = '0010'.
    loop at t_parts.
      it_poitem-po_item  =  '00010'.
      IT_POITEM-PLANT    =  Plant..
      IT_POITEM-STGE_LOC =  Sloc...
    *---> poitemx (item data change toolbar)
      it_poitemx-po_item  =  '0010'.
      it_poitemx-po_itemx  =  'X'.
      IT_POITEMX-PLANT    =  'X'.
      IT_POITEMX-STGE_LOC =  'X'.
    *---> add record's to internal table
      APPEND:  it_poitem,
             it_poitemx.
    endloop.
    *call bapi_po_create1
      CLEAR v_ebeln.
      CALL FUNCTION 'BAPI_PO_CREATE1'
        EXPORTING
          poheader         = wa_poheader
          poheaderx        = wa_poheaderx
        IMPORTING
          exppurchaseorder = v_ebeln
        TABLES
          return           = it_return
          poitem           = it_poitem
          poitemx          = it_poitemx.
    *---> check the return table for error message
      READ TABLE it_return WITH KEY type = 'E'.
      IF sy-subrc NE 0.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = 'X'.
      endif.
    Thanks,
    Murali

  • 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

  • Missing authorization for the plant - Message no. ME303

    Missing authorization for the plant - Message no. ME303
    I am getting the above error while creating the PO.
    what is the cause of error?
    How do I rectify this?
    I have used the right data, till yday it was working fine. I doubt some config change has happened

    Hi,
    Check with your basis  consultant whether the authorization is change ?
    Regards,
    Chetan.

  • Release strategy is not getting Trigerred for Multiple Plants in PO.

    Dear gurus,
    I have a Release strategy which is working Fine when I create a PO with Same Plant in line items.
    But My release strategy is not getting trigerred when I have Different Plants in Line items.
    I have Maintained all the Plants in the characteristic Values of Plant.
    Why does the RS work for Single Plant & doesn't work for Multiple Plants in the same PO.
    Is there any SAP Note applicable to this? Pl Suggest.
    Thanks guys
    SN

    i got your point but i will again say the same thing that for item level field system is not  able to block the po if there are multiple line item in RS and that too with different values against same char as system picks only 1 value and it sends that value in RS to cross check wheteher this po needs to be blocked or not .
    now in your case system is getting multiple values against 1 field that is plant so now system is not able to send 1 in backend and hence it sends blank value in back end so system dosent blocks the po
    even if you use material group or any other item level field system is going to behave that way only that is it will not be blocking the po

  • Single Subcon Vendor for multiple Plants - CTM

    Dear friends,
    We are planning some materials with Subcontracting scenario using CTM
    Facing issue when same vendor is executing sub-con process of same material for multiple plants
    Total demand of lower level material is flowing to a single plant instead of flowing to the corresponding multiple plants
    Because of which excess planning is happening in one unit & no planning is occuring at other units which is leading to a mess
    In library, it is provided to proceed with 1050 Location type but not clear on how to proceed further
    Kindly guide on this
    Regards,
    Antony

    Hi,
    Now Planning has to happen at dummy location of type 1050 and not at 1011 to transfer demand to correct plant.
    Please check following-:
    1. If you are using PPm create product in new location of type 1050.
    2. Also check whether Tlane is created for components from plant to this new location.
    3. Suggest to retransfer all master data including your subcontracting inforecord post creation of location of type 1050.
    If you are using PDS product should get created in new location automaticaly.
    Regards,
    Santosh

  • No Authorization for Planning plant in MIGO

    Hi Gurus,
    I have an issue for the Goods Receipt for multiple line items of account assigned( F) PO.
    When user try to receive goods thru MIGO, system throws an error (dump) saying "NO AUTHORIZATION FOR PLANNING PLANT XXX" even though roles are assigned to the user.
    I went thru the OSS note 385830 but it hardly helped me.
    Pls throw some light on the issue...
    Regards
    Shashidhar

    Hi,
    Check for the Authorization Object that system is referring for the error in SU53 transaction. You may process the transaction and once the error comes, go to transaction SU53 check for the Authorization object there.
    You can check the roles available for a given authorization object in SUIM transaction.

  • Create authorization for storage Loction for tcode ME21N

    Hi All,
         My requirement is to create authorization for storage Loction for tcode ME21N and ME51N.
         There are standard authorizations for Plant, Document type Group and Org for ME21N
         M_BANF_WRK, BSA,EKG, and EKO which i checked in TCODE SU24.
        But there is no std authorization check for storage location.
        If this is possible then please help me with the procedure and steps.
        Please guide me with all the steps that i need to take care abt..
       Thanks in Advance.
    Regards
    Sujeer

    Hi
    This is the authorization objects for PO and PR
    For PO : M_BEST_LGO  for palnt/Storage location
    For PR : M_BANF_LGO for palnt/Storage location

  • Single inspection lot for multiple plant

    Dear Experts,
    I am from pharma industry, my requirement is, there is any possibility to create single inspection lot
    for multiple plant.
    please guide.
    Thanks in advance.
    Yuvraj S. Dhotre

    Don't open multiple threads for same query. It makes the solutions to be scattered.

  • MRP Run for Multiple plants

    Hi Guys:
    IN SAP R/3
    My client has requirement to merge planning of material for multiple plants and run the MRP under one head plant.
    For example:
    Plant : 1000, 1001, 1002, where plant 1000 is a head plant who had authorization to perform MRP run.
    if I run MRP Sepeartely:Each plant has below requirement for one material number (M1)
    Plant 1000 : 3 EA
    Plant 1001 : 2 EA
    Plant 1002 : 5 EA
    Instead of running MRP per plant, my client needs to run MRP for multiple Plants  that Consolidate  total requirement for all plants.
    and generate PR--->PO , In the PO, M1 should be delivered to 3 different plant locations by vendor and Po Will be issued from Head Plant 1000?
    Is there any Report in SAP , Where MRP Controller can See Requirements from Different Plants @ Central Purchasing  level after one Multi Plant MRP run, So that he can decide on how much to allocate to each plant?
    Thanks for help
    Thanks
    Sweth

    Hi,
    If u want to perform the MRP in one plant for all the plant requirement is depends on the bussiness process.
    You can try the following scenario:
       Planning in one plant nd production in other plant - Respective master data and special procurement have to maintain.For 
    further clarity please follow the below link
    http://help.sap.com/saphelp_46c/helpdata/en/f4/7d3f9344af11d182b40000e829fbfe/frameset.htm.
    We can evaluate the PR and PO by providing the authorisation object for the multiple plant to the respective users.
    Revert me back in case of clarification.
    Thanks
    P.Srinivasan

  • Is ATP for Multiple Plants possible????

    Hi Gurus,
    I have requirement like this
    we are having two SAP Systems in one Sales order is raised.. and tha will pass to 2nd system with ALE. in Second system actual Availability Check will run for the plant given in the line item of sale order.
    but in second system there will be 6 plants containing the same material. here my requirement is system has to check all the stock lying in all the plans at it need to propose the plant at line item level in sales order.
    I know that Avail.Check will run for single plant. Is there any way to run this for multiple plants. at present user is changeing sales order and splitting line item into 6 line Items and performing Availability check based on that he is abelt find the in which plant stock is availble it become cumbersome process.
    is any User Exit can we give multiple plants for checking Stocks???.
    if End User is doing any mistake in doing Avail.Check it leads to Dead Stock.
    please provide your Inputs on this
    -Pradeep

    BC,
    Well, I will assume that you have been diligent and have already determined that the material masters are comparable between your qual system and your production system (I don't know what pre-production means).
    First thing I would check would be the differences between qual and prod in availability check configuration.  OVZ2.  Look especially at the 'accumul' settings.  Actually, any difference between qual and prod should be reviewed.  Differences are a no-no!
    Best Regards,
    DB49

  • EXIT_SAPLV50E_001 User Exit is not working for multiple plants case

    Hi,
    I have to update foreign trade data in Invoice during invoice creation using VF11. For that, I have written code in EXIT_SAPLV50E_001 and updated segal value. This functionality is working fine, if I have a single plant in an invoice. But customer has scenario where they can have multipl plants in an invoice.
    For multiple plants in an invoice, this EXIT_SAPLV50E_001 is not called.
    I am unable to find another better place where in I could place my code. Please help. Remember, case in multiple plants.
    Will be rewarded.
    Regards
    Arpit

    Hi Arpit,
                   Please use below mentioned user exit in T-code VF11
    he following user exits are available for tcode VF11
    Exit Name           Description
    SDVFX001            User exit header line in delivery to accounting
    SDVFX002            User exit for A/R line in transfer to accounting
    SDVFX003            User exit cash clearing in transfer to accounting
    SDVFX004            User exit G/L line in transfer to accounting
    SDVFX005            User exit reserves in transfer to accounting
    SDVFX006            User exit tax line in transfer to accounting
    SDVFX007            User exit: Billing plan during transfer to Accounting
    SDVFX008            User exit: Processing of transfer structures SD-FI
    SDVFX009            Billing doc. processing KIDONO (payment reference number)
    SDVFX010            User exit item table for the customer lines
    SDVFX011            Userexit for the komkcv- and kompcv-structures
    V05I0001            User exits for billing index
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure
    V60A0001            Customer functions in the billing document
    V60P0001            Data provision for additional fields for display in lists
    V61A0001            Customer enhancement: Pricing
    J_3RSINV            Customer enhancement: Pricing
    or You can use BADI
    BADI_SD_SALES_BASIC
    BADI_SD_TO_FM
    BADI_SD_BILLING
    Regards,
        Thangam.P

  • Create Invoice for multiple deliveries

    Hi ,
    I want to create Invoice for multiple deliveries thru my prog.
    I tried using RV_INVOICE_CREATE but it creates multiple invoices if I enter multiple deliveries.
    I tried searching the forum but cud not get any solution for this.

    Hi,
    U can create single invoice for multiple deliveries if the following conditions are met
    1)payment terms are same
    2)billing dates are all same
    3)and Payer
    Go to VF01 and enter all the delivery document numbers and it will create a single invoice.
    Or else goto VF04 and search all delivery documents,select it and click on collective billing document button. One single invoice will be created
    regards.

  • Release Streatgy for multiple plants

    Hi All,
    I have one PO with multiple Item having different Plants.
    For Each plant i have a release streatgy with different release codes for each plant and in release streatgy  i put characterstics like
    1. Plant
    2. Value
    3. Purchase Organisation
    4. Document Type.
    Now my Question is that when i use mutliple plants for different line items of one PO.
    How will my release streagty will work ? and how it should be configured ?
    Regards,
    Pardeep Malik

    Hi,
    Your Release strategy will not work.
    In you want to get the release strategy for multiple plant then you have to define another strategy in OMGS u2013 say 01 u2013 07  as Multiple plant  and for that  strategy in CL24n mating all the characteristics  and donu2019t maintain any value for your characteristics plant and then check.
    Try it its very helpful

Maybe you are looking for