Ansicht
Dokumentation
SMOE_VALUES_SEL - Select all from table SMOHVALUE
Fill RESBD Structure from EBP Component Structure ABAP Short ReferenceThis documentation is copyright by SAP AG.
Functionality
Selection function module for table SMOHVALUES.
The function module generates dynamically a where clause. Within one row of the internal table IO_SMOHVALUES 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:
- SMOHVALUES
- SMOHPUBL
- SMOHSUBSCR
- SMOHREPOBJ
- SMOHPOTCRT
- SMOHRULES
- SMOHCRITS
- VALUE1
- VALUE2
Example
First row:,,IO_SMOHVALUES-SMOHPUBL='A1', IO_SMOHVALUES-SMOHREPOBJ='A2'
Second row:,,IO_SMOHVALUES-SMOHSUBSCR='B1', IO_SMOHVALUES-VALUE1='B2', ,,,,,,,,,,IO_SMOHVALUES-DELETED='1'
Resulting where clause looks like:
(smohpubl='A1' and smohrepobj='A2' and deleted='0') or (smohsubscr='B1' and value1='B2' and deleted='0')
Notes
Be careful that only records are returned which are not deleted (see example).
Further information
Parameters
IO_SMOHVALUESI_CLIENT_SPECIFIED
I_INDUSTRY_DEPENDENT
O_RETURN
Exceptions
Function Group
SMOE_DATABASE_CARERFUMSV00 - Advance Return for Tax on Sales/Purchases rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 1794 Date: 20240523 Time: 092808 sap01-206 ( 29 ms )