Plant determination at sales order

Hi,
I have a material with two plants and two sales organizations:
How can I customize the determination of the plant when a sales order is created? Do I need to modify a user-exit?
Thanks in advance,
Ricard.

Hello,
Let us have
Sales Org: 1000 and 2000
Plant       : 1100 and 1200 for Sales Org 1000
Plant       : 2100 and 2200 for Sales Org 2000
Suppose you have a material defined for two plants and two sales organizations as mentioned below:
Material          S.Org          Plant
MAR123         1000           1100
MAR123         1000           1200
MAR123         2000           2100
MAR123         2000           2200
Now when you create a Sales order, the Material is determined basing on the follwing conditions:
1. Customer Material Information Record.
2. Customer Master Record
3. Material Master Record
I think so it is not required to use an User Exit for detrmining the plant even though it is maintained for mutiple plants and Sales organizations.
Regards,
Sudarshan

Similar Messages

  • Plant Determination for sales order

    Hello Gurus - I am trying to understand plant determination process that is happening in our system. Here's the scenario:
    Customer sends in an order through EDI creating an IDOC (ORDERS) in our system. The customer sends in a ship to address different from the sold to party's address that the order posts on. Its like a sold to is ordering items to be shipped out to a different address than Sold to's. The order posts in SAP perfectly but the plant that it determines varies with the ship to address. For example a Wisconsin customer orders items to be shipped out to Florida and the system proposes the plant located nearest to the ship to address. Untill now, I was of the view that plant is determined first by the customer material info record, then if its not there, it looks at the customer master and then material master. The items are extended to multiple plants across US. Now what I am not getting is why is it changing the plant thats given on the customer master to a plant located nearest to the ship to address. I tried looking into user exit RV03VFZZ to see any customization, but its not there.
    Can anyone advise on what possibly could be the set up in such a scenario where you have items extended to multiple plants and the plant is determined based on the ship to address??

    Hi Nikhil,
    You are right the delivering plant is first taken from
    CMIR, CM, MM in that order.
    There is also a fourth place after all this ie the user exit which comes into play. In user exits you can redetermine the plant.
    You may need to check this
    MV45AFZB - "USEREXIT_SOURCE_DETERMINATION"
    You can use this user exit to determine which plant will be used for the delivery. In the standard system, the delivering plant is copied from the customer master or the customer-material info record. If you want to use a different rule, then you must enter it in this user exit
    MV45AFZZ - "USEREXIT_MOVE_FIELD_TO_VBAP"
    Use this user exit to assign values to new fields at sales document item level. It is described in the section "Copy customer master fields into the sales document".
    MV45AFZZ -"USEREXIT_SAVE_DOCUMENT"
    Use this user exit to fill user-specific statistics update tables.
    in any of these 3 places there could be some custome code. check these areas you may get the answer to your querry.
    reward points if it helps
    regards
    Biju

  • Plant determination in sales order

    Hello
    Please let me know the ways from which the delivery plant determines in the sales order.
    Thanks
    J

    Hi,
    This is a basic question and we have already discussed bacis questin sevral time on forum.
    Please Always search in theforum before posting the basic question.
    Regarding your query
    Plants comes from Customer material infor record or Customer master or mateial master.
    Regards,
    MT

  • Storage location determination at Sales Order

    Dear All,
    Could we storage location determine at sales order level ?
    As per my requirement. Stock is available a particular plant example below
    Plant
    Storage Loc
    Stock Available
    Batch
    1305
    1300
    10
    1000190
    1305
    1300
    10
    1000890
    Got order from customer is 15 Quantities and the sale order is confirmed because stock is available but at the time of delivery storage location is determined on the particular material so batch is picked automatically on base quantity other other is showing open. So could u plz give me solution for storage location determination on sales order level.
    Thank You!
    Chakradhara

    Being an old member of the forum,  I dont want to highlight the importance of adhering to forum rules.  This topic has been discussed many times here and if you search in SCN or Google it, you would accept this has been discussed many times.  Please adhere to forum rules and avoid posting such repeated queries.
    G. Lakshmipathi

  • Pricing procedure determination in sales order

    Hi Experts,
    In our business scenario, we have three plants and all plants have different pricing procedure. And we are using same sales area and sales document type for all plants.
    Currently one customer is purchasing goods from only one plant. So in our system, pricing procedure determination in sales order based on customer pricing procedure.
    Now as per new requirement, same customer will purchase goods from different plant. And we can’t change or create new sales area and sales document type as per our existing system design.
    So can we change customer pricing procedure at a time of SO creation level? If yes than how?
    Regards,
    Haresh

    Are you a functional or developer?
    Hope are aware that as per SAP standard,  pricing procedure(OVKK) is determined based on
    (1)
    Sales Org
    (2)
    Distribution Channel
    (3)
    Division
    Customer Pricing Procedure
    (5)
    Document Pricing Procedure
    Sales area determined in your sales order or billing doc
    Determines from Sales Data of Customer Master
    Determines from sales(VOV8)/billing(VOFA) doc type
    In addition to that sales order is created for only sales area, which you select based on your customer sales area while creating the sales order.
    Now, keeping above facts in mind, can elaborate your requirement again.
    Thanks, JP

  • Partner determination functions are not determine in sales order

    Dear Sap Gurus,
    I have made a new partner function (P2) and have been configure it in partner determination procedure, although i hv made new customer master for the same account group. All th partner function are showing in the customer master data but these are not determine in sales order, one error is coming...this partner procedure is not defined.......kindly give me advide how to resolve this problem.
    Regards
    Parul Deshwal

    Hi
    Have you assigned the Partner determination procedure to your sales document type?
    Also have you assigned the Partner function to your Partner determination procedure.
    Also do the same to the sales order item partner determination
    regards
    Prashanth

  • Plant change in Sales Order not possible due to Sales Order BOM

    Hi all,
    we are trying to change the Delivery Plant in a Sales Order after the creation of a Sales Order BOM, but it gives a V1773 message first, then a blocking error V1810. The same happens with a Production Order.
    How can we change the Delivery Plant after the creation of one of these objects?
    Our scenario:
    - Make To Order
    - Sales Order BOM created with transaction CS61
    - Sales Order Routing created with transaction CA01
    We need to create the Sales Order BOM on the Production Plant (which doesn't change), but we need to be able to change the Delivery Plant in any time.
    Should you have further questions, feel free to ask.
    Thanks in advance,
    Giuseppe

    Hello Caselli,
    For V1773, please check the solution provided by note 588884, which is a modification. With this note it turns possible to delete all multi-level sales order BOM using transaction CSKB, which may be useful.
    The behavior mentioned by you is the standard behavior of the system. The scenario works as designed, a plant change is only possible as long as there is no other document assigned to the sales order.
    Longtext of V1 810 says:
    The plant can no longer be changed in the following situations:
        2. There is a production order for the order item but it is not a static assembly order.
    Your scenario seems to be point 2 as mentioned above. You can check the requirement type (VBAP-BEDAE) and requirement class in OVZH and assembly type (MNTGA) in OVZG.
    If you change the plant for the items with existing production orders, it will cause the incorrect values in the COPA. An order item is assigned to plant A and the corresponding production order exits. This
    means that the costs are assigned to plant A (this is the place where the costs accrue). Order and production order will be balanced at plant A.
    If you now, after the process has already started, should allow to change the order to plant B the following examples of problems will come up:
    - The costs accrued in plant A (see production order)
    - The SD order is now assigned to plant B, this means billing will be with plant B
    This leads to the fact the costs are on plant A, plant B has a benefit. Plant A cannot settle the costs and plant B has unexpected earnings. Inconsistencies in all involved process steps, SD, CO, COPA are the results.
    If you want to change the plant in the sales order you'll have to perform these steps:
    = Delete the production order.
    = Change the plant of the sales order item from A to C.
      This should be possible unless there are other documents which are already assigned to this sales    order item. Save.
    = Create a new production order and assign it to the sales order item again.
    I hope I am able to help you with this information.
    Best Regards,
    Bhavin Joshi

  • Item Category determination in Sales Order

    Hi
    How to know, how item category determined in Sales Order.  Is there any analysis available in Sales Order level, similar to output or text determination.
    Problem here is in a particular sales order, item category is different compared to configuration.  Nothing is recorded in change log.  How to know, whether system determined this item category or user changed manually.
    Regards
    Uma

    Hi
    Problem here is in a particular sales order, item category is
    different compared to configuration
    I cant take this arguement
    Sales order item cate will picked via the config maintained in VOV4
    item category is different compared to configuration
    Configuration someone might have changed after that sales order created
    Nothing is recorded in change log. How to know,
    whether system
    determined this item category or user changed manually.
    During order creation if you are inputting the allowed manual item category manually in salesorder then that is not a change
    Hence it doesnot get recorded (VA01 T code)
    During order creation  a default item cate gets determined if you chnge that to manual, then that is also not a change
    Hence it also doesnot get recorded (VA01 T code)
    But in VA02 if you change the item category manually then it is recorded in change log
    No item category determination analysis is available in standard and not reqd too
    In your case only this could have happened
    Configuration someone might have changed after that sales order created
    Regards
    Raja

  • Batch Determination at Sales order

    Dear Friends
    The batch determination at Sales order level, the selection criteria
    shows characteristic LOBM_LFDAT, which is Batch determination delivery date
    however this date differs from the actual delivery date from schedule line
    or the requested delivery date.
    As I searched this is not maintained as a characteristic in the Class.
    nor in Batch master record or any strategy.
    How is this coming by default.
    please guide
    Kind Regards Ravi

    Thanks

  • Batch determination at sales order level

    Dear All,
    We are using my sap erp ecc 6.0.We are using the batch determination at sales order level.We had a problem whenever customer requested deliver date is beyond the RLT date then all the old batches which are already assigned and dispatched with some other sales order,that old batches are becoming filled with 999,999,999....(infinity stock).And at the same time it is determining the batch for the sales order line item.
    please help how to stop the old batches filling up with infinity stock.
    regards,
    Hari

    please look into this and throw some light.
    regards,
    Hari

  • Plant to plant subcontracting against sales order

    hi
         my scenario is like this
    two plants A and B under one company code, its repair scenario in this sales order come in plant b ,in this repairing we have 5 process out of which one process has to be carried out in plant 1,so  for that  we will do subcontracting against that sales order with plant b. so how to handle subcontracting with plant a against sales order.
    Edited by: AMIT RANE on Mar 4, 2009 7:55 AM

    Purpose: - Subcontracting is also possible in conjunction with sales order  The subcontracting orders are account-assigned to a slaes order . Thus, the components are not transferred (using a transfer posting) to the "stock of material provided to vendor" but are directly withdrawn from the sales order stock the time of the goods receipt. The material manufactured is also posted to the SO
    The cost of subcontracting is then debited to the SO.
    Since the components are not transferred to the "stock of material provided to vendor", it is recommended that you use a transfer posting to transfer the provided components to a new storage location (for example, 9999). This enables you to obtain an overview of those stocks that are physically located at the subcontractor. This information is particularly important when you carry out a physical inventory of the Project stocks.
    Features: -
    Withdrawal from Stock of Mat. Provided for Project: -
    For components that are managed in Project stock, you can define whether the components are to be withdrawn directly from each Project or from the stock of material provided to vendor. You manage this via the dependent requirements indicator for individual customer requirements and collective requirements (MARC-SBDKZ).
    You can maintain this indicator in the following places:
    In the MRP view of the material master record (MRP 4)
    In the explosion types for the BOM item (in Customizing for Production in the step Basic Data -> Bill of Material -> Item Data -> Define explosion types)
    Configuring the explosion types has priority over the configuration in Inventory Management.
    If the indicator is set at Collective requirements only (2), the materials are withdrawn from the stock of material provided to vendor. If this indicator is set any other way, the system withdraws materials from Project stock.
    Regarding Subcontracting Challan: -
    Go to OMJJ, select the field "movement type" and press enter
    Enter movement type "311" and double click on "Field selection (Enjoy)" under Dialog Structure on left side.
    here "New Entries" and add field "LIFNR" (Vendor- plant as vendor )
    Now in MIGO, at the time of transfer posting of components using movement type "311 E", specify the vendor code of the Subcontracting PO (i.e. Subcontractor)
    Now create Subcontracting Challan in J1IF01 for material document of 311 E movement type.
    Also check in SPRO > Logistics - General > Tax on Goods Movements > India > Business Transactions > Subcontracting > Maintain Movement Type Groups > here for Movement Type Group "0001", Movement Type "311 E" should be maintained.
    Then do GR against PO and refer the Subcontracting Challan here.
    And then do reconciliation in J1IFQ for the GR Document against Subcontracting Challan.
    Also check in SPRO > Logistics - General > Tax on Goods Movements > India > Business Transactions > Subcontracting > Maintain Movement Type Groups > here for Movement Type Group "0002", Movement Type "543 E" should be maintained.
    Follow the below mentioned process;
    Process Steps: -
    1. OX09 - Create Storage Location as "9999" for Subcontractor Location
    2. MB1B - Do Transfer Posting of material from RM Warehouse to this Storage Location via movement type "311 E" (Instead of doing 541)
    3. Now go to J1IF01 - here use material document of movement type "311 E" and create Subcontracting challan. (If required)
    Prerequisite: - In SPRO > Logistics - General > Tax on Goods Movements > India > Business Transactions > Subcontracting > Maintain Movement Type Groups > Here for Movement Type Group "0001" (For issues), maintain movement type "311 E" also along with 541.
    Rest all; refer subcontracting challan during GR and then reconciliation and completion, etc... Will be same as usual.
    Note: - At the time of GR, consume components from storage location "9999" (for 543 movement type)
    regards
    KI

  • Sales Order Output - determined by Sales Order Type, Created By

    I want have my order output determined by sales order type
    (vbak-auart) and created by (vbak-ernam).
    I have created a condition table 501, access seqeunce Z001.
    In v/48, in accesses for Z001, I created
    AcNo: 10
    Tab: 501
    Requirement: [empty]
    Exclusive: unchecked
    in fields, I can't find ERNAM in structure KOMKBV1(header), but I find one in KOMPBV1 (item).So I have assigned it to ERNAM.
    besides, I have created the corresponding records in VV11
    I expect to have:
    Output Z001 will be created for sales order type OR if created by user XXX
    However, no output is generated. When I go out detemination analysis, I found that in the output determination procedure, it did go into output type Z001, but, since no value is found for "created by", i got message "Access not made (initialized field").
    I suspect that no value stored in KOMPBV1-ERNAM. Do you know how I can get it done?
    Points will be awarded for useful information. Thanks in advance.

    Hi
    You have to include this field as a Zfield in the structures KOMKBV1, KOMPBV1 and KOMB.
    You have to include the field as Zfield in these structures.
    Once this is done, you should also be able to update this field in the structures.(As on now, you have only created a field, but you have not mentioned how the field has to be updated.
    In order to update the logic, you have to do a small code in one of the user exits for outputs.
    In the user exit, you have to write a code like this
    MOVE VBAK-ERNAM = KOMKBV1-ZERNAM(this is the zfield you have created)
    Now create the condition table and do the rest.
    Your output should work fine. The user exit I was saying is the subroutine USEREXIT_KOMKBV3_FILL in the include RV61B902 in the user exit RVCOMFZZ. If you can give this info to the technical guy, he should be able to find out the same for saels order output also.
    The user exit RVCOMFZZ also has the subroutine USEREXIT_KOMKBV1_FILL    which you can verywell use for your requirement. This will solve your problem
    Hope this helps.
    If you have any problems in this, you can again put the problems in this thread. I will try to solve.
    Reward if this helps you

  • Stock transfer between stor loc. of same plant triggered by Sales Order

    Hello everyone
    I need some input regarding triggerring Stock Transfer between 2 storage locations of the plant from a Sales Order.
    Sales Org: ABCD
    Plant: WXYZ
    Stor Location: 0001 & 0002
    Now here 0001 is the Picking location for the Delivery Document.
    However 0002 is where all the stock is stacked.
    Physically they both are different buildings in the same vicinity.
    The Business wants the Sales Order to trigger the stock movement from 0002 to 0001 on a daily basis.
    So from a end user prospective, they will move the stock from 0002 to 0001 for all the items needed to fulfill the Orders due for Shipment for that day.
    What options do I have for this ?
    Thanks
    Vin

    Well actually the Selling Org ABCD is of a different Company code .. it is a typical case of Intercompany Sales .. where the Plant WXYZ is belonging to another company code.
    I have setup the Intercompany Sales Process .. and want to trigger the Stock movement as mentioned above.
    I have configured the STO for storage location - stor. location in a Plant. ...
    However I am struggling to trigger a STO from a Sales Order.
    I tried using the Schedule Lines to trigger a Pur. Req ... however the Supplying Plant field remains blank (which is the same in this case as it is a stock movement between 2 locations of the same plant).
    The flow looks somewhat like this
    Sales Order -
    > Stock Transfer PR in Plant WXYZ -
    > Delivery Doc for the STO --- > MIGO to receipt the inventory in 0001 -
    > Delivery DOc for Sales Order -
    > Invoice for end customer --- > Intercompany Invoice
    If anyone has automated creation of a STO from a Sales Order .. please advice
    Thanks
    Vin

  • Batch determination in Sales order

    Greetings. I have an issue. Actually we are doing standart batch determination in sales order. But that determination doesn't fit our needs. So, we want to do that batch determination with a user exit ('cause we just did it in the deliveries), but I can't find the exit in the program of sales order creation (SAPMV45A).
    Someone knows where can I find that exit? Is that program which I had to look?
    Thanks a lot.

    Hi Rodriguez,
    Please try with these User Exits
    Program  MV45AFZZ   
    USEREXIT_SAVE_DOCUMENT                                                       
    Use this user exit to fill user-specific statistics update tables.           
    The user exit is called up by the FORM routine BELEG-SICHERN before          
    the COMMIT command.                                                          
    Note                                                                         
    If a standard field is changed, the field r185d-dataloss is set to           
    X. The system queries this indicator at the beginning of the safety          
    routine. This is why this indicator must also be set during the              
    maintenance of user-specific tables that are also to be saved.                                                                               
    USEREXIT_SAVE_DOCUMENT_PREPARE                                               
    Use this user exit to make certain changes or checks immediately             
    before saving a document. It is the last possibility for changing or         
    checking a document before posting.                                          
    The user exit is carried out at the beginning of the FORM routine            
    BELEG_SICHERN.  
    I hope it will help you,
    Regards,
    Murali.

  • Batch Determination In Sales Order (VA01)

    Hi!,
    I have activated automatic batch determination in sales order.
    Batch dertimination condition customer(Sold-To-Party)-material record is maintained in VCH1. It is working fine.
    Now I have required to perform batch determination based on Ship-To-Party.
    Can any body guide in this matter?
    Thanks
    BD

    Hi!
    Thanks for the reply. I have already maintained the condition (VCH1) for sold-to-party. As per your advice I have also created another condition for ship-to-party. Still during batch determination sold-to-party is taking.
    Now I want to remove the sold-to-party condition record. Can you tell the transaction code to delete this condition record maintained by VCH1.
    Thanks
    BD

Maybe you are looking for