cancel
Showing results for 
Search instead for 
Did you mean: 

Storage location depending on distribution channel

Former Member
0 Kudos

Hi experts

When creating the sales order (VA01), is it possible that the storage location (LGORT) be brought automatically depending on the distribution channel (VTWEG) chosen before?

Thanks

Hachim EL ALAMI

Accepted Solutions (1)

Accepted Solutions (1)

former_member550050
Active Contributor
0 Kudos

Hi

Determination of storage location in sales order is not a standard functionality in SAP

Default Storage Location 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 user 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.

and

Maintain a Z 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

In the development or logic you have to add distribution channel dependent thro your ABAPer

Regards

Raja

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

If it is critical requirement, you can link with distribution channel. But it is required manual entry in Delivery document.

Please go through the following steps:

Storage location determination rules are MALA, RETA, MARE.

MALA - Is not useful here.

MARE - Is combination of Plant + Situvation + Storage Conditions.

Situvation is entered in delivery document. Storage conditions are copied from material master. When maintain entries in Situvation similar to Distribution channel, system and maintain the entry in situvation.

system will determine the storage location based on situvation (indirectly DC).

In back ground You write code in user exit in MV50AFZZ. - The entry in DC and Situvation should be similar.

Based on the above configuration it will meet your requirement with less customization.

Thanks & Regards

Ugamesh.

Former Member
0 Kudos

Hi

Storage location is depending in plant.But also there is a relation between plant and DC so it may posable in tech aspect.

Thanks

Former Member
0 Kudos

Hi,

storage location is part of Plant, so in standard sap u cant determine LGORT depending on distribution channel. u definitely need some enhancement.

take tech consultant help

regards,

sk