How to resolve error message Pricing - Document currency missing in sales

When I inserted one product to a quotation, I meet with the following error message:

How to resolve error message Pricing - Document currency missing in sales

Perform where used list to find the source code where this error message is raised:

How to resolve error message Pricing - Document currency missing in sales

The error is raised because the field waerk is initial:

How to resolve error message Pricing - Document currency missing in sales

From description of the field WAERK in structure PRCT_HEAD_COM we can know that it represents the document CURRENCY which is a input parameter for pricing calculation:

How to resolve error message Pricing - Document currency missing in sales

From debugging we know it is filled by ls_pricing_wrk-currency, which is the document currency maintained in header level.

How to resolve error message Pricing - Document currency missing in sales
How to resolve error message Pricing - Document currency missing in sales

After I maintain a proper document currency here ( which must match to the currency maintained in product master’s assignment block “Price Details” and “Distribution Chains”), the error is resolved.

How to resolve error message Pricing - Document currency missing in sales

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
How to resolve error message Pricing - Document currency missing in sales