CL_FINB_CONDITION - Condition

Addresses (Business Address Services)   General Data in Customer Master  
This documentation is copyright by SAP AG.

Functionality

The class describes a condition that usually comes from a selection table with field names or from thetotal of several selection tables. You can also transfer conditions from structures. The structures have the field names as components and as entries the related values.

Variables of the type BOOLE_D are used as truth values with the values 'X' for true and ' ' for false. When we speak of 'set' we mean true.

The class can work with pattern entries. The attribute with_pattern is set and can be queried with the methodhas_pattern.When working with patterns, you should read the notes in the documentation on the methods used. In particular the methods:constructor,is_true,equal and implies

The individual tables of the xt_sel_tab have a normalized display internally. Almost all methods require the normalized display of tables. For the exact description of this display, seeset_condition.

The attribute is_false is set if the condition cannot be fulfilled. If you use patterns, it can happen that the condition cannot be fulfilled but the attribute is_false is not set; see the documentationconstructor.

Logical operations can be performed with the conditions:and,or,not. The comparison operations build on top of this:is_true,equal,implies.

With the methods struct_meets_cond,test_structure,test_table you can test whether the structures fulfill the conditions.

With the method get_where_clause, the condition can be used for dynamic access to database tables.

With the method get_log_exp,the condition can be displayed in a string table with the syntax for IF and CHECK statements.

Relationships

Example

Notes

Using patterns:

* stands for any sequence of characters (also empty).

+ for at least one character.

You need to pay attention to upper/lowercase.

# is escape character.

Further information

Documentation of components


RFUMSV00 - Advance Return for Tax on Sales/Purchases   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.


Length: 4087 Date: 20120526 Time: 124621     triton ( 116 ms )