Automatic Batch determination based of sales order type

I want to do automatic batch determination on basis of sales document type.
1) I have made a condition table and added sales document type field in it.
2) defined Access Sequence and added that field in that sequence.
3) defined the strategy type, assigned the class "FEFO - First Expiry first out".
4) Added by condition type in the standard search procedure "SD0001".
5) added the order type in VCH1
If, i define the search strategy on material base in vch1 "SD01" then it works fine in sales order & delivery order...
but if i define it on order type then automatic batch determination  doesnt works fine.
any guidance please?

solved...there was issue of expiry date field.

Similar Messages

  • Automatic Rule Determination Based on Service Order Type

    Hi Experts,
    I have a requirement to determine the rule based on the custom service order type.
    I have created 2 custom rules which are then assigned to 2 different org units as needed.
    Now the thing is i want to avoid putting condition step if else based on various order types.
    Is there any way by which i can directly determine which rule to be used by passing the Order type.
    If there is any FM then please suggest and also how to use the same.
    If no FM exists then is there a possibility of having only 1 if else condition and assign rule number in local container variables and pass it thought out the workflow to all the manual validation workitems. Please suggest how this can be achieved.
    Thanks,
    Jessica

    Hi,
    only 1 if else condition and assign rule number in local container variables and pass it
    thought out the workflow to all the manual validation workitems
    Create a workflow container element lets say with probably 15 characters length...
    Now create a background step in which you determine the rule based on the order type.
    data: lv_Rule(10) type c.
    if order_type eq 'X'.
      lv_Rule = '1234567890'.
    else.
       lv_Rule = '0123456789'.
    endif.
    " export the rule concatenated with 'AC' which indicates a rule...
    concatenate 'AC' lv_rule into ev_rule. "ev_rule size may be lets say 15 characters.
    condense ev_Rule.
    "export the EV_RULE to workflow and store it in WF cotainer element.
    In the step where you want to give the rule, select the Agent type as Expression and select the container element.
    Hope this would solve your issue.
    Regards
    Narin

  • Revenue Account Determination based on Sales Order Document Type & Service Order Type

    Hi Expert,
    I have Customer Service Module with Resource Related Billing for services attached with SD.
    When DP90 runs sales document debit memo request is created & then debt memo is created.
    I need to configure Revenue Account Determination based on Sales Order Type and also based on Service Order Type.
    I did not see any field catalogue in revenue account determination for order type, For communication structure KOMKCV Header and KOMPCV Item level there is no field for sales order type nor service order type.
    Is it possible to bring in both order types? Can ABAP person do it?
    How to bring these fields?
    Is it possible & recommendd to have service order type filed AURAT for service order into this sturcture?
    Is this configuration is OK acceptable by SAP? If so is there any chnace for issues errors & wrong determination from FI CO view?
    Your valued input is highly appreciated.
    Thanks
    Prakash Parikh

    Hi Prakash,
    Yes, you can certainly add new table fields into the field catalog KOMKCV and KOMPCV and use it during account determination. You will also have to add these new fields in the user exit RV60AFZZ for it to work. I believe you will need ABAPer's help to make this work. The abaper will have to crate a ZZFIELD (ZZAUART for example) and put it in the structure and use the same in the user exit to pass the values.
    In your case, what I am not sure is, are you looking to modify the existing standard tables or creating new ones. My suggestion is to create the new condition tables with these new fields (like document type) after adding it to the field catalog. Only modify the access sequence (KOFI) in such a way that your new tables are access first before it goes into standard tables (or you can adjust it according to your scenario.
    We have done it in our company and it is working fine. Basically what we have done is to create new tables instead of modifying the standard ones. We have adjusted the access sequence in such a way that some of our custom tables are accessed first before the standard SAP tables (C001 to C005).
    I found a similar requirement on SCN. This might help.
    Adding New Field in Account Determination
    Hope this helps.
    Regards,
    Mukund S

  • Batch determination based on WM storage type stock positions

    Hello experts,
    I am hoping the get some advise on the best method to achieve this:
    We have batch determination turned on for select customers and the system is proposing stock that is mainly in our each or lose pick storage types (110), the issue with that is the fact that we do not pick in less then case qty for those customers so if the stock doesn't exist in our general storage the user must re-determinthe batch codes before delivery release.
    This process is becoming very time consuming so I would like to improve it.
    My first thought is to create a custom check in the batch search strategy that will only propose batch codes that exist in our general storage (search strategy based on WM stock positions)
    Are there any other options to achieve a batch search strategy based in WM stock positions other then the one above and does that solution sound practical?

    I'm not referring to the type of picking either (i'm not referring to picking strategies at all). I'm referring to storage type search criteria defined in OMLY.
    "We need batch determination based on WM storage type stock positions" -> you are running BD at delivery level and therefore, there is nothing from a standard perspective that we can do to run BD based on WM storage type again. Since the BD has already occurred, we need to find other venues to direct the pick to the appropriate storage types.
    This is what I'm understanding but I reckon there's something that I'm missing and so let's take the below example and then you can get back with corrections:
    R001 plant
    ZM01 storage location
    Z01 WH
    110, 120, 130, 140 storage types (110, 120, 130 are case/lose pick, and 140 is general)
    Since you had mentioned earlier that the BD is running at plant level, I'd assume the storage location ZM01 is automatically determined (since the batch resides in ZM01). Since the batch is already determined, based on your 'storage search strategy' (110, 120, 130) the system tries to pick this batch in these storage types. Now, when there is no full case, you have to manually change the storage type to 140 to pick and this is where the problem is. So, I was recommending that since there is no standard way to automatically pick the full case from 140, use the enhancement.

  • Disable Availability Check Based on Sales Order Type

    Hi All SD experts,
    Usually ( correct me if i'm wrong ) availability check is set via schedule lines item type. Is there any way that I can disable the availability check based solely on Sales Order Type ? Meaning no matter what item category or schedule lines assigned to materials, availability check will still be disable.
    Besides setting in schedule lines type, what are others config that might trigger availability check ? MRP settings ? Movement type ?
    Any valuable feedback will be great and much appreciated. A big thank you in advance.
    Warmest Regards,
    Edie

    HI EDIE
        In order for the availability check to happen,the following configuration settings are required.
    Availability check:
         a) you have to define requirement class & requirement type.
         b) you have to activate at scheduline category level
         c) in deleviry item.cat ,there is availability check off field,,,,, if  u dont mention any values here,then system checks for availability.if u mention 'x' here,then system dont check for availability.
        d) you define checking group and checking rule ,these determine how availability check is going to be performed
    MRP:
       MRP determines how material is planned,whether it is inhouse production or external procurement.MRP also determines the time taken for the material to become available for ready use.When ever an order is rised,the requirement is passed to MRP through  transfer of requirements(TOR), here MRP determines the inhouse production time or external procurement time.
    Movement Type: Movement type determines the type of material movement ,whether it is Goods Issue ,,, or ,, Goods Recipt,,,,, stock transfer between two plants etc.Movement type is determined in schedule line category level.
                      Award points if it is useful
                        Prasad.G

  • Automatic batch determination for components in order confirmations

    Hi all,
    when I am doing confirmations through CO12, for some of the components the batch is picked up automatically. But for some other components, the batch is coming only when I manually select the component line and click on batch determination button below.
    Why is this difference? How can I get the batch automatically with out selecting the line and clicking manually on the batch determination button?
    Thanks in advance,
    Raghu

    Ravi,
    Before posting please do search in this forum because this topic has been discussed many times in past.
    Please check below links which could be helpful to you Automatic batch determination in process order
    http://www.sapsword.com/home/sap-batch-management/sap-batch-determination
    If you still have issues then please come back.
    Br
    KK

  • Exclude sales orders based on sales order type from CTM planning run

    Dear people,
    We have sales orders in R/3 with custom sales order types, like ZE01, ZE02 etc.
    These sales orders are CIFed to APO and all sales orders have ATP category BM. We use CTM and we want to exclude sales order with sales order type ZE01, is this possible?
    Which enhancement could be used to exclude sales orders with selection on sales order type?
    Edited by: Peter237 on Jan 19, 2012 12:35 PM

    Dear,
    Check the requirement type of your sales order line item in VA02 procurement tab it should be Reqmt type of customer reqmt   KSL
    Also check the strategy assign in material master and MRP group OPPR and then check the setting of strategy 10 in OPPS there should be
    Customer Requirement planning
    Reqmt type of customer reqmt   KSL  Sale frm stck w/o ind.req.red.
    Requirements class  030  Sale from stock
    Allocation indicat.     No consumption with customer requirements
    No MRP   :-               1 Requirement not planned, but display.
    Please try and come back.
    Regards,
    R.Brahmankar

  • Automatic Batch determination in a production order

    Hi everyone:
    I need that the system proposes a batch number of the components when the order is release. I already configure the batch determination, and when I go to the components of the order, and select the line of the components and the bottom of batch determination, it works... but what I need is to make that procedure in a automatic way, when the orden is realease.
    Can anybody help me?, any ideas.
    Thanks a lot.

    Hello Maria
    The setting from transaction OPKP is not relevant for this issue.
    This setting is only relevant to the creation of batches for the finished product, not for the components.
    It is only necessary to set the field on the material master, as I pointed on my first reply.
    BR
    Caetano

  • Automatic storage location determination based on delivery document type

    Dear All,
    How can automatic storage location will be determined based on sales order type or delivery type.
    Ex: If the business sells the material storage location automatically determined as SL12.
    If the customer returnns the material storage location should be SL01.
    Please suggest for retun process automatic storage location determination.
    Best regards,
    Ramesh

    Dear Guru Lakshmipathy,
    Fine, but we have some picking rules are MALA, RETA and MARE.
    Currently we have onle on plant 1010 and shipping point 1010.
    storage location for outbound deliveries determined based on MALA rule has been assigned to LF.
    can we use RETA or MARE to determine the storage location for returns delivery.  If yes kindly
    explain. And where is storage condtion available in sap.
    Best regards,
    Thanks

  • Automatic Batch Determination in Delivery

    Hello all,
    I need you help.
    business required that the batch of the high level item be automatically determined in the delivery document
    We acticated  1.Delivery item category for  Autom Batch Determ
    Activate the  item ctg for batch determ;
    Delivery item  cat assigned to the delivery type LF – usage CHSP
    in Delvery .. if the sales order type is Standared (OR) its working fine and doing batch determination automatically.
    But if the sales order type is custom (ZXXX) then its not automatically determining the Batch in Delivery,
    am i missing any configuaration linked to sales order type.Please let me know.
    Thanks & Regards,
    Sanju

    Hi Sanju,
    Have you assigned the batch search procedure to this custom order type?
    Please check in t-code v/c5.
    Please reward points if helpful.
    Regards
    Jean

  • Automatic batch determination in MTO

    Hi,
    I want to configure the automatic batch determination for make to order deliveries to only take the batch in sales order stock not to take any batch in the stock.
    Thanks

    Hi,
    You can determine batches in two levels in sd, one is at the order level & another is at the tome of delivery
    U can configure it in
    Logistics genral>>>Batch mgt.>>>Batch determination & check>>>Activate batch determination in sd.
    After this in Easy access u can maintain batch search strategy by t-code
    VCH1
    VCH2
    VCH3
    Regards,
    kapil

  • Automatic Batch Determination in Delivery documentation

    Dear all,
    I am trying to do automatic batch determination in Delivery created w.r.t. Sales order.
    if the material availability date in Sales order in say 15.11.2007, while activating batch determination check in Sales order will it prompt the batch for the sales order stock for the current date? It is not happening for the current date nor for the future date.
    This is being tested in ECC  6.0.
    Can anyone help with the solution please?
    Thanks
    Kumaran

    Hi Kumarank
    I am not sure whether the following links would be of helpful to you.
    http://help.sap.com/saphelp_47x200/helpdata/en/25/283cb44f7811d18a150000e816ae6e/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/25/283c9a4f7811d18a150000e816ae6e/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/25/283ab94f7811d18a150000e816ae6e/frameset.htm
    Thanks
    G. Lakshmipathi

  • Automatic Batch Determination is not happening for New Sales Order Type

    Dear Experts,
      I have created a new sales order type ZBPY - For Free Sales, but automatic batch detrmination and batch pick up is not happening for new sales order type,  but it is activated for all the other sales order types in Production Server, can any body let me know the steps how to map this new order type to batch management and let it behave like other order types.
    Thanks in Advance.
    Saravanan(EKS).

    Hi Saravanan,
    Kindly check the following steps for automatic batch determination.
    1. First check the material is maintained with batch in the warehouse management.
    2. Maintain new entry for search procedure for batch determination with the new created doc type.
    3. Maintain new entry for automatic batch determination for sales order or automatic batch determination for delivery ( This depends on the business process of our client, whether they want to determine the batch with sales order or at the delivery level. check this and make new entry)
    4. Create Batch using T.code MSC1N with proper date of manuf. and SLED.
    5. Create Batch Search Strategy using T.code VCH1 with proper strategy type.
    6. Maintain stock with active batch. check this with t.code LS26 or LS24.
    regards
    Ravishankar M

  • Automatic Batch Determination   in Production order

    Dear All,
    We are using automatic batch determination is based on FIFO (first Mfg first out) for components..After releasing the order.
    I have maintained Batch Class in all the materials which are used as a all material special Characteristic LOBM_HSDAT as a one of the class characteristic. as we want batch determination  on GR date for few material and for few material LOBM_VFDAT for self life material and its class.
    Then create Sort Rule CU70 mainatained the same LOBM_HSDAT in it. and one with LOBM_VFDAT.
    Then create Batch serch Strategy (USE T.Code COB1- search strategy CO01the respective sort rule and selection critoria.for All ROH HALB and Finish material.
    In Material Master of all component in MRP 2 view select value 3 (Automatic Batch Determination) for BATCH ENTRY. All ROH HALB and Finish material
    After mainting above all prerequisite I should able to do the Automatic Batch Determination as per my selection Rule.
    But Automatic Batch Determination  in Production order after release is not working.
    Please need your help.
    Regards,
    Manish
    Edited by: manish gurnule on Dec 30, 2008 5:26 AM

    Dear,
    Define the batch determination search strategy for process order in COB1 with sort rule in CU70.
    On the initial screen of your application choose Logistics>centrel function>batch management>Batch determination>For process order -->Batch search strategy --> Create.
    On the initial screen of your application choose Batch search strategy -->Create.
    Choose the strategy type, say choose co02
    Choose the key combination-
    Enter the required dat-->say plant ,production order type, product,valid from and component for which you want to have this
    Choose Selection criteria push button. Choose a sort sequence.
    If no values have been entered, enter the selection class and the characteristic values.
    Go back to the screen on which you create a batch search strategy.
    Choose Sort if required(it should be defined earlier(in CU70- here you are giving the charateristic name on which you want to sort)
    For component you need to use MBC1 with search stratgey as ME01 for your plant movement type and material and assign the sort rule and search procedure here.
    Check also in COR4, for the combination of plant and order type...you have selected search procedure-CO0001
    Batch management> Batch serach procedure allocation and check activation
    T.Code to be looked specifically OMCG , CORC
    Hope it will help you.
    Regards,
    Madhu

  • Automatic Batch determination at time of Goods receipt for production order

    Hi SAP experts,
                             Greetings to you all. I wish to ask a query that how batch is determined automatically at the time of goods receipt for production order .
                             I have done the following settings:
    1.Specified batch level at material level
    2.External batch number assignment
    3.Defined production order condition table '501' (plant/material)
    4.Defined production order access sequence (order type-plant -material)
    5.Defined Production Order Strategy type.
    6.Defined Batch search procedure in Production Order.
    7.Assigned Batch search procedure to Production order type for a particular plant  , batch check not activated.
    Please let me know of any more settings to be checked for the same.
    For example, a production order is being confirmed for a quatity of 5 nos . at a time . However, the GI movement (261 movement type) for the production order components  is taking place for 1 EA qty. from 5 different batches.
    So now, how the system will define the GR (movement type 101) for the production order header material for the qty. 5 nos. EA ?
    It is desired that the system should do GR for the qty.  1 EA of the header material for the 5 different batches (batches which were automatically deteremined for the Goods issue of the components).
    Thanks in advance. good day.
    Best regards,
    RB

    HI Rahul,
    As explained earlier, for e.g., if the GR is taking place for the production order for qty. 5 nos. , and in that , if the component qty. is 1 EA for 1EA of header material ; then , the GR for the header material should take place for the same different batches from which the order components were issued for the order and not for the other batches in stock for the header material as well as components.
    I am not sure if i understand your requirement 100%.
    But let me explain you standard behaviour.
    When Confirmation for production order happens and GR is posted during confirmation , All the GR happens agaist same batch number which i sassigned in production order assignment screen.
    So for all the order qty single batch would be fixed. Say batch A1 is created for Header material for 100 qty.
    Now during components issue to production order, If 100 qty needs to be issued for compoenent B it is possible to use multiple batches of componenets ( using splilt batch functionality /or manual batch number entry agaist componenet in goods movement screen) but header batch remains the same.
    Check and Revert,
    Santosh Sarda

Maybe you are looking for