cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

EWM - Method or function module to delete stock reference

ultra
Explorer
0 Likes
3,140

Hello everyone,
is there a method or a function module that deletes the stock reference? It concerns the storage types that maintain the stock reference (not delete it):

ultra_0-1734250194615.png

For these, we would like to create a function to delete the stock reference for certain stocks so that they dont't need to manually transferred to a storage bin where the stock reference is deleted an back.

Accepted Solutions (0)

Answers (2)

Answers (2)

MohdRKhan
Active Contributor
0 Likes

 I would not advise that to do as it is against standard behavior  because it is risky. I would say at once you need to confirm with SAP support team. Raise your scenario to SAP support and take advise 

Regards

Rashid

MohdRKhan
Active Contributor
0 Likes

Hi 

Delete stock identification can be set at storage type level and you see its logic then it says 

This checkbox is used if you want to delete stock identification after a product is putaway into the storage type. Stock identification identifies a stock or product with all its unique attributes, such as quantity, batch, or stock type. This indicator must be set for all final putaway storage types. If this indicator isn’t set for final putaway storage types, then you’ll get an error while saving the storage type settings.

If you check it will delete. so why you need function module ?

Also at  warehouse process type level we have setting in customizing we can select no stock identification for it 

MohdRashid_0-1734354992264.png

It will also help you.

 

Regards

Rashid Khan

ultra
Explorer
0 Likes

Hi Rashid,
thank you for your answer.
We have storage types where the stock reference is not deleted. Instead of transferring these to other storage types and storing them back again, we would like to delete the stock reference where the HU or item is located. So to summarize again:
The stock is located in a storage type where the checkbox is not set. We would like to execute a function so that the stock reference is deleted.