Hierarchy
⤷ CRM (Application Component) Customer Relationship Management
⤷ CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
⤷ CNPC (Package) R/3 Customizing PP Project Management
IMG Activity
ID | SIMG_OLPR_USER_VERD2 | BAdI Enhancement for Inheritance Run |
Transaction Code | S_AL0_96000262 | (empty) |
Created on | 20011010 | |
Customizing Attributes | SIMG_OLPR_USER_BADI | BAdI Enhancement |
Customizing Activity | SIMG_OLPR_USER_VERD2 | BAdI Enhancement for Inheritance Run |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | PS_SUMM_KAP2001 |
Use
You can use user exit CNEX0025 to define additional summarization characteristics. These additional summarization charactistics have to be supplied with WBS elements or network operations during master data maintenance on an additional screen. If the additional summarization characteristics have already been supplied during standard master data maintenance, you must do double-maintenance on the additonal screen.
You can use the PS_SUMM_KAP2001 Business Add-In (BAdI) to tailor how the summarization characteristics are supplied during the inheritance run to meet your customer-specific needs. In this case, the respective fields on the additional screen from user exit CNEX0025 no longer need to be used. In some cases the screen enhancement is no longer needed at all. For general information about the implementation, see the Business Add-In documentation.
Requirements
In transaction SE11 (ABAP/4 Dictionary), the customer include CI_PSMERK from table PSMERK has been enhanced with customer-defined fields.
So that you can use these fields during inheritance or project summarization, the corresponding fields of enhancement CI_PSMERK must be filled for each object in table PSMERK.
Standard settings
Activities
Tables IT_PSPNR and IT_ACT01 are available in the enhancement and contain the WBS elements or network operations flagged for summarization. You can use the object numbers (OBJNR) or object keys (PSPNR, AUFPL, APLZL) to postread the necesesary information into the master data tables (PRPS or AFVC, AFVV, AFVU).
The additional summarization characteristics must be supplied with this information in table CT_PSMERK.
Example
The analysis key of the WBS element has been added as an additional field (ZABGSL) to the customer enhancement of table PSMERK. This field should be filled with the analysis key stored in the WBS element master data.
Example implementation of the BAdI enhancement:
*****************************
data L_PRPS type prps.
data: begin of wa_pspnr,
OBJNR type ONR00-OBJNR,
PSPNR type PRPS-PSPNR,
end of wa_pspnr.
data: wa_psmerk type psmerk.
LOOP AT IT_PSPNR INTO wa_pspnr.
CALL FUNCTION 'CJPN_GET_WBS_ELEMENT'
EXPORTING
I_OBJNR = WA_PSPNR-OBJNR
IMPORTING
E_PRPS = L_PRPS.
* Übergabe des Abgrenzungsschlüssel an CT_PSMERK
WA_PSMERK-ZABGSL = L_PRPS-ABGSL.
WA_PSMERK-OBJNR = WA_PSPNR-OBJNR.
MODIFY CT_PSMERK FROM WA_PSMERK TRANSPORTING ZABGSL
where objnr = wa_psmerk-objnr.
IF NOT sy-subrc IS INITIAL.
INSERT wa_psmerk INTO TABLE ct_psmerk.
ENDIF.
ENDLOOP.
*****************************
Business Attributes
ASAP Roadmap ID | 255 | Create Interfaces |
Mandatory / Optional | 3 | Nonrequired activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20011010 |
SAP Release Created in | 470 |