SAP ABAP Class CL_RSDMD_MD (Work with Master Data (basic class))
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-WHM-DBA (Application Component) Data Basis
⤷
RSDMD (Package) Master Data Update
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_RSDMD_ACTIVATE_MASTER_DATA | Activate Master Data | 20010116 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_RSDMD_CHECK_AND_REPAIR | Check and Repair Master Data | 20010116 |
| 3 | Inheritance (c INHERITING FROM c_ref) | CL_RSDMD_UPDATE_MASTER_DATA | Update of Master Data | 20010116 |
Properties
| Class | CL_RSDMD_MD | |
| Short Description | Work with Master Data (basic class) | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSDMD | Master Data Update |
| Created | 20010116 | SAP |
| Last change | 20140121 | 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) | |
| 8 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 9 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 10 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 11 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 12 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RSDMD_MD has no interface implemented.
Friends
Class CL_RSDMD_MD has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | RSASICFVIEW | View name of projection view (time-independent nav. attrib.) | 20120111 | |||
| 2 | Instance attribute | Protected | Type reference (TYPE) | RSASTCFVIEW | View name of projection view (time-dependent nav. attribute) | 20120111 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | RSCHTCFVIEW | View name of projection view (time-dependent attribute) | 20120111 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | I | O_KEY_WIDTH | 20010207 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | RS_BOOL | O_NO_ATTR_TIMCON | 20010207 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | RS_BOOL | O_NO_ATTR_TIMDEP | 20010207 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | SYREPID | O_PROGRAM | 20010207 | |||
| 8 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_RSD_CRD | O_R_CRD | 20010207 | |||
| 9 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_RS_WHERE | O_R_WHERE_KEY | 20010207 | |||
| 10 | Instance attribute | Protected | Type reference (TYPE) | G_SX_ITAB | O_SX_ASI | 20010207 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | G_SX_ITAB | O_SX_AST | 20010207 | |||
| 12 | Instance attribute | Protected | Type reference (TYPE) | G_SX_ITAB | O_SX_CHK | 20010207 | |||
| 13 | Instance attribute | Protected | Type reference (TYPE) | G_SX_ITAB | O_SX_CHN | 20010207 | |||
| 14 | Instance attribute | Protected | Type reference (TYPE) | G_SX_ITAB | O_SX_CHT | 20010207 | |||
| 15 | Instance attribute | Protected | Type reference (TYPE) | G_SX_ITAB | O_SX_SID | 20010207 | |||
| 16 | Instance attribute | Protected | Type reference (TYPE) | G_SX_ITAB | O_SX_TXT | 20010207 | |||
| 17 | Instance attribute | Protected | Type reference (TYPE) | G_SX_ITAB | o_SX_XXL | 20130703 | |||
| 18 | Instance attribute | Protected | Type reference (TYPE) | RSD_S_VIOBJ | O_S_VIOBJ | 20010207 | |||
| 19 | Instance attribute | Protected | Type reference (TYPE) | G_TX_MDFIELD | O_TX_MDFIELD | 20010207 | |||
| 20 | Instance attribute | Protected | Type reference (TYPE) | G_TX_XXL_MDFIELD | O_TX_XXL_MDFIELD | 20130710 | |||
| 21 | Instance attribute | Protected | Type reference (TYPE) | RSD_T_ATR | O_T_ATR | 20010207 | |||
| 22 | Instance attribute | Protected | Type reference (TYPE) | RSD_T_IOBJ_CMP | O_T_IOBJ_CMP | 20010207 | |||
| 23 | Instance attribute | Protected | Type reference (TYPE) | RSD_T_ATR | O_T_XXL_ATTR | 20130709 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Creare Projection Views | 20120111 | |
| 2 | Instance method | Public | Constructor | Constructor | 20010116 | |
| 3 | Instance method | Public | Method | Read List of Attributes | 20010116 | |
| 4 | Instance method | Public | Method | Access Indices for Strcuture | 20010116 | |
| 5 | Instance method | Public | Method | List of keys | 20010117 | |
| 6 | Instance method | Public | Method | Return Names of Working Areas and Table Types | 20010116 | |
| 7 | Instance method | Public | Method | Read List of XXL Attributes | 20130621 | |
| 8 | Instance method | Protected | Method | Build Ref. Table | 20010116 | |
| 9 | Instance method | Protected | Method | Create Work Areas, Tables and Description | 20010116 | |
| 10 | Instance method | Protected | Method | Build Initial WHERE Statement (for Main Tables) | 20010116 | |
| 11 | Instance method | Protected | Method | Determine Index of an Internal Table Field | 20010116 |
Events
Class CL_RSDMD_MD has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | G_SX_ITAB | Protected | See coding | G_SX_ITAB | 20010207 | BEGIN OF g_sx_itab,
name TYPE tabname,
tty TYPE ttypename,
active TYPE rs_bool,
r_wa TYPE REF TO data,
r_tab TYPE REF TO data,
s_db TYPE g_s_db,
th_field_descr TYPE g_th_field_descr,
r_w TYPE REF TO cl_rs_where,
END OF g_sx_itab
|
|
| 2 | G_SX_MDFIELD | Protected | See coding | G_SX_MDFIELD | 20010207 | BEGIN OF g_sx_mdfield,
s_mdf TYPE g_s_mdf,
s_viobj TYPE rsd_s_viobj,
t_iobj_cmp TYPE rsd_t_iobj_cmp,
t_mdfcmp TYPE g_t_mdf,
th_valsid TYPE rrsi_th_valsid,
th_valsid_new TYPE rrsi_th_valsid,
r_val TYPE REF TO data, "pz 2012-07-31 renovation
END OF g_sx_mdfield
|
|
| 3 | G_SX_XXL_MDFIELD | Protected | See coding | 20130710 | BEGIN OF g_sx_xxl_mdfield,
iobjnm TYPE rsdiobjnm,
fieldnm TYPE fieldname, "Fieldname of InfoObject
key TYPE rs_bool, "Key-Field
attr_act TYPE rs_bool, "To be updated Attribute
END OF g_sx_xxl_mdfield
|
||
| 4 | G_S_BALMI | Protected | Type reference (TYPE) | BALMI | G_S_BALMI | 20010207 | |
| 5 | G_S_DAT | Protected | See coding | G_S_DAT | 20010207 | BEGIN OF g_s_dat,
datefrom TYPE rsdatefrom,
dateto TYPE rsdateto,
END OF g_s_dat
|
|
| 6 | G_S_DB | Protected | See coding | G_S_DB | 20010207 | BEGIN OF g_s_db,
r_wa TYPE REF TO data,
r_del TYPE REF TO data,
r_upd TYPE REF TO data,
r_mod TYPE REF TO data,
r_ins TYPE REF TO data,
r_upd_del TYPE REF TO data, " Update External key for UUID InfoObjects for records maked for deletion
END OF g_s_db
|
|
| 7 | G_S_FIELD_DESCR | Protected | See coding | G_S_FIELD_DESCR | 20010207 | BEGIN OF g_s_field_descr ,
* name type sydes_nameinfo-name, " NOTE 525038 BEG
name TYPE fieldname, " NOTE 525038 END
pos TYPE i,
END OF g_s_field_descr
|
|
| 8 | G_S_GEN | Protected | See coding | G_S_GEN | 20010207 | BEGIN OF g_s_gen,
datefrom TYPE rsdatefrom,
dateto TYPE rsdateto,
objvers TYPE rsobjvers,
changed TYPE rsrchangeflag,
/idx/ TYPE i,
END OF g_s_gen
|
|
| 9 | G_S_IDX | Protected | See coding | G_S_IDX | 20010207 | BEGIN OF g_s_idx,
/idx/ TYPE i,
END OF g_s_idx
|
|
| 10 | G_S_LANGU | Protected | See coding | 20010309 | BEGIN OF g_s_langu,
langu TYPE langu,
END OF g_s_langu
|
||
| 11 | G_S_MDF | Protected | See coding | G_S_MDF | 20010207 | BEGIN OF g_s_mdf,
iobjnm TYPE rsiobjnm, "InfoObject Name
fieldnm TYPE fieldname, "Fieldname of InfoObject
chabasnm TYPE rschabasnm, "Basis characteristic name
fieldnm_cha TYPE fieldname, "Fieldname basis characteristic
atrsidfieldnm TYPE fieldname, "Fieldname of Attribute in X,Y
key TYPE rs_bool, "Key-Field
atrtimfl TYPE rsdatrtimfl, "Timedependent attribute
attritp TYPE rsattritp, "rsd_c_atrtp-( display | navigation )
attr_act TYPE rs_bool, "To be updated Attribute
attr_aggrgen TYPE rsd_s_kyf-aggrgen, "Aggr. CODS {SUM,MOV,MIN,MAX}
cmpkey TYPE rs_bool, "Compounded to key
cmpatr TYPE rs_bool, "Compounded to another attribute
cmpcross TYPE rs_bool, "Compounded to P-table
cmpfieldcount TYPE i, "Count of fields
idxm TYPE i, "Index of field in M-table
idxpq TYPE i, "Index of field in P or Q-table
idxx TYPE i, "Index of field in X-table
idxy TYPE i, "Index of field in Y-table
off TYPE i, "Offset in chavl
ofk TYPE i, "Offset "loop at ... where key
len TYPE i, "Length in chavl
datatp TYPE datatype_d, "internal data type
high_cardinality TYPE rsdhigh_card_cha, "SIDless IOBJ
END OF g_s_mdf
|
|
| 12 | G_S_MSG_BUF | Protected | See coding | G_S_MSG_BUF | 20010207 | BEGIN OF g_s_msg_buf,
au TYPE rsmonview-aufrufer,
id TYPE symsgid,
ty TYPE symsgty,
no TYPE symsgno,
v1 TYPE symsgv,
v2 TYPE symsgv,
v3 TYPE symsgv,
v4 TYPE symsgv,
ins TYPE i,
upd TYPE i,
rt TYPE rsarr_s_idocstate-routid,
END OF g_s_msg_buf
|
|
| 13 | G_S_VER | Protected | See coding | G_S_VER | 20010207 | BEGIN OF g_s_ver,
objvers TYPE rsobjvers,
changed TYPE rsrchangeflag,
END OF g_s_ver
|
|
| 14 | G_S_WHERE | Protected | Type reference (TYPE) | ABAPSOURCE | G_S_WHERE | 20010207 | |
| 15 | G_S_WHERE_REF | Protected | See coding | G_S_WHERE_REF | 20010207 | BEGIN OF g_s_where_ref,
r_data TYPE REF TO data,
END OF g_s_where_ref
|
|
| 16 | G_TH_FIELD_DESCR | Protected | See coding | G_TH_FIELD_DESCR | 20010207 | g_th_field_descr TYPE HASHED TABLE OF g_s_field_descr
WITH UNIQUE KEY name INITIAL SIZE 20
|
|
| 17 | G_TX_MDFIELD | Protected | See coding | G_TX_MDFIELD | 20010207 | g_tx_mdfield TYPE STANDARD TABLE OF g_sx_mdfield INITIAL SIZE 50
|
|
| 18 | G_TX_XXL_MDFIELD | Protected | See coding | 20130710 | g_tx_xxl_mdfield TYPE STANDARD TABLE OF g_sx_xxl_mdfield INITIAL SIZE 50
|
||
| 19 | G_T_BALMI | Protected | See coding | G_T_BALMI | 20010207 | g_t_balmi TYPE STANDARD TABLE OF g_s_balmi
WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 5000
|
|
| 20 | G_T_MDF | Protected | See coding | G_T_MDF | 20010207 | g_t_mdf TYPE STANDARD TABLE OF g_s_mdf
WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 30
|
|
| 21 | G_T_MSG_BUF | Protected | See coding | G_T_MSG_BUF | 20010207 | g_t_msg_buf TYPE STANDARD TABLE OF g_s_msg_buf
|
|
| 22 | G_T_WHERE | Protected | See coding | G_T_WHERE | 20010207 | g_t_where TYPE STANDARD TABLE OF g_s_where
WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 15
|
|
| 23 | G_T_WHERE_REF | Protected | See coding | G_T_WHERE_REF | 20010207 | g_t_where_ref TYPE STANDARD TABLE OF g_s_where_ref
WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 15
|
Method Signatures
Method CHECK_VIEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_VIEW_NAME | Call by reference | Type reference (TYPE) | VIEWNAME | Name eines SAP-Tabellenviews | 20120111 |
Method CHECK_VIEW on class CL_RSDMD_MD has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_C_HAS_TO_EXIST | Value transfer | Type reference (TYPE) | RS_BOOL | XXL Attribute Table Must Exist | 20130703 | |||
| 2 | I_IOBJNM | Value transfer | Type reference (TYPE) | RSD_IOBJNM | InfoObject | 20010116 | |||
| 3 | I_OBJVERS | Value transfer | Type reference (TYPE) | RS_OBJVERS | 'A' | Objektversion | 20010116 | ||
| 4 | I_P_Q_HAVE_TO_EXIST | Value transfer | Type reference (TYPE) | RS_BOOL | Stammdatentabelle muss existieren | 20010116 | |||
| 5 | I_TH_VALSID | Call by reference | Type reference (TYPE) | RRSI_TH_VALSID | Chavls und SIDs | 20010116 | |||
| 6 | I_T_HAS_TO_EXIST | Value transfer | Type reference (TYPE) | RS_BOOL | Stammdatentabelle muss existieren | 20010706 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | C Table Does Not Exist | 20130703 | ||
| 2 | Fehler beim Generieren der Stammdatenroutinen | 20010116 | ||
| 3 | InfoObject ist nicht aktiv, aber existiert "P10 | 20010116 | ||
| 4 | InfoObject wurde nicht gefunden | 20010116 | ||
| 5 | P und Q-Tabelle existieren nicht | 20010116 | ||
| 6 | P, Q und TXT-Tabelle existieren nicht | 20010116 | ||
| 7 | TXT-Tabelle existiert nicht | 20010706 |
Method GET_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TH_IOBJNM | Call by reference | Type reference (TYPE) | RSD_TH_IOBJNM | Liste von Attributen | 20010116 | |||
| 2 | E_T_FIELDS | Call by reference | Type reference (TYPE) | RSDM_T_FIELDS | Liste von Attributen : Feldnamen | 20010117 |
Method GET_ATTRIBUTES on class CL_RSDMD_MD has no exception.
Method GET_INDEX_TABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TH_CHK_INDEX | Call by reference | Type reference (TYPE) | RSNDI_TH_CHAVL_INDEX | RSNDI_TH_CHAVL_INDEX | 20010116 | |||
| 2 | E_TH_TXT_INDEX | Call by reference | Type reference (TYPE) | RSNDI_TH_CHAVL_INDEX | RSNDI_TH_CHAVL_INDEX | 20010116 | |||
| 3 | E_TH_XXL_INDEX | Call by reference | Type reference (TYPE) | RSNDI_TH_CHAVL_INDEX | RSNDI_TH_CHAVL_INDEX | 20130709 |
Method GET_INDEX_TABLES on class CL_RSDMD_MD has no exception.
Method GET_KEYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TH_IOBJNM | Call by reference | Type reference (TYPE) | RSD_TH_IOBJNM | Liste von Attributen | 20010117 | |||
| 2 | E_T_FIELDS | Call by reference | Type reference (TYPE) | RSDM_T_FIELDS | Liste von Attributen : Feldnamen | 20010117 |
Method GET_KEYS on class CL_RSDMD_MD has no exception.
Method GET_WA_AND_ITAB_TYPES Signature
Method GET_WA_AND_ITAB_TYPES on class CL_RSDMD_MD has no exception.
Method GET_XXL_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TH_IOBJNM | Call by reference | Type reference (TYPE) | RSD_TH_IOBJNM | List of Attributes | 20130621 | |||
| 2 | E_T_FIELDS | Call by reference | Type reference (TYPE) | RSDM_T_FIELDS | List of attributes : Field names | 20130621 |
Method GET_XXL_ATTRIBUTES on class CL_RSDMD_MD has no exception.
Method __CONSTRUCTOR_CREATE_REF_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_REF | Call by reference | Type reference (TYPE) | G_T_WHERE_REF | a | 20010116 | |||
| 2 | C_T_W | Call by reference | Type reference (TYPE) | G_T_WHERE | a | 20010116 | |||
| 3 | I_IDX | Value transfer | Type reference (TYPE) | SYTABIX | a | 20010116 | |||
| 4 | I_LEN | Value transfer | Type reference (TYPE) | I | a | 20010116 | |||
| 5 | I_OFF | Value transfer | Type reference (TYPE) | I | a | 20010116 | |||
| 6 | I_TYPECAST_DATE | Value transfer | Type reference (TYPE) | RS_BOOL | Typkonvertierung | 20010116 |
Method __CONSTRUCTOR_CREATE_REF_TAB on class CL_RSDMD_MD has no exception.
Method __CONSTRUCTOR_CREATE_WA_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_SX_ITAB | Call by reference | Type reference (TYPE) | G_SX_ITAB | C_SX_ITAB | 20010116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Anlegen misslungen | 20010302 |
Method __CONSTRUCTOR_CREATE_WHERE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_SX_ITAB | Call by reference | Type reference (TYPE) | G_SX_ITAB | C_SX_ITAB | 20010116 |
Method __CONSTRUCTOR_CREATE_WHERE on class CL_RSDMD_MD has no exception.
Method __CONSTRUCTOR_GET_FIELD_INDEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_S_MDF | Call by reference | Type reference (TYPE) | G_S_MDF | Feld-Infos | 20010116 | |||
| 2 | E_SUBRC | Call by reference | Type reference (TYPE) | SYSUBRC | Rueckgabewert | 20010116 | |||
| 3 | I_TIMDEPFL | Call by reference | Type reference (TYPE) | RSTIMDEPFL | Flag Zeitabhaengigkeit | 20010116 |
Method __CONSTRUCTOR_GET_FIELD_INDEX on class CL_RSDMD_MD has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 30A |