Segment not transferred to Profitability Analysis
[CE1xxxx] [CE4xxxx] [CO-PA] [PAOBJNR] [profitability segment] [SEGMENT]
Symptom
In Profitability Analysis, the system does not automatically enter the value of the segment from FI in the characteristic created for the segment. This causes problems in segment reporting.
Other terms
SEGMENT, CO-PA, profitability segment, PAOBJNR, CE1xxxx, CE4xxxx
Reason and Prerequisites
The relevant function is missing.
With Release 605, the automatic transfer of the FI segment to Profitability Analysis is included in the standard system. However, a prerequisite for this is that you use the provided SEGMENT characteristic for the segment in Profitability Analysis.
Solution
The following solution is based on the assumption that the user-defined characteristic created for the segment in Profitability Analysis has the field name WWSEG. If you have selected a different field name for the segment, you have to adjust the correction of the routine PAOBJNR_EVALUATE from the program RKEVRK2L that is described below accordingly.
The solution consists of the following steps:
1. Add the component SEGMENT (with the component type FB_SEGMENT) to the structure COBL_PA_OBJ as the last field. Save and activate the structure.2. Create the new export parameter NO_SEGMENT of the type CHAR1 for the function module RKE_PAOBJNR_EVALUATE.3. Implement the following source code corrections.4. Execute the module RKE_GENERATE_INTERFACE_ACT for the operating concern affected.5. Then implement Note 1135567, so that the value of the field COBL-SEGMENT is entered in the characteristic defined for the segment (see the example at the end of Note 1135567).