cancel
Showing results for 
Search instead for 
Did you mean: 

Company code of payer in pricing routine

soumya_jose3
Active Contributor
0 Kudos

Hi Experts,

In my pricing routine I have to check the company code of the payer.

I am getting the payer from structure KOMK , field KNRZE. In the structure KOMK, there is a BUKRS field. Is KOMK-BUKRS corresponds to the company code of 'Sold to party' and not to the payer.

If so, how can i get the company code of 'Payer'.

Thanks & Regards,

Soumya.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Get the Country Key from the KNA1- LAND1 for the Payer number

Now goto the table T001 and with the LAND1 get the BUKRS

Hope it is clear,

regards,

santosh

soumya_jose3
Active Contributor
0 Kudos

Hi Santosh,

The problem is if i give LAND1 to table T001, it gives different company codes and not a single record.

Soumya.

Former Member
0 Kudos

Hi,

Goto the Table KNVP and with PARVW=PY get the KUNNR number ( if you dont know the Payer) with Input values of Sales organisation , Distribution channel, division

Now goto the KNB1 table and get the BUKRS field which is the COMPANY CODE for the payer.

regards,

santosh

soumya_jose3
Active Contributor
0 Kudos

Any solution?