COMPARE_GUID_SETS SAP Method Generic Comparison of Two GUID Sets
Below is documentation, parameters and attributes of ABAP Method COMPARE_GUID_SETS within SAP class /SCMB/CL_MASTER_DATA_CHECK. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMB/CL_MASTER_DATA_CHECK into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method COMPARE_GUID_SETS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method COMPARE_GUID_SETS
.| Name | Type | Data Type | Description | Default Value |
| IT_DATA1 | Importing | TYPE REF TO DATA | Data Table 1 | |
| IT_DATA2 | Importing | TYPE REF TO DATA | Data Table 2 | |
| IV_GUID_TYPE1 | Importing | TYPE /SCMB/DE_TYPE_GUID | Key Field Type | |
| IV_GUID_TYPE2 | Importing | TYPE /SCMB/DE_TYPE_GUID | Key Field Type | |
| IV_ITEM_COUNT_MAX | Importing | TYPE I | Maximum Number of Dependent Entries | |
| IV_ITEM_COUNT_MIN | Importing | TYPE I | Minimum Number of Dependent Entries | |
| IV_KEY_FIELD1 | Importing | TYPE NAME_FELD | FieldName | |
| IV_KEY_FIELD2 | Importing | TYPE NAME_FELD | FieldName | |
| ET_DATA_WRONG | Exporting | TYPE REF TO DATA | Daten der fehlerhaften Einträge | |
| ET_GUIDS_OKAY | Exporting | TYPE REF TO DATA | Quantity of GUIDs for SCM Master Data Objects | |
| ET_GUIDS_WRONG | Exporting | TYPE REF TO DATA | Quantity of GUIDs for SCM Master Data Objects | |
| EV_NUM_EMPTY_KEYS | Exporting | TYPE I | Empty GUID Fields |
Exceptions of Method COMPARE_GUID_SETS
This method does not have any exceptionsExample ABAP coding
DATA: lv_ET_DATA_WRONG TYPE DATA,
lv_ET_GUIDS_OKAY TYPE DATA,
lv_ET_GUIDS_WRONG TYPE DATA,
lv_EV_NUM_EMPTY_KEYS TYPE I,
lv_IT_DATA1 TYPE DATA,
lv_IT_DATA2 TYPE DATA,
lv_IV_GUID_TYPE1 TYPE /SCMB/DE_TYPE_GUID,
lv_IV_GUID_TYPE2 TYPE /SCMB/DE_TYPE_GUID,
lv_IV_ITEM_COUNT_MAX TYPE I,
lv_IV_ITEM_COUNT_MIN TYPE I,
lv_IV_KEY_FIELD1 TYPE NAME_FELD,
lv_IV_KEY_FIELD2 TYPE NAME_FELD,
lv_other TYPE c.
CALL METHOD /SCMB/CL_MASTER_DATA_CHECK=>COMPARE_GUID_SETS(
EXPORTING
IT_DATA1 = lv_IT_DATA1
IT_DATA2 = lv_IT_DATA2
IV_GUID_TYPE1 = lv_IV_GUID_TYPE1
IV_GUID_TYPE2 = lv_IV_GUID_TYPE2
IV_ITEM_COUNT_MAX = lv_IV_ITEM_COUNT_MAX
IV_ITEM_COUNT_MIN = lv_IV_ITEM_COUNT_MIN
IV_KEY_FIELD1 = lv_IV_KEY_FIELD1
IV_KEY_FIELD2 = lv_IV_KEY_FIELD2
IMPORTING
ET_DATA_WRONG = lv_ET_DATA_WRONG
ET_GUIDS_OKAY = lv_ET_GUIDS_OKAY
ET_GUIDS_WRONG = lv_ET_GUIDS_WRONG
EV_NUM_EMPTY_KEYS = lv_EV_NUM_EMPTY_KEYS ).
Links to Related Class(s)
/SCMB/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects