SAP ABAP Class CL_RSTRAN_TEMPLATE_UR (Template: Update Rules)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-WHM-DST (Application Component) Data Staging
⤷
RSTRAN_TMPL (Package) Transformation: Migration
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_RSTRAN_TEMPLATE | Template Class for Transformation | 20051107 |
Properties
| Class | CL_RSTRAN_TEMPLATE_UR | |
| Short Description | Template: Update Rules | |
| Super Class | CL_RSTRAN_TEMPLATE | Template Class for Transformation |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSTRAN_TMPL | Transformation: Migration |
| Created | 20051107 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 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) |
Interfaces
Class CL_RSTRAN_TEMPLATE_UR has no interface implemented.
Friends
Class CL_RSTRAN_TEMPLATE_UR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | C | 20051124 | ||||
| 2 | Instance attribute | Private | Type reference (TYPE) | TY_S_ROUTINE_REL | Current Routine for Template Processing | 20060711 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | RSAU_S_UPDR | 20051111 | ||||
| 4 | Instance attribute | Private | Type reference (TYPE) | TY_TX_RULES | 20051111 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | RSTRAN_T_ABAPSOURCE | ABAP_SOURCE | 20051118 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | RSTRAN_T_ABAPSOURCE | ABAP_SOURCE | 20060711 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | RSTRAN_T_ABAPSOURCE | ABAP_SOURCE | 20060711 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | RSTRAN_T_ABAPSOURCE | ABAP_SOURCE | 20060711 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | RSTRAN_T_ABAPSOURCE | ABAP_SOURCE | 20061016 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | 20051108 | ||
| 2 | Instance method | Private | Method | Transforms the Moves from the UDPR | 20051110 | |
| 3 | Instance method | Private | Method | Creates Reference to an Already Transformed Rule | 20051111 | |
| 4 | Instance method | Private | Method | Starts Transformation of All Rules | 20051109 | |
| 5 | Static method | Public | Method | Global Segment Indicator | 20060711 | |
| 6 | Static method | Public | Method | Metadata for Routine | 20060711 | |
| 7 | Instance method | Private | Method | Metadata for Routine | 20060711 | |
| 8 | Static method | Public | Method | Segment Data with All Fields | 20060711 | |
| 9 | Instance method | Private | Method | Copys ABAP from a Routine Coding in a Table | 20051118 | |
| 10 | Static method | Private | Method | Routine Code from Update Rules with Signature | 20060711 | |
| 11 | Instance method | Private | Method | Routine Code for Calling Migrated Routine | 20060711 | |
| 12 | Instance method | Private | Method | Routine Code from Update Rules with Signature | 20060711 | |
| 13 | Instance method | Private | Method | Routine Code from Update Rules with Signature | 20060711 | |
| 14 | Instance method | Private | Method | Routine Code from Update Rules with Signature | 20060711 | |
| 15 | Instance method | Private | Method | Load the UPDR and Call 'SORT_IN_GROUPS' | 20051108 | |
| 16 | Instance method | Private | Method | Sorts UPDR in their Groups | 20051109 |
Events
Class CL_RSTRAN_TEMPLATE_UR has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_SX_RULES | Private | See coding | 20051111 | BEGIN OF ty_sx_rules,
groupid TYPE rstran_groupid,
count_key TYPE i,
count_dat TYPE i,
count_ref type i,
index type i,
t_keyr TYPE ty_t_keyr,
t_datr TYPE ty_t_datr,
END OF ty_sx_rules
|
||
| 2 | TY_S_DATR | Private | See coding | 20051111 | BEGIN OF ty_s_datr,
org_ruleid TYPE rsruleno,
dat TYPE rsau_s_upddat,
END OF ty_s_datr
|
||
| 3 | TY_S_GROUP | Private | See coding | 20051111 | BEGIN OF ty_s_group,
groupid TYPE rstran_groupid,
ruleno TYPE rsruleno,
END OF ty_s_group
|
||
| 4 | TY_S_KEYR | Private | See coding | 20051110 | BEGIN OF ty_s_keyr,
rulenok TYPE rsruleno,
ref TYPE rsruleno,
org_ruleid TYPE rsruleno,
iciobjnm TYPE rsdiobjnm,
csiobjnm TYPE rssiobjnm,
routine TYPE rsroutine,
calctpkey TYPE rscalctpkey,
dateconv TYPE rs_bool,
datecodeid TYPE rscodeid,
constant TYPE rsconstant,
cmiobjnm TYPE rsmiobjnm,
cmdateiobjnm TYPE rsmdateiobjnm,
mper TYPE rsmper,
cmdateconstant TYPE rsconstant,
formula_id TYPE rsfob_formex,
csplitiobjnm TYPE rssplitiobjnm,
csplitplant TYPE rssplitplant,
csplitprofil TYPE wfcid,
END OF ty_s_keyr
|
||
| 5 | TY_S_ROUTINE_REL | Public | See coding | 20060711 | begin of TY_S_ROUTINE_REL,
routine type rsroutine,
codeid_trfn type rscodeid,
global_type type rs_bool,
all_fields type rs_bool,
end of TY_S_ROUTINE_REL
|
||
| 6 | TY_TX_RULES | Private | See coding | 20051111 | ty_tx_rules TYPE STANDARD TABLE OF ty_sx_rules WITH NON-UNIQUE DEFAULT KEY
|
||
| 7 | TY_T_DATR | Private | See coding | 20051111 | ty_t_datr TYPE STANDARD TABLE OF ty_s_datr WITH NON-UNIQUE DEFAULT KEY
|
||
| 8 | TY_T_GROUP | Private | See coding | 20051111 | ty_t_group TYPE TABLE OF ty_s_group
|
||
| 9 | TY_T_KEYR | Private | See coding | 20051110 | ty_t_keyr TYPE STANDARD TABLE OF ty_s_keyr WITH NON-UNIQUE DEFAULT KEY
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DTA | Call by reference | Type reference (TYPE) | RSDDATATARGET | Datenziel für Bewegungsdaten (InfoCube, ODS Objekt, ...) | 20051109 | |||
| 2 | I_ISOURCE | Call by reference | Type reference (TYPE) | RSISOURCE | InfoSource | 20051109 | |||
| 3 | I_ROUTINE_MODE | Call by reference | Type reference (TYPE) | RS_BOOL | 'X' = direkt, ' ' = routine wrapper | 20101208 | |||
| 4 | I_R_MSG | Call by reference | Object reference (TYPE REF TO) | CL_RSO_MSG | Container für Nachrichten | 20051201 | |||
| 5 | I_S_SOURCE | Call by reference | Type reference (TYPE) | RSTRAN_S_TLOGO | BW Repository: TLOGO Objekt, Typ und Typ der Assoziation | 20051108 | |||
| 6 | I_S_TARGET | Call by reference | Type reference (TYPE) | RSTRAN_S_TLOGO | BW Repository: TLOGO Objekt, Typ und Typ der Assoziation | 20051108 | |||
| 7 | I_UPDID | Call by reference | Type reference (TYPE) | RSUPDID | ID für Fortschreibungsregeln | 20051109 |
Method CONSTRUCTOR on class CL_RSTRAN_TEMPLATE_UR has no exception.
Method CREATE_ALL_MOVES Signature
Method CREATE_ALL_MOVES on class CL_RSTRAN_TEMPLATE_UR has no parameter.
Method CREATE_ALL_MOVES on class CL_RSTRAN_TEMPLATE_UR has no exception.
Method CREATE_REF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_GROUP | Call by reference | Type reference (TYPE) | RSTRAN_GROUPID | ID für Regeln | 20051111 | |||
| 2 | I_REF_RULE | Call by reference | Type reference (TYPE) | RSRULENO | ID für Regeln | 20051115 |
Method CREATE_REF on class CL_RSTRAN_TEMPLATE_UR has no exception.
Method CREATE_TRANSFORMATION Signature
Method CREATE_TRANSFORMATION on class CL_RSTRAN_TEMPLATE_UR has no parameter.
Method CREATE_TRANSFORMATION on class CL_RSTRAN_TEMPLATE_UR has no exception.
Method GET_GLOBAL_SEGMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_S_SEGMENT | Call by reference | Type reference (TYPE) | IF_RSTRAN_GEN_ROOT=>TY_S_SEG | 20060711 | ||||
| 2 | I_NO_RECORD_REPLACE | Call by reference | Type reference (TYPE) | RS_BOOL | Boolean | 20060711 | |||
| 3 | I_NO_TABLE | Call by reference | Type reference (TYPE) | RS_BOOL | Boolean | 20060711 |
Method GET_GLOBAL_SEGMENT on class CL_RSTRAN_TEMPLATE_UR has no exception.
Method GET_META_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CALL | Call by reference | Type reference (TYPE) | RS_BOOL | Code für CALL | 20060711 | |||
| 2 | E_S_GEN | Call by reference | Type reference (TYPE) | RSAU_SX_UPD_RULES_GEN_PAR | 20060711 | ||||
| 3 | E_S_ROUTINE | Call by reference | Type reference (TYPE) | TY_S_ROUTINE_REL | ABAP-Routine | 20060711 | |||
| 4 | E_S_SEG | Call by reference | Type reference (TYPE) | IF_RSTRAN_GEN_ROOT=>TY_S_SEG | Segmentnummer | 20060711 | |||
| 5 | E_S_SEG_UR_SC | Call by reference | Type reference (TYPE) | IF_RSTRAN_GEN_ROOT=>TY_S_SEG | Segment mit Felder der Quelle aus UR | 20060711 | |||
| 6 | E_S_SEG_UR_TG | Call by reference | Type reference (TYPE) | IF_RSTRAN_GEN_ROOT=>TY_S_SEG | Segment mit Felder des Ziels aus UR | 20060711 | |||
| 7 | E_TRANID | Call by reference | Type reference (TYPE) | RSTRANID | TransformationsId | 20060711 | |||
| 8 | I_CONTEXT_ID | Call by reference | Type reference (TYPE) | RSTRAN_ID | ID | 20060711 |
Method GET_META_DATA on class CL_RSTRAN_TEMPLATE_UR has no exception.
Method GET_META_DATA_ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CALL | Call by reference | Type reference (TYPE) | RS_BOOL | Code for CALL | 20060711 | |||
| 2 | E_S_ROUTINE | Call by reference | Type reference (TYPE) | TY_S_ROUTINE_REL | ABAP-Routine | 20060711 | |||
| 3 | E_S_SEG | Call by reference | Type reference (TYPE) | IF_RSTRAN_GEN_ROOT=>TY_S_SEG | Segmentnummer | 20060711 | |||
| 4 | E_S_UPDR | Call by reference | Type reference (TYPE) | RSAU_S_UPDR | 20060711 | ||||
| 5 | E_TRANID | Call by reference | Type reference (TYPE) | RSTRANID | TransformationsId | 20060711 | |||
| 6 | I_CONTEXT_ID | Call by reference | Type reference (TYPE) | RSTRAN_ID | ID | 20060711 |
Method GET_META_DATA_ on class CL_RSTRAN_TEMPLATE_UR has no exception.
Method GET_META_DATA_SEGMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_SEG_SOURCE | Call by reference | Type reference (TYPE) | IF_RSTRAN_GEN_ROOT=>TY_T_SEG | Meta object | 20060711 | |||
| 2 | E_T_SEG_TARGET | Call by reference | Type reference (TYPE) | IF_RSTRAN_GEN_ROOT=>TY_T_SEG | Meta object | 20060711 | |||
| 3 | I_TRANID | Call by reference | Type reference (TYPE) | RSTRAN-TRANID | TransformationsId | 20060711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Operation gescheitert | 20060711 |
Method GET_ROUTINES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_SOURCE | Call by reference | Type reference (TYPE) | RSTRAN_T_ABAPSOURCE | ABAP_SOURCE | 20051118 | |||
| 2 | I_EXPAND_INCLUDE | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Include auflösen | 20090526 | ||
| 3 | I_GLOBAL | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_TRUE | Gobal code einlesen | 20061016 | ||
| 4 | I_ROUTINE | Call by reference | Type reference (TYPE) | RSROUTINE | ABAP-Routine | 20051118 |
Method GET_ROUTINES on class CL_RSTRAN_TEMPLATE_UR has no exception.
Method GET_ROUTINE__TEMPLATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_CODE | Call by reference | Type reference (TYPE) | RSSG_T_CODELINE | 20060711 | ||||
| 2 | I_CONTEXT_ID | Call by reference | Type reference (TYPE) | RSTRAN_ID | ID | 20060711 | |||
| 3 | I_NO_SYNTAX_CHECK | Call by reference | Type reference (TYPE) | RS_BOOL | SPACE | Boolean | 20060711 | ||
| 4 | I_R_LOG | Call by reference | Object reference (TYPE REF TO) | CL_RSO_MSG | Container für Nachrichten | 20060711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Syntax error | 20060711 |
Method GET_ROUTINE__TEMPLATE_CALL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_SOURCE | Call by reference | Type reference (TYPE) | RSTRAN_T_ABAPSOURCE | ABAP_SOURCE | 20060711 |
Method GET_ROUTINE__TEMPLATE_CALL on class CL_RSTRAN_TEMPLATE_UR has no exception.
Method GET_ROUTINE__TEMPLATE_GLOBAL Signature
Method GET_ROUTINE__TEMPLATE_GLOBAL on class CL_RSTRAN_TEMPLATE_UR has no parameter.
Method GET_ROUTINE__TEMPLATE_GLOBAL on class CL_RSTRAN_TEMPLATE_UR has no exception.
Method GET_ROUTINE__TEMPLATE_ROUTINE Signature
Method GET_ROUTINE__TEMPLATE_ROUTINE on class CL_RSTRAN_TEMPLATE_UR has no parameter.
Method GET_ROUTINE__TEMPLATE_ROUTINE on class CL_RSTRAN_TEMPLATE_UR has no exception.
Method GET_ROUTINE__TEMPLATE_START Signature
Method GET_ROUTINE__TEMPLATE_START on class CL_RSTRAN_TEMPLATE_UR has no parameter.
Method GET_ROUTINE__TEMPLATE_START on class CL_RSTRAN_TEMPLATE_UR has no exception.
Method LOAD_UPDR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DTA | Call by reference | Type reference (TYPE) | RSDDATATARGET | Datenziel für Bewegungsdaten (InfoCube, ODS Objekt, ...) | 20051108 | |||
| 2 | I_ISOURCE | Call by reference | Type reference (TYPE) | RSISOURCE | InfoSource | 20051108 | |||
| 3 | I_UPDID | Call by reference | Type reference (TYPE) | RSUPDID | ID für Fortschreibungsregeln | 20051108 |
Method LOAD_UPDR on class CL_RSTRAN_TEMPLATE_UR has no exception.
Method SORT_IN_GROUPS Signature
Method SORT_IN_GROUPS on class CL_RSTRAN_TEMPLATE_UR has no parameter.
Method SORT_IN_GROUPS on class CL_RSTRAN_TEMPLATE_UR has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 711 |