Skip to Content
Author's profile photo Guenter Wilmer

How to adapt the sales quote output form including external pricing

If external pricing is used, the sales quote printing of price elements using the standard output forms need to be adapted for Net Price and Net Value printing. The SAP form template SalesQuote (and SalesQuoteDemo) are optimized for quotes using internal pricing.

In the quote form output message, the message node item PriceAndTax contains elements NetAmount/NetPrice (Net Value) and AdjustedNetAmount/AdjustedNetPrice (Adjusted Net Value), for example:

<Item>

      <PriceAndTax>

<NetAmount currencyCode=” “>0.0</NetAmount>

<NetPrice>

<Amount currencyCode=” “>0.0</Amount>

<BaseQuantity>0.0</BaseQuantity>

<BaseQuantityMeasureUnitName/>

</NetPrice>

<AdjustedNetAmount currencyCode=”EUR“>1602.00</AdjustedNetAmount>

<AdjustedNetPrice>

<Amount currencyCode=”EUR“>80.10</Amount>

<BaseQuantity unitCode=”EA“>1.0</BaseQuantity>

<BaseQuantityTypeCode>EA</BaseQuantityTypeCode>

<BaseQuantityMeasureUnitName/>

</AdjustedNetPrice>

</PriceAndTax>

</Item>

Capture2.JPG

For sales quotes using internal pricing, the NetAmount and NetPrice are populated in the output message. For quotes using external pricing, the AdjustedNetAmount and AdjustedNetPrice are populated in the output message. The difference between Adjusted Net Values and Net Values is that the Adjusted Net Values includes the header price conditions (such as overall discounts or overall surcharges) into the net price calculation whereas the Net Value only considers item price conditions.

If the standard SAP form templates are used for a quote with external pricing, the NetAmount/NetPrice on the item level will be printed with zero (0). To solve this issue, change the binding to AdjustedNetAmount and AdjustedNetPrice. This workaround is OK for some use cases, however, it may lead to confusion if not all relevant price conditions are part of the printout and as a result, the printed Net Price and Net Value cannot be derived directly from the printed price conditions.

Note: For quotes using external pricing, the information which price elements should be printed, originates directly from the customizing of the external SAP ERP or SAP CRM system.


Assigned tags

      9 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Majid Ahmed
      Majid Ahmed

      Hi Guenter

      Thanks for this very helpful workaround.

      Majid

      Author's profile photo Evgeny Frolov
      Evgeny Frolov

      Hi Guenter,

      Your solution for the AdjustedNetAmount and AdjustedNetPrice works well, thanks!

      Can you please explain how to add the "Net value", "output tax" and "Total" to output document (i don't see those values in data XML) ?

      Regards,

      Evgeny

      Author's profile photo Guenter Wilmer
      Guenter Wilmer
      Blog Post Author

      Hello Evgeny, The external pricing elements that are defined as print relevant (via customizing in SAP ERP/CRM OnPrem system) will be part of the XML message automatically. There is no additional configuration required. Regards, Günter

      Author's profile photo Evgeny Frolov
      Evgeny Frolov

      Thanks Guenter,

      Can you please clarify how to define external pricing elements as print relevant (is it in scoping, finetuning...) ?

      Regards,

      Evgeny

      Author's profile photo Guenter Wilmer
      Guenter Wilmer
      Blog Post Author

      As mentioned above. This is configured in the OnPrem system. See attached screenshot. Check e.g. customizing in SAP ERP "Maintain pricing procedures".

      PritingofPriceElements.JPG

      Author's profile photo Saurabh Sharma
      Saurabh Sharma

      Hi Guenter,

      Thanks for this blog. I tried to bind the fields with AdjustedNetAmount and AdjustedNetPrice using adobe lifecycle designer but I can't find them. Can you tell how to do this change?

       

      Regards,

      Saurabh Sharma

      Author's profile photo Bin Huang
      Bin Huang

      Hi Saurabh,

      Link:https://answers.sap.com/questions/276139/net-price-not-coming-in-sales-quote-in-c4c-system.html

      Best Regards,

      Benny

      Author's profile photo Saurabh Sharma
      Saurabh Sharma

      Hi Bin,

      I am done with the changes as told by you but its again not working. Request you to please help..

       

       

      Regards,
      Saurabh

      Author's profile photo Saurabh Sharma
      Saurabh Sharma

      Hi @guenter.wilmer 

      Can you please help me here?

       

      Regards,

      Saurabh