SAP ABAP Class CL_ALTID_SERVICE (Service Methods for Alternative IDs)
Hierarchy
☛
SAP_ABA (Software Component) Cross-Application Component
⤷
AP-MD-PRO (Application Component) Central Part of Product Master
⤷
COM_PRODUCT_ALTER_IDENT (Package) Alternative Product IDs
⤷
⤷
Properties
| Class | CL_ALTID_SERVICE | |
| Short Description | Service Methods for Alternative IDs | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | COM_PRODUCT_ALTER_IDENT | Alternative Product IDs |
| Created | 20041207 | SAP |
| Last change | 20041228 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 4 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 5 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 6 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 7 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_ALTID_SERVICE has no interface implemented.
Friends
Class CL_ALTID_SERVICE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | COMT_ALTID_OBJECT_TYPE | 'BUS1178' | Object Type for Alternative IDs | 20041207 | ||
| 2 | Static Attribute | Private | Type reference (TYPE) | COMT_ALTID_CNFLD_DB_TAB | Context Fields Buffer Table | 20041207 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | COMT_ALTID_CNFLD_TAB_NR | Context Fields Buffer Table | 20041207 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | COMT_ALTID_FIELD_TAB | Buffer Table for ID Fields | 20041207 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | COMT_PR_OBJ_FAM1_TAB | ID Profile for Object Family | 20041207 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | COMT_ALTID_PRFL_TAB | Profile for Alternative IDs | 20041207 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | COMT_ALTID_PR_OD_TAB | Sequence of Alternative IDs in a Profile | 20041207 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | COMT_ALTID_TYPE_SHORTCUT_TAB | Shortcuts | 20041207 | |||
| 9 | Static Attribute | Private | Type reference (TYPE) | COMT_ALTID_TYPE_TAB | Buffer Table for ID Types | 20041207 | |||
| 10 | Static Attribute | Private | Type reference (TYPE) | COMT_ALTID_TYPET_TAB | Buffer for ID Type Texts | 20041207 | |||
| 11 | Static Attribute | Private | Type reference (TYPE) | COMT_ALTID_TP_OD_TAB | Buffer Table for Sequence | 20041207 | |||
| 12 | Static Attribute | Private | Type reference (TYPE) | COMT_PRT_ALTIDPR_TAB | Assign ID Profile to Product Type | 20041207 | |||
| 13 | Static Attribute | Private | Type reference (TYPE) | TRKORR | Order Number | 20041207 | |||
| 14 | Static Attribute | Private | Type reference (TYPE) | SYSYSID | System Type (SAP or Other) | 20041207 | |||
| 15 | Static Attribute | Private | Type reference (TYPE) | COMT_ALTID_TYPE_DETAIL_TAB | Buffer Table | 20041207 | |||
| 16 | Static Attribute | Private | Type reference (TYPE) | COMT_ALTID_TP_OD_TAB | Buffer Table Sequence | 20041207 | |||
| 17 | Static Attribute | Private | Type reference (TYPE) | COMT_BOOLEAN | Buffer Table Sequence | 20041207 | |||
| 18 | Static Attribute | Private | Type reference (TYPE) | COMT_ALTID_TYPET_TAB | Texts for Alternative Product IDs | 20041207 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Checks the Data for Generating an ID Type | 20041207 | |
| 2 | Static method | Public | Method | Checks a Table for Unique ID Types | 20041207 | |
| 3 | Static method | Public | Method | Converts an Alternative ID String to Single Fields | 20041207 | |
| 4 | Static method | Private | Method | Creates the TADIR Entry for the Logical Transport Object | 20041207 | |
| 5 | Static method | Public | Method | Determines ID Types for a Table | 20041207 | |
| 6 | Static method | Public | Method | Determines (Set) Tables for an ID Type | 20041207 | |
| 7 | Static method | Public | Method | Create or Change Alternative ID Type | 20041207 | |
| 8 | Static method | Public | Method | Reads Required Environment Data of an ID Type | 20041207 | |
| 9 | Static method | Public | Method | Reads Required Environment Data of a Profile | 20041207 | |
| 10 | Static method | Public | Method | Determines Sequence of Profile ID Types | 20041207 | |
| 11 | Static method | Public | Method | Reads Metadata of All ID Types | 20041207 | |
| 12 | Static method | Public | Method | Read Alternative ID Type | 20041207 | |
| 13 | Static method | Private | Method | Internal: Returns a Popup for Selecting Values | 20041207 | |
| 14 | Static method | Public | Method | Converts an Alternative ID String to Single Fields | 20041207 | |
| 15 | Static method | Private | Method | Determines ID Value via Default Context Data | 20041207 | |
| 16 | Static method | Public | Method | Converts ID Values from Database Format (Several GUIDS) | 20041207 | |
| 17 | Static method | Public | Method | Converts ID Values from Database Format (One GUID) | 20041207 | |
| 18 | Static method | Private | Method | Writes Objects to Transport Request | 20041207 |
Events
Class CL_ALTID_SERVICE has no event.
Types
Class CL_ALTID_SERVICE has no local type.
Method Signatures
Method CHECK_ALTID_TYPE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CLASS_EXISTS | Call by reference | Type reference (TYPE) | COMT_BOOLEAN | Logische Variable | 20041207 | |||
| 2 | IS_ALTID_TYPE | Call by reference | Type reference (TYPE) | COMS_ALTID_TYPE_DETAIL | Detail und Kopfdaten zu einem Identifikationstyp | 20041207 | |||
| 3 | IV_ALTID_TYPE | Call by reference | Type reference (TYPE) | COMT_ALTID_TYPE | Identifikationstyp für Alternative Identifikatoren | 20041207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Der angegebene ID Typ existiert nicht. | 20041207 |
Method CHECK_TABLE_FOR_UNIQUE_TYPES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ID_TABLES | Call by reference | Type reference (TYPE) | COMT_ALTID_FIELD_TAB | Ergebnisliste für alternative Identifikatoren | 20041207 | |||
| 2 | ET_ID_TYPES | Call by reference | Type reference (TYPE) | COMT_ALTID_TYPE_DETAIL_TAB | 20041207 | ||||
| 3 | IV_TABLE_NAME | Call by reference | Type reference (TYPE) | COMT_ALTID_TABLENAME | Name einer Tabelle für Felder der altern. Identifikatoren | 20041207 |
Method CHECK_TABLE_FOR_UNIQUE_TYPES on class CL_ALTID_SERVICE has no exception.
Method CONVERT_FIELDS_TO_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_ALTID_FIELDS_DETAIL | Call by reference | Type reference (TYPE) | COMS_ALTID_DATA_DETAIL | Tabelle mit den Detaildaten der altern. Identifikatoren | 20041207 | |||
| 2 | IS_ALTID_FIELDS_DETAIL | Call by reference | Type reference (TYPE) | COMS_ALTID_DATA_DETAIL | Tabelle mit den Detaildaten der altern. Identifikatoren | 20041207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20041207 |
Method CREATE_TADIR_ENTRY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_TADIR | Call by reference | Type reference (TYPE) | TADIR | Katalog der Repository-Objekte | 20041207 | |||
| 2 | IV_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | Sprachenschlüssel der aktuellen Textumgebung | 20041207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20041207 |
Method GET_ALTID_TYPES_FOR_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ID_TABLES | Call by reference | Type reference (TYPE) | COMT_ALTID_FIELD_TAB | Ergebnisliste für alternative Identifikatoren | 20041207 | |||
| 2 | ET_ID_TYPES | Call by reference | Type reference (TYPE) | COMT_ALTID_TYPE_DETAIL_TAB | 20041207 | ||||
| 3 | IV_TABLE_NAME | Call by reference | Type reference (TYPE) | COMT_ALTID_TABLENAME | Name einer Tabelle für Felder der altern. Identifikatoren | 20041207 |
Method GET_ALTID_TYPES_FOR_TABLE on class CL_ALTID_SERVICE has no exception.
Method GET_TABLES_FROM_ID_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_OTHER_TABLES | Call by reference | Type reference (TYPE) | COMT_ALTID_TABLENAME_TAB | Name einer Tabelle für Felder der altern. Identifikatoren | 20041207 | |||
| 2 | ET_SETTYPES | Call by reference | Type reference (TYPE) | COMT_SETTYPE_EXT_TAB | Tabellentyp für Settyp-Daten | 20041207 | |||
| 3 | IV_ALTID_TYPE | Call by reference | Type reference (TYPE) | COMT_ALTID_TYPE | Ergebnisliste für alternative Identifikatoren | 20041207 |
Method GET_TABLES_FROM_ID_TYPE on class CL_ALTID_SERVICE has no exception.
Method MAINTAIN_ALTID_TYPE_SINGLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_ALTID_TYPE | Call by reference | Type reference (TYPE) | COMS_ALTID_TYPE_DETAIL | Steuerungsdaten für Alternative Produkt Idendifikatoren | 20041207 | |||
| 2 | IT_ALTID_TYPES_TXT | Call by reference | Type reference (TYPE) | COMT_ALTID_TYPE_TXT_TAB | Texte für Alternative Produkt Idendifikatoren | 20041207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20041207 |
Method READ_ALTID_CONTEXT_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ALTID_CONTENT_FIELDS | Call by reference | Type reference (TYPE) | COMT_ALTID_CNFLD_TAB | Umgebungsdaten für Felder der alternativen Idendifikatoren | 20041207 | |||
| 2 | IV_ALTID_TYPE | Call by reference | Type reference (TYPE) | COMT_ALTID_TYPE | Identifikationstyp für Alternative Identifikatoren | 20041207 | |||
| 3 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | COMT_ALTID_OBJECT_TYPE | 'BUS1178' | Objekttyp für Alternative Identifikatoren | 20041207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20041207 |
Method READ_ALTID_CONTEXT_PROFILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CONTEXT_DATA | Call by reference | Type reference (TYPE) | COMT_ALTID_CONT_TAB | Kontextfelder für Alternative Identifikatoren | 20041207 | |||
| 2 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | COMT_ALTID_OBJECT_TYPE | 'BUS1178' | Objekttyp für Alternative Identifikatoren | 20041207 | ||
| 3 | IV_PROFILE | Call by reference | Type reference (TYPE) | COMT_ALTID_PROFILE | Name des Profils für alternative Identifikatoren | 20041207 |
Method READ_ALTID_CONTEXT_PROFILE on class CL_ALTID_SERVICE has no exception.
Method READ_ALTID_PROFILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_TYPE_ORDER | Call by reference | Type reference (TYPE) | COMT_ALTID_TYPE_ORDER_TAB | Reihenfolge der Alternativen Identifikatoren | 20041207 | |||
| 2 | EV_STOP_AT_FIRST_HIT | Call by reference | Type reference (TYPE) | COMT_ALTID_FIRST_HIT | Kennzeichen, Suche nach erstem Treffer beenden | 20041207 | |||
| 3 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | COMT_ALTID_OBJECT_TYPE | 'BUS1178' | Objekttyp für Alternative Identifikatoren | 20041207 | ||
| 4 | IV_PROFILE | Call by reference | Type reference (TYPE) | COMT_ALTID_PROFILE | Name des Profils für alternative Identifikatoren | 20041207 |
Method READ_ALTID_PROFILE on class CL_ALTID_SERVICE has no exception.
Method READ_ALTID_TYPE_MULTI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ALTID_TYPES | Call by reference | Type reference (TYPE) | COMT_ALTID_TYPE_DETAIL_TAB | Detail- und Kopfdaten zu einem Identifikationstyp | 20041207 | |||
| 2 | ET_ALTID_TYPES_TXT | Call by reference | Type reference (TYPE) | COMT_ALTID_TYPET_TAB | Texte für Alternative Produkt Idendifikatoren | 20041207 | |||
| 3 | ET_ALTID_TYPE_ORDER | Call by reference | Type reference (TYPE) | COMT_ALTID_TP_OD_TAB | Reihenfolge der alternativen Identifikatoren | 20041207 | |||
| 4 | IV_ALTID_TYPE | Call by reference | Type reference (TYPE) | COMT_ALTID_TYPE | Identifikationstyp für Alternative Identifikatoren | 20041207 | |||
| 5 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SPRAS | Sprachenschlüssel | 20041207 | |||
| 6 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | COMT_ALTID_OBJECT_TYPE | 'BUS1178' | Objekttyp für Alternative Identifikatoren | 20041207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Mandanten Daten gefunden | 20041207 |
Method READ_ALTID_TYPE_SINGLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_ALTID_TYPE | Call by reference | Type reference (TYPE) | COMS_ALTID_TYPE | Steuerungsdaten für Alternative Produkt Idendifikatoren | 20041207 | |||
| 2 | ET_ALTID_FIELD | Call by reference | Type reference (TYPE) | COMT_ALTID_FIELD_TAB | Steuerungsdaten für Alternative Produkt Idendifikatoren | 20041207 | |||
| 3 | IV_ID_TYPE | Call by reference | Type reference (TYPE) | COMT_ALTID_TYPE | Identifikationstyp für Alternative Identifikatoren | 20041207 | |||
| 4 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | COMT_ALTID_OBJECT_TYPE | 'BUS1178' | Objekttyp für Alternative Identifikatoren | 20041207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20041207 | |||
| 2 | 20041207 |
Method SHOW_POPUP_TO_CHOOSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_OBJECT | Call by reference | Type reference (TYPE) | COMS_ALTID_OBJECT_LIST | Produkthistorie (Schlüssel GUID) | 20041207 | |||
| 2 | IT_OBJECTS | Call by reference | Type reference (TYPE) | COMT_ALTID_OBJECT_LIST_TAB | Tabelle mit Treffern | 20041207 |
Method SHOW_POPUP_TO_CHOOSE on class CL_ALTID_SERVICE has no exception.
Method SPLIT_STRING_INTO_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_ALTID_FIELDS_DETAIL | Call by reference | Type reference (TYPE) | COMS_ALTID_DATA_DETAIL | Tabelle mit den Detaildaten der altern. Identifikatoren | 20041207 | |||
| 2 | IS_ALTID_FIELDS_DETAIL | Call by reference | Type reference (TYPE) | COMS_ALTID_DATA_DETAIL | Tabelle mit den Detaildaten der altern. Identifikatoren | 20041207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20041207 |
Method USE_DEFAULT_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_ALTID_FIELDS | Call by reference | Type reference (TYPE) | COMS_ALTID_DATA_DETAIL | Struktur mit den Detaildaten der altern. Ident + GUID | 20041207 | |||
| 2 | IT_ALTID_CONTEXT | Call by reference | Type reference (TYPE) | COMT_ALTID_CNFLD_TAB | 20041207 | ||||
| 3 | IT_ALTID_FIELDS | Call by reference | Type reference (TYPE) | COMT_ALTID_DATA_DETAIL_TAB | Struktur mit den Detaildaten der altern. Identifikatoren | 20041207 |
Method USE_DEFAULT_CONTEXT on class CL_ALTID_SERVICE has no exception.
Method WRITE_ID_FIELDS_FROM_DB_TO_EXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ALTID_FIELDS | Call by reference | Type reference (TYPE) | COMT_ALTID_DATA_DET_GUID_TAB | Tabellentyp mit den Detaildaten der altern. Ident + GUID | 20041207 | |||
| 2 | IS_ALTID_DETAIL | Call by reference | Type reference (TYPE) | COMS_ALTID_TYPE_DETAIL | Detail und Kopfdaten zu einem Identifikationstyp | 20041207 | |||
| 3 | IT_DBTAB_ENTRIES | Call by reference | Type reference (TYPE) | ANY TABLE | 20041207 | ||||
| 4 | IV_DBTAB_NAME | Call by reference | Type reference (TYPE) | DDOBJNAME | Name eines ABAP Dictionary-Objekts | 20041207 |
Method WRITE_ID_FIELDS_FROM_DB_TO_EXT on class CL_ALTID_SERVICE has no exception.
Method WRITE_ID_FIELD_FROM_DB_TO_EXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ALTID_FIELDS | Call by reference | Type reference (TYPE) | COMT_ALTID_DATA_DETAIL_TAB | Tabellentyp mit den Detaildaten der altern. Ident + GUID | 20041207 | |||
| 2 | IS_ALTID_DETAIL | Call by reference | Type reference (TYPE) | COMS_ALTID_TYPE_DETAIL | Detail und Kopfdaten zu einem Identifikationstyp | 20041207 | |||
| 3 | IS_DBTAB_ENTRY | Call by reference | Type reference (TYPE) | ANY | 20041207 | ||||
| 4 | IV_DBTAB_NAME | Call by reference | Type reference (TYPE) | DDOBJNAME | Name eines ABAP Dictionary-Objekts | 20041207 |
Method WRITE_ID_FIELD_FROM_DB_TO_EXT on class CL_ALTID_SERVICE has no exception.
Method WRITE_TO_TRANSPORT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_TADIR | Call by reference | Type reference (TYPE) | TADIR | Katalog der Repository-Objekte | 20041207 |
Method WRITE_TO_TRANSPORT on class CL_ALTID_SERVICE has no exception.
History
| Last changed by/on | SAP | 20041228 |
| SAP Release Created in | 700 |