Online Tutorials & Training Materials | STechies.com
Register Login

How to validate data input in PA30 (Maintain HR Master Data)

|| || 4

How to validate data input in PA30 (Maintain HR Master Data)
Stechies

Dear Friends,

I am doing PA30 (Maintain HR Master Data) , entry Personnel no. (e.g. 1733), typing Infotype 2001 (Absences) and select Sty 1040 Maternity Leave  ( in SPRO -> Time Management -> Time Data Recording and Administration -> Absences -> Absence Catalog -> Define Absence Type ). then click Create button to Create Absence.

I want to validate data input when click Create button, If the Gender of 1733 = female  it can be created absence but when the gender is male it can't be processed.

Or we could show the message "Select Error"  after selecting Subtype Maternity Leave if the gender = male

I am sorry for my english, hoping your help.

Thanks in advance,

Ferry


Comments

  • 01 Oct 2010 6:32 am
    You can use the user exit PBAS0001.
  • 01 Oct 2010 8:49 am
    You can write coding in BADI HRPAD00INFTY in method BEFORE_OUTPUT ...

    IF sy-tcode = 'PA20'.
    IF IPSYST-IOPER = 'DIS'.
    ... write your coding ...
    endif.
    endif.

    Anil Roy
  • 21 Dec 2010 3:03 pm
    Hi,

    Why are you going so far in using a User exit and other stuffs.

    While there is a standard Config in SAP with all the required ERROR Messages.

    Follow the below path:

    Spro / Time Management / Absence / Special Absence Catalog / Maternity Protection - Here you define all your requirements.

    It will take care of your requirement.

    Rgds

    Sethukarasu Rajendran
  • 05 Jan 2017 11:59 am

    Can some one help with the detailed example of PA30(CONFIG) asap please.