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 DEST_CNT Instance attribute Public Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20130406
2 DEST_EXE Instance attribute Public Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20130406
3 GC_DEFAULT_70010_D Constant Private Type reference (TYPE) CNV_PROG 'CNV_TDMS_SCR_70010_TOP' Top Default include of 70010 20130406
4 GC_DEFAULT_70010_P Constant Private Type reference (TYPE) CNV_PROG 'CNV_TDMS_SCR_70010_FORMS' Form Default incl for 70010 20130406
5 GC_KNA1 Constant Private Type reference (TYPE) TABNAME 'KNA1' KNA1 Constant 20130406
6 GC_LFA1 Constant Private Type reference (TYPE) TABNAME 'LFA1' LFA1 Constant 20130406
7 GC_NOMAPPING Constant Private Type reference (TYPE) CNV_TDMS_SCR_MAPTY_ID 'E0A0B047EE2D17F1BD570050568318F2' Mapping Type 20130426
8 GC_PA0001 Constant Private Type reference (TYPE) TABNAME 'PA0001' PA0001 20130406
9 GC_PROG_PREFIX Constant Private Type reference (TYPE) CHAR15 '/TDM/SCR/S' Program Prefix 20130406
10 GC_TEMPLATE Constant Private Type reference (TYPE) CHAR30 'CNV_TDMS_SCR_SIM_TEMPLATE' Template Program 20130406
11 GC_TRANSP Constant Private Type reference (TYPE) TABCLASS 'TRANSP' Transparent 20130406
12 GC_TRUE Constant Private Type reference (TYPE) BOOLEAN 'X' Boolean Variable (X=True, -=False, Space=Unknown) 20130406
13 GREF_PRESEL Instance attribute Private Object reference (TYPE REF TO) CL_CNV_TDMS_SCR_PRESEL Preselection of Tables to Fill Mapping Table for Scrambling 20130406
14 GT_CODE Instance attribute Private Type reference (TYPE) TY_ABAPSOURCE Full Source 20130406
15 GT_CODE_TABLE Instance attribute Private Type reference (TYPE) TY_ABAPSOURCE 20130423
16 GT_CONVERT Instance attribute Private Object reference (TYPE REF TO) DATA Converted Data of Primary Table 20130406
17 GT_CONVERT_CODE Instance attribute Private Type reference (TYPE) TY_ABAPSOURCE 20130406
18 GT_INCL_CODE Instance attribute Private Type reference (TYPE) TY_ABAPSOURCE Include Code 20130406
19 GT_KEYS Instance attribute Private Type reference (TYPE) TY_KEYS Keys Data 20130406
20 GT_ORIGINAL Instance attribute Private Object reference (TYPE REF TO) DATA Original Data of Primary Table 20130406
21 GT_SCHEMA Instance attribute Private Type reference (TYPE) TY_ABAPSOURCE Original CWB Schema 20130406
22 GV_NOPRESEL Instance attribute Private Type reference (TYPE) BOOLEAN '' Boolean Variable (X=True, -=False, Space=Unknown) 20130426
23 IS_CNT_SYST Instance attribute Private Type reference (TYPE) BOOLEAN 'X' 'X' - for execution system and '' for control system 20130409
24 LREF_PRESEL Instance attribute Private Object reference (TYPE REF TO) CL_CNV_TDMS_SCR_PRESEL Preselection of Tables to Fill Mapping Table for Scrambling 20130406
25 PACKID Instance attribute Public Type reference (TYPE) CNVTDMSSCR_RULE-PACKID Package Number of Transformation / Analysis Package 20130406
26 PROJ Instance attribute Public Type reference (TYPE) CNVTDMSSCR_RULE-PROJECT Identification of MBT Project 20130406
27 RULE_DESCRIPTION Instance attribute Public Type reference (TYPE) STRING Rule Description 20130406
28 SORTFIELDS Instance attribute Public Type reference (TYPE) ABAP_SORTORDER_TAB Table for SORT itab BY (ABAP_SORTORDER_TAB) 20130418
29 S_RULE Instance attribute Public Type reference (TYPE) CNVTDMSSCR_RULE Scrambling Rules 20130406
30 T_CNVFIPARS Instance attribute Public Type reference (TYPE) CNVTDMSSCR_TT_CNVFIPARS Data of CNVFIPARS 20130418
31 T_DEP_INCL Instance attribute Public Type reference (TYPE) CNVTDMSSCR_TT_CNVINCL List of Includes Assigned to a RUle 20130417
32 T_FIELDCAT Instance attribute Public Type reference (TYPE) LVC_T_FCAT Field Catalog for List Viewer Control 20130411
33 T_FIELDS Instance attribute Private Type reference (TYPE) TT_FIELDS 20130411
34 T_FLDS Instance attribute Public Type reference (TYPE) CNVTDMSSCR_TT_FLDS List of Tables and Fields Assigned to a Rule 20130406
35 T_INCL Instance attribute Public Type reference (TYPE) CNVTDMSSCR_TT_INCL List of Includes Assigned to a RUle 20130406
36 T_KEYST 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 CHECK_AUTHORIZATION Instance method Private Method Check authorization 20130405
2 CHECK_IDENTIFIER Instance method Private Method Identifier field should be in GT_ORIGINAL(For KEYS filling) 20130405
3 CONSTRUCTOR Instance method Public Constructor Construtor method 20130405
4 CONVERT Instance method Private Method Generate Conversion Routine 20130405
5 COPY_INCL_TO_GT_INCL_CODE Instance method Private Method Copy Scrambling from Control system 20130405
6 CREATE_DYNAMIC_TABLE Instance method Public Method Create Dynamic table 20130423
7 FILL_KEYS Instance method Private Method Fill Keys from GT_ORIGINAL 20130405
8 FILL_MAPPING Instance method Private Method Final Mapping(FMID table) 20130405
9 GET_FIELDCATALOG Instance method Public Method Get Field Catalog 20130409
10 GET_FIELDS Instance method Public Method Get Selection fields 20130414
11 GET_KEYFIELDS Instance method Private Method Get key fields for SORT and DELETE DUPLICATE 20130418
12 GET_RULE_DATA Instance method Private Method Set Rule Data( if anything changed after instance) 20130417
13 LOCK_RULE Instance method Private Method Lock the rule 20130405
14 PREPARE_CONV_ROUTINE Instance method Private Method Prepare Conversion Routine 20130405
15 PREPARE_CWB_SCHEMA Instance method Private Method Schema ( Replace Pack , Table and fieldname ) 20130405
16 PREPARE_MAPPING Instance method Private Method Preparation for mapping(CNVTDMSSCR_KEYS) 20130405
17 READ_CWB_SCHEMA Instance method Private Method Read Schema to GT_SCHEMA 20130405
18 RFC_COPY_DESTINATION Static method Public Method Copy and create RFC Destination 20130416
19 SET_FIELDS Instance method Public Method Set Selection fields 20130414
20 SET_GT_ORIGINAL Instance method Public Method Set GT_ORIGINAL 20130405
21 SIMULATE_REMOTE Static method Public Method Simulate in the remote system 20130417
22 SIMULATE_SCR 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 Exporting ET_MSG Call by reference Type reference (TYPE) CNVTDMS_BALMI_T Message log : BALMI 20130406
2 Importing I_CHECK_FIELD Call by reference Type reference (TYPE) FIELDNAME Field Name 20130406
3 Importing I_T_ORIGINAL Call by reference Type reference (TYPE) TABLE 20130406
# Exception Resumable Description Created on
1 CX_TDMS_SCR_ERRORS Exceptions occured in Scrambling 20130406

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CNT Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20130406
2 Importing I_CNT_DEST Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20130406
3 Importing I_PACKID Call by reference Type reference (TYPE) CNVTDMSSCR_RULE-PACKID Package Number of Transformation / Analysis Package 20130406
4 Importing I_PROJ Call by reference Type reference (TYPE) CNVTDMSSCR_RULE-PROJECT Identification of MBT Project 20130406
5 Importing I_RULE_ID Call by reference Type reference (TYPE) CNVTDMSSCR_RULE-RULE_ID Scrambling Rule ID 20130406
6 Importing I_SEN_DEST Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20130406
# Exception Resumable Description Created on
1 CX_TDMS_SCR_ERRORS Exceptions occured in Scrambling 20130406
2 CX_TDMS_SCR_WARNINGS Warnings in Scrambling 20130406

Method CONVERT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CONVERT Call by reference Type reference (TYPE) ANY TABLE 20130406
2 Exporting ET_MSG Call by reference Type reference (TYPE) CNVTDMS_BALMI_T Message log : BALMI 20130406
3 Exporting ET_ORIGINAL Call by reference Type reference (TYPE) ANY TABLE 20130406
4 Importing I_CONV_ROUTINE Call by reference Type reference (TYPE) CNV_FUNC Name of the used routine 20130406
# Exception Resumable Description Created on
1 CX_TDMS_SCR_ERRORS 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 Exporting ET_INCL_CODE Call by reference Type reference (TYPE) TY_ABAPSOURCE 20130406
# Exception Resumable Description Created on
1 CX_TDMS_SCR_ERRORS 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 Exporting ET_TABLE Call by reference Object reference (TYPE REF TO) DATA 20130423
# Exception Resumable Description Created on
1 CX_TDMS_SCR_ERRORS Exceptions occured in Scrambling 20130423

Method FILL_KEYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COMP Call by reference Type reference (TYPE) FIELDNAME Field Name 20130406
2 Importing I_SUBKEY1 Call by reference Type reference (TYPE) CNVTDMSSCR_KEYS-SUBKEY1 Comment 20130406
3 Importing 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 CX_TDMS_SCR_ERRORS Exceptions occured in Scrambling 20130406
2 CX_TDMS_SCR_WARNINGS Warnings in Scrambling 20130406

Method GET_FIELDCATALOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FIELDCAT Value transfer Type reference (TYPE) LVC_T_FCAT Field Catalog for List Viewer Control 20130409
# Exception Resumable Description Created on
1 CX_TDMS_SCR_ERRORS Exceptions occured in Scrambling 20130409

Method GET_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing 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 Importing I_CNT Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20130417
2 Importing I_CNT_DEST Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20130417
3 Importing I_PACKID Call by reference Type reference (TYPE) CNVTDMSSCR_RULE-PACKID Package Number of Transformation / Analysis Package 20130417
4 Importing I_PROJ Call by reference Type reference (TYPE) CNVTDMSSCR_RULE-PROJECT Identification of MBT Project 20130417
5 Importing I_RULE_ID Call by reference Type reference (TYPE) CNVTDMSSCR_RULE-RULE_ID Scrambling Rule ID 20130417
6 Importing I_SEN_DEST Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20130417
# Exception Resumable Description Created on
1 CX_TDMS_SCR_ERRORS 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 Exporting 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 Exporting ET_SCHEMA Call by reference Type reference (TYPE) TY_ABAPSOURCE 20130406
2 Importing I_FIELD Call by reference Type reference (TYPE) FIELDNAME Field Name 20130406
3 Importing 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 Exporting ET_MSG Call by reference Type reference (TYPE) CNVTDMS_BALMI_T Message log : BALMI 20130406
# Exception Resumable Description Created on
1 CX_TDMS_SCR_ERRORS 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 Exporting E_TARGET Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20130416
2 Importing I_SOURCE_DEST Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20130416
# Exception Resumable Description Created on
1 CX_TDMS_SCR_ERRORS Exceptions occured in Scrambling 20130416

Method SET_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting 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 Exporting ET_MSG Call by reference Type reference (TYPE) CNVTDMS_BALMI_T Message log : BALMI 20130406
2 Importing IT_ORIGINAL Call by reference Type reference (TYPE) ANY TABLE 20130409
# Exception Resumable Description Created on
1 CX_TDMS_SCR_ERRORS Exceptions occured in Scrambling 20130411

Method SIMULATE_REMOTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CNT_DEST Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20130417
2 Importing I_MANUAL_LOGON Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20130417
3 Importing I_NO Call by reference Type reference (TYPE) NUMC2 '10' Two digit number 20130417
4 Importing I_PACK Call by reference Type reference (TYPE) CNV_MBT_PACKID Package Number of Transformation / Analysis Package 20130417
5 Importing I_PROJ Call by reference Type reference (TYPE) CNV_MBT_PROJ Identification of MBT Project 20130417
6 Importing I_RULEID Call by reference Type reference (TYPE) CNV_TDMS_SCR_RULEID Scrambling Rule ID 20130417
7 Importing I_SELECTION Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20130417
8 Importing I_TARGET Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20130417
# Exception Resumable Description Created on
1 CX_TDMS_SCR_ERRORS Exceptions occured in Scrambling 20130417
2 CX_TDMS_SCR_WARNINGS Warnings in Scrambling 20130417

Method SIMULATE_SCR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CONVERT Value transfer Type reference (TYPE) ANY TABLE 20130406
2 Exporting ET_MSG Call by reference Type reference (TYPE) CNVTDMS_BALMI_T Message log : BALMI 20130406
3 Exporting ET_ORIGINAL Value transfer Type reference (TYPE) ANY TABLE 20130406
4 Importing IT_ORIGINAL Call by reference Type reference (TYPE) ANY TABLE 20130409
5 Importing I_FIELD Call by reference Type reference (TYPE) FIELDNAME Field Name 20130406
6 Importing I_TABLE Call by reference Type reference (TYPE) TABNAME Table Name 20130406
# Exception Resumable Description Created on
1 CX_TDMS_SCR_ERRORS Exceptions occured in Scrambling 20130406
2 CX_TDMS_SCR_WARNINGS Warnings in Scrambling 20130406
History
Last changed by/on SAP  20141107 
SAP Release Created in 2011_1_700