Scrambling Rule

Hello, I'm facing one particular challenge trying to scramble HCM data.
In this client the unique ID of a person is the PERSONID_EXT Infotype 709. This means that a person has a single PERSONID_EXT, but can have several PERNR's that correspond to a different position (this is public sector).
So we have a scenario like this:
If I use standard scrambling rule for HCM the result is something like this:
But in reality PERNR 10 and 11 are the same person so they should keep the same name.
I want to copy the standard rule and copy it or create a new one.
Any help would be welcome!
Thanks.

Hello Mario,
Currently all the rules are based on PERNR. Thus for different employee IDs, different names are generated.
You would probably like to raise a incident with SAP to check how can this can be done.
Regards,
Rishav Surana

Similar Messages

  • Error in Mapping of Data for Scrambling Rule due to Inconsistency detected in Mapping Engine PIFD

    Hi all,
    We are performing an HCM Data scrambling, however, in Package Setting phase, we are encountering error in mapping of data for scrambling rule, saying there are inconsistency detected in mapping Engine PIFD.
    We have already implemented and checked below SAP notes, but still no luck.
    1854557 - Missing PIFD objects or mappings after LT AddOn install.
    1665861
    - TDMS 4.0 - Collective note for Scrambling
    Please advise how to fix the issue? Project is at stand still due to this.
    OSS message already opened.
    Thanks and regards,
    Philip

    Hi
    This is bug 5195315, which looks to be fixed in a 10.2 patch. If you can pick up the latest 10.2 patch there is like 3 years of fixes worth picking up.
    Cheers
    David

  • Problem with scrambling rules

    Good afternoon, I have a problem with the conversion rules, when I transfer the employee does not take into account any of the scrambling rules, those made by me and with the rules that I copied by CNV_TDMS_HCM_SCRAM transaction. I understand that this conversion is performed in the task to prepare data transfer. Someone can give me an idea that I may fail to do. Somebody has documentation of Scrambling rules? Thanks in advance.
    Manuel Campos

    Thank you, when I execute the program wherever Phase or activity ID that I select, for example PC001_RULES_MAINTAIN
    It shows me this:
    Rules for packege 90042
    Rule Name                     Status         Active
    CNV_MBT_BOP             red              check
    INITIAL                           red             check
    MOVE                            red             check
    01_RVNUM_CK_DGT      red             check
    99_HR_PEVAL2              red             check
    99_PD_SEQ_NR             red             check
    ADDR_SCRAM1             green          check
    SAMP_SCR_DOM          red             check
    SAMP_SCR_FIELD        green          check
    In your package appear something like this?
    I used transaction CNV_TDMS_HCM_SCRAM to prepare and maintain customizing for
    scrambling at project or subproject level. And I made this:
    To use the SAP template, choose Copy from other Project. You can now copy a scramble
    definition. To copy the SAP template, input the following:
    Pack ID: TDHSC
    Project: *
    Subproject: *
    Process Type: R
    Select the "Get from client 000" checkbox .
    You can use a description prefix, for example SAP_, to easily identify elements. For
    example, if you use this prefix and the name of a scramble group in the template is
    HCM_DE_01, then after the copy the name is SAP_HCM_DE_01. This is useful for copying
    in add-on mode into an existing project, because it helps you to determine what was new
    from this copy.
    Then I tried to use this scrambling rules copied, but They doesn´t work.
    Thanks a lot for your help

  • Event-related scrambling rule type - Code example?

    Hi experts,
    I am currently working on an SAP TDMS project which requires me to develop some event-related scrambling rules. As this type of rule doesn't have parameters I'm having trouble understanding how to access the data. I tried to find an example in the forums and searching the internet but I wasn't successful.
    Any help will be much appreciated.
    Thank you.
    Kindest regards,
    Bruno Esperança
    Edited by: Rob Burbank on Feb 3, 2012 9:37 AM

    Hi Rupam!
    Yes, I am using TDMS 3.0.
    Thank you very much for your e-mail.
    I did not find standard package TDSAD. However, I did find include CNV_MBT_TDSAD_ADDR_SCRAM1 which has the code example for an event-related rule.
    Nonetheless, I do have a small concern. This rule was designed to be used by more than one table. Thus, there is a piece of code in the beginning which determines the object (table) that is currently being converted.
      IF g_wa_name IS INITIAL.
    * get receiver structure name of the current conv. obj.:
    *    CONCATENATE g_dmc_cobj_guid ' = ''' g_dmc_cobj_guid_val
    *      '''' INTO g_where_clause_dmc_cobj.
        CONCATENATE g_dmc_cobj_guid ' = ''' _GUID_COBJ
          '''' INTO g_where_clause_dmc_cobj.
        SELECT SINGLE (g_dmc_cobj_rcontainer) FROM (g_dmc_cobj_tabname)
            INTO g_dmc_cobj_rcontainer_into WHERE (g_where_clause_dmc_cobj).
        CONCATENATE g_dmc_stree_container ' = '''
          g_dmc_cobj_rcontainer_into''''
          ' AND' g_dmc_stree_seqnum ' = ''' g_dmc_stree_seqnum_val''''
          ' AND' g_dmc_stree_struclevel ' = ''' g_dmc_stree_struclevel_val
          '''' INTO g_where_clause_dmc_stree.
        SELECT SINGLE (g_dmc_stree_guid) FROM (g_dmc_stree_tabname)
            INTO g_dmc_stree_guid_into WHERE (g_where_clause_dmc_stree).
        CONCATENATE g_dmc_struct_stree ' = ''' g_dmc_stree_guid_into
             '''' INTO g_where_clause.
        SELECT SINGLE (g_dmc_struct_ident) FROM (g_dmc_struct_tabname)
            INTO g_structname WHERE (g_where_clause).
    *  select single ident from dmc_struct into g_structname
    *    where stree = ( select GUID FROM dmc_stree WHERE container =
    *  ( select RCONTAINER FROM dmc_cobj WHERE guid = _guid_cobj )
    *      AND seqnum = '0001' AND struclevel = '01' ).
        CONCATENATE '_WA_' g_structname INTO g_wa_name.
        ASSIGN (g_wa_name) TO <g_wa_name>.
      ENDIF.
    As you can see this has some selects in it, and I'm affraid these selects might be executed for each record of each table. So, in a performance point of view, this might not be so good...
    Is there a reason why I shouldn't use one rule per table, and therefore disregard this piece of code?
    Thank you very much!
    Bruno
    EDIT:
    From what I understood from the code, this is a code example if I assume I'm scrambling table ADRC:
    ASSIGN ('_WA_R_ADRC') TO <g_wa_name>.
    ASSIGN COMPONENT 'NAME1' OF STRUCTURE <g_wa_name> TO <g_name1>.
    Does this make sense to you?
    Thanks.

  • SAP TDMS - Event related scrambling rule - Code example?

    Hi experts,
    I am currently working on an SAP TDMS project which requires me to develop some event-related scrambling rules. As this type of rule doesn't have parameters I'm having trouble understanding how to access the data. I tried to find an example in the forums and searching the internet but I wasn't successful.
    Any help will be much appreciated.
    Thank you.
    Kindest regards,
    Bruno Esperanç

    This question was answered here:
    http://forums.sdn.sap.com/thread.jspa?threadID=2130292&tstart=0

  • Create "result line" when defining scrambling rule

    When defining scrambling rules, there is a button called "create result line".
    I am not sure how to use this feature.
    Could somebody give some hints?
    Thanks a lot!

    Suman:
    Here are the steps to reproduce:
    - at activity "scrambling data"
    - try to create a field-set
    - you are now at the screen with "Field-Sets" as the title on  the screen top.
    - change to "modify" mode by clicking the "pen" at the lower portion of the screen.
    - put the mouse on the button which is next to the "trash bin", you can see a little popup "create result-line"
    Could you help explain how to use this feature?
    Thanks!

  • Please give me a sample for confige scrambling rules and the source code

    In T-code CNVMBTTWB.
    Thanks.
    Edited by: suwen ji on Jan 14, 2009 10:03 AM

    Hi,
    Could you please open an OSS message, so that we can share the document on Scrambling which describes how to use to use the scrambling platform.
    Regards,
    Srila.

  • Doc for Scrambling

    Hi,
      We are going to do our  HR Scrambling by TDMS. Hence could you please share the documents to define scrambling rules and how to add those rules to HCM for PD & PA Package. Afcourse we already have some of the links and videos which was shared by Poonam Assudani. But it will be more helpful if we can get step by step document which explains more.. Please help..
    Thanks,

    Have you read SAP Test Data Migration Server Operations Guide?
    Bruno

  • Error in tdms scrambling activity

    Hi,
    I am running a scenario for tdms HCM. I got this below error while running Define Scrambling Rules (optional) activity.
    Syntax error in customer code rule
    Message no. CNV_TDMS_HCM110
    Central/Control system here is Solution Manager.
    I have selected sap standard scrambling groups  and saved but the status of the activity is red and I found the above errror mesgs in the log.
    If anyone has any idea about this error please let me know.
    Thanks.

    In Define Scrambling Rules (optional) activity check the selected scrambling groups, in my case same scrambling groups were added to my package and I seleceted same scrambling group twice that gave me error. BTW are you selected standard scrambling group or customized?

  • Where does the scrambling occur?

    Dear experts,
    I've seen in some TDMS docu that the scrambling for HCM is performed in the source system, so no sensitive data is extracted without scrambling. But I haven't found such information for scrambling for ERP.
    I mean I would like to know where the data is scrambled when I define my scrambling rules in TDMS for ERP (not HCM).
    Thanks a lot for your help!
    Fermí

    Hi Sulman,
    Thanks for your help. Do you know if your answer appears in any SAP document or note?
    Kind regards,
    Fermí

  • Custom Code for Scrambling

    Hi,
    How/where can I define the custom code for scrambling?
    The SAP Scrambling guide does not give any details where I can define these, it only gives code examples
    I did find transaction codes CNVMBTTWB and CNV_MBT_RULES but these are not working (kicking me out the transaction as soon as I try to create something). And these are TDMS 3.0 related.
    Anyone an idea how to do this? Is there a guide for TDMS 4 somewhere? Didn't found it so far.
    Kind regards,
    Johnny

    Hi all,
    I still got issues with the custom code for scrambling.
    Has anyone a good document about this and please do not refer to the SAP ones since for me they are not helpful in this case.
    I have created the custom program but when I test it via the scrambling rule, I receive a 'NULL' error (which is strange)
    Also, if I execute my scrambling flow, it gets stuck in phase 'Preparations for data scrambling' with error FORM xxxxx does not exist.
    The form was created in the Control system.
    What am I missing here?
    Cheers,
    Johnny

  • Event-related data scrambling

    When defining the scrambling rules, the rule type can be event-related.
    Could anybody here give some example events, i.e. we can scrambling data for what events?
    Thanks a lot!

    Hi David,
    Event related rule could be applied for more than one field at a time. It applies at the record level and we can change the contents of a complete record using a single rule. As it does not involve any specific field, we cannot add parameters for an event related rule.
    In case of event related rules enter the rule name and the step for each table. The u2018Stepu2019 defines the exact step in data transfer during which this rule should be applied. For scrambling it is usually EOR (end of record). Data transfer is carried out record by record within a loop.
    EOR means that conversion takes place inside the loop at the end of every record. The Steps field has a F4 help which lists all the possible events. The following is the complete list
    BOL u2013 Begin of Loop
    EOL u2013 End of Loop
    BOT u2013 Begin of Transaction
    EOT u2013 End of Transaction
    BOR u2013 Begin of Record
    EOR u2013 End of Record
    BOP u2013 Begin of Process
    EOP u2013 End of Process
    Hope this answers your query.
    Best Regards,
    Suman

  • TDMS Standalone Scrambling Evaluation

    Hi Everyone,
    I have the below specific questions regarding tdms standalone Scrambling:
    1) Is there a way to check an estimation of Completion for Standalone scrambling based on the defined Scrambling rules for a system. (As we have DMCMON for TDMS Data transfer -- DMCMON -- Expert Functions --> Performance Monitoring)
    2) If it took 5 days for standalone scrambling for a system for scrambling some data, will it take the same amount of time for the second run (after system refresh on the same system) for scrambling the same data? Since the Mapping of the data is same, can TDMS tool uses this to scramble the new set of data?
    OR it has to be a new package from the scratch and the same amount of time for any nr of runs?
    3) Having a separate "Control" system for standalone scrambling helps in performance in any way? It's not practical to have 5-6 days just to scramble the data on Quality system after system refresh (which itself would take around 10 days for clone and post clone steps) without users be able to use the system.
    Thanks,
    Smitha

    Thanks Nirupama! Can you please also clarify on the below?
    1) CNVMON -- Doesn't give me a "Forecast date"  for Scrambling Completion unlike DMCMON --> Expert Functions for the data transfer.
    2) For the POC we didn't create any new scrambling rules in the Runtime Workbench; We just used SAP Standard (First name, last name, SSN, DOB) In such case, having a separate Control system would improve the runtime?
    3) Can I reuse a package after running one cycle, if the package is not deactivated? For example, if I use a separate control system and run the process tree to completion but without deactivating the package, Can I re-use the package from TDBAS_PHASE_SCRAMBLING phase for the second cycle of the executing system (after system refresh) . Since the "Package Settings" wouldn't change. Basically we are having hard time to get management approval for having the system for 5-6 days just to scramble the data.
    Thanks,
    Smitha

  • Advanced Scrambling

    Hello, I have been implementing several scrambling rules, some of them of some complexity. There is one that I can't seem to acomplish:
    In PA0185 we have a field ICNUM that when it's ICTYP = '11' it tells us the original (first) PERNR of the employee.
    In our system an employee can have several PERNR wich correspond to a job inside the Public sector.
    So in PA0185 we can have something like this:                       
    So after scrambling it should look something like this:
    So far I can't seem to establish this relation, even with abap, because I only have access to a row at a time, for example:
    In this case (in the 4th row), I have no way of knowing that the original PERNR of this employee will be 9, because it will only be scrambled in the 5th row, and by that time, I will no longer be able to update the 4th row, at least not that I know, so far.
    Can anyone help me please?
    Thank you.

    The official documentation only mentions structure GD_ORIGINAL with the currently processed row that can be used in customer includes.
    If I understand correctly, you need to look ahead in the original data, or rather look back in the already scrambled data, which might be stored in tables like GT_ORIGINAL or GT_CONVERTED (just guesses after a quick code scan).
    Sounds like a complex case that you could open an SMP message in CA-TDM-SCR for.
    If you happen to know the LSMW, there it is possible to tamper with data other than the currently processed row once you understand how the frame program works.
    Thomas

  • HCM_Scrambling_UI

    Hi,
       When we Execute the transaction code TDMS_HCM_SCRAM we found nothing in the screen. Is there any Pre-activities need to be perform. Please advise.
      Is it because of any HR authorization issue in Sender system. Please correct me if i am wrong.
    Thanks,

    Hello ,
    I am a little confused as to what you are trying to run, but I will summarize the steps you need to execute for HCM scrambling to be enabled in the package.
    1. Go to transaction CNV_TDMS_HCM_SCRAM. in this selection screen enter the project name ex. ZTEST_DEV , then press 'Copy from other Project'.
    2. In the next screen flag 'Copy from Template' and press enter. The fields for the 'Source system would be disabled now.
    On the right hand side enter your Project , subproject and package.
    Select option 'Fill Gaps' and add any description prefix if you like  and now execute.
    3. Now go to your package and execute activity 'Define Scrambling Rules'
    Here you would now see all the rules for different countries .
    Select  the rules for the country for which you want to do scrambling .
    Execute other activities as usual and do the data selection and data transfer.
    Hope this helps.
    Thanks,
    Poonam

Maybe you are looking for

  • Changing resolution automatically for a specific program??

    so, i love my new hi res display, but a couple of my programs are much too small without dropping the res down. anybody know of a way to do this automatically when i run a certain application. i.e. run rosetta stone, res drops on its own to 1024*768

  • Locale test program exception

    Hi, I wrote a simple program to help me learn about using locales and currency in java. The program worked file for the default locale, but gives an exception when I pass it a US locale. I expect this is something very simple that I've done wrong but

  • Material ledger:'not allocated' variance

    Dear all, For raw material A, it issued to certain production order(say FG is B) in Apr. at the month end, I found that there are some variance(not distributed) in material A due to there is no goods receipt for production order. in May. I performed

  • Very, very slow performance

    Lightroom's performance on my computer has become, at times, intolerably slow.  After rebooting my iMac and not opening any other programs or browsers, it just took about eight minutes to import 23 files, and a few more minutes to build 1:1 previews.

  • Can't open Hotmail anymore on my Blackberry 9320

    My Hotmail won't work on my Blackberry 9320 anymore. These are the messages i get when i try to log on= Refusing connection. This server has been previously noted as supporting HTTP strict transport security. Due to SSL certificate warnings/errors a