ESS Pa30 user exit
Hi All,
I am new to Portal and ESS but need to duplicate a user exit we have on PA30..
I.e. we have an exit that catches when a users benefits are updated and loads a custom table, as well as a few other things, i was hoping the when this info was updated on ESS that it would fire the same exit, but it does not it is directly getting updated without trapping the user exit.
So thoughts on what exit ESS calls when you update PA30 info?
Thanks!
-Jason
i did try implementing that badi, as well as HRPAD00INFTYBL
but i am finding that they only catch on the review and modify step, not the save step.. i may be using the wrong method, but i don't think so.
-Jason
Similar Messages
-
Hi ,
We are using ESS - Record Working Time service to track employee time.
We have used CATS user exits CATS0006. The standard ESS functionality calls this user exit on "check" , "save", "release" "refresh" actions on ESS screen. So the functionality in the user exit is executed multiple times and this does not work in our scenario.
Is a way to perform certain actions upon saving the time to the database from ESS ?? or how can I distinguish between "check" and "save" actions in the user exit.
Pat.Hi Pat,
You may simply check SY-UCOMM to determine which action has generated the execution of your User Exit.
The value of this system variable will provide you the information of function that was called by the user.
Cheers,
Thierry Bodson. -
ESS CATS user exit not triggered
Hi,
I am making some validations on the time sheet using enhancement cats0006, but that user exit is not triggered in the portal, in ESS.
I have my project activated through tr. CMOD, the user exit is triggered in R/3 using transaction CAT2.
What could be the reason ?
Thanks,
Stefan
Edited by: Stefan Kolev on Jan 24, 2012 10:51 AMSolved
-
Send email from PA30 user exit
When I try to send an email from user exit in ZXPADU02 it never makes it to SOST. WIll always go to SBWP outbox if I set the flag but never gets sent to receiver address.
If I paste the following code into a report it works fine. Is there some other parameter for this FM or some additional process needed to send email from a user exit?
DATA: maildata TYPE sodocchgi1.
DATA: mailtxt TYPE TABLE OF solisti1 WITH HEADER LINE.
DATA: mailrec TYPE TABLE OF somlrec90 WITH HEADER LINE.
CLEAR maildata.
REFRESH: mailtxt, mailrec.
maildata-obj_name = 'SRVC_EMAIL'.
maildata-obj_descr = 'Email test'.
maildata-obj_langu = sy-langu.
mailtxt-line = 'Test line from user exit'.
APPEND mailtxt.
mailrec-receiver = '[email protected]'.
mailrec-rec_type = 'U'.
APPEND mailrec.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_data = maildata
document_type = 'RAW'
put_in_outbox = 'X'
commit_work = 'X'
TABLES
object_header = mailtxt
object_content = mailtxt
receivers = mailrec
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.Put the function call 'SO_NEW_DOCUMENT_SEND_API1'
in a report Program & SUBMIT that report from ZXPADU02.
Arya -
PA30 User exit for Creating work tax area
Hi all,
I have a requirement to create a work tax area for personnel with allocation percent is allowed more than 100% for two particular tax areas.
For this I tried to use the user exit EXIT_SAPFP50M_002. In that user exit I have written the condition if the tax area is one of the two areas and the allocation percentage is greater than 100% then skip the validation it is doing currently. But this user exit is not called when I run the program. I ran in the debug mode to see if it is called. But it is not called.
Currently if I enter allocation percentage greater than 100% then it will fire a dialogue message box saying Work percentage cannot be greater than 100% Change existing records.
So I am wondering if it is the correct user exit to use. Can you help?
Thanks for the great help.
Sobhan.Hi sobhan,
1. ideally, this is the correct exit.
2. for all infotypes, on saving,
this is called.
3. to check,
just give some MESSAGE statement
(without any If or without any logic
and without any checking of infotype)
4. From that we will come to know,
if this is really getting called or not.
5. Also make sure, the PROJECT (CMOD)
is activated for this enhancement.
regards,
amit m. -
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 MHi,
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 -
HR-ABAP-want user exit for pa30 for creation 2001 infotype for sick leave
Hi ALL,
My requirement like, whenever I try to create a sick leave through PA30 Tcode for infotype 2001 then the has to be trigger like, if the personnel joing date will be from Feb-Dec any date of the year then, the SL will be valid for next year Jan.
Ex; Todya I am creating SL on 2001 infotype. then the condition will
If joining date not Jan 2007 then,
Leave will be valid for next year Jan 2008.
So, let me know is there any user exit for this.
Thanks In advance.
J.PFind myself
-
User exit for salary calcuation through PA30 infotype 8
Hello gurus,
I want user exit which will trigger in PA30 when we put infotype 8 for a particular employee in display or change mode.
In PBAS package i have found the exit PARA0002. In this i have 3 components. I put the hardcoded break-poin in these function modules. But when i go to PA30 infotype 8 in change or display mode. The break-point is not triggered.. or control doesn't go to that point. In CMOD i created the project and activated. But still the break-point can't be reached. What else can be done or any other exit?
Regards,
Yayati EkboteHi yayati,
For infotype 8 salary (or in fact for any other PA infotype) we can use the enhancment PBAS0001.
It has two components/FM. One for PBO i.e. for defaulting values on screen and other for PAI i.e. for checking values before saving.
EXIT_SAPFP50M_001
EXIT_SAPFP50M_002
Hope this helps.
regards,
amit m. -
Hello Experts,
I am very new to user exit and enhancement topic.
I have to perform cryptographic operations (Encryption and Decryption) on some of the fields of transaction PA30. Ex. -Wage type amount, Date of Birth and Address.
For that i have figured out user exit to do the the custom operations. Name of the user exit is "EXIT_SAPFP50M_002" I also checked the above enhancement by changing or modifying the fields. Control is successfully coming into the relevant INCLUDE program of the user exit FM EXIT_SAPFP50M_002.
My problem is if user enters or modifies basic salary as 1234.00 (User may modify other specified fields also) and saves the transaction, how to access these value in include program so that i can able to perform encryption on the value entered by user.
Any help??
Thanks in Advance,
Prashant
Edited by: Prashant Jagdale (Genius) on Dec 31, 2008 4:26 PMHI,
In this you have ZXPADU02 include na, so go into that and write your validation
TABLES prelp.
IF tclas EQ 'A' .
*Code for checking for infotype 8 when there is a change
*in the basic pay
CASE innnn-infty.
WHEN '0008'.
CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
EXPORTING
PRELP = INNNN
IMPORTING
PNNNN = I0008.
if i0008-lga01 eq '1000'. " Basic wage type in IT0008
move amount to I0008-bet01.
endif.
WHEN OTHERS.
ENDCASE.
ENDIF.
Regards,
Arjun. -
Are there any user exit for ess travel?
Hi all
I want to ask,
are there any user exit for ess travel?
and if I want to know if we already had enhancement for back-end system (sap gui)
is it automatically applicable to ess too?
many thankscheck this
ESS: BAdi for Checking Mileage
Thanks
Bala Duvvuri -
Hi all,
first of all, I'm not quite sure if this is the right forum, but I'll give it a try anyway. When using ESS / MSS Web Dynpro for entering hours in CATS it seems that none of the user exits, which were created for entering hours in CATS via SAP GUI, are 'used'.
Do we have to do some additional settings, or is this a WD problem in general, or......?
Kind regards,
Micky.Cleaning up my (unresolved) questions.
-
Hi All,
Can any one tell me is there any Badi or User exit for T-code PA30. My requirement is to give access to the Employee Infotypes(few), to only his Manager or Direct Superior, if other than superior try to access these infotypes, it should not allow even to see it.
Rgds
RamHi Sarika,
I have test implemented the HRPAD00INFTY BADi which you mentioned, but some how control is not going when I maintain the Infotype through Tcode PA30. Do I need to do any thing apart from that.
I have even tried the Structural Authroization, i made the Structural Authroizations for Position and selected Evaluation Path as B002, and assigned this to one of the Manager but still not working, Please let me know if I have to do some thing else.
Thanks
Ramakrishna -
PA30 : IT2010 & IT 0015. User exit / BADI required to retrieve BETRG value
good day to everyone,
My objective its to retrieve Amount ( BETRG) value in PA30 --> IT2010 and PA30 --> IT0015 screen.
I have tried using the User exits and Badi below. However, there are no structure to retrieve BETRG value when i am i at the IT2010 and IT0015 screen.
-EXIT_SAPFP50M_001 in enhancement PBAS0001
-badi HRPAD00INFTY
Could anyone let me know is there any way to retrieve the BETRG value or any user exit/badi available?
hope to hear from you soon.
Thank you.
Regards,
SWIn PAI of user exit ( ZXPADU02 ) you can get it easily
data i0015 like p0015.
if INNNN-INFTY = '0015'.
call method CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
exporting
PRELP = INNNN
importing
PNNNN = I0015. "here you have record of IT0015 so BETRG is also available
"cast back values to screen fields
call method CL_HR_PNNNN_TYPE_CAST=>PNNNN_TO_PRELP
exporting
PNNNN = I0015
importing
PRELP = INNNN.
endif.
Similar code can be done for IT2010
Regards
Marcin -
Editing PA30 and at the same time user exit is making update/delete...
Hi all,
I am doing a user exit for PA30.
First, i edit infotype 6 (at this point PA30 is lock) for an employee, then i click "Save". This save button will execute a user exit.
Second, this user exit i have programmed to do another delete and update done in BDC (background) for the same employee.
But this user exit does not work because the PA30 is locked in the first place before it reaches the user exit.
Please advice.
Thanks
William Wilstroth.
Please advice.Hi Amit,
Thanks for your prompt reply.
On the question 3, the reason i need to do such event is because we need to update infotype 6 subtype 90 whenever there is a create/change in that infotype 6 subtype 01.
That means subtype 90 will always be updated together with subtype 01.
I need to know whether is this feasible in my user exit that performs such above.
Please advice.
Thanks
Sincerely
William Wilstroth -
BADI'S & User-Exits for ESS Claims
Hi All,
Can anyone provide me the list of user-exits & BADI that gets triggered when claim is raised from ESS.
Example when user click's on apply button.
I want to do certain validation when employee raises the Claim from ESS.
Useful answer will be rewarded.Solved by my own
Maybe you are looking for
-
Printing graphics - URGENT!
Hi all, I am trying to send a Java2D graphics to a printer. I am reading the file name from JFileChooser. Here is my code: if(jfc.getFileFilter().getDescription() == psFileFilterDescription){ File psfile=new File(jfc.getCurrentDirector
-
Hi, I have 2 windows servers here with BI 4.0 SP2 installed on each of them and I have clustered the two CMS. Now, in CMC, I see 18 servers each for each node - so total of 36 servers that are running and enabled. ( I am talking about APS, AJS, CMS,
-
How to Remove Duplicate Plug-in's in Safari.
I have a Power Book G4 15 inch 1.5 Hz Lap top running OS X 10.4.4 and Safari Version 2.0.3 (417.8). I am connected to the internet via Verizon Wireless Broadband. I am having trouble with video streaming. In the "Installed plug-ins" area I notice tha
-
3750 not showing proper traffic statistics
A colleague of mine has a 3750 switch which he is doing routing on. He has noticed that traffic statistics are not showing using 'show interface vlan x' or using MRTG graphing. Any way to get these statistics back ? I've never seen the behaviour myse
-
Transfer Structrure Conversion
Hi , I encountered with an error regarding the source system conversion(transfer srtucture)while transpoting to the quality from the development, Example: PSA for loading the billing header data is called 2LIS_13_VDHDR_XX where XX is according to tab