Ansicht
Dokumentation

MMPUR_S4_CCTR_WF_TRG - Restart of Flexible Workflow for Central Purchase Contracts

MMPUR_S4_CCTR_WF_TRG - Restart of Flexible Workflow for Central Purchase Contracts

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

This Business Add-In (BAdI) is used in the Central Purchase Contracts(MM-PUR-HUB-CTR) component.

You can use this BAdI to restart the flexible workflow for the application Manage Central Purchase Contractswhen central purchase contracts are modified. This BADI provides the capability to overrule the configuration to restart the flexible workflow for central purchase contracts.

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).

The following parameters are available:

Import Parameters

  • CENTRALPURCHASECONTRACT: Structure containing the header information of a central purchase contract
  • CENTRALPURCHASECONTRACTITEM: Table containing the item information of a central purchase contract
  • CENTRALPURCHASECONTRACTDISTR: Table containing the distribution information of a central purchase contract
  • CENTRALPURCHASECONTRACTHDRCOND: Table containing the header pricing conditions
  • CENTRALPURCHASECONTRACTITMCOND: Table containing the pricing conditions information of an item in a central purchase contract
  • CENTRALPURCHASECONTRACTCMMDTY: Table containing the commodity weight information of a central purchase contract

Changing Parameters

  • RV_WF_TRGGR: Boolean flag that determines the restart of the flexible workflow (‘X’ – Workflow restarts; ‘ ’ – Workflow does not restart)

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:

Example Class to Restart Workflow for Central Contracts (CL_MM_PUR_EXMP_CCTR_WF_TRGGR)

Method

This BAdI provides the following method:

Check Restart of Flexible Workflow for Central Contracts(CHECK_CCTR_WF_TRGGR)

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.






TXBHW - Original Tax Base Amount in Local Currency   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 3366 Date: 20240607 Time: 072745     sap01-206 ( 62 ms )