cancel
Showing results for 
Search instead for 
Did you mean: 

How to read Sales org of an order

Former Member
0 Kudos

Hi,

Our requirement is to default UOM in a sales order based on Sales org. Different sales org have different default UOM.

Is there any FM or program which can be used to read sales org data of an order ?

Regards,

Shaik

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello

The UOM ( Unit of Measure ) comes from the Material Master.

Each Material master has a default UOM. In addition to this, in the sales org 1 tab page of the material master you have one more field called sales unit. This field is sales org specific. here mention the UOM in which you want to sell this material in this sales organization, and maintain the conversion from base UOM to sales UOM. When a sales order is created in this sales organization, the system will bring this UOM.

if the same material is sold in other sales organization with another UOM then extend this material to that sales organization and give a new UOM for the sales unit field and mention the conversion from base UOM to that sales UOM.

by doing this, you need not do any programming or FM.

Thanks

Srini

Former Member
0 Kudos

Thats a valid point. But our requirement is different.

We want to default th sales UOM in the listing proposal in the order. we found a Badi to do this. But since the default sales UOM is different for different sales orgs. we need to first read the sales org of the order. then the Badi would read the sales UOM from the product master against that sales org and populate in the listing proposal in order.

We are stuck at step on how to read the sales org of the order from with in the Badi. Im looking for any FM or program that does this.

Regards,

Shaik

Shiva_Ram
Active Contributor
0 Kudos

Hi,

You can just add coding to read the sales organization details from table VBAK-VKORG.

Regards,

Former Member
0 Kudos

Thank you.

Answers (0)