Ansicht
Dokumentation

/SAPCND/MNT_SELECT_OW - NOTRANSL: Selektion von Konditionssätzen in den Puffer der Konditionspfleg

/SAPCND/MNT_SELECT_OW - NOTRANSL: Selektion von Konditionssätzen in den Puffer der Konditionspfleg

CL_GUI_FRONTEND_SERVICES - Frontend Services   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Selects condition records from the DB in the buffer for condition maintenance for the condition maintenance session ID. You must call up FM '/SAPCND/MNT_INIT_OW' beforehand. You can then fetch the condition records with FM '/SAPCND/GET_WORKING_SET_OW' from the buffer for condition maintenance.

Input Parameter:

I_HSESSION

Session handle for condition maintenance: fetched during initialization with /SAPCND/MNT_INIT_OW.

I_HLOG

Application log for the condition maintenance session:

fetched during initialization with /SAPCND/MNT_INIT_OW.

I_MAINTENANCE_MODE

Requests records for display or maintenance

I_SELECTION_MODE

Specifies whether the selected records should be added or removed from the session working set (buffer).

I_GROUPNAME

This is optional. It specifies the condition maintenance group. Such a group can be used to further restrict a selected group of tables and condition types.

IT_ATTRIB_VALUE_INT

Internal table with attribute/value/trio internally displayed. Only operators >, <, = , >=, <=, &lt;&gt; or GT, LT, EQ, GE, LE, NE are supported. Only application fields, that is fields from the field catalog for the application are taken into account along with the condition technique fields application (KAPPL), usage (KVEWE), condition table number (KOTABNR), condition type (KSCHL) and object ID (OBJECT_ID). When fetching selected records with FM '/SAPCND/GET_WORKING_SET_OW' there are no restrictions.

IT_ATTRIB_SELECTION_EXT

List of field names in free selection form. Not supported for CRM 2.0C/3.0

Notes

If IT_ATTRIB_SELECTION_EXT is given (online callup from the user interface), the contents of IT_ATTRIB_VALUE_INT are not evaluated.

IT_ATTRIB_VALUE_INT is used exclusively for background callups. Logical linking of attribute value pairs in IT_ATTRIB_VALUE_INT is in such a way that attribute values are linked to an attribute name with ODER and attribute values are linked to various attribute names using UND. The only exceptions are the attributes TIMESTAMP_FROM and TIMESTAMP_TO, whose values are always linked with UND.

The field 'Operator' in the line category from IT_ATTRIB_VALUE_INT may currently only be used in TIMESTAMP_FROM and TIMESTAMP_TO with a value not equal to ' '. For all other field names, only ' ', ie. an individual value is supported.

Examples

If, for example, all condition records are selected that are valid on the date MY_TIMESTAMP gültig or which are valid at some point during the period MY_TIMESTAMP_FROM to MY_TIMESTAMP_TO, records must be fetched from the FM '/SAPCND/GET_WORKING_SET_OW'.

Further information





Parameters

E_NUM_DELETED_RECORDS
E_NUM_REMAINING_RECORDS
E_NUM_SELECTED_RECORDS
E_RESULT
E_RESULT_IS_BUFFERED
IT_ATTRIB_SELECTION_EXT
IT_ATTRIB_VALUE_INT
I_ADD_ATTRIBUTE_INT_TO_EXT
I_ARC_FIELDCATALOGUE
I_HLOG
I_HSESSION
I_MAINTENANCE_MODE
I_MAX_NUMBER_FOR_DISPLAY
I_MAX_NUM_FOR_SEL_CANC
I_NON_DELETED_MARKED_ONLY
I_READ_MODE
I_SELECTION_MODE
I_USE_BUFFER

Exceptions

EXC_ADDING_DEBUG_TRACE_MSG
EXC_CONVERT_RANGES
EXC_CREATING_OBJECT_NAMES
EXC_DUPLICATE_RECORDS
EXC_EXTERNAL_ONLY
EXC_GETTING_VALIDITY_WINDOW
EXC_GET_NUM_OF_DISPLAYED_ITEMS
EXC_INNER_REL_LOCKS
EXC_LOCKING_ATTRIBUTE
EXC_OPERATOR_NOT_SUPPORTED
EXC_READING_ARCHIVED_RECORDS
EXC_RFC
EXC_SELECTING_RECORDS
EXC_SEL_BY_TABLE_SEL
EXC_SETTING_ABAP_LOCKS
EXC_STOP_WORK
EXC_UNKNOWN_SELECTION_MODE
FIELDCATALOGUE_ONLY

Function Group

CND/SAPLMAINTENANCE_OW

CL_GUI_FRONTEND_SERVICES - Frontend Services   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 4058 Date: 20240426 Time: 065215     sap01-206 ( 88 ms )