we have written a begin user exit for HR14 to avoid the users from adding any new payrates for some pay codes, we want the users to use our custom forms to make any changes to pay rates. This works fine in LID, for some reason the user exit is never triggered from portal. we are on 803 env and 810 apps on a windows server. Is it possible to animate a program from portal? i have never done it before. Any info on this would be very helpful. Thanks
Balaji , Actually there is a "job log" for online programs too. It can easily be unnoticed because it is usually empty, and it is deleted automatically and quickly. You can see one for sessions that are still in progress and occasionally it contains a useful error message.
Here is the HR14 user exit that we have in place. HR14BS1-TRANSACTION SECTION. HR14BS1-START.
DISPLAY "***** HR14 EXIT ROUTINE ***** ". PERFORM VARYING I1 FROM 1 BY 1 UNTIL (I1 > 14) OR (CRT-ERROR-NBR NOT = ZEROES) IF (HR14F1-LINE-FC (I1) = "A") IF (HR14F1-PRR-PAY-CODE (I1) > "599") AND (HR14F1-PRR-PAY-CODE (I1) < "700") AND (HR14F1-PRR-PAY-CODE (I1) NOT = "630") AND (HR14F1-PRR-PAY-CODE (I1) NOT = "631") AND (HR14F1-PRR-PAY-CODE (I1) NOT = "632") AND (HR14F1-PRR-PAY-CODE (I1) NOT = "633") AND (HR14F1-PRR-PAY-CODE (I1) NOT = "634") AND (HR14F1-PRR-PAY-CODE (I1) NOT = "635") AND (HR14F1-PRR-PAY-CODE (I1) NOT = "630C") AND (HR14F1-PRR-PAY-CODE (I1) NOT = "631C") AND (HR14F1-PRR-PAY-CODE (I1) NOT = "632C") AND (HR14F1-PRR-PAY-CODE (I1) NOT = "633C") AND (HR14F1-PRR-PAY-CODE (I1) NOT = "634C") AND (HR14F1-PRR-PAY-CODE (I1) NOT = "635C") MOVE 900 TO CRT-ERROR-NBR MOVE HR14F1-PRR-PAY-CODE-FN (I1) TO CRT-FIELD-NBR END-IF END-IF END-PERFORM. DISPLAY "***** HR14 EXIT END ***** ".
HR14BS1-TRANSACTION-END.
I have found out the root cause of the issue, this is because of a coding mistake in HR14.scr, i beleive. you can see the entry for HR14.2 below, thats why user exit is not getting triggered from portal, i beleive ags is using this feild. It baffles me as to why someone would have HR14.2 there particularly when no such form exists. ******* HR14.scr 5 <158480073> ******************************************************************************* * SCREEN HR14 (1) ******************************************************************************* $FORM HR141 S $KEYFCS C $DATAFCS AC $ADDFCS A $DELFCS $LREQFCS AC $LDATAFCS AC $LADDFCS A $FCPAIRS AA,CA,CC,CD $LINEDUPS $TITLE $ROW 8 * 1 1 2 2 3 3 4 4 5 5 6 6 7 7 7 *...5....0....5....0....5....0....5....0....5....0....5....0....5....0....5...9 *------------------------------------------------------------------------------ $SCREEN HR141 S +HR14.2][ ] ?Alternate Pay Rates +0000]
| Employee:; : ;
^Proc ] ^Pay ^Effective^End ] |FC| Pay Rate |Curr |Level|Dept |Position |Job Code |Code |Date |Date]