cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to change batch in EWM if this is inherited from the ERP?

0 Kudos

Hello team,

I do have a big question for you. I have been working on this issue for weeks and I was not able to find out a solution.

Scenario: Batch split with a different batch (in EWM) when Batch is inherited from the ERP.

STEP 1: We create an Outbound Delivery in the ERP with material + batch (batch determination runs at SD level and it is working fine).

STEP 2: This Outbound Delivery is copied into EWM with the material quantity and batch.

STEP 3: I create the WO/WT to pick the material. This pick is from the FIXED BIN AREA.

STEP 4: When I pick the material, for any reason the material is not available or damaged or missing, therefore it's a short pick (I used an exception code BIDP)

I need to substitute / change the batch in order to fulfill the complete quantity.


Troubleshooting:

I tried the exception code CHBA and it's not working, it might only works in bulk scenarios.

I tried to create a subitem, but it copies the same batch and I cannot change it.

I tried to create a new line, but the item type doesn't show anything, perhaps because it's not a Direct Outbound.

Question:

Is it possible to change or split the line item to add a new batch in EWM, if this is inherited from the ERP?

Thank you very much in advance!

Accepted Solutions (1)

Accepted Solutions (1)

schulte-bahrenberg
Contributor

Hi Irene,

we solved it by extending the system profile for field control with the batch number field. In addition we implemented Badi to set the change indicator for this field to 'M' in case it is given as 'E'. So whenever user opens ODO in PRDO the field is open to be changed.

It is not a 100% 'clean' solution but confirmation to ERP is working fine for us but you still want to check whether this part would still be working in your environment.

Regards,

Hendrik

0 Kudos

Hi Hendrick,

Can you kindly provide BADI name which you used to change batch determination indicator from 'E' to 'M'. Also field control profile for this field will be /SCDL/OUT_PRD_DLV_STANDARD, right?

Answers (2)

Answers (2)

0 Kudos

I was able to address this issue using Hendrik's tip. This solution worked in 1610 and needs to be performed before the picking activity is initiated.

Step 1: Once you decide to change the batch, delete the item where the batch was inherited from ERP and choose "Create Batch Sub-Item" at item level and provide number of sub-items as "1".

Step 2: This will create a new line item, now provide the new batch and choose the determination indicator as "M" (don't provide the quantity yet), just save the document.

Step 3: Now, go back to the new item and provide the quantity and save the document (if you miss this sequence you will receive an error "The quantity of role "Aggregated Quantity" is greater than the delivery quantity").

Step 4: Now the item should be updated with the new batch and you may proceed with the picking activity.

Step 5: Upon PGI, ERP document should be updated with the new batch

former_member595952
Participant
0 Kudos

Hello Everybody

I also have a question for you.

Scenario: Short stock in delivery order but I have not authorized the Batch split( how sap auto change in batch stock when I change in DO)

STEP 1: We create an Outbound Delivery in the ERP with material + batch (batch determination runs at SD level and it is working fine).

STEP 2: This Outbound Delivery is copied into Sale order with the material quantity and batch.

STEP 3: I pick the material. This pick is from the sale order

STEP 4: When I pick the material, for any reason the material is not available or damaged or missing, therefore I load short stock, I have not an authorization to change in batch and then is it possible system make auto change in batch.