Show TOC

 Cost Distribution (EXIT_SAPLMILL_OC_003)

Use

The settlement rules are created when the combined order is created, and can be changed in the order. Settlement is usually quantity-based. The settlement rule must be firmly established when the last operation of the combined order is finally confirmed. This function module can be used for this purpose. As a rule, the system displays a screen for manual distribution. You can, however, use the parameter E_SHOW_TAB to display the screen (in display or change mode) or to turn it off completely. The confirmation data for the original orders is transferred to the IT_ QUANTITY_CONF table ( see also Note 187275).

Integration

Parameters of the Function Module

Parameter

Description

IS_CAUFVD

Header data of the combined order

E_SHOW_TAB

This parameter controls the display of table CT_SETTLEMENT_RULES. The following settings are possible:

  • 'V': The table CT_SETTLEMENT_RULES is displayed and can be changed manually.

  • 'A': The table CT_SETTLEMENT_RULES is displayed but cannot be changed manually.

  • ' ': The table CT_SETTLEMENT_RULES is not displayed. This is the default setting.

CT_SETTLEMENT_RULES

Table containing the settlement rules of the combined order. The AQZIF field contains the equivalence number used to distribute the costs.

IT_QUANTITY_CONF

Table containing the data on the confirmed quantities distributed to the original orders.