Automatic Plant determination logic in the order line item level

Dear all,
I would like to know if there is a possibility to determine plants automatically, avoiding the standard plant
determination logic at line item level, to determine plant based on stock availability.
The process will be to skip the standard plant dtermination logic and drive the process through
based on ATP on plant level.
Coming more specific to the requirement the system determines the plant where the stock is available and if the stocks are not
sufficient the system goes to the next plant automaticaly and confirms the stock quantities, which also could mean that the ATP would run on plant 1 and then plant 2 and plant 3......depending on the availability of stocks with partial confirmations or full.
If there are existing user exits etc. available also when the configuration not available would welcome it.
Thanks

Hello
On more option I can see is of maintaining preferred plant in Table OIDAP.
Generally, this table is used for IS-Oil plant determination.
There you can set up one preferred plant and up to four alternative plants for a combination of
- sales area
-country
-transport zone (of the ship-to party)
-material number or material group.
The plant selected depends on the availability of material in the plant/storage location.
Regards
JP

Similar Messages

  • Indicator 'M" in the Confirmations Tab of the PO Line item level

    Hello
    I just wanted to know the relevance of the Indicator " M" available in the confirmations tab of the Purchase Order line item level  after the Inbound delivery is posted in the system?
    Whats the impact of this indicator ?
    How is it set auto ?
    Whats the relevance config to set this or not to set this indicator on ?
    How does it Determines whether or not the information from this confirmation category is to be taken into account by materials planning and control. ?

    Hi,
    Indicator: Confirmation is relevant to materials planning: - Determines whether or not the information from this confirmation category is to be taken into account by materials planning and control.
    Examples: - If you mark inbound deliveries as MRP-relevant, but not loading confirmations, quantities and dates from the former will be taken into account in the materials planning process, whereas the latter will only serve as information for the purchasing department.
    In Short, you can see the Inbound Delivery No in MD04 screen if it is marked as MRP relevant.
    This can be configured in SPRO > MM > Purchasing > Confirmations > Set Up Confirmation Control, here select the confirmation control key and double click on "Confirmation sequence" in dialog structure and activate indicator "MRP-relevant"

  • Credit check at sales order line item level

    We are trying to carry out credit checking at the line item level. Standard SD only has credit checking at the document level.
    Does anyone know of any enhancements or notes we can apply to achieve this.
    Thanks Steve

    Hi Steve,
    The field VBAP-CMGST is only at the header level that is the credit      
    status is only available at the header. So when you release a            
    sales order the entire order is released. It cannot be maintained        
    at the  item level.                                                                               
    Note 60672 explains that placing a delivery block on the schedule line   
    level will have this affect on credit management.  Credit bases things   
    on what can be delivered. Please check in the tranx OVZ7                                                                               
    In block quantity confirmation in delivery blocks there is a blocking    
    reason setup (ZI) which blocks confirmation if an item is incomplete.    
    Please see configuration in transaction OVZ7.                                                                               
    Unfortunately, in standard SAP, credit block is applicable to the        
    whole S/O document.                                                                               
    In general, credit is applicable to the customer [soldto/billto/payer].  
    In SAP, this 'customer' is part of header/document level, and not        
    item level.                                                                               
    You can not change this behaviour in IMG or userexit.  
    I hope those information can be useful
    regards
    Ruy Castro

  • Default profit center in sales order line item level

    Hi Experts,
    In creation of a sales order, I want to default the profit center for every line item in the order depending on some logic. How do I go about it.
    Warm Regards,
    Abdullah Ismail

    Hi,
    You would need to implement a user exit:
    try this user exit :
    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".
    regards,
    Advait

  • IDOC(ORDERS05) - Pass payment method on sales order line item level

    Hi
    We have requirement here to pass payment type(VBKD-ZLSCH) on each line item of the sales order from IDOC. But, IDOC structrure ORDERS05 doesn't have provision to handle this data. Is there any other way to pass this information, except extending the IDOC and handling in the user exit(002) for the same. Please advice.
    thank you very much in advance.
    Thanks
    Lakshman

    I was able to fill the event container creating a new FM based on the template FB SWE_CD_TEMPLATE_CONTAINER_FB_2.  At that point, you have access to all of the Change Document information (i.e. CDHDR and CDPOS).  I was able to take the line item affected and set the Event parameter for line item and then pass it through my workflow. 
    As I was testing I realized that if I made multiple line item changes, they are tagged with the same Change document number during the same update in the sales order.  As a result, I had to make the Event parameter a multiline parameter.  Now I was trying to set the Event parameter, but I think I was using the Methods SWC_SET_ELEMENT for the multiline parameter.  It wasn't setting it properly.  I think I need to use SWC_SET_TABLE and pass it the whole table. 
    I will let you know if this works.

  • Sales Order Line item category not getting Re detemining Correctly

    Dear all,
                I need  help regarding the Sales order item category redetermination.
                we are having two item categories YNAE and YNAG and it contains schedule  line categories CP and CB ( i.e for item         category  YNAE schedule line category is CP and for item category YNAG schedule line category is CB),
    for YNAG Purchase Requisition is automatically created becz of functional setting on save and it is working fine.
    For every line item in sales order line item level item category YNAE will be determined by default as per functional settings.
             Now my requirement is that, if sales order line item doesn't contain 100% confirmed quantity, than i needs to change the default line item category YNAE to YNAG which i am trying to do it in USEREXIT_PRICING_PREPARE_TKOMP becz in this exit i am getting the values in XVBAP and XVBEP and  it is working fine .
             But schedule line category is not getting redetermined automatically what i mean is, if i change the item category to YNAG from YNAE in user exit corresponding schedule line category CB of YNAG is getting determined automatically at the schedule line level and if ichange the schedule line categories in XVBEP in exit USEREXIT_PRICING_PREPARE_TKOMP, changes are reflecting at the schedule line level but Purchase requisation is not getting created for schedule line on SAVE and its delivary dates are also not getting determined properly. If i press the option ATP check at the schedule line level than very things will getting corrected.
       I feel that i am not doing this in proper way, do u have any idea about how to redetermine item category. please let me know if u have any idea .
    Regards,
    Vaddepally Manoj

    USEREXIT_PRICING_PREPARE_TKOMP is the wrong location - that exit is for pricing communication preparation only.  Your primary location for item category determination is USEREXIT_SOURCE_DETERMINATION (MV45AFZB).  In your simple scenario, you could consider making an availability check at this point with some assumptions and then assign the item category accordingly.  Otherwise, you can re-assign item category and schedule line category in USEREXIT_MOVE_FIELD_TO_VBEP.  The exit is called once before ATP (for ATP-relevant schedule line categories) and once afterwards.  The call is recursive if you re-assign another ATP-relevant category.

  • Third Party GRN Posting Date to be Copied to Sales Order Line item Billing Date

    Hello Experts
    I have a client requirement where in they want to bill line items in the sales order ( third party process ) to the end customer in sync with the GRN posting dates happened in the PO
    For EG if GRN happened on 1st July 2014 then Billing Date should come in as 31st July 2014 so when they execute VF04 giving from and to dates as 1st july to 31st corresponding sales order can be invoiced
    Actual problem is for suppose if i create a sales order in the month of june say 26th basing on the factory calendar setting and invoicing list maintained in the customer master system defaults the billing date to 30th June 2014 , and the same when user runs VF04 from 1st June to 30th June this sales order shows as due and mistakenly end user invoices the customer ( whereas logical GR would have only received in July 1st )
    My requirement is similar to below threads but i am unable to find answer how to copy GR Posting date to Billing Date of the sales order line item
    use GR Doc date as billing date
    3rd party sales process (w/o ship notif) - Billing

    Hi Lakshmipathi ji,
    As my requirement is to update the billing date at the sales order line item level , As a process user goes in executes VF04
    For Ex
    Sales Order Created Date is 1st June 2014 then System Defaults Billing Date at line item to 30th June 2014
    Now when i do GRN suppose on 1st July 2014 for that line item , system should trigger a code where in check the posting date of the GRN and override the same in the Biiling Date field of the sales order line item
    So when VF04 is run for a month All the GRN which are recieved in the month of July are invoiced in July
    Please share me your thoughts do we need to check any userexits from MM side which reads the posting date of GRN and then copies in to my third party sales order
    Regards
    Hiba

  • Retail Tab in the PO line item..

    Hello all!
    I need this help - Now, I have this "Retail tab" showing up at the PO line item level. It is happening to every PO doc type and Pur org combination. It does not show in Sand box...
    There is no retail activated at all in the 4.7 version.
    Appreciate any help... on this. to remove the "Retail tab" at the PO line item .
    Thanks
    Best Regards

    Hello Swati,
    It does not show up now.
    I put back everything as it was.
    Right now the settings are as follows in defining screen layout for ME21N - Administrative data, item
    Except "No chect all" rest have been ticked "Optional entry"
    Points
    Promotion                   (No check at all)
    Deletion indicator
    Rounding profile
    Info update
    Indicator: estimated price
    Prior vendor                (No check at all)
    Season                       ( No check at all)
    Control key QM
    Reason for ordering    (No check at all)
    Revision level
    Except "Indicator: requisition closed " which has no checks at all - rest are all optional.
    IDeadline monitoring
    Delivery date
    Statistics-relev. deliv. date
    Order acknowledgment reqt.
    Schedule line time spot
    Order acknowledgment
    Reminder control
    Shipping dates/supplying plant
    Route schedule
    Goods receipt processing time
    Confirmation control key
    Indicator: requisition closed          (No check at all)
    I created a couple of PO's and Retail tab does not show up .
    IThanks again!!
    If I have an issues I will open this up..
    Best Regards

  • How can I add the expiration date at line item level

    My User is selling voucher. The voucher is sell at line item. eg GV$5, GV$10,etc
    Each voucher line item sold need to be entered with a EXPIRATION date of that voucher.
    Maybe 3 months from issue, maybe 6months/1 year from issue.
    How can I add this to the sales order line item level?
    Which field can I used and how to configure?

    Hi Colin ,
       The question is not very clear , but i assume that you are asking about the  self expiry date of the particular material ,
    1. The setting you can do by activating  shelf life data  in material master :Plant data/stor1
    2.  its better to have a batch managed material for that you can sort the material acording the self expiry date.
    3. Once you maintain self expiry date system by default pick  the material at the time of  delivery
    Note-Shelf life expiry it will give the life of the material from the day of manfacture,remaining shelf life also will  give .
    Hope it is helpful
    Best regards
    Venkat

  • Billing date at line item level in a sales order

    HI!
    Can anyone let me know the significance of billing date being present at the line item level in a sales order?
    And why does it get changed as per the Requested delivery date if the Prop. Pricing date in the maintanenece of sales doc type is set  as 'A'?
    Can it be different for different line items?

    Hello Asha,
    Can anyone let me know the significance of billing date being
    present at the line item level in a sales order ???
    The comprehensive information is available at SAP technical help(F1) for the "BILLING DATE" field at Sales Order line item level...Before raising these type of questions, i would urge to  conduct initiate analysis and then post at SDN forum if you are unable to find out answers...For your quick reference, i have extracted the same description for Billing date from SAP techincal help (F1) and pasted below.
    Billing date for billing index and printout
    +The date on which the billing is processed and booked for
    accounting purposes.+
    Use
    +You can use the billing date as one of the selection criteria
    when you process billing documents collectively.+
    Procedure
    +If invoice dates are defined for the customer, the system proposes
    the billing date from the invoice date calendar. If no invoice dates are
    agreed, then the actual goods issue date is formed on the basis of
    delivery related billing. In order related billing, the billing date of the
    order forms the basis of the billing date.+
    +If you are billing services, the system proposes the date of services
    rendered. You can change the date manually in the sales document.+
    +If you are using a billing plan to bill a project, the system can propose
    billing dates for the billing plan on the basis of planned or actual dates
    in the corresponding milestone.+
    +In a billing plan for a maintenance or rental contract, you can specify rules
    by which the system determines billing dates on the basis of other dates in the contract.+
    Regards,
    Sarthak

  • Sales order line item conditin type

    hi experts
      in pricing procedure determination we  at lost we are giving condition type. it was displayed in sales order line item level
    what is the purpose of this condition type.
                                   thanks to every buddy who are trying to give answer this question.
                                        narasimha
                                        [email protected]

    Hi,
    This is to avoid going into the line item and entering the value in the amount field.
    When u assign it there in your pricing procedure determination you can enter the amount in the amount field for each line item and avoid drilling down to conditions tab for each item
    Hope you find this helpful.
    If you, please reward points for contribution.
    Regards
    Ravi

  • Changing Pay Terms on Order Line Item

    Hello -
    When an invoice is cancelled,  SAP permits payterms to be changed on the line item of the corresponding sales order,  however, upon saving the order,  the payterms revert back to the original ones.   I am trying to re-invoice using new/changed payterms but cannot do this when changing the payterms on the order line item.   
    The payterms can be changed on the header level of the sales order and everything works and follows into a new invoice with the new payterms and the original baseline date.     If you only use the line item payterms on the sales order,  then SAP will revert back to the original payterms on the sales order. 
    How can I re-invoice using the new payterms?   I am aware and expect that the original baseline date /  original invoice creation date will remain the same.    This is also what I want to happen.
    Also - if an adjustment document (crediting the customer for additional payterms / extending their payment date) should be done,  please suggest what type of adjustment document and how to create one.   A credit memo request requires a quantity and there is no crediting for a product quantity in this scenario.
    Thank you,
    LP
    Edited by: LP on Apr 14, 2008 4:45 PM

    Forms Personalization is NOT a feature of Oracle Forms. It is a feature of the Oracle Enterprise Business Suite (EBS). Please post your question in the General EBS Discussion forum. If you have a general Forms question, by all means, ask it here! ;-)
    Craig...

  • FI Posting of Invoice at the Line Item Level.

    Hi All
    Client has requirement of posting at the invoice line item level.But standard FI-AR posts at the Invoice Header level.
    E.g If invoice has two line items of $20 and $30 respectively.
    On the standard FI-AR side,one accounting document of $50 will be generated.It will not be posted for each invoice line level.
    In order to post at the invoice line item level,i am looking for a posting user exit from SD side that will two individual account document each having invoice line item amount.Or we can have one FI accountng doc having two invoice line items in that.
    Is there any way we can do this unique type of enhancement in ABAP? and also what is the exact user exit we can use from SD invoice side.
    Regards
    Manjinder

    This is not entirely accurate - if the items are pointing to, say, different profit centers then there will be one posting per profit center. If this cannot be resolved by the standard SD/FI configuration, then the users might need to change their business process. I personally don't see any need to create postings on line item level. Just imagine what it will do to your database size.
    Anyways, you'll find all the user exits here:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/erplo/sdUserexits
    But, again, this sounds like a very bad idea.

  • Capture START and END installation date on order line item

    Requirement: capture both start and finish dates for an installation program. Will likely require 2 new fields at order line item level.
    USEREXIT_MOVE_FIELD_TO_VBAP???
    Any suggestion for this enhancement???

    Hi
    U need to enhance the VBAP table by APPEND structure in order to add new fields you need.
    So in that exit you can fill your new fields:
    MOVE <......> TO VBAP-Z<......>.
    Max

  • Changing order line item move-out date

    Hi All,
    I am pretty new on the CRM end. I have a requirement where- in i need to change the move-out date on the order line item.
    Could someone help me out what needs to be done in order to achieve the desired functionality.
    Thanks,
    Im

    Hi,
    Please check with the help of Abaper for the  USEREXIT_FIELD_MODIFICATION  why it is happening .
    Also try to check with adding 3 -4 line items and see whether it is happening for all the line item.
    Please post your result.
    Hope this will help you .
    Regards,
    Krishna O

Maybe you are looking for