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

89 阅读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:

The error is raised because the field waerk is initial:

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:

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的原创文章,请关注公众号"汪子熙":