User Exit PBAS0001.

In benefit, 2 dates are there enroll and eligible. In eligible date, permanent employee has to wait one month and hourly employee's waiting time is 3 months, before s/he gets entitlement. In HR enhancement PBAS0001, depending as per employee status (permanent or hourly) benefit eligibility has to be calculate. Any help if with codes will be rewarded generously.

thanks

Similar Messages

  • 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

  • Abap hr for user exit pbas0001

    hi Experts,
    i have requirement is like  When there is a Separation or Retirement Action processed for an employee, take the begin date of the Action minus 1 day, and use this date as the End Date (ENDDA) for the infotypes that need to be automatically delimited.  the infotypes are 0000,0001,0002,00006,0008,0021,0023 .
    please  help me out . please provide soultion that would be great .
    can you give technical details where we can write code after triggering .
    regards,
    bhushan

    This can be achieved using Dynamic Actions. Please go through the SAP Help.
    ~Suresh

  • Update infotype from user exit

    Hi,
    My requirement is to update a infotype from a user exit. I have a internal table with some records created in the user exit pbas0001. Now i need to update these records in the infotype 2001(absences). I tried using HR
    INFOTYPEOPERATIONS directly from the user exit and it didn't work. If i create a include program and create a subroutine within the include program and call it in the user exit still i am getting a error message. How can update the infotype from the user exit.
    Can someone send the example code for how to export the internal table from the user exit and import it in another program and update the infotype from that prgm.

    Put the entire code in another Report & SUBMIT that report from the User exit.. this will isolate the two work processes & the Z table should get updated..
    ~Suresh

  • BADI, User Exit or Dynamic Action for Infotype 24

    Hello,
    in PA30, our HR admin team want me to write an Infotype 19 record when a user amends or creates an Infotype 24 record.
    I spent all day yesterday trying to find a solution to this.
    Can anyone please tell me:
    1) Do dynamic actions work for IT0024? - our HR admin suggest that they don't as there is no 'subtype'.
    2) Should user exit PBAS0001 (function EXIT_SAPFP50M_002) work for IT0024? I have tried putting in a test display which should appear on save of IT0024 and this does not appear to work.
    3) Will BADI HRPAD00INFTY work? If so, does anyone have an example of code that tests the 'old' IT0024 record before modification - the documentation does not help too much with a good example. I'm planning to use this as a last resort due to the need for an access key.
    Many thanks in advance,
    Keiron.

    The BADI is probably the best way to go.  You should not need an access key - you do not put your code in the BADI, but instead create an implementation of it in a Z name range.  Go to SE18 for the BADI and display it, and select menu option implementation--->create.  Give a Z name and then you will have a place to put your code.  You can double click on the methods shown in your implementation to get to the ABAP code editor.
    Exit PBAS0001 should also work - put a breakpoint in it to see if it is called.
    Both the BADI and Exit are called at almost the same point in the SAP PA30 code - however the BADI is called in some cases when the exit is not.  It is outside an additional IF test in the SAP code.
    Andrew

  • 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

  • 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

  • User exit problem

    Hi,
    My requirement is to stop deletion of infotype 2001 record for some specific users. I am not able to achieve this through authorization, as through authorization if a user is given create access automatically he gets modify and delete access.
    So, I have tried EXIT_SAPFP50M_002 user exit from PBAS0001 enhancement.
    The problem with this user exit is that it is triggered for all infotypes. Since I want this to execute for only infotype 2001 and not for all infotypes in PA30. Anyone have an idea how to achieve this.
    Following is my code in exit:
    Case sy-ucomm.
      When 'UPDL'.
        Message 'Record cannot be deleted.' Type 'E'.
    EndCase.
    Thanks,
    Waqas Rashid
    Moderator message: please use more descriptive subject lines for your posts.
    Edited by: Thomas Zloch on Jan 26, 2011 3:48 PM

    Hi,
    Try this.
    CASE INNNN-INFTY.
    WHEN '2001'.
       "Your code comes here.
    ENDCASE.
    Regards,
    Jovito

  • User Exit Hiring

    Hi , I am trying to implement a userExit for Hiring Action . Lets Say the user has entered data in first 3 screens for It 0000 , It0001 .Now at screen for It00002 lets say he cancelled or exitted , then we have to delete the records PA0000,PA0001,PA0302 . I tried PBAS0001->EXIT_SAPFP50M_002 and Badi
    HRPAD00INFTY->AFTER_INPUT , but i am unable to do it.
    class cl_hr_pnnnn_type_cast definition load.
    if sy-ucomm eq 'EEND' or sy-ucomm eq 'E'.
      if ipsyst-massn eq '01'.       '" 01 hiring action
        if innnn-infty = '0002'.
    Call FM HR_INFOTYPE_OPERATION and delete records
           break-point.
        endif.
      endif.
    endif.
    But the program never gets into this include .i checked everything ,implementation active ,the user exit triggers perfect for sy-ucomm = INS.
    Any Inputs on this ?
    Thanks,
    John.

    Hi john
    you can try out dynamic action this will work for sure.ut number once genreated will be gone.
    you can read some threads on dynamic action or in sm31enter v_t588z enter infotype 0002 . you can press F1 in any column  this will help you to create a dynamic action
    reward points if helpful

  • How to find the user exit for infotype 2013 ?

    Hi All,
    How to find the user exit in infotype 2013? i want to change the drop down list default value in infotype 2013.
    Thanks,
    Srikanth P

    reward points if useful
    User exit name is PBAS0001.
    code should be written in ZXPADU01 for PBO
    ZXPADU02 for PAI.

  • User Exit in HR-ABAP.

    Hi to all,
    Can any body help me in User-Exit in Hr-Abap. send me ur mail id i wil send u functional specs.
    Thanks
    hiddu.

    The most common enhancements for HR can be found in PBAS0001.
    Here you will find the user exits for infotypes PBO  & PAI.
    http://sap.ittoolbox.com/groups/technical-functional/sap-hr/implementing-user-exit-for-it0041-452836
    This link should help

  • User Exits for Transaction PA30

    Hi Friends,
    My Requirement:
    The changes done to the emplyoee data in PA30, should be reflected in Vendor Master database tables, is there any user exit  or any other way to do that.
    Please help me
    Regards
    Kumar M

    Hi,
    These are the EXITS and BADIs avilable for the t-code PA30
    now see which one full fill your requirment.
    Enhancement
    PBASRP01                                PA: User exit distributed reporting
    PBAS0002                                PA: Enhancements for Personnel Administration - Menu
    PBAS0001                                PA: Pers.Admin./Recruitment: Default values and checks
    PARA0002                                Enhancement for Calculating Annual Salary; IT0008,14,15
    HRPBAS01                                User exit for personnel number validation
    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
    Business Add-in
    HR_FAST_ACTION_CHECK                    Check fields on the fast entry screen
    HR_INDVAL                               HR: Indirect wage type valuation
    HR_SET_PKGAB
    HR_F4_GET_SUBTYPE                       HR: Entry help for subtypes
    HRPAD00_ADRS                            HR: Address formatting
    HRPAD00INFTY                            Update / Infotype maintenance
    HRPAD00AUTH_CHECK                       HR: Authorization Check
    Regards
    Bikas

  • Implement HR User Exits using BAPI's

    Hi,
    Please help me to implement User exits in HR Payroll (PBAS0001) using Bapis

    its BADI not BAPI.
    useful tcodes : Se18/19/80
    Regards
    Prabhu

  • 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

  • Access PSPAR in USER EXIT EXIT_SAPFP50M_001 - include ZXPADU01

    Hi, Is it possible to access PSPAR in include ZXPADU01???? (PBAS0001 Enhancement)
    I want the variable ACTIO from PSPAR.
    In debugging mode when i tried ()PSPAR-ACTIO it s working, but when i tried it in report, showing error.
    (  '(' must follewed by atleast one space ).
    Even PSPAR-ACTIO is also showing error.
    How can i get that variable. Please give full details if possible.
    Put it in other way........How can I know the action user done(create, display, change, copy??) in an user exit???
    Veeranji.

    Hi
    I believe u need to use the field-symbols, that exit transfer the field TCLAS only, so not ACTIO
    FIELD-SYMBOLS <FS> TYPE PSPAR.
    DATA: FIELD_NAME(30) TYPE C VALUE '(<MAIN PROGRAM>)PSPAR'.
    ASSIGN (FIELD_NAME) TO <FS>.
    IF <FS>-ACTIO = ....
    ENDIF.
    Max

Maybe you are looking for

  • Check Table data in Maintenance View event

    Dear all, i created a maintenance view for a customer table and a must carry out a validation over the whole table when any record is created, modified or deleted. The table has a column with percentages and after save a modification I have to verify

  • Bridge's parent application is not active

    Hi, I've suddenly come across a problem with Adobe Bridge where it isn't allowing me to open .CR2 files into Camera Raw. When I right click on an image in Bridge, an error message pops up: "Bridge's parent application is not active. Bridge requires t

  • Connecting 2 RV042 to different subnet and DSL connections

    Small office, 2 RV042, 2 DSL connections. 1 is used striclty for the business side, and the other is for our CCTV network. They also have seperate DSL connections as we have 2 external IP address for clients to connect remotely. We don't want to take

  • Notes on smartforms

    hi  all,    plz send me notes on smartforms . thanks,

  • Print multiple photos on one sheet in Photoshop Elements 11

    I want to print multiple photos on one sheet in Photoshop Elements 11 I am using Mac OS10 10.7.5  I am using Photo shop Elements 11.  Could you please help me?  New to photoshop elements.  Thanks.  Jodie