cancel
Showing results for 
Search instead for 
Did you mean: 

Which structure field contains the header level net price of sales order ?

Former Member
0 Kudos

Hi Friends,

I am writing a pricing routine for calculating ZSMR condition value in sales order header level. The formula for calculating is (NET PRICE / NET SALES COST) / NET PRICE.

Which structure contains the net price of the sales order in header level. KOMK structure does not contains the net price value.

Any ideas is highly appreciable.

Thanks,

Sakthidoss.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

try the following structure to get the net value

ESALES_SDOC_DETAILS

Regards

Senya

Former Member
0 Kudos

Senya,

Where should I check this? ESALES_SDOC_DETAILS..

Former Member
0 Kudos

Hi,

It is available in KOMP-NETWR.

REgards,

Krishna O

Former Member
0 Kudos

Krishna,

KOMP-NETWR contains net price. but its not the header level net price. It contains only line items. How to access the header level net price ?

Former Member
0 Kudos

Hi,

Use KOMK structure component FKWRT and component type NETWR .

Regards,

Krishna O

Former Member
0 Kudos

Krishna, In KOMK-FKWRT also does not contain header level net price.

One thought, tell me whether it is correct or not. If KOMP-KPOSN is all zeros, is that means it is header level? we can compare this komp-kposn with xkomv-kposn and get all the condition record values. Am I correct ?

Former Member
0 Kudos

Hi,

Yes you can try this it should work fine.

REgards,

KRishna O

Former Member
0 Kudos

Hi there,

1st pickup document condition num from VBAK-KNUMV. Refer net price from KOMP-NETWR by passing doc condition num into KOMP.

Regards,

Former Member
0 Kudos

Sivanand,

I can not use VBAK as I have not saved the sales order yet and before that I need to calculate the pricing condition. In the sales order header level, net price is showing. I want to know which structure contains that net price value.

You have any thoughts whether I am in correct path?

I will certainly appreciate your help by rewarding points.

Edited by: dossgs on May 20, 2010 2:13 PM