Ansicht
Dokumentation

BBP_CTR_MASS_BADI - Implementation of Methods for Making Mass Changes

BBP_CTR_MASS_BADI - Implementation of Methods for Making Mass Changes

General Data in Customer Master   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Contract Management (SRM-EBP-CON) component.

You can use this BAdI to enhance the mass change parameters or methods in the standard system with your own parameters or methods. You can use it in the business scenario Operational Contract Management, and in the technical scenarios Classic and Extended Classic.

You have created a Web Dynpro component and a view for your mass change parameters. For more information, see SAP Solution Manager and navigate to the business scenario Operational Contract Management -> Developing Contracts -> Change Contracts -> Configuring Mass Change Parameters in Contract Management.

The BAdI is filter-dependent. The filter values are drawn from the mass change parameter names that have been entered in view BBPV_CTR_MASSOP.

Implementations for the following filter values/mass change methods are provided, which you can use as templates:

  • /SAPSRM/CL_CTR_MC_CND_ADD
Contract mass operation for adding new conditions
Filter value ITM_CND_ADD
  • /SAPSRM/CL_CTR_MC_CND_CHANGE
Contract mass operation for change in conditions
Filter value ITM_CND_CHANGE
  • /SAPSRM/CL_CTR_MC_HDR_AUTH
Contract mass operation for authorizations at header level
Filter value HDR_AUTH
  • /SAPSRM/CL_CTR_MC_HDR_STAT_REL
Contract mass update for header status and release contract
Filter values HDR_RELEASE, HDR_STATUS
  • /SAPSRM/CL_CTR_MC_HI_BUPARTNER
Contract mass operation for business partner at header or item level
Filter values HDR_BU_PARTNER, ITM_BU_PARTNER
  • /SAPSRM/CL_CTR_MC_HI_DELIV_T
Contract mass operation for delivery time at header or item level
Filter values HDR_DELIV_T, ITM_DELIV_T
  • /SAPSRM/CL_CTR_MC_HI_DOCUMENTS
Contract mass operation for documents/attachments at header or item level
Filter values HDR_ATTACH, ITM_ATTACH
  • /SAPSRM/CL_CTR_MC_HI_INCOTERM
Contract mass operation for Incoterm at header or item level
Filter values HDR_INCOTERM, ITM_INCOTERM
  • /SAPSRM/CL_CTR_MC_DOWNLOAD
Contract mass download
Filter value M_DOWNLOAD
  • /SAPSRM/CL_CTR_MC_UPLOAD
Contract mass upload
Filter value M_UPLOAD
  • /SAPSRM/CL_CTR_MC_PMNT_TERMS
Contract mass change of payment terms at header level
Filter value PMNT_TERMS
  • /SAPSRM/CL_CTR_MC_VAL_PERIOD
Contract mass operation for validity period at header level
Filter value VAL_PERIOD

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Implement the following methods:

  • /SAPSRM/IF_EX_CTR_MASS_BADI~CTR_DEFINE_UI
This method provides the screen information of the parameters or mass change method for the UI.
  • /SAPSRM/IF_EX_CTR_MASS_BADI~CTR_GET_READ_FLAGS
This method distinguishes between header and item parameters.
  • /SAPSRM/IF_EX_CTR_MASS_BADI~CTR_CHANGE
This method maps the new values with the old, and also validates them.
  • /SAPSRM/IF_EX_CTR_MASS_BADI~CTR_GET_STATUS_MESSAGE
This method provides the status of the mass change process.
  • /SAPSRM/IF_EX_CTR_MASS_BADI~CTR_VALIDATE
This method validates the screen input values.

This BAdI uses the interface /SAPSRM/IF_EX_CTR_MASS_BADI. For more information, display the interface in the Class Builder.






TXBHW - Original Tax Base Amount in Local Currency   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 5215 Date: 20240523 Time: 235423     sap01-206 ( 154 ms )