Statistical Values KOWRR Customer Exit Control

If the line is statistical, then the group condition types will not be considered for calculating price and hence the value will be zero.

Table:

VBAP

Field info:

KOWRR                CHAR     1              Statistical values

You can used user exit to control whether the pricing is statistical or not.
 

Program  logic:

select single * from vbap where vbeln = sales_order_number
                                             and posnr = item_number.

if sy-subrc = 0.

    vbap-kowrr = '  '.

    MODIFY VBAP.

endif.
 

Notes:

When price is active, the color shown will be Green.

When price is inactive, the color shown will be Yellow.

Inactive means that the billing that you create will be of ZERO value.

Statistical Price

SAP SD Tips

See Also
Returned More Items Than The Return Order

Get help for your SAP SD problems
SAP SD Forums - Do you have a SAP SD Question?

SAP Sales and Distribution Books
SAP SD Books  - Certification, Interview Questions and Configuration

Delivery Hints
SAP Logistics Execution

SAP Sales and Distribution Tips
SAP SD Discussion Forum and Sales/Distribution Tips

Main Index
SAP ERP Modules, Basis, ABAP and Other IMG Stuff

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
 The content on this site may not be reproduced or redistributed without the express written permission of
www.erpgreat.com or the content authors.