Ansicht
Dokumentation

SMOE_CRITS_SEL - Select all from table SMOHCRITS

SMOE_CRITS_SEL - Select all from table SMOHCRITS

BAL Application Log Documentation   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Selection function module for table SMOHCRITS.

The function module generates dynamically a where clause. Within one row of the internal table IO_SMOHCRITS the filled values of the fields are concatenated by a 'and'; the several rows are concatenated by a 'or'. The function module selects automatically only for the records which are not deleted (DELETED='0').

Supported fields for selection are:

  • SMOHCRITS
  • SMOVERS
  • SMOHRULES
  • SMOHREPOBJ
  • SMOHPUBL
  • SMOHPOTCRT
  • SMOACTV

Example

First row:,,IO_SMOHCRITS-SMOHCRITS='A1', IO_SMOHCRITS-SMOHREPOBJ='A2'

Second row:,,IO_SMOHCRITS-SMOHPUBL='B1', IO_SMOHCRITS-SMOACTV='X', IO_SMOHCRITS-DELETED='1'

Resulting where clause looks like:

(smohcrits='A1' and smohrepobj='A2' and deleted='0') or (smohpubl='B1' and smoactv='X' and deleted='0')

Notes

Be careful that only records are returned which are not deleted (see example).

Further information





Parameters

IO_SMOHCRITS
I_INDUSTRY_DEPENDENT
I_RETURN_ACTIVE
O_RETURN

Exceptions

Function Group

SMOE_DATABASE_CARE

ABAP Short Reference   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 1677 Date: 20240523 Time: 111632     sap01-206 ( 32 ms )