Ansicht
Dokumentation

/CPD/BADI_REP_ATT - BAdI: Validation of Reporting Attributes

/CPD/BADI_REP_ATT - BAdI: Validation of Reporting Attributes

General Material Data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Project Workspace(CA-CPD-WS) component of Commercial Project Management (CA-CPD). You can use this BAdI to implement the following customer-specific enhancements for reporting attributes:

  • Validation of reporting attributes
By implementing the relevant methods, you can write your own logic to override settings defined in the Customizing activity Define Reporting Attributes with customer-specific checks and validations. You can implement custom logic for reporting attributes of commercial projects and their related business objects.
  • Determination of reporting attributes
You can implement your own logic to set predefined values for any of the reporting attributes defined in the Customizing activity Define Reporting Attributes. For example, country/region, risk type, organization, and so on.
  • Transfer of values from reporting attributes to business object fields
You can implement your own logic to transfer values from reporting attribute to fields of business objects. This allows you to update information in business objects based on the commercial project.

You have made the following settings in Customizing for Commercial Project Management:

  • Defined reporting attributes for related business objects in the Customizing activity Define Reporting Attributes.

For more information about the standard settings (filters, single or multiple uses), see the Enh. Spot Element Definitions tab in the BAdI Builder (transaction SE18).

The following example implementation class is available:

  • /CPD/CL_PWSSE_REP_ATTR
This example implementation validates the value of a reporting attribute based on the value in another reporting attribute. For example, if the country/region is China, the industry should be Manufacturing. The implementation displays an error message if these values are not consistent.

Business Add-In (BAdI) method documentation:

For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework.






General Material Data   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 4178 Date: 20240420 Time: 045402     sap01-206 ( 52 ms )