PA40 Exit

Hi Experts,
  When we execute the transaction PA40, we also provide a reason for action.
  I require an exit in which that value is caught.
  Is that value there in PBAS0001?
  If not any other exit??
Thanks and Regards,
Ravi

Here are the BADI and EXIT for the dev class of PA40
SAP extension name/Enhanced               
     BADI          
          HR_F4_GET_SUBTYPE     HR: Entry help for subtypes
          HR_FAST_ACTION_CHECK     Check fields on the fast entry screen
          HR_INDVAL     HR: Indirect wage type valuation
          HR_SET_PKGAB     
          HRPAD00_ADRS     HR: Address formatting
          HRPAD00_PAPM     Definition of User Exit for Collective Search Help PAPM
          HRPAD00_PREM     Definition of User Exit for Collective Search Help PREM
          HRPAD00AUTH_CHECK     HR: Authorization Check
          HRPAD00AUTH_RECORD     Spanish Data Privacy Law: Exit for Recording
          HRPAD00AUTH_TIME     Time logic in the PA authorization check
          HRPAD00INFTY     Update / Infotype maintenance
          HRPADUS_PBAS_0001     Customer Exit for Message handling
     HRPBAS01          
          EXIT_SAPLRPIN_001     User Exit for HR Master Data
     HRPC0001          
          EXIT_RPDBPC00_001     PC Download Authorization for HR Reports with Log. Database PNP or PCH
     HRRPAI01          
          EXIT_SAPLRPAI_001     User Exit for HR_ENTRY_DATE
          EXIT_SAPLRPAI_002     User Exit for HR_LEAVING_DATE
     PARA0001          
          EXIT_SAPLPARA_001     Exit to Determine the Number of Periods (Feature 'PFREQ')
     PARA0002          
          EXIT_SAPLPARA_002     Exit for Calculating Salary Percentage from IT0008 "Basic Pay"
          EXIT_SAPLPARA_003     Exit for Calculating Salary Percentage from IT0014 "Recurr. Payments/Ded."
          EXIT_SAPLPARA_004     Exit for Calculating Salary Percentage from IT0015 "Additional Payments"
     PBAS0001          
          EXIT_SAPFP50M_001     Customer Default Values for Personnel Administration and Recruitment
          EXIT_SAPFP50M_002     Customer Checks for Personnel Administration and Recruitment
     PBAS0002          
          EXIT_SAPMP50A_001     Personnel Administration Menu: Function for Input of Personnel Number
     PBASRP01          
          EXIT_RPMREP00_001     Determine Log Report
Check action type in table T529A, reason in table T530.
Regards

Similar Messages

  • User exit for save data in T.code PA40 ABAP-HR

    Hi Expart,
    what is the user exit which is trigger when we save the data through pa40 transaction which check the latest update in the database.
    Kindly give me exit name .

    Hi Vikash ,
    Please refer to below Exits :
    HRPBAS01            User Exit for HR Master Data
    HRPC0001            HR: PC download authorization
    HRRPAI01            User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
    PARA0001            Enhancement for Determining the Number of Periods
    PARA0002            Enhancement for Calculating Annual Salary; IT0008,14,15
    PBAS0001            PA: Pers.Admin./Recruitment: Default values and checks
    PBAS0002            PA: Enhancements for Personnel Administration - Menu
    PBASRP01            PA: User exit distributed reporting
    Hope this will help you.
    Regards,
    Nikhil

  • User-exit for autopopulate nickname field in pa40

    Hello Experts,
    In transaction PA40 Create Personal data there is a screen field named Nickname which is Mandatory.
    I want to autopopulate this nickname field when i enter first name last name, the first name field should enter the nickname.
    Is there any user-exit for such a requirement.
    Thanks in advance,
    Thanks & Regards,
    Nikhil K.

    Hi Nikihil,
    You can use the User Exit that you identified but the function exit to use is EXIT_SAPFP50M_001. This is one you should use to default values in infotypes and the EXIT_SAPFP50M_002 is used to do checks and not manipulate the valuse. This is one of the right ways to do it and I have implemented it before and it works fine. You may want to call the following  methods to get current Infotype values from the screen and the proposed values to be updated with.
    CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
                  EXPORTING
                    prelp =
                  IMPORTING
                    pnnnn = .
    and
    CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
                    EXPORTING
                      pnnnn =
                    IMPORTING
                      prelp = .

  • BadIi / exits for PA20, PA30 and PA40

    Can someone help me know BadIi / exits for PA20, PA30 and PA40 transaction.

    Hi Megha..
                     Please refer this BADI ... HRPAD00INFTYDB this may fulfill your needs
    Or try this..
    Go to SE18 and search for the BADI names starting with HR*
    There you'll see that HRBEN BADIs refer to benefits, HRHAP BADIs refer to appraisals, HRPAY BADIs refer to payroll.
    For OM BADIs please search as RH*
    For userexits there is a zprogram  code I written below thru which u can find userexits for particular transaction codes..
    *& Report  ZFIND_USEREXIT
    REPORT ZFIND_USEREXIT NO STANDARD PAGE HEADING.
    TABLES : TSTC, TADIR, MODSAPT, MODACT, TRDIR, TFDIR, ENLFDIR.
    TABLES : TSTCT.
    DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA : FIELD1(30).
    DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS : P_TCODE LIKE TSTC-TCODE OBLIGATORY.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    IF SY-SUBRC EQ 0.
      SELECT SINGLE * FROM TADIR WHERE PGMID = 'R3TR'
                       AND OBJECT = 'PROG'
                       AND OBJ_NAME = TSTC-PGMNA.
      MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
      IF SY-SUBRC NE 0.
        SELECT SINGLE * FROM TRDIR WHERE NAME = TSTC-PGMNA.
        IF TRDIR-SUBC EQ 'F'.
          SELECT SINGLE * FROM TFDIR WHERE PNAME = TSTC-PGMNA.
          SELECT SINGLE * FROM ENLFDIR WHERE FUNCNAME =
          TFDIR-FUNCNAME.
          SELECT SINGLE * FROM TADIR WHERE PGMID = 'R3TR'
                             AND OBJECT = 'FUGR'
                             AND OBJ_NAME EQ ENLFDIR-AREA.
          MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
        ENDIF.
      ENDIF.
      SELECT * FROM TADIR INTO TABLE JTAB
                    WHERE PGMID = 'R3TR'
                      AND OBJECT = 'SMOD'
                      AND DEVCLASS = V_DEVCLASS.
      SELECT SINGLE * FROM TSTCT WHERE SPRSL EQ SY-LANGU AND
                                       TCODE EQ P_TCODE.
      FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
      WRITE:/(19) 'Transaction Code - ',
           20(20) P_TCODE,
           45(50) TSTCT-TTEXT.
      SKIP.
      IF NOT JTAB[] IS INITIAL.
        WRITE:/(95) SY-ULINE.
        FORMAT COLOR COL_HEADING INTENSIFIED ON.
        WRITE:/1 SY-VLINE,
               2 'Exit Name',
              21 SY-VLINE ,
              22 'Description',
              95 SY-VLINE.
        WRITE:/(95) SY-ULINE.
        LOOP AT JTAB.
          SELECT SINGLE * FROM MODSAPT
                 WHERE SPRSL = SY-LANGU AND
                        NAME = JTAB-OBJ_NAME.
          FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
          WRITE:/1 SY-VLINE,
                 2 JTAB-OBJ_NAME HOTSPOT ON,
                21 SY-VLINE ,
                22 MODSAPT-MODTEXT,
                95 SY-VLINE.
        ENDLOOP.
        WRITE:/(95) SY-ULINE.
        DESCRIBE TABLE JTAB.
        SKIP.
        FORMAT COLOR COL_TOTAL INTENSIFIED ON.
        WRITE:/ 'No of Exits:' , SY-TFILL.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'No User Exit exists'.
      ENDIF.
    ELSE.
      FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
      WRITE:/(95) 'Transaction Code Does Not Exist'.
    ENDIF.
    AT LINE-SELECTION.
      GET CURSOR FIELD FIELD1.
      CHECK FIELD1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST   SCREEN.
    This will surely help u.
    Edited by: Jhings on Jan 29, 2011 11:35 AM

  • Reg: User exits used in pa40 and pb10

    Hi Experts,
    I need to find user exit in pa40 and pb10 main program ,where i can capture fields like RCINS (vendor ID) and offid (advertisement ) and need to update applicant details  into my z table.

    Try the one in with +: Both of Tcodes have Same user Exits
    Exit Name           Description
    + HRPBAS01          User Exit for HR Master Data*
    HRPC0001            HR: PC download authorization
    HRRPAI01            User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
    PARA0001            Enhancement for Determining the Number of Periods
    PARA0002            Enhancement for Calculating Annual Salary; IT0008,14,15
    + PBAS0001            PA: Pers.Admin./Recruitment: Default values and checks*
    PBAS0002            PA: Enhancements for Personnel Administration - Menu
    PBASRP01            PA: User exit distributed reporting
    PBAS0004            Spanish Data Privacy Law: User Exit for Recording
    Regards
    Shital

  • User exit on PA40

    Hi...
    I want to put a check on PA40 based on RFPNR.
    can somebody let me know if there is any userexit or BADI on PA40 where I can access RFPNR... in the regular HRPAD00INFTY and PBAS0001 I am not able to access RFPNR.
    BR,
    Ram

    Hi Praveen ...
    Thanks for you quick reply...
    we do not have the concurrent employement activated...
    and while hiring an employee for other country...
    we will fill the existing employee number in the reference personnel number field i.e. Q0000-RFPNR
    and want to see if this employee number belongs to some employee group which can not have multiple assignments
    we want to put a error message.
    but as the RFPNR is not available in P0000 i am not able to access it in HRPAD00INFTY or PBAS0001.
    BR,
    Ram

  • PA40 user exit?

    Hello,
    i want to achieve the following:
    for the personnel action Family event, when the user selects a reason (in this case number 09, decease of a child), i want a pop-up to appear so that the user can select the name from a list.
    but i don't know where to put the call screen. is there a user exit available for this?
    please help me.

    Hi dave,
    1. In that case, infotype 0000 will come up .
    2. use exit PBAS0001
       in that use the fm
      EXIT_SAPFP50M_001 for PBO
    EXIT_SAPFP50M_002  for PAI
    3. this exit is common for all infotypes
    4. hence, u can detect which infotype is using
       CASE INNNN-INFTY.
      WHEN '0000'.
    5. To convert the general innnn to p0000 structure,
       use like this
           DATA  : P0000 LIKE P0000.  
          CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
          EXPORTING
            PRELP = INNNN
          IMPORTING
            PNNNN = P0000.
    regards,
    amit m.

  • Exit for pa40

    In PA40, when I execute hiring action, I am getting a pop up with Personnel data details like Title, First Name, Last Name, Date of Birth,
    i want to validate last name and first name like no special character should come.

    Try with Badi HRPAD00INFTY.
    Regards,
    Andres.

  • Field data change-User exit in PA30 & PA40

    Hi All,
    I wants to execute an rfc with following data, whenever changes maid in following fields.
    P9005/ZFIELD,    PA0002/NACHN, PA0002/VORNA,  PA0002/CNAME,
    PA0000/STAT2,   PA0041/DAR01,  PA0041/DAR02,   PA0041/DAR04,
    PA0008/TRFGR,  PA0008/TRFST,  PA0001/WERKS, HRP9103/ZZORG, PA9008/WRKLO, PA0041/DAR01
    Please guide me which user exit i can use?
    Or any other idea by which i can send those changes to XI.
    Thanks in advance

    Ok I found user exit PBAS0001 will solve all except one.
    HRP9103/ZZORG field.(field of PP02)
    null

  • Which  is the right enhancement to trigger a mail automatically in pa40

    hi...
    i am working with pa40 (personal actions)..
    so here in 2000 screen ...
    if i click on save button, one mail should be triggered and sent it  to that corresponding  pernr mail id while i was updating
    the start date of pernr ..
    so can any body help me..
    to achieve this requirement ..
    i want to know that which enhancement is suitable...
    for that one...
    thank you for reading this ...
    Moderator Message: Why dont you put some effort from your end in finding out the right EXIT/BADI. SAP has some standard procedures for these enhancements. Employ them and help yourself.
    Edited by: kishan P on Nov 16, 2010 9:15 AM

    Hi Eros,
    Just a confirmation, did you encounter any issue (get error message) when create the new form and save it?
    à
    But this new form isn't distributed automatically to all the printers.
    Did you mean that click
    Devices and Printers in Control Panel, click a printer and select “Print server properties” option, and then didn’t find the new created form in Forms tab in Print server properties panel?
    Please open Print Management, navigate to the Print Server and click Forms tab. In the right panel, did you
    find the new form which you created?
    If anything I misunderstand or any update, please don’t hesitate to let me know.
    Hope this helps.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • HR_INFOTYPE_OPERATION does not activate Exit ZXPADU02

    Hi Guys,
    We have a Portal with the option to delete a dependent in infotype 0021. This is done, and goes to approval. At the time the manager aproves, the dependent is deleted. But it is not passing though user exit ZXPADU02 and I'm not able to capture this. I know there is PCL4, and it is getting logged there, but, as They use the exit to capture the information I would not like to change the process. Please any help!
    Hhanks!

    Hi,
       Check how the dependent is deleted , if you are using FM HR_INFOTYPE_OPERATION or any other FM , it doesn't go thru
       ZXPADU02. Only PA30 or PA40 goes thru the user exit.
    Regards,
    Srini.

  • PA40 doesn't call bespoke feature ZPA01?

    There is a bespoke feature ZPA01 which was created some years ago and which is now not working when using transaction PA40.
    I have tried debugging the program for this i.e. /1PAPA/FEAT100ZPA01, but this doesn't even stop at my breakpoint which means that this feature is somehow not even accessed. The feature is active, and to make sure i have reactivated it anyway, but to no avail.
    Anybody had this situation before?

    Hi Glen,
    You can check user-exits ZXPADU01, ZXPADU02, ZXPADU03.
    And you can look at dynamic actions table t588z too, there may be a subroutine to trigger feature after IT0000 recorded.

  • Create a personnal number in PA40

    Hi all,,
    In PA40 tcode we have personnel number(RP50G-PERNR)..so that number is unique...and in LFB1 table we have LIFNR and PERNR(Personnel Number) how are they linked...
    my problem is whenever a user creates a personnel number in PA40..it should be transferred to FK01...so do we need to link PERNR in LFB1 to RP50G..but RP50G is a structure..where does PA40 values are stored...and how to map using user exit EXIT_SAPFP50M_002..pls help

    Post answered

  • User-Exit at Save for KL01

    Hi,
    Is there any user-exit at save for transaction KL01.
    Here is my requirement.
    Where ever am employee is hired in HR ( transaction PA40; Action = Hire) i have to automatically create an Activity Type ( t.code : KL01 ). I am doing this in user-exit PBAS0001, component EXIT_SAPFP50M_002 on HR side.
    The next this is, once activity type is created using transaction KL01, i have to automatically trigger a activity type planning, transaction KP26.
    So, i need a user exit at Save in transaction KL01, so that i can trigger KP26 from there. I found one exit COOMKS02, but i its not triggeting from KL01.
    Does any one know any user-exit in KL01 which trigger at save. Please let me know
    Thanks,
    Pratik

    Hi Sharad,
    Thanks for your reply.
    I always have an option for executing both KL01 and KP26 fron PBAS0001, but what i was thinking that if there is any exit available at save in KL01, i can trigger KP26 from there.
    If i could not find any exit, i will call both KL01 and KP26 from PBAS0001 itself.
    Thanks,
    Pratik

  • Problem with a user exit PBAS0001

    Hi Experts,
    We have a new sand box in ecc6. when I go to any sandbox or production in 4.6c system transaction pa40 runs fine.
    I slected change of pay in new sandbox ecc6 through pa40, but it is throughing with an error stating
    The current ABAP program "SAPFP50M" had to be terminated because it has        
    come across a statement that unfortunately cannot be executed.                                                                               
    The following syntax error occurred in program "SAPLXPAD " in include "ZXPADU02
      " in                                                                          
    line 22:                                                                       
    ""I0028" and "INNNN" are not mutually convertible. In Unicode programs,"       
    " "I0028" must have the same structure layout as "INNNN", independent o"       
    "f the length of a Unicode character."                                         
    The above error is found in user exit PBAS0001 with
    EXIT_SAPFP50M_001
    EXIT_SAPFP50M_002
    can anyone let me know how to handle this to correct in new sand box to run as normal.
    Thanks
    Ravi

    Hi Ravi,
    After release 5 due to unicode the structure innnn and Pnnnn are not compartiable, hence move statement ll not work.
    Use the below methods for conversion. Point if helpful.
      MOVE innnn TO gs_0041.
    PERFORM MOVE_INNNN_TO_STRU USING INNNN gs_0041.
    FORM MOVE_INNNN_TO_STRU  USING    P_INNNN
                                      P_GS_0041.
      CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
        EXPORTING
          PRELP  = P_INNNN
        IMPORTING
          PNNNN  = P_GS_0041.
    ENDFORM.                    " MOVE_INNNN_TO_STRU
          MOVE gs_0041 TO innnn.
    PERFORM MOVE_STRU_TO_INNNN USING gs_0041 INNNN.
    FORM MOVE_INNNN_TO_STRU  USING    P_INNNN
                                      P_GS_0041.
      CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
        EXPORTING
          PRELP  = P_INNNN
        IMPORTING
          PNNNN  = P_GS_0041.
    ENDFORM.                    " MOVE_INNNN_TO_STRU
    Br/Manas

Maybe you are looking for

  • How to change sorting in column view in Maverick

    I understand how to change the view and then "arrange by".  In my columns, they list from oldest to newest.  I don't see how to reverse that.  I want newest on top.  Also, how do I set the column width to what I want and save for all?  I can adjust t

  • Why are arial narrow fonts unavailable in photoshop cc

    These fonts are installed in my Windows Fonts directory but dont show up in PS.

  • HTMLLoader.pdfCapability showing "wrong" error. Help?!

    Hello all, Just started trying to use the AIR HMTL component with its HTMLLoader. Tried to load/view a pdf doc. Seems to recognize the doc, but all it displays is a black region. In other words, the HTMLLoader area goes from white to black after atte

  • BPS_WB: Update on change

    Hi, we have BW30B/SEM31B, BW SP25/SEM SP24. We have several planning layouts for the web. On my web application (web interface builder) there are two dropdown list boxes for variable a and b. b is an exit variable with a function module. Now we need

  • Accessing a web service in ESB.

    Hi, The web service is designed in BPEL..... how to access that web service in ESB?