SAP ABAP Class CL_CNV_TDMS_SCR_SIM (Simulation of Scrambling)
Hierarchy
☛
DMIS_CNT (Software Component) DMIS_CNT 2011_1
⤷
CA-EUR (Application Component) European Monetary Union: Euro
⤷
CNV_TDMS_SCR_DATA (Package) Data Provider Package for TDMS Scrambling
⤷
⤷
Properties
| Class | CL_CNV_TDMS_SCR_SIM | |
| Short Description | Simulation of Scrambling | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CNV_TDMS_SCR_DATA | Data Provider Package for TDMS Scrambling |
| Created | 20130405 | SAP |
| Last change | 20141107 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_CNV_TDMS_SCR_SIM has no forward declaration.
Interfaces
Class CL_CNV_TDMS_SCR_SIM has no interface implemented.
Friends
Class CL_CNV_TDMS_SCR_SIM has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20130406 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20130406 | |||
| 3 | Constant | Private | Type reference (TYPE) | CNV_PROG | 'CNV_TDMS_SCR_70010_TOP' | Top Default include of 70010 | 20130406 | ||
| 4 | Constant | Private | Type reference (TYPE) | CNV_PROG | 'CNV_TDMS_SCR_70010_FORMS' | Form Default incl for 70010 | 20130406 | ||
| 5 | Constant | Private | Type reference (TYPE) | TABNAME | 'KNA1' | KNA1 Constant | 20130406 | ||
| 6 | Constant | Private | Type reference (TYPE) | TABNAME | 'LFA1' | LFA1 Constant | 20130406 | ||
| 7 | Constant | Private | Type reference (TYPE) | CNV_TDMS_SCR_MAPTY_ID | 'E0A0B047EE2D17F1BD570050568318F2' | Mapping Type | 20130426 | ||
| 8 | Constant | Private | Type reference (TYPE) | TABNAME | 'PA0001' | PA0001 | 20130406 | ||
| 9 | Constant | Private | Type reference (TYPE) | CHAR15 | '/TDM/SCR/S' | Program Prefix | 20130406 | ||
| 10 | Constant | Private | Type reference (TYPE) | CHAR30 | 'CNV_TDMS_SCR_SIM_TEMPLATE' | Template Program | 20130406 | ||
| 11 | Constant | Private | Type reference (TYPE) | TABCLASS | 'TRANSP' | Transparent | 20130406 | ||
| 12 | Constant | Private | Type reference (TYPE) | BOOLEAN | 'X' | Boolean Variable (X=True, -=False, Space=Unknown) | 20130406 | ||
| 13 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_CNV_TDMS_SCR_PRESEL | Preselection of Tables to Fill Mapping Table for Scrambling | 20130406 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | TY_ABAPSOURCE | Full Source | 20130406 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | TY_ABAPSOURCE | 20130423 | ||||
| 16 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | Converted Data of Primary Table | 20130406 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | TY_ABAPSOURCE | 20130406 | ||||
| 18 | Instance attribute | Private | Type reference (TYPE) | TY_ABAPSOURCE | Include Code | 20130406 | |||
| 19 | Instance attribute | Private | Type reference (TYPE) | TY_KEYS | Keys Data | 20130406 | |||
| 20 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | Original Data of Primary Table | 20130406 | |||
| 21 | Instance attribute | Private | Type reference (TYPE) | TY_ABAPSOURCE | Original CWB Schema | 20130406 | |||
| 22 | Instance attribute | Private | Type reference (TYPE) | BOOLEAN | '' | Boolean Variable (X=True, -=False, Space=Unknown) | 20130426 | ||
| 23 | Instance attribute | Private | Type reference (TYPE) | BOOLEAN | 'X' | 'X' - for execution system and '' for control system | 20130409 | ||
| 24 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_CNV_TDMS_SCR_PRESEL | Preselection of Tables to Fill Mapping Table for Scrambling | 20130406 | |||
| 25 | Instance attribute | Public | Type reference (TYPE) | CNVTDMSSCR_RULE-PACKID | Package Number of Transformation / Analysis Package | 20130406 | |||
| 26 | Instance attribute | Public | Type reference (TYPE) | CNVTDMSSCR_RULE-PROJECT | Identification of MBT Project | 20130406 | |||
| 27 | Instance attribute | Public | Type reference (TYPE) | STRING | Rule Description | 20130406 | |||
| 28 | Instance attribute | Public | Type reference (TYPE) | ABAP_SORTORDER_TAB | Table for SORT itab BY (ABAP_SORTORDER_TAB) | 20130418 | |||
| 29 | Instance attribute | Public | Type reference (TYPE) | CNVTDMSSCR_RULE | Scrambling Rules | 20130406 | |||
| 30 | Instance attribute | Public | Type reference (TYPE) | CNVTDMSSCR_TT_CNVFIPARS | Data of CNVFIPARS | 20130418 | |||
| 31 | Instance attribute | Public | Type reference (TYPE) | CNVTDMSSCR_TT_CNVINCL | List of Includes Assigned to a RUle | 20130417 | |||
| 32 | Instance attribute | Public | Type reference (TYPE) | LVC_T_FCAT | Field Catalog for List Viewer Control | 20130411 | |||
| 33 | Instance attribute | Private | Type reference (TYPE) | TT_FIELDS | 20130411 | ||||
| 34 | Instance attribute | Public | Type reference (TYPE) | CNVTDMSSCR_TT_FLDS | List of Tables and Fields Assigned to a Rule | 20130406 | |||
| 35 | Instance attribute | Public | Type reference (TYPE) | CNVTDMSSCR_TT_INCL | List of Includes Assigned to a RUle | 20130406 | |||
| 36 | Instance attribute | Public | Type reference (TYPE) | CNVTDMSSCR_TT_KEYSET | List of Tables and Fields Assigned to a Rule | 20130406 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Check authorization | 20130405 | |
| 2 | Instance method | Private | Method | Identifier field should be in GT_ORIGINAL(For KEYS filling) | 20130405 | |
| 3 | Instance method | Public | Constructor | Construtor method | 20130405 | |
| 4 | Instance method | Private | Method | Generate Conversion Routine | 20130405 | |
| 5 | Instance method | Private | Method | Copy Scrambling from Control system | 20130405 | |
| 6 | Instance method | Public | Method | Create Dynamic table | 20130423 | |
| 7 | Instance method | Private | Method | Fill Keys from GT_ORIGINAL | 20130405 | |
| 8 | Instance method | Private | Method | Final Mapping(FMID table) | 20130405 | |
| 9 | Instance method | Public | Method | Get Field Catalog | 20130409 | |
| 10 | Instance method | Public | Method | Get Selection fields | 20130414 | |
| 11 | Instance method | Private | Method | Get key fields for SORT and DELETE DUPLICATE | 20130418 | |
| 12 | Instance method | Private | Method | Set Rule Data( if anything changed after instance) | 20130417 | |
| 13 | Instance method | Private | Method | Lock the rule | 20130405 | |
| 14 | Instance method | Private | Method | Prepare Conversion Routine | 20130405 | |
| 15 | Instance method | Private | Method | Schema ( Replace Pack , Table and fieldname ) | 20130405 | |
| 16 | Instance method | Private | Method | Preparation for mapping(CNVTDMSSCR_KEYS) | 20130405 | |
| 17 | Instance method | Private | Method | Read Schema to GT_SCHEMA | 20130405 | |
| 18 | Static method | Public | Method | Copy and create RFC Destination | 20130416 | |
| 19 | Instance method | Public | Method | Set Selection fields | 20130414 | |
| 20 | Instance method | Public | Method | Set GT_ORIGINAL | 20130405 | |
| 21 | Static method | Public | Method | Simulate in the remote system | 20130417 | |
| 22 | Instance method | Public | Method | Simulate Scramble for Primary table | 20130405 |
Events
Class CL_CNV_TDMS_SCR_SIM has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_FIELDS | Private | See coding | 20130414 | tt_fields TYPE TABLE OF ty_fields
|
||
| 2 | TY_ABAPSOURCE | Private | See coding | 20130406 | ty_abapsource TYPE TABLE OF abapsource
|
||
| 3 | TY_FIELDS | Private | See coding | 20130414 | beGIN OF ty_fields ,
sel TYPE boolean ,
fieldname TYPE fieldname ,
scrtext_m TYPE scrtext_m ,
END OF ty_fields
|
||
| 4 | TY_KEYS | Private | See coding | 20130414 | TY_KEYS type table of cnvtdmsscr_keys
|
||
| 5 | TY_SELECT_OPTIONS | Private | See coding | 20130406 | begin of ty_select_options ,
sname type c length 4 ,
end of ty_select_options
|
Method Signatures
Method CHECK_AUTHORIZATION Signature
Method CHECK_AUTHORIZATION on class CL_CNV_TDMS_SCR_SIM has no parameter.
Method CHECK_AUTHORIZATION on class CL_CNV_TDMS_SCR_SIM has no exception.
Method CHECK_IDENTIFIER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MSG | Call by reference | Type reference (TYPE) | CNVTDMS_BALMI_T | Message log : BALMI | 20130406 | |||
| 2 | I_CHECK_FIELD | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20130406 | |||
| 3 | I_T_ORIGINAL | Call by reference | Type reference (TYPE) | TABLE | 20130406 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions occured in Scrambling | 20130406 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CNT | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20130406 | |||
| 2 | I_CNT_DEST | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20130406 | |||
| 3 | I_PACKID | Call by reference | Type reference (TYPE) | CNVTDMSSCR_RULE-PACKID | Package Number of Transformation / Analysis Package | 20130406 | |||
| 4 | I_PROJ | Call by reference | Type reference (TYPE) | CNVTDMSSCR_RULE-PROJECT | Identification of MBT Project | 20130406 | |||
| 5 | I_RULE_ID | Call by reference | Type reference (TYPE) | CNVTDMSSCR_RULE-RULE_ID | Scrambling Rule ID | 20130406 | |||
| 6 | I_SEN_DEST | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20130406 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions occured in Scrambling | 20130406 | ||
| 2 | Warnings in Scrambling | 20130406 |
Method CONVERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CONVERT | Call by reference | Type reference (TYPE) | ANY TABLE | 20130406 | ||||
| 2 | ET_MSG | Call by reference | Type reference (TYPE) | CNVTDMS_BALMI_T | Message log : BALMI | 20130406 | |||
| 3 | ET_ORIGINAL | Call by reference | Type reference (TYPE) | ANY TABLE | 20130406 | ||||
| 4 | I_CONV_ROUTINE | Call by reference | Type reference (TYPE) | CNV_FUNC | Name of the used routine | 20130406 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions occured in Scrambling | 20130411 |
Method COPY_INCL_TO_GT_INCL_CODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_INCL_CODE | Call by reference | Type reference (TYPE) | TY_ABAPSOURCE | 20130406 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions occured in Scrambling | 20130411 |
Method CREATE_DYNAMIC_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_TABLE | Call by reference | Object reference (TYPE REF TO) | DATA | 20130423 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions occured in Scrambling | 20130423 |
Method FILL_KEYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_COMP | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20130406 | |||
| 2 | I_SUBKEY1 | Call by reference | Type reference (TYPE) | CNVTDMSSCR_KEYS-SUBKEY1 | Comment | 20130406 | |||
| 3 | I_T_KEY | Call by reference | Type reference (TYPE) | TABLE | 20130406 |
Method FILL_KEYS on class CL_CNV_TDMS_SCR_SIM has no exception.
Method FILL_MAPPING Signature
Method FILL_MAPPING on class CL_CNV_TDMS_SCR_SIM has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions occured in Scrambling | 20130406 | ||
| 2 | Warnings in Scrambling | 20130406 |
Method GET_FIELDCATALOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FIELDCAT | Value transfer | Type reference (TYPE) | LVC_T_FCAT | Field Catalog for List Viewer Control | 20130409 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions occured in Scrambling | 20130409 |
Method GET_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_FIELDS | Value transfer | Type reference (TYPE) | ANY | 20130415 |
Method GET_FIELDS on class CL_CNV_TDMS_SCR_SIM has no exception.
Method GET_KEYFIELDS Signature
Method GET_KEYFIELDS on class CL_CNV_TDMS_SCR_SIM has no parameter.
Method GET_KEYFIELDS on class CL_CNV_TDMS_SCR_SIM has no exception.
Method GET_RULE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CNT | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20130417 | |||
| 2 | I_CNT_DEST | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20130417 | |||
| 3 | I_PACKID | Call by reference | Type reference (TYPE) | CNVTDMSSCR_RULE-PACKID | Package Number of Transformation / Analysis Package | 20130417 | |||
| 4 | I_PROJ | Call by reference | Type reference (TYPE) | CNVTDMSSCR_RULE-PROJECT | Identification of MBT Project | 20130417 | |||
| 5 | I_RULE_ID | Call by reference | Type reference (TYPE) | CNVTDMSSCR_RULE-RULE_ID | Scrambling Rule ID | 20130417 | |||
| 6 | I_SEN_DEST | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20130417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions occured in Scrambling | 20130417 |
Method LOCK_RULE Signature
Method LOCK_RULE on class CL_CNV_TDMS_SCR_SIM has no parameter.
Method LOCK_RULE on class CL_CNV_TDMS_SCR_SIM has no exception.
Method PREPARE_CONV_ROUTINE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CONVERT_CODE | Call by reference | Type reference (TYPE) | TY_ABAPSOURCE | 20130406 |
Method PREPARE_CONV_ROUTINE on class CL_CNV_TDMS_SCR_SIM has no exception.
Method PREPARE_CWB_SCHEMA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_SCHEMA | Call by reference | Type reference (TYPE) | TY_ABAPSOURCE | 20130406 | ||||
| 2 | I_FIELD | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20130406 | |||
| 3 | I_TABLE | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130406 |
Method PREPARE_CWB_SCHEMA on class CL_CNV_TDMS_SCR_SIM has no exception.
Method PREPARE_MAPPING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MSG | Call by reference | Type reference (TYPE) | CNVTDMS_BALMI_T | Message log : BALMI | 20130406 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions occured in Scrambling | 20130406 |
Method READ_CWB_SCHEMA Signature
Method READ_CWB_SCHEMA on class CL_CNV_TDMS_SCR_SIM has no parameter.
Method READ_CWB_SCHEMA on class CL_CNV_TDMS_SCR_SIM has no exception.
Method RFC_COPY_DESTINATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TARGET | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20130416 | |||
| 2 | I_SOURCE_DEST | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20130416 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions occured in Scrambling | 20130416 |
Method SET_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FIELDS | Call by reference | Type reference (TYPE) | ANY TABLE | 20130414 |
Method SET_FIELDS on class CL_CNV_TDMS_SCR_SIM has no exception.
Method SET_GT_ORIGINAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MSG | Call by reference | Type reference (TYPE) | CNVTDMS_BALMI_T | Message log : BALMI | 20130406 | |||
| 2 | IT_ORIGINAL | Call by reference | Type reference (TYPE) | ANY TABLE | 20130409 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions occured in Scrambling | 20130411 |
Method SIMULATE_REMOTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CNT_DEST | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20130417 | |||
| 2 | I_MANUAL_LOGON | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20130417 | |||
| 3 | I_NO | Call by reference | Type reference (TYPE) | NUMC2 | '10' | Two digit number | 20130417 | ||
| 4 | I_PACK | Call by reference | Type reference (TYPE) | CNV_MBT_PACKID | Package Number of Transformation / Analysis Package | 20130417 | |||
| 5 | I_PROJ | Call by reference | Type reference (TYPE) | CNV_MBT_PROJ | Identification of MBT Project | 20130417 | |||
| 6 | I_RULEID | Call by reference | Type reference (TYPE) | CNV_TDMS_SCR_RULEID | Scrambling Rule ID | 20130417 | |||
| 7 | I_SELECTION | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20130417 | |||
| 8 | I_TARGET | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20130417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions occured in Scrambling | 20130417 | ||
| 2 | Warnings in Scrambling | 20130417 |
Method SIMULATE_SCR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CONVERT | Value transfer | Type reference (TYPE) | ANY TABLE | 20130406 | ||||
| 2 | ET_MSG | Call by reference | Type reference (TYPE) | CNVTDMS_BALMI_T | Message log : BALMI | 20130406 | |||
| 3 | ET_ORIGINAL | Value transfer | Type reference (TYPE) | ANY TABLE | 20130406 | ||||
| 4 | IT_ORIGINAL | Call by reference | Type reference (TYPE) | ANY TABLE | 20130409 | ||||
| 5 | I_FIELD | Call by reference | Type reference (TYPE) | FIELDNAME | Field Name | 20130406 | |||
| 6 | I_TABLE | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130406 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions occured in Scrambling | 20130406 | ||
| 2 | Warnings in Scrambling | 20130406 |
History
| Last changed by/on | SAP | 20141107 |
| SAP Release Created in | 2011_1_700 |