CL_FOBU_FORMULA - Formula Builder

TXBHW - Original Tax Base Amount in Local Currency   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Functionality

Creating, changing, and storing random mathematic or Boolean formulas.

To evaluate the formulas, use the class CL_FOEV_FORMULA

Use

  • Using the method CREATEyou create a formula; the result of the formula is of the type IM_DESIRED_TYPE.
  • Using the method SAVE, ou save the formula to the database. WithCREATE,an ID was supplied to EX_FORMULA_ID. You can use this ID later to access this formula.
  • You can reload a stored formula for processing using the method LOAD.
  • The method COPY creates a new instance as a copy of an existing instance.
  • The method DELETE deletes a formula on the database.
  • The method AS_TEXTgives a text display of the formula, with the technical name or short descriptions of the elements.
  • The methods IS_CHANGED andIS_VALID display whether the formula was changed by a user and whether it can be evaluated.

Other methods are only relevant for the user interface (FOBU_DIALOG_START).

Notes

If the formula has application-defined fields, functions, or pushbuttons these must be transferred through implementation fromIF_FOBU_CONNECTOR to CL_FOBU_FORMULA.

If, while processing a formula, new application-defined fields are added, you can call the methodENVIRONMENT_RELOAD.

Further information

See example programs SFBE_EXAMPLE1 - SFBE_EXAMPLE6.


BAL Application Log Documentation   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.


Length: 3591 Date: 20120526 Time: 125229     triton ( 95 ms )