Ansicht
Dokumentation

MM_PUR_S4_CCTR_CHECK - Check of Central Purchase Contract Before Saving

MM_PUR_S4_CCTR_CHECK - Check of Central Purchase Contract Before Saving

ABAP Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Messages

This Business Add-In (BAdI) is used in the Fiori UI for Manage Purchase Contracts (MM-FIO-PUR-SQ-CON) component. You can use this BAdI to raise messages when processing central purchase contracts. This may be necessary, for example, if a new error message needs to be raised based on your own validations.

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

Importing Parameters

  • PURCHASECONTRACT: Structure containing the header information of a central purchase contract
  • PURCHASECONTRACTITEM: Table containing the item information of a central purchase contract
  • PURCHASECONTRACTDISTR_TABLE: Table containing the distribution information of a central purchase contract
  • PURCHASECONTRACT_COND_TABLE: Table containing the pricing conditions information of a central purchase contract
  • PURCHASECONTRACT_COMM_WEIGHT: Table containing the commodity weight information of a central purchase contract
  • PURCHASECONTRACTHDR_CND_TABLE: Table containing the header pricing conditions.

Changing Parameters

  • MESSAGES: List of messages that are displayed in the Manage Central Purchase Contractsapp

You can find example implementations in the BAdI Builder on the Enhancement Spot Element Definitionstab in the Implementation Example Classessection. The following example implementation is available:

CL_MM_PUR_EXMP_S4_CCTR_CHECK (Example Class to Implement Checks in Central Contracts)

The BAdI provides the following method:

Check Method for Central Purchase Contract

For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at SAP NetWeaver 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 -> Customer-Specific ABAP Development -> Enhancement Framework.






CL_GUI_FRONTEND_SERVICES - Frontend Services   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 2969 Date: 20240523 Time: 220134     sap01-206 ( 54 ms )