Skip to Content

Prerequisite:

You are familiar with TDMS Workcenter and the terminologies Solution Category, Scrambling Super group, Scrambling Group, Scrambling Rule and Migration Solution.


Use Case:

Understand and create new scrambling objects in the SAP TDMS Workbench. The scrambling objects explained here is used to create the custom scrambling rule which can be used further in the project to scramble you records.

The Scrambling workbench consists of the following tab pages:

  • Overview : Provides an overview of the scrambling objects available with SAP TDMS4.0.
  • Solution Categories: Shows a list of all the standard solution categories available with SAP TDMS4.0.
  • Scrambling Groups: Indicates a list of standard groups and super-groups available with SAP TDMS4.0.
  • Scrambling Rules: Provides a list of standard rules for scrambling available with SAP TDMS4.0.
  • Global Mapping: Shows a list of standard global mappings available with SAP TDMS4.0.

Steps:

  1. Navigate to the Data Scrambling Workcenter./wp-content/uploads/2014/02/1_383653.png
  2. Before proceeding ahead with creation of a rule, you need to first create a solution category,

         scrambling supergroup, scrambling group and assign the rule to the super group and/or group.


   3.  Creation of Solution Category

    1. Navigate to the ‘Solution Categories’ tab and select the pushbutton Create.
    2. Enter a name for the solution category and save./wp-content/uploads/2014/02/2_383720.png

       You can also use one of the SAP provided standard solution categories while creation of

       custom scrambling objects.

   /wp-content/uploads/2014/02/3_383721.png

     3.1  Assign Migration Solutions to Solution Category

     To assign migration solution to any solution category follow the below steps:

      1. Select a solution category and  select the pushbutton Assign Solution
      2. This will display a screen from where you can assign Migration Solution to the Solution category .

                            Select the Migration Solution from the right hand side panel and click on the button /wp-content/uploads/2014/02/4_383722.png ,

                            so that the migration solution is assigned to the solution category. For e.g.: If you want to assign

                            ‘Transfer of PA Data for SAP ERP HCM’ to the solution category ‘ZSAP_CUST_HCM’ the do it as

                            follows,

                         /wp-content/uploads/2014/02/5_383723.png

                         /wp-content/uploads/2014/02/6_383724.png

     4.  Creation of Scrambling Supergroup/group

      1. Navigate to the ‘Scrambling Groups’ tab and select the pushbutton Create.
      2. Enter a name for the group and  select the SuperGroup checkbox as shown,/wp-content/uploads/2014/02/7_383725.png

                This creates a Supergroup with name ‘Personal and Address Data.

c.  Create another Group but this time do not select the checkbox for Supergroup. 

     By this way you can create Groups.

/wp-content/uploads/2014/02/8_383761.png

   

    4.1  Assign Group to Supergroup

                a. Select the pushbutton Assign in the ‘Scrambling Groups’ tab as shown below:

               /wp-content/uploads/2014/02/9_383765.png

              b.  This will display a screen from where you can select the scrambling group from the right side pane and

                    assign it to the scrambling supergroup at the left side pane.

           /wp-content/uploads/2014/02/10_383766.png

Note: Only groups / rules having same solution category as that of the supergroup can be assigned to a supergroup.

     5.   Creation of a Rule

               Scrambling rule contains the complete technical information required to scramble data.

               Follow the below steps to create a Rule.

      1. Navigate to the Scrambling Rules tab and select the pushbutton New to create a new Rule.
      2. In the Create Scrambling Rule window, switch to expert mode as shown below (Expert mode

                           displays all the expert technical settings). Enter a name for the Rule, Solution Category and

                           Scrambling Super group.

                            /wp-content/uploads/2014/02/11_383767.png

                    c.  Move to the next phase ‘Assign Scrambling Type’ and choose a Scrambling Type from the list of

                         available types depending on how you want your data to be scrambled.  In the example below

                         Scrambling Type is chosen as ‘Delete’ to clear the values of a table-field.

                           /wp-content/uploads/2014/02/12_383780.png

                    The different scrambling types that are available in the workbench are:


      •       Delete Value: It clear the values of table-field combinations of the rule.
      •       Fixed Value: It replaces the values of table-field combinations of the rule with a fixed value.
      •       Manual 1:1 Mapping: It replaces the values of table-field combination to a new-value based

                                 on the mapping of old-value to new-value given in the rule while creation.

      •       No mapping: It is used to create a custom scrambling rule based on the requirement.
      •       Number Conversion: It randomly replaces with a new unique number for each unique

                                 old value of table-field combination of the rule, user provides the starting value.

      •       Random Selection Table with 1 Column: It randomly replaces the values of table-field

                                 combinations of the rule with a value maintained in a selection table.

      •       Value Range Table: It is used to scramble a field value randomly within a range,

                                  range being the user input.

      •       Random Table for Time Periods: It is used to randomly replace values of table-field

                                 combinations with new dates in a specified time range.

                 d.  Move to the next phase ‘Enter Table Fields’ and append rows to assign the

                      Table-field combinations that has to be scrambled.

                         i.   You can either manually enter the table-fields or search for the table-fields by providing the

                              Domain Name.If you want to search for table-fields using Domain Name, then enter a

                              value for the field Domain Name and select pushbutton Search. In the list of table-fields 

                              that appear, select the Table-field combinations that you want to include in this Rule.

                              /wp-content/uploads/2014/02/13_383781.png

                         ii . Choose a table-field as Primary Table-Field. This is a mandatory attribute of a rule.

                              The mapping values for scrambling are determined for the Primary table-field entries.

                              The scrambling platform uses these results to scramble the other table-fields of the rule.

                              Here in the example used, PA0002-PERNR is set as the primary table-field.

                              /wp-content/uploads/2014/02/14_383782.png

                  

                             iii.  Select option ‘Do Not Scramble’ to exclude those table-fields from conversion.

                             iv.  Maintain the ‘Routine Name’ to be used for scrambling the table-field. By default the

                                   standard routine ‘SCRAMBLE_DATA’ will be assigned to the table-fields.

                              v. You can use keysets, which are a single or combination of fields by which a record can

                                  be uniquely identified for scrambling in a table.

                              vi. If the scrambling type is chosen as ‘No Mapping’, then provide a custom routine name

                                  for the column Routine Name. For example: You want to increase the salary of all employees

                                   by a factor of 5, then create a routine under a custom include and provide the routine                 

                                   name in the rule.

                          

                                /wp-content/uploads/2014/02/15_383786.png

                             /wp-content/uploads/2014/02/16_383787.png

                                /wp-content/uploads/2014/02/17_383788.png

                                  vi.  You can optionaly assign a system-landscape to the rule by selecting the push button

                                        Assign, which will give you a list of system landscapes from where you can select by

                                        selecting push button Assign, as shown below.

                                       /wp-content/uploads/2014/02/18_383789.png

                                       /wp-content/uploads/2014/02/19_383790.png


               e.  Move to the next phase ‘Enter Includes’. You can see that the standard includes are populated

                    automatically. If the scrambling type is ‘No mapping’, insert an entry to include the custom include name.

                    /wp-content/uploads/2014/02/20_383794.png

                    /wp-content/uploads/2014/02/21_383801.png

              f.  Move to the next phase ‘Enter Condition sets’. Here you can specify the conditions to filter the

                  table records for scrambling. For example : If you want to scramble the pernr’s of all  Indian

                  employees, then you can give a condition set as follows (NATIO is the field name in PA0002),

                  /wp-content/uploads/2014/02/22_383802.png

          g.   Finally review and save the rule. If the entered details are valid, then the

                status of the Rule will be green as below.

                  /wp-content/uploads/2014/02/23_383803.png

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply