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

143 阅读1分钟

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

在这里插入图片描述

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

clipboard2

The error is raised because the field waerk is initial:

clipboard3

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:

clipboard4

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

在这里插入图片描述

在这里插入图片描述

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.

在这里插入图片描述

要获取更多Jerry的原创文章,请关注公众号"汪子熙":