cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieve the confirmed quantity field at time of pricing in a formula

Former Member
0 Kudos

Hi,

I am programming a formula for pricing (scale base formula) and i need the confirmed quantity from VBAP (KBMENG). But VBAP-KBMENG is 0 at the time of the formula.

Do you know where i can find the confirmed quantity at the time of pricing ?

I've checked KOMP but it is only the ordered quantity that is available.

Do you know how to retrieve fields from VBAP at pricing time ?

Thanks

Myriam

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Myriam,

If my understanding is not wrong, when we enter a sales order, pricing is carried out prior to avaiolability check. Its only upon sales order save that availability check is triggered.

Regards,

Sivanand

Former Member
0 Kudos

Hi,

Availability check is done before saving and before pricing.

I found the answer :

What i have to do is adding a field in the pricing communication structure KOMP and then program in the userexit_pricing_prepare_komp to fill this field with VBAP-KBMENG and then in my formula i will be able to retrieve it in KOMP.

Thanks for your help.

Myriam.