Skip to Content


Hi Experts,

I would like to seek your help in creating a scrambling rule for the following fields (PA0185-ICNUM, PA0179-REFNB and PA0186-CPFAC).

This is the NRIC/FIN that needs to be scrambled with digit check (25CHK).

The format is GXXXXXXXZ where X is the 7 number digit and Z is an Alphabet having the 25CHK.

Thank you in advance!


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 15, 2016 at 02:24 AM

    Hello Doms,

    This requirement cannot be achieved from the standard rules or rule types provided as a part of TDMS scrambling.

    You would have to write a custom code to generate random values of the type GXXXXXXXZ and then place in a routine similar to SCRAMBLE_DATA. The signature of your routine should be same as SCRAMBLE_DATA.

    Once you have created this routine inside an include program, you can create a rule, with NO MAPPING as scrambling type, for the above mentioned tables and assign the routine to the table fields for scrambling in expert mode. You will also have to give the INCLUDE name in the rule where the routine is present.

    All these activities are expert level scrambling activities.To get a reference program, you can open any of the standard rule in expert mode and copy the routine name which would be in the format CNV*SCR*FORMS. Open that incude in the control system using the TR code SE38 and you can see the standard routine SCRAMBLE_DATA there.

    I hope this was helpful.

    Thanks and Regards,

    Sreejith Rajashekaran

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.