cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Search function in PA30

Former Member
0 Kudos

Hi All

I have a data protection issue with the search functionality. As of now whenever you do a search in PA30 the number, name and Date of Birth shows up. Is there a way I can restrict this while searching for an employee. This is getting to be a little bit of an issue.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

ted_dinh
Active Contributor
0 Kudos

To suppress birth date from showing up in search help (e.g. PREMN), you could modify the search help by setting 'SPOS' for field GBDAT to 0. Alternative way would be to copy this search help to custom search help and do the same thing. Then turn off  this SAP specific search help.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi All

Thank you for your answers. I did try the methods that were suggested. However the easiest method was to go to the search help and select the search that this value is applicable.

In this case I tried the First name last name and removed the GBDAT value. The seach showed up with no Date of birth. However I am trying to see if I can input a default value as there is a place for that. So far have been unsuccesful.

@ Judson - Sorry for posting in the wrong section.

Puneet_Gupta
Contributor
0 Kudos

Hi Sudhir,

Looks like the main issue is with search helps PREMN and PREMG.

You have multiple options here depending on your requirement.

  1. If you want to supress that search help tab all together (PREMN and PREMG), you can implement the BAdI HRPAD00_PREM. An example implementation class is provided CL_EXM_IM_HRPAD00_PREM.
  2. Enhance the function module HRMC_PREM_EXIT_A to put in your custom logic. Caution on this one as it is used by many tabs other than PREMN and PREMG.
  3. Copy PREMN to ZPREMN and make the necessary changes. Include ZPREMN in the collective search help PREM and mark PREMN as hidden, the same for PREMG

- Puneet

Former Member
0 Kudos

Hi Sudhir,

You can restrict the search functionality with the help of authorization object P_ORGIN.

Normally we have an filed AUTHC and if we provide the value as 'M' the user can able to view the data with the help of F4. If we didn't provide the value as M the user can't able to view the data.

Please note that the searched data will provide only the list to personal area which you represent in the field PERSA.

Kindly revert back if you need any other details and appreciate me if it is useful.

Former Member
0 Kudos

What does this have to do with Business ByDesign

Former Member
0 Kudos

Hi,

Can you provide your scenario. So that i will explain on the same.

Former Member
0 Kudos

Who are you asking? I'm trying to find out what this has to do with ByDesign.