Skip to Content
0
Nov 02, 2011 at 01:44 PM

Hide condition types in dowpayment settlement

39 Views

Hi,

during the final settlement of a billing plan I am trying to hide certain condition types for the item that is automatically created in the invoice ( Down payment settlement ). I used the following code in a requirement to do this:

FORM KOBED_601.

If komp-fareg = 4 or komp-fareg = 5. -> this indicates that the item is downpayment settlement

sy-subrc = 4.

endif.

ENDFORM.

FORM KOBEV_601.

If komp-fareg = 4 or komp-fareg = 5.

sy-subrc = 4.

endif.

ENDFORM.

This works fine for some conditon types but not for others. In other words, the condition types are dysplayed in the pricing procedure and sums to the net value (I want to avoid this influence on net value).

These condition types have the following features:

Conditon class: A - discount or surcharge

Calculation type: A - percentage (they are tax offset conditions)

Condition category: blank (it is recommended not to change this feature).

Can anyone help me in this issue?

Thanks.