Ansicht
Dokumentation

SWF_WF_CONDITIO_EVAL - BAdI: Value Evaluation of Additional Conditions for Scenarios

SWF_WF_CONDITIO_EVAL - BAdI: Value Evaluation of Additional Conditions for Scenarios

BAL_S_LOG - Application Log: Log header data   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

For a scenario a list of predefined conditions is delivered. In case you need to extend this list, you can extend the condition list with additional conditions (BAdI SWF_WORKFLOW_CONDITION_DEF).

Here you must evaluate the values of appended conditions. By it you have the control that dependent on your condition process instances will be started or steps will be created.

BAdI SWF_WORKFLOW_CONDITION_DEF must be implemented that your implementation will be called.

Register your implementation for your scenario.

Check the values of the condition in method EVALUATE_CONDITION. Return CV_IS_TRUE as ABAP_TRUE in case the condition is fulfilled, otherwise return ABAP_FALSE. As input you get:

  • IS_SAP_OBJECT_NODE_TYPE provides the SAP object type or SAP object node type and the instance identifiers
  • IS_CONDITION provides the identifier of the condition to be checked and the context, in which the condition evaluation is called (start or step condition)
  • IT_PARAMETER_VALUE provides the list of the parameters with assigned values

Remark: The interface of the BAdI provides types and constants, which should be used.






PERFORM Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 1335 Date: 20240523 Time: 182817     sap01-206 ( 26 ms )