CO-PA: User Exits
This enhancement gives you greater flexibility in assigning postings to profitability segments.
The components comprise the function module EXIT_SAPLKEAK_001.
Function module EXIT_SAPLKEAK_001 lets you change or determine a characteristic group for manual posting to profitability segments. The
import parameters contain all the fields known for Profitability Analysis at the point at which the profitability segment is determined. The import parameter I_CHAR_GROUP contains the characteristic group defined in Customizing. This enhancement can determine a different characteristic group using the transferred fields.
You have define characteristic group FI01 for the business transaction RFBU for direct postings in the Financial Accounting (FI) component. For account 801000, however, you want to use characteristic group FI02, since a more detailed assignment needs to be made than is possible
using characteristic group FI01. Assume that the operating concern is S001. The user exit you define would look something like this:
E_CHAR_GROUP = I_CHAR_GROUP.
IF IS_COBL-VORGN EQ 'RFBU' AND IS_COBL-HKONT EQ '0000801000'.
E_CHAR_GROUP = 'FI02'.
You must for the operating concern (CASE I_ERKRS ...), because the user exit is active for all operating concerns as soon as you enter enhancement COPA0003 in a project and activate it.
- EXIT_SAPLKEAK_001: User Exit for Determining the Characteristic Group