SAP Knowledge Base Article - Public

2797951 - Net value of Pro Forma invoice is not zero in Pro Forma Invoice (F5) - SAP S/4HANA Cloud

Symptom

The net value in the Pro Forma Invoice (F5) doesn't equal to 0 when:

  • it's created for a free of charge delivery order (CBFD)
  • Or is created for free of charge item (TANN or CBXN)

Environment

SAP S/4HANA Cloud

Reproducing the Issue

  1. In app "Create billing documents", create a Pro forma Invoice (F5) for a order with type CBFD.
  2. Check its net value.

Cause

Check the pricing procedure of the billing document. If condition type D100 (100% discount) is used, go to SSCUI 101117 "Set pricing procedures" to check the field "Alternative condition base value". If it is set to 28, the net value of pro forma invoice won't be zero. In the coding of this routine, condition type D100 is deactivated for F5 billing type.

As a reference, here is the coding of the routine:

Include FV63A028

* The condition R100 will be deactivated in the pro forma invoice.
* For example, export papers.
form frm_kond_basis_028.
if komk-vbtyp eq if_sd_doc_category=>pro_forma_invoice.
xkomv-kinak = 'Z'.
endif.
xkomv-kbetr = -100000.
endform.

Resolution

Go to SSCUI 101117 "Set pricing procedures", you can copy the SAP delivered pricing procedure to your own pricing procedure, change the condition base value formula assigned on D100 from 028 to a custom routine as desired. After adjustment of the pricing procedure you also need to adjust the pricing procedure determination for the affected business processes to pick up your custom pricing procedure. Please retest the adjusted pricing procedure thoroughly to check that there is no side effect caused.

Keywords

S4, HANA, D100, 100% discount, zero, pro forma invoice, F5, 28, alternative condition base value , KBA , SD-BIL-IV , Processing Billing Documents , SD-BF-PR , Pricing , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions