Showing results for 
Search instead for 
Did you mean: 

Storage Location Determination in Sales order

Former Member
0 Kudos

Dear friends,

In our sales order we required storage location. how it will configured for sales documents.

Thanking You


Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi Arun,

There is No storage location determination at Sales order level..

Storage location will be determined at Delivery level only..

System does not determine storage location at sales order level. User has to indicate it at time of creating sales order. The storage location entered in the order item is copied into the outbound delivery. If no storage location for picking is specified in the order item, the system determines the storage location when it creates the outbound delivery and copies it into the delivery item. The system determines the picking location based on a MALA, RETA, MARA rule defined in the delivery type.

This functionality is not available in the standard SAP. If you want the system to check the stock at a specific storage location, the storage location has to be entered manually at item level or you have to go for development so that it will be defaulted under the specific conditions specified. You have to create a Z-table and maintain the table with data under which that specific storage location has to be determined.

A userexit has to be used so that it will default the appropriate storage location after checking the table.

Storage loction determination in Sales order is only possible via a user exit. You cannot configure storage location into sales order: you need to use user



You can use userexit_save_document



The relevant forms to be used are:

USEREXIT_MOVE_FIELD_TO_VBAK -- to default in Header.

USEREXIT_MOVE_FIELD_TO_VBAP -- to default in item.

User exit: MV45AFZZ


Standard SAP can't determine storage location at sales order level. If required to give manually. But at deliver it'll determine automatic.

Do the proper settings at Delivery level:

SPRO --> LOGISTICS EXECUTION --> SHIPPING --> PICKING --> DETERMINE PICKING LOCATION --> Define Rules for Picking Location Determination.

If sales order level by default require, then you have to use user EXIT.


Answers (1)

Answers (1)

Former Member
0 Kudos

You can use user exit FORM "USEREXIT_CHECK_VBAP" under include MV45AFZB (Sales order Program SAPMV45A) to implement the logic of stoage location determination in sales order.