Skip to Content

Automatic batch pick up required during delivery creation w.r.t Subcontracting PO from ME2O

Hello experts,

For our SC PO cycle, I wish to set up auto batch determination, so that during delivery creation from ME2O, the batches are automatically entered in the delivery created.

My custom delivery type has default order type as 'DL', in transaction OVLK.

I have assigned the sales org/Dc/Div combination to sales doc type DL and a search procedure is also assigned.

I am yet to check the "Activate automatic batch determination in SD" for the custom item category being used in my delivery type but will soon do that.

Can some one please guide me regarding the condition type configurations required here:

  • I would like to fetch up batches for my material in the given plant.
  • Should I use a condition table for batch determination in IM or SD? Do I have to create a condition master record from VCH1?

After all, delivery is an SD element but the delivery here is created w.r.t a Subcontracting Purchase order (item category L), so doubtful.

Add a comment
10|10000 characters needed characters exceeded

  • Kindly post the exact error message corresponding to "item category is not defined" - the message class and number.

    Please do not use answer instead of comment when you wish to add more information or ask for clarifications! When you do this, the participants in the discussion do not receive notifications about the update. And this increases the workload of our moderators who have to convert such answers to the correct response type.

Related questions

3 Answers

  • Posted on Jun 25, 2020 at 07:56 AM

    Hello PAPRI RUDRA

    You want to do batch determination in delivery, hence you need to define your condition table in SD, not MM. For you scenario I'd include at least plant field into the condition table.

    Definitely you need to create batch determination condition in VCH1. That's where you define your batch search and sort criteria.

    Best regards

    Dominik Tylczynski

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 08, 2020 at 12:36 PM

    Hello experts,

    As I explained earlier, I am trying to make the batch pick up automatic ,during creation of delivery , from ME2O, for my Subcontracting PO cycle.

    I have made the following settings under tcode OCHA for the same but not getting the desired result yet.

    • I am using an existing condition table with the fields plant and storage location.
    • I created a new access sequence under 'Define SD AS'.
    • I created a new strategy under SD again and assigned a 023 type class (used in all our batch master records) and a sorting criteria based on expiration date of the batches. The new AS created by me also, I assigned to the strategy.
    • Next I added my new condition type (strategy) as the last step in an existing SD batch det. procedure.
    • Next, in tcode OVLK, I added the combination of my S.Org/DC/Div to the sales doc DL and batch det procedure (mentioned above). I also checked the box for 'check batch' here.

    [I had earlier checked that the default order type for my SC delivery type was DL]

    • I have also activated auto batch determination for the item category of my SC delivery type.
    • Finally after doing all these, I have created my condition record for the new condition type created by me , for the given plant/storage location. [In the condition record, I selected the line and went to 'selection criteria' and mentioned the value for batch status as 'released' . Similarly, I checked the sort criteria also for the condition record and saw that it has the char for expiration date' in ascending sequence.]
    • I have also made sure that for the item category associated with my delivery type, the corresponding checkboxes for 'determine Sloc' and 'Auto batch determination' are checked.

    Still, when I go to ME2O and select the checkbox for my component and click on 'create delivery', the pop-up opens up just as before. Neither sloc nor batch is proposed by the system.

    What do I need to do here further?

    Thanks and Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 08, 2020 at 01:22 PM

    I do not know if you came across this blog: Elasticity of batch management in subcontracting using delivery.

    Part of the steps are about EWM processing, but at least the rest seems to be applicable to your case.

    From what I understood from it and from the referenced notes, you will not see changes to the popup in ME2ON (because such feature is not supported), you have to do the determination in the background, in shipping.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello experts,

      I have a question about the way the condition record for the batch determination is to be maintained.

      I was able to get the batch assigned directly during the delivery creation but the behaviour is not consistent.

      In sorting, I have only one char in my sort rule: Expiration date for the batch.

      Now, if my material has two batches which have different expiration dates, then one of them gets picked up automatically For one of the materials, there were two batches, one of which had expiration date in April 2024 , while the other had expiration date as April 2025 but still the second one got picked up. As per 'ascending' in the sort rule, shouldn't the one with April 2024 be the first choice?

      • The problem is when there are two batches for the same material with the same expiration date. Then how does the system decide as which batch to pick up?

      For that I wish to add another char to the sort rule, say, the batch number or date of batch manufacture. Unfortunately, these chars are not present in the selection class. Even if I manage to add this new char to the selection class in question, will system first check as per the first char and then go on to the next char?

      • will the ascending /descending logic work for all kinds of values- char/numeric/date etc?

      My business wants to follow the principal of FIFO, i.e, the batch with the earliest expiration date should be chosen first.If the expiration date happens to be same,then batch name wise, the selection will be made and so on.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.