cancel
Showing results for 
Search instead for 
Did you mean: 

Default Storage Location

Former Member
0 Kudos

Hi Gurus,

Could you please help me the understand the reason for the below issue and how it can be addressed.

Despite maintaining all the required settings in OVL3 and OVL2, the system fails to defaul the storage location for few materials in a sales order. Our requirement is to default the storage location in the sales order which could be copied over the delivery.

The business issue is, many users fail to enter the sloc when creating a delivery which ends up in Idoc errors. In order to address this issue, we want the storage location field in the delivery to be defaulted.

Please help me with your invaluable ideas.

Many Thanks

Kumar

Accepted Solutions (1)

Accepted Solutions (1)

former_member550050
Active Contributor
0 Kudos

Hi

Storage location is normally not determined in sales order

It is determined only in delivery

If you want storage location to be determined for sales order then you have to use user exit

If storage location is specified manually in sales order then it is copied into delivery

Otherwise it is determined using either MALA,RETA or MARE rules which we specify in delivery doc type

For sales order you have to use usetr exit in program MV45AFZZ

To determine storage location in Sale Order, there is no configuration available and it has to be achieved using exit USEREXIT_SOURCE_DETERMINATION in program MV45AFZB.

Maintain a zee table with the values based on which you want the storage location determination to happen. In the exit ask your abaper to write the code to pick up the relevant records based on the criterion and then fetch the storage location. This way storage location will be automatically populated in the sale order.

You can try incompletion procedure option

Put the storage location field in the sales order item incompletion procedure

Regards

Raja

Answers (2)

Answers (2)

0 Kudos

Dear Kumar,

As this functionality only exists in the delivery, an exit must be used to default the storage location in the sales order .

Instead of using a Ztable, it is possible to use the picking location determination table (Table TVKOL) in this exit

former_member184555
Active Contributor
0 Kudos

Hi

OVL3 is for automatic determination of storage location in delivery. It is no way related to sales order. Automatic determination of storage location in sales order is not a standard SAP functionality. You have to go for enhancement using a userexit to achieve this functionality. If you have many plants and many storage locations, you have to maintain a Ztable with the details and then the system will pick the appropriate stor loc from this table and will determine that in the sales order.

There are so many threads in this forum related to this issue. Please make a small search.

Thanks,

Ravi