Masking SSN field

Hi,
I have a requirement to mask SSN field on PA20 and PA30 transactions. I am aware of making changes in V_T588M to mask fields at the infotype level. I have got it done. However I do not know how to replicate the same at PA20 and PA30 transaction levels.
Any thoughts as how to about it shall be helpful.
Thanks in advance,
VG

Hi ,
SSN field will be there for some specifc countries . Ex india dosent have a SSN field in IT0002.
Your requirement will be for some specific countries where SSN is present and u need to mask it like USA ..
// have a requirement to mask SSN field on PA20 and PA30 transactions.
PA20 is display mode then i dont suppose u need to code for this . Just check if thisis on PA40 tcode.
For PA30 if this is for set of countries then include ZXPADU02 is ok for PBO . If this is for a specific country like USA then you will have to handle the code for that particulare country in that screen no  like 2010 of MP000200.
Loop at screen .
if condition.
screen-input =  '0'.
modify screen.
endif.
endloop
br,
Vijay.

Similar Messages

  • How to mask SSN field?

    Hi,
    Currently, the SSN field on the contract management screens (FPP1, FPP2 and FPP3) are displayed as 123456789. But, once the user saves the contract details and again views it using FPP2 or FPP3, our client wants the SSN field to appear as XXX-XX-6789. I understand that the traditional SAP HR transactions (PA30) do format the SSN and display it as 123-45-6789. However, is there a way to tackle my requirement(masking the first 5 numbers with X)? Did somebody face a similar hurdle in any of your IS-U implementation(s)? How did you tackle?
    Your comments would be highly appreciated.
    - Mrk

    Hi,
    You can create one conversion exit function module on that field data element and attach it.
    Cheers
    Prasad

  • I am trying to masked an SSN field depending on if yes is choosen or not

    Hi All, Good morning. I am working on a form that should display a masked SSN field in the format of XXX-X9-9999. I did come across the following script on the Adobe Designer forum, and apply it to my form creating two fields, and put the code on the exit event, but it is not working. Please what is wrong with the code, and is there any other way it could be done?
    if(form1.page1.subform1.Maskedfld1.rawValue != null) {  
    var ssn = form1.page1.subform1.Maskedfld1.rawValue;  
    var regExp = /^(\d{9}|\d{3}-\d{2}-\d{4})$/;  
    if (regExp.test(ssn)) {    
    regExp = /^\d{9}/;
          if (regExp.test(ssn)) {
          this.rawValue = "***-**-" + ssn.substring(5,9);
         form1.page1.subform1.Maskedfld2.rawValue = ssn;     }
          else {
              this.rawValue = "***-**-" + ssn.substring(7,11);
              ssn = ssn.substring(0,3) + ssn.substring(4,6) + ssn.substring(7,11);
              form1.page1.subform1.Maskedfld1.rawValue = ssn;
    } else {
       xfa.host.messageBox("SSN must be in the form 123-45-6789 or 123456789.","SSN Error",0,0);
        xfa.host.setFocus("form1.page1.subform1.Maskedfld1");
    Thanks
    v/r
    Tammy

    I tried the same code on a single field on exit event, with just one modification: Maskedfld2 replaced with Maskedfld1
    It does mask the value.
    Can you please be more specific as to what is the expected behaviour.
    Thanks

  • Masking the SSN field in ESS.

    Hello Everyone,
    Can somebody help me in masking the SSN field in ESS.
    In ESS when we go to personal information Iview and click on Personal data and click on change; users are able to change the SSN field. and save the changes. Is there any table where I can disable this SSN field from changes and make it read only like Date of birth.
    We are using ESS Business package for 4.6c.
    Any help will be greatly appriciated.
    Thank you in advance!
    Sasi.

    Try once at this place.
    go to View V_T588M_ESS
    Enter The Function group.
    (To get the Function group go to view T77WWW_SC.
    Check the Function module for ticked for PZ13.
    Then go to se37 and put the FM name and then click GOTO->MAIN PROGRAM
    Now if ur program name is SAPLEHF5 then EHF5 is Ur function group.)
    and then U will find a screen after entering FUnction group where U can change the field attributes accordingly (Display, Edit, Hidden etc).
    What is the country for which U are displaying the personal data screen.
    ~ BiSu
    Message was edited by:
            Biswajit Das

  • ESS webdynpro personal information iView SSN field

    Dear Support,
    I am working with Personal Data WebDynpro iView (sap.com/essuspdata/Per_Personal_US) in EP 6.0 SP18 and ECC 5.0.  Currently, the SSN field is editable.  How can I disable this feature. Please advise.
    Thanks,
    -Bharath

    Did you check this Masking the SSN Field in ESS Personal data iview. ?
    ~Suresh

  • Masking Certain Field in Vendor Master Data

    We have a Enhancement which involves conversion of Vendor Numbers.,It so happened that a category of Vendor Codes were the Social Security Numbers.
    Now that due to Privacy Laws etc they are converting that number logic which is throwing challanges.
    The first Step is to convert Vendors from XSSN to Y123 and the second is also retain the social number in a encrypted field as it is used for 1099 reporting.
    I am aware that there is a standard functionality for Credit Cards Numbers Masking but not sure if there is any thing for special fields on Vendor Master.
    If you are aware of any options to handle the switchover or masking certain fields pls share them with me.
    Thanks,
    Praveen

    Praveen,
    Did you try 'Define Screen Layout per Activity (Vendors)' and suppress/hide the fields?

  • How to pull stars for SSN field in PA30 screen

    Hi all,
    When user display the Employee Personal Details (0002) using PA30.
    I have to display the SSN field with stars.
    ex: If original SSN is        123 45 6789
         I have to display it as  ***   **  6789
    Thanks in advance

    The only thing I can think of is finding a BAdI or user exit (screen exit) in which this field can be accessed / changed. Otherwise you might be looking at a modification of standard SAP.
    Do you try and find some display options in customizing?

  • Hide SSN Field

    HI Folks,
    How do we lock/hide SSN field to a ceratin user group in the PA30 and PA40 screens with out doing config chnages. Is there anything a security consultant can do? Please advise.

    One option is to use screen variants.
    <a href="http://help.sap.com/saphelp_47x200/helpdata/en/7d/f63a0d015111d396480000e82de14a/frameset.htm">Look at the SAP Help pages</a>
    Good luck
    //freppe

  • Masking at field level

    Hello SDNers,
    My concern is to allow view to several users by making MASKING AT FIELD LEVEL.
    To make it clear:
    Take one example of automobile giant in which certain views are needed :
    a)Higher Managment View (Total Access to all the fields,say all 10 fields)
    b)Sales View (which should be given access to say first 4 fields)
    c)Finance VIew (which needs to have acess to some 7 fields)
    As in the case mentioned i need Masking at Field level.
    Share your views.
    Solution will be rewarded.
    Rgds,
    Krutarth

    Hi Krutharth,
    Where do you want that view in data manager or you want  to view your user specific records (Fileds) on Web UI. If you want to view the records on web UI you can arrange the user specific views in the Config UI by selecting the fields you want your specific user to view.
    You can have field level masking i.e., you have to configure such masking on specific user in the config UI.
    Data Manager you cannot impose such mask at field level.
    Reward points if helpful.
    Prasad.......................

  • U.S.  SSN field validation

    I am using the trial version, turnkey install of LCES2.5.  Just encountered something strange.
    On my form, I use a standard U.S. Social Security Number field that comes with the product.
    When I save the form as a dynamic PDF, a stand-alone file, Reader-Extended it, everything worked fine.
    However, when I save the form as an XDP, and use it in a Process, and run it in the WorkSpace, it keeps popping up a message box, saying something like an operation has failed the validation of that field, and asked me if I want to ignore the error. 
    The only "operation" that I can see is that I have a line of javascript like this:
      ssnField.rawValue = "";
    and I checked the Validation tab of the SSN field, it has this:  text{999999999}
    So I took out the validation (the text{999999999}), then the popup went away.
    Why the different behavior?  why the script didn't cause the popup when it's a stand-alone PDF?
    what's the right way to initialize (make it empty) that field?   ssnField.rawValue = null; ?
    I am pretty sure that I have used the same script on the SSN field before (on some other forms in WorkSpace), and it didn't cause the popup warning before. So I am a little puzzled.  Why all of a sudden I get this popup warning?
    thanks.

    try67,
    Thanks for your reply. When you say to "remove the Submit action, and submit the form yourself inside your code" are you refering to the
    distributed forms "Submit Form" button displayed on the purple tool bar of the distributed form? And if so, could you please let me know how I can do that? I've
    looked into that and haven't found an answer. Doing that would solve my problem of having my own submit code acting correctly and the
    distributed forms "Submit form" code not having any idea about my forms desired field value.
    Thanks again,
    Tom

  • How to mask SSN number in Identification Number field in BP?

    Hello Gurus,
    We have a requirement to mask the initial 5 digits of SSN number when displayed in the Identification Number field in the Identification tab of BP transaction. What is the best way to go ahead with this enhancement?
    We do not want to encrypt the data at the database level. Just encrypt at while displaying SSN Number on BP transaction.
    If anyone has carried out such enhancement, would appreciate if you can share how you did it?
    Thanks to all in advance,
    Shyamak

    Shyamak,
    This is for CRM -
    Go the PBO of the screen that has identification details. In a suitable PBO module, you can implement and implicit enhancement point and change the data in internal table.
    In my system it is function group BUD0. It would be same in yours as well. Screen is 1520 for me, it may be something else for you. I would have done in module - 'pbo_1520'. Do it at the end of this module. Internal table name GT_BUT0ID
    You need to so something similar in ECC
    Cheers
    Niraj

  • How to mask SSN?

    I want to be able to mask a SSN that is displayed on a Form. For example, the user would enter nine digits for the SSN, but when displaying on the form and for printing purposes the field gets masked as ***-**-9999 for security purposes. When saving the SSN to the database the entire nine digits are captured.
    I tried to manipulate the Validation Pattern in the Display tab for that object to something like text{***-**-9999}, but nothing seems to work there. Has anyone else tried to do something similar? Any help is appreciated.
    Thanks,
    Mike

    Hi Mike,
    Patterns aren't intended to perform this kind of character replacement. Here is some code that will do the trick - the only catch is you will have to add a hidden field to hold the SSN for binding.
    I created 2 fields, form1.page1.subform1.ssnMasked and form1.page1.subform1.ssn. The exit script on ssnMasked is as follows:
    // form1.page1.subform1.ssnMasked::exit - (JavaScript, client)
    if (form1.page1.subform1.ssnMasked.rawValue != null) {
      var ssn = form1.page1.subform1.ssnMasked.rawValue;
      var regExp = /^(\d{9}|\d{3}-\d{2}-\d{4})$/;
      if (regExp.test(ssn)) {
        regExp = /^\d{9}/;
        if (regExp.test(ssn)) {
          this.rawValue = "***-**-" + ssn.substring(5,9);
          form1.page1.subform1.ssn.rawValue = ssn;
        else {
            this.rawValue = "***-**-" + ssn.substring(7,11);
            ssn = ssn.substring(0,3) + ssn.substring(4,6) + ssn.substring(7,11);
            form1.page1.subform1.ssn.rawValue = ssn;
    else {
      xfa.host.messageBox("SSN must be in the form 123-45-6789 or 123456789.","SSN Error",0,0);
      xfa.host.setFocus("form1.page1.subform1.ssnMasked");
    You can enter the SSN in form1.page1.subform1.ssnMasked as 123-45-6789 and 123456789, otherwise validation fails. If validation passes, both fields are re-constructed accordingly. The field for binding, form1.page1.subform1.ssn, will be in the format 123456789.
    Steve

  • Disable ssn field in distribution model for e-recruiting

    We are running e-Recruiting 3.0 as a stand alone, and moving HR master data using ALE.  The only problem is that the client does not want to have SSN in the e-Recruiting system.  Is it possible to filter out SSN within the distribution model, if not where is it stored in e-Recruit so we can mask it after it is moved over.
    Thanks,
    Alex

    Hi Alex:
    Follow this path in IMG path
    SAP Netweaver --> Application Server  -->IDoc Interface/ALE --> Modelling and implementing Business processes --> Converting data between sender and receiver
    Follow the steps there and you can do it.
    Please award points if Helpful.
    Thanks
    Venkat

  • Creating a mask for field input

    I have a cfinput that requires the serial number for a piece of equipment.  The number is always something like J123M456789 where the J or the M could be any letter and the 123 and 456789 could be any number that is 3/6 characters.  The code i am using for my input is as follows:
    <cfinput type="text" name="IDnumber" message="You must enter an 11 character meter number" mask="A999A999999" validateat="onSubmit" validate="maxlength" required="yes" class="SERIAL"id="IDnumber" maxlength="11" width="240" minlength="11">
    I am still able to enter any number, any which way i choose. 
    Can anyone help?

    Woops, my bad
    Some of the validation is working.  It is forcing me to input a letter, 3 numbers, a letter and then numbers again.  The trouble is it will let me submit at any time.  In otherwords if I place 11 characters in the text field, they must be in the proper format however i cant get it to force me to enter exactly 11 characters.
    HELP!!!!!

  • Encrypting SSN Field as part of Legal Requirement

    Hi Members
    There are 2 legislations that govern Encrypting of Personal Information data especially  SSN Numbers  : 1) Sarbanes-Oxley, Section 404 & 2) SB 1386 of California. Both of these  are focused on ensuring that the confidentiality of customer information is preserved. To comply with these regulations the  SSN information being stored in vendor Master and  other system areas in SAP  needs to be encrypted . Around this requirements I have few questions
    Has SAP has solution for this?
    Has anyone developed any Custom Solutions implemented to comply with these Regulations of Personal data ?
    If you go about doing Encryption similar to the one used for Credit Cards ( PCI Standards)  for the Vendor master Field  LFA1-STCD1, this field  length needs to be increased from 16 to 26  or  more. Has some one has experiences or faced issues while implementing  this change ?
    Would appreciate if some one could share their Expertise / experience around these requirements and how they have handled that in their SAP Systems
    Thanks

    hi,
    According to me you can enhance the 0Material_attr to bring the required information from ECC.
    But before enhancing anything ask func consultant or business below ques.
    1) will these unit entry will get created in MARM for any material at the creation of material or it will get updated later on
    2) will this unit value get change for any material during its entire life
    If any of above que ans is yes then how wud u manage in transaction data if unit get changed.
    For that u need to apply feedback concept in transaction dso.
    Regards,
    Ashish

Maybe you are looking for

  • WRT54G Router - Internet connection issues using the Ipod touch

    Ok, first - here is my setup. I've got the router hooked into the modem, with the desktop computer hooked directly into the router.  I've got my laptop running off wireless internet, and I've got an ethernet cable connecting through my laptop to an x

  • 785GM-E65 can´t install windows or format HDD

    i just bought this board and install it with some of my older pc components including my 1TB HDD, it used to have my old windows 7 installation. I installed this board and boot on my old windows 7 installation but when windows logo appear it automati

  • Can't get mic audio into PP CS5.5

    I'm trying to get PP to record audio from a mic. Everything is registering input including studio audio monitors and the mac's internal audio meters are bouncing, but nothing is registering in PP. Here is the setup: Shure SM58 xlr to dbx mic preamp x

  • To remove the block created by TOP_OF_PAGE event in ALV

    hello All, i have added some code to modify the subtotal in ALV and that code has been added in the TOP_OF_PAGE event of the ALv . and in that case , a blank block is added on the top of the ALV that is consuming almost one third space of  the  scree

  • Internal software error.. WHY WHY WHY?!

    I just exported an MPEG2-DVD out of After Effects. Simple. I imported the video, made it a timeline. Simple File>Build>Disc. Simple INTERNAL SOFTARE ERROR "VIDEO-1" HAS AN ERROR AT 00:00:00:00 WHY?! Why cant encore get something as simple as burning