Error in new hire
Hi gurus,
when i hire any new employee through PA40 and when reach to infotype 'Organizational Assignment' it gives "RH_PM_PERNR_CHECK_DIM_CHANGE" error and i can't proceed further.
kindly help me out.
thanks,
Irfan.
Have you got the answer yet?
I am having the same issue and I can't hire a new person. I checked Company code, and all the enterprise structure and assignments. Still I can not move forward
Thanks
Similar Messages
-
Runtime error while executing New Hire action in PA40
Hi All,i am getting short dump while executing PA40 for new hire action typecan anyone look into this and guide as i am new to HCMNote: getting dump only for one user id for rest all other user id i am not getting dump.
Category ABAP Programming Error
Runtime Errors SYNTAX_ERROR
ABAP Program /1PAPAXX/HDR_21000A
Application Component Not Assigned
Date and Time 21.08.2014 14:07:03
Short text
Syntax error in program "/1PAPAXX/HDR_21000A ".
What happened?
Error in the ABAP Application Program
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 "/1PAPAXX/HDR_21000A " in
include "/1PAPAXX/HDR_21000AO01 " in
line 52:
""LV_LENGTH" has already been declared"
The include has been created and last changed by:
Created by: "HCM04 "
Last changed by: "HCM03 "
Error in the ABAP Application Program
The current ABAP program "SAPFP50M" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Please eliminate the error by performing a syntax check
(or an extended program check) on the program "/1PAPAXX/HDR_21000A ".
You can also perform the syntax check from the ABAP Editor.
If the problem persists, proceed as follows:
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
The following syntax error was found in the program /1PAPAXX/HDR_21000A :
""LV_LENGTH" has already been declared"
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
System environment
SAP Release..... 731
SAP Basis Level. 0007
Application server... "dc-ds-erp"
Network address...... "172.16.23.111"
Operating system..... "Linux"
Release.............. "3.0.13-0.27-default"
Hardware type........ "x86_64"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 1
Shortdump setting.... "full"
Database server... "dc-ds-erp"
Database type..... "ORACLE"
Database name..... "ECD"
Database user ID.. "SAPSR3"
Terminal.......... "NLC-HP"
Char.set.... "C"
SAP kernel....... 720
created (date)... "Sep 14 2013 06:16:24"
create on........ "Linux GNU SLES-11 x86_64 cc4.3.4 use-pr130820"
Database version. "OCI_112, 11.2.0.3.0, V1, default"
Patch level. 500
Patch text.. " "
Database............. "ORACLE 10.1.0.*.*, ORACLE 10.2.0.*.*, ORACLE 11.2.*.*.*"
SAP database version. 720
Operating system..... "Linux 2.6, Linux 3"
Memory consumption
Roll.... 0
EM...... 37708200
Heap.... 0
Page.... 106496
MM Used. 4666776
MM Free. 3709976
User and Transaction
Client.............. 210
User................ "HCM03"
Language key........ "E"
Transaction......... "PA40 "
Transaction ID...... "53EF470299AB5D67E1000000AC10176F"
EPP Whole Context ID.... "005056A301D11EE48A9D08B337F884E3"
EPP Connection ID....... 00000000000000000000000000000000
EPP Caller Counter...... 0
Program............. "SAPFP50M"
Screen.............. "MP000000 1000"
Screen Line......... 3
Debugger Active..... "none"
Information on where terminated
Termination occurred in the ABAP program "SAPFP50M" - in
"GET_HEADER_WITH_TCLAS".
The main program was "MP000000 ".
In the source code you have the termination point in line 146
of the (Include) program "FP50MDHD".
Source Code Extract
Line
SourceCde
116
CALL FUNCTION 'HR_HEADER_GET'
117
EXPORTING
118
DHDID = FHD_HID
119
BEGDA = BEGDA
120
TCLAS = TCLAS
121
* Es wird nur einer der folgenden 3 Parameter benutzt.
122
* Ausgewertet wird zunaechst MOLGA, dann P0001 dann PERNR.
123
* Der erste der nicht initial ist wird ausgewertet.
124
* MOLGA =
125
P0001 = P0001
126
PERNR = PSPAR-PERNR
127
IMPORTING
128
PROG = HEADER_PROG
129
DNUM = HEADER_DYNNR
130
EXCEPTIONS
131
HEADER_DEACTIVATED = 1
132
HEADER_UNKNOWN = 2
133
HEADER_GENERATE_DEACTIVATED = 3
134
HEADER_GENERATE_FAILED = 4
135
INTERNAL_ERROR = 5
136
OTHERS = 6.
137
138
IF NOT SY-SUBRC IS INITIAL.
139
* Bei Problemen gibt's eben ein leeres Dynpro.
140
HEADER_PROG = 'SAPMP50A'.
141
HEADER_DYNNR = '0090'.
142
ELSE. " NOT sy-subrc IS INITIAL. "
143
* Dann setzen wir jetzt auch noch das Datum fest.
144
PERFORM HEADER_BEGDA_SET IN PROGRAM (HEADER_PROG) USING BEGDA.
145
* Und schalten auf Uebergabe der PERNR mit globalen Variablen.
>>>>>
PERFORM HEADER_LAZY_ON IN PROGRAM (HEADER_PROG).
147
ENDIF. " (ELSE) NOT sy-subrc IS INITIAL. "
148
* Merken wie der Header heisst. Damit MPPERS00 sich erinnern kann.
149
* Wird mit Einfuehrung des Headerobjekts obsolet.
150
PERFORM REMEMBER_HEADER " "XYVPH4K015649
151
USING HEADER_PROG HEADER_DYNNR 'S'. " "XYVPH4K015649
152
ENDFORM.
153
154
* FORM RE588I *
155
156
157
158
* --> T588I_DHDID *
159
* --> T588I_MOLGA *
160
* --> T588I_TCLASImplement SAP Note 1004280.. your issue if fixed
If your issue is resolved request you to close the thread or else free feel to touch base
BR
Anil -
Short Dump while executing New Hire (action type) in PA40
Hi All,
i am getting short dump while executing PA40 for new hire action type can anyone look into this and guide as i am new to HCM.
Category ABAP Programming Error
Runtime Errors SYNTAX_ERROR
ABAP Program /1PAPAXX/HDR_21000A
Application Component Not Assigned
Date and Time 21.08.2014 14:07:03
Short text
Syntax error in program "/1PAPAXX/HDR_21000A ".
What happened?
Error in the ABAP Application Program
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 "/1PAPAXX/HDR_21000A " in
include "/1PAPAXX/HDR_21000AO01 " in
line 52:
""LV_LENGTH" has already been declared"
The include has been created and last changed by:
Created by: "HCM04 "
Last changed by: "HCM03 "
Error in the ABAP Application Program
The current ABAP program "SAPFP50M" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Please eliminate the error by performing a syntax check
(or an extended program check) on the program "/1PAPAXX/HDR_21000A ".
You can also perform the syntax check from the ABAP Editor.
If the problem persists, proceed as follows:
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
The following syntax error was found in the program /1PAPAXX/HDR_21000A :
""LV_LENGTH" has already been declared"
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
System environment
SAP Release..... 731
SAP Basis Level. 0007
Application server... "dc-ds-erp"
Network address...... "172.16.23.111"
Operating system..... "Linux"
Release.............. "3.0.13-0.27-default"
Hardware type........ "x86_64"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 1
Shortdump setting.... "full"
Database server... "dc-ds-erp"
Database type..... "ORACLE"
Database name..... "ECD"
Database user ID.. "SAPSR3"
Terminal.......... "NLC-HP"
Char.set.... "C"
SAP kernel....... 720
created (date)... "Sep 14 2013 06:16:24"
create on........ "Linux GNU SLES-11 x86_64 cc4.3.4 use-pr130820"
Database version. "OCI_112, 11.2.0.3.0, V1, default"
Patch level. 500
Patch text.. " "
Database............. "ORACLE 10.1.0.*.*, ORACLE 10.2.0.*.*, ORACLE 11.2.*.*.*"
SAP database version. 720
Operating system..... "Linux 2.6, Linux 3"
Memory consumption
Roll.... 0
EM...... 37708200
Heap.... 0
Page.... 106496
MM Used. 4666776
MM Free. 3709976
User and Transaction
Client.............. 210
User................ "HCM03"
Language key........ "E"
Transaction......... "PA40 "
Transaction ID...... "53EF470299AB5D67E1000000AC10176F"
EPP Whole Context ID.... "005056A301D11EE48A9D08B337F884E3"
EPP Connection ID....... 00000000000000000000000000000000
EPP Caller Counter...... 0
Program............. "SAPFP50M"
Screen.............. "MP000000 1000"
Screen Line......... 3
Debugger Active..... "none"
Information on where terminated
Termination occurred in the ABAP program "SAPFP50M" - in
"GET_HEADER_WITH_TCLAS".
The main program was "MP000000 ".
In the source code you have the termination point in line 146
of the (Include) program "FP50MDHD".
Source Code Extract
Line
SourceCde
116
CALL FUNCTION 'HR_HEADER_GET'
117
EXPORTING
118
DHDID = FHD_HID
119
BEGDA = BEGDA
120
TCLAS = TCLAS
121
* Es wird nur einer der folgenden 3 Parameter benutzt.
122
* Ausgewertet wird zunaechst MOLGA, dann P0001 dann PERNR.
123
* Der erste der nicht initial ist wird ausgewertet.
124
* MOLGA =
125
P0001 = P0001
126
PERNR = PSPAR-PERNR
127
IMPORTING
128
PROG = HEADER_PROG
129
DNUM = HEADER_DYNNR
130
EXCEPTIONS
131
HEADER_DEACTIVATED = 1
132
HEADER_UNKNOWN = 2
133
HEADER_GENERATE_DEACTIVATED = 3
134
HEADER_GENERATE_FAILED = 4
135
INTERNAL_ERROR = 5
136
OTHERS = 6.
137
138
IF NOT SY-SUBRC IS INITIAL.
139
* Bei Problemen gibt's eben ein leeres Dynpro.
140
HEADER_PROG = 'SAPMP50A'.
141
HEADER_DYNNR = '0090'.
142
ELSE. " NOT sy-subrc IS INITIAL. "
143
* Dann setzen wir jetzt auch noch das Datum fest.
144
PERFORM HEADER_BEGDA_SET IN PROGRAM (HEADER_PROG) USING BEGDA.
145
* Und schalten auf Uebergabe der PERNR mit globalen Variablen.
>>>>>
PERFORM HEADER_LAZY_ON IN PROGRAM (HEADER_PROG).
147
ENDIF. " (ELSE) NOT sy-subrc IS INITIAL. "
148
* Merken wie der Header heisst. Damit MPPERS00 sich erinnern kann.Hi,
Error Log: Syntax error
""LV_LENGTH" has already been declared"
please check LV_LENGTH variable declaration.
It may be declared more once! -
HR_MAINTAIN_MASTERDATA: Not Able to Create a New Hire Employee
I am trying to create a new hire employee. To do this, I use FM HR_MAINTAIN_MASTERDATA.
The requirement is to create new employee with data for IT0000 (Actions), IT0001 (Org Management) & IT0002 (Personal Data) only.
The FM is not working and the given error is "Fill in all required entry fields". When I use parameter DIALOG_MODE = 1 (stop on error), SAP stops on the infotype 0006 screen and prompts me to enter the required fields. The problem is I do not want to create employee data on infotype 0006 and the following screens after that. My intention is to create employee
data for infotype 0000, 0001 & 0002 only.
Any idea on the workaround for the problem above?
Filled the proposed_values tables with following fields:
IT0000 ***
'P0000-MASSN'
'P0000-MASSG'
'P0000-STAT1'
'P0000-STAT2'
IT0001 ***
'P0001-BUKRS'
'P0001-WERKS'
'P0001-BTRTL'
'P0001-ABKRS'
'P0001-PLANS'
'P0001-OTYPE'
IT0002 ***
'P0002-NACHN'
'P0002-VORNA'
'P0002-CNAME'
'P0002-TITEL'
'P0002-GESCH'
'P0002-GBDAT'
'P0002-NATIO'
'P0002-SPRSL'
'P0002-KONFE'
'P0002-FAMST'
'P0002-GBJHR'
'P0002-GBMON'
'P0002-GBTAG'
'P0002-NCHMC'
'P0002-VNAMC'
CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
EXPORTING
pernr = p_pernr
massn = '01'
actio = 'INS'
tclas = 'A'
begda = p_begda
endda = p_endda
*objps =
seqnr = '000'
*sprps =
*subty =
werks = 'US01'
persg = '1'
persk = 'EC'
plans = '00042933'
dialog_mode = '1'
luw_mode = '1'
no_existence_check = 'X'
*no_enqueue = 'X'
IMPORTING
return = lt_bapireturn
return1 = lt_bapireturn1
TABLES
proposed_values = lt_value.In the methode VIEKN of the class CL_HRPA_VIEKN there is a test to see if PA0003 exists before it is created.
Use the enhancement to INSERT PA0003 at the begin and to DELETE PA0003 at the end.
METHOD viekn.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1 ) Classe CL_HRPA_VIEKN, Méthode VIEKN, Début D
*$*$-Start: (1 )--------------------------------------------------------------------------------$*$*
ENHANCEMENT 1 ZDIH_APPLICATION_EXTERNE_CREAT. "active version
DATA : lw_pa0003 TYPE pa0003.
DATA : fl_pa0003 TYPE flag.
CLEAR fl_pa0003.
* If coming from Web dynpro
IF sy-cprog EQ 'SAPMHTTP' ANd pernr NE '00000000'.
* Check if the infotype 3 already exists
SELECT SINGLE * FROM pa0003 INTO lw_pa0003 WHERE pernr = pernr.
IF sy-subrc NE 0.
fl_pa0003 = 'X'.
MOVE pernr TO lw_pa0003-pernr.
MOVE '18000101' TO lw_pa0003-begda.
MOVE '99991231' TO lw_pa0003-endda.
MOVE '12' TO lw_pa0003-viekn.
INSERT pa0003 FROM lw_pa0003.
ENDIF.
ENDIF.
ENDENHANCEMENT.
*$*$-End: (1 )--------------------------------------------------------------------------------$*$*
----> original code of method <----
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(2 ) Classe CL_HRPA_VIEKN, Méthode VIEKN, Fin D
*$*$-Start: (2 )--------------------------------------------------------------------------------$*$*
ENHANCEMENT 2 ZDIH_APPLICATION_EXTERNE_CREAT. "active version
IF sy-cprog EQ 'SAPMHTTP' AND pernr NE '00000000'.
IF fl_pa0003 = 'X'.
DELETE FROM PA0003 WHERE pernr = pernr.
ENDIF.
ENDIF.
ENDENHANCEMENT.
*$*$-End: (2 )--------------------------------------------------------------------------------$*$*
ENDMETHOD. -
Hi Experts,
I am using the Standard New Hire Workflow (WS17900011) with the Generic Services for the Back end update. First level will be the HR Administrator and then need to save the data. We have initiated the process through PORTAL and successfully sent the work item to the HR Admin. Whenever we tried to execute the work item in the Portal it's giving the dump, stating as
'The exception 'CX_HRPA_INVALID_PARAMETER' was raised, but it was not caught
anywhere along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_HRPA_RESOLVE_EXCEPTION=====CP' has to be
terminated.
Then i have changed the workflow first step as SAVE and the HR Admin, if we are doing this its working fine... But as per the requirement we cant follow this...
Please kindly let me know how to proceed.
Thanks,
Srikag
Edited by: SRIKAG on Oct 4, 2011 9:04 AMHi
Try to execute the process from HRASR_TEST_PROCESS and check.also make sure that you include the program exit CL_HRASR00_POBJ_WF_EXIT in the basic data of the copies workflow template and also the task which you are sending to the workflow administrator. What is the name of the program exist class please check the standard workflow template . Might be this could be the issue.
Regards
Pavan
Edited by: Pavan Bhamidipati on Oct 5, 2011 6:58 AM -
Error Creating New User Accounts when Setting Terminal Services Attribute
We have just started receiving this error when new users are being created in our domain as part of the new hire process. Does anywhere have any pointers on where to look and what to look for?
ErrorError
com.waveset.util.WavesetException: WTSQueryUserConfig() failed - Attribute: 'Terminal Services Home Directory Drive' Error: The specified user does not exist.
Is this something that would indicate that AD isn't replicating across multiple domain servers yet, and thus when it tries to set this attibute this command isn't finding the account? If that is the case is there a way to have a retry put in?May I ask what version of IDM you're running?
There's a known bug that relates to this functionality. A quick review shows it's a pretty close match (not 100%) to what you described.
Bug 20728: Setting AD 'Terminal Services Local Home Directory' to null in IdM results in WTSSetUserConfig error
It's fixed in 8.1.0.3(or later), 8.0.0.10(or later), or 7.1.1.14(or later).
For the record, the latest IDM patches can be obtained here with valid credentials:
http://sunsolve.sun.com/show.do?target=patches/zp-Software_Network-Internet_Identity_Manager
Regards,
Alex -
11.1.2 - Workforce and CAPEX issue - Add New Hires and Add New Asset Rules
Hi All,
We are working on Oracle Fusion 11.1.2 and are using the out of box functionality for Workforce and CAPEX.
We are facing a weird issue in case of the above Modules when we try to Add a new Hire or a new Asset in the respective modules using the Add TBH Hourly , Add TBH Salary and Add Asset rules.
The Issue is sometimes the correct number of New Hires or Assets is added as specified in the prompt. For instance, if specify Number of New Hires as 5, then 5 rows of TBH are added on the web form dynamically with other employee properties populated on the form as mentioned in the prompt. However, at times this does not happen, so if I specify 5, 4 rows are added, if I specify 15, 7 rows are added and so on.
The out of box rule looks okay, we are not sure why this should happen?
Has anyone of you faced a similar issue, It would be really helpful if you can share your thoughts.
Thanks a ton in advance.
MadhaviHave you try to check the related Business Rule? In older version Add TBH menu related to a Business Rule. Never configure this module on 11.1.2 but maybe the add tbh menu related to a Business Rule or Script on Calculation Manger
-
Adding Fields to New Hire SAP Script, Text ID PAMA
Hi there,
I have successfully created a sapscript email to be sent via Dynamic Actions for the notification of New Hires and Terminations. This has been accomplished via feature M0001 (we have created two new features u2013 M00NH & M00TM), dynamic action (T588z), Business Workplace, distribution lists, etc. All are working correctly, and an email is being generated and forwarded to appropriate parties.
Now we have been asked to add extra fields to the SAP Script text for New Hire and Termination. These are text fields for Employee Group, Employee Subgroup, among others.
Our syntax has been set up as follows:
&'Employee Group: 'P0001-PERSG(02)&
&'Employee Group Text: 'T501T-PTEXT(20)&
&'Employee Subgroup: 'P0001-PERSG(02)&
&'Employee Subgroup Text: 'T503T-PTEXT(20)&
For the New Hire action, we are getting the Employee group and Employee subgroup codes to display but we are NOT getting the Employee Group or Employee Subgroup texts to display. To confuse the issue, we ARE getting these text fields to display for the Termination script. Our ABAP'er is also having difficulty determining how to bring in these fields to the New Hire script.
We have researched this website have tried the instructions given by one user..... which states that we needed to go to our SAPscript text and make the following changes:
" To get other HR data into your standard text (from SO10):
Insert > Symbols > Program symbols (now you'll see a list of print programs, and i guess this is where the ABAP grabs the data).
Highlight the one for HR Master data, and click the DDIC button.
Double click the table you need data from (e.g P0000, P0001 or P0002).
Finally select the field you want."
I have done this, but when I get to the Program symbols, I do not see a print program for HR Master Data. I only see RPUCOB02 - Processing of Qualifying COBRA Events and Letters & SAPMSSCE - SAPscript Standard Text Maintenance.
I tried to use the RPUCOB02 and inserted the text for Employee Subgroup as a test. But it did not work as the text still did not display.
The other oddity is that for the Termination sapscript text, the Employee Group and Employee Subgroup text displays correctly. To test our syntax, we then connect the Termination sapscript text to the 'New Hire' action and reran the New Hire action. The Employee Group and Employee Subgroup text fields then disappeared. So it worked when the action was a termination, but did not work when the action was New Hire.
The difference between these two actions is that the feature for the sapscript generation for New Hires is being generated upon saving of I0002 (which is created AFTER I0001) - we needed the Employee's name in the text. For the Termination action, the feature is set to generate the mail upon saving of I0001. This is the only difference between the two. But as I need the employee name to display, it seemed the best approach. I did try to generate the New Hire sapscript after saving of I0008, but had the same problem.
Does anyone know how we can add text fields to our New Hire sapscript text and actually get them to display? We would also like to display the Org Unit text (&'ORGEH_2nd_TEXT(40)&) or even the Supervisor (from the OM relationship). But they do not display for the New Hire sapscript either. And our ABAP'er is able to insert the Supervisor logic, but the field still does not display.
Thanks very much for any help.
Edited by: Cathryn Westgarth on Nov 17, 2009 6:23 PM
Edited by: Cathryn Westgarth on Nov 17, 2009 6:24 PMI am going to repost this question to the HR forum as it may be more appropriately an HR forum questions.
Thanks
Cathryn -
How can I have SAP to identify third party new hires as a new employee?
Hello,
Situation:
Our company has changed our vacation quota policy for new hires. In 2011, new hires did not receive any vacation their first year. In 2012, that policy has changed to give them vacation based on how many months are left in the year. Example:
If hired Jan 1 - June 30 = 80 hrs, July 1 - Oct 31 = 40 hrs, Nov = 24 hrs, Dec = 0 hrs. I have configured the Rules for Generating Absence Quotas to make this happen, however we've discovered a slight problem.
If a new hire has never been in our system, the logic works perfectly, however, in the case of third party employees, they are already in the system, thus have a Actions infotype with their third party onboarding hire date. At this point they are defined as employee group = 3. After 90 days, we hire them as a production employee, employee group = P, so now they are now a company employee. When they process through the generation rules, the system does not recognize they are a new hire employee because it uses their Actions entry date based on their third party onboarding entry.
Question:
When determining seniority, I'd like the system to use their third pary new hire action and not the third party onboarding action. Does anyone have a solution or suggestion?I did create a rule to determine if anyone coming through time eval is a new hire based on vacation elig. date in IT0041. It compares Today to the vacation elig. date and if they match, set a time type indicator to 1. I also added another decision to determine if they were a part time employee and pro-rate their quota entitlement based on what's in their IT0007 weekly working hours. Instead of setting the time type indicator to 1, I recalculated based on a percentage of 40 hrs/wk and then updated the time type to that percentage. In my quota generation rule I use that time type as a multiplication factor to recalculate their new pro-rated amount rounded up to the nearest whole number.
-
i can't open itunes. i get an error message: New iTunes Library. Anyone else encounter this?
I have Windows 7. I went into control panel and selected 'programs' and then 'programs and features'. Then I highlighted the iTunes program in the list and then selected 'repair'. It then configured iTunes. I then restarted my computer and it was okay.
-
HR Report for finding details for the new hires and leavers
Dear All,
I am very new to SAP HR ABAP.
Need Help
I have to create a report which fetches all the details <Details are mentioned below>
for all the
1) New hires
2) Leavers
in between a time range.
<Details to be fetched :~
Title
Fax
Mobile
Nationality
Domicile
Religion
Passport
Place of issue
Issue date
Valid till
Date of Hire
Action Reason
Reporting to
Date of exit interview
Leave Date
Leaving Reason
Street
Address Line2
City
District
Region
Country
Postal Code
Communication Number
Personal ID
Date Of Last Hire
Location
Job
Payroll area
OrgLvl1
OrgLvl2
OrgLvl3
OrgLvl4
Personnel Number
Date of seniority
EEBankName
Bank account no
Bank account type
PERID
Thanks a lot !!!
Joy
Edited by: joydip majumder on Jul 11, 2008 10:46 AMHi joy ,
you can create ur own z-report for this requirement , for this u have to read the employee data with in the date rage for infotype 0 (Action) for hiring and leaving dates. Other related infomation u can fetch from the related infotypes tables like PA0001 etc using simple select queries.All required fields can be dispalyed in the ALV output.
Regards
Lakhan
Edited by: lakhan on Jul 11, 2008 2:35 PM -
Hi,
I'm having trouble with a "ORA-22881: dangling REF" error against :new.OBJECT_VALUE when a trigger executes.
Here is the initial trigger:
create or replace TRIGGER "CSHEET_UPDATE"
BEFORE UPDATE ON "CSHEET" FOR EACH ROW
BEGIN
SELECT
updateXML(
:new.OBJECT_VALUE,
'/Csheet/METADATA/MODIFIED_DATE/text()', to_char(SYSDATE, 'YYYY-MM-DD') || 'T' || to_char(SYSDATE, 'HH:MI:SS')
INTO :new.OBJECT_VALUE FROM dual;
END;
And this is the error I get with even a simple UPDATE:
BEGIN
UPDATE CSHEET SET OBJECT_VALUE = OBJECT_VALUE WHERE rownum = 1;
COMMIT;
END;
Error report:
ORA-22881: dangling REF
ORA-06512: at "LNC.CSHEET_UPDATE", line 5
ORA-04088: error during execution of trigger 'LNC.CSHEET_UPDATE'
ORA-06512: at line 2
22881. 00000 - "dangling REF"
*Cause: The object corresponding to the REF that was accessed does not
exist.
*Action: Ensure that the REF value is pointing to an existing object.
However, if I add a schemavalidate() call at the beginning of the trigger then the error disappears.
New trigger:
create or replace TRIGGER "CSHEET_UPDATE"
BEFORE UPDATE ON "CSHEET" FOR EACH ROW
BEGIN
:new.OBJECT_VALUE.schemavalidate();
SELECT
updateXML(
:new.OBJECT_VALUE,
'/Csheet/METADATA/MODIFIED_DATE/text()', to_char(SYSDATE, 'YYYY-MM-DD') || 'T' || to_char(SYSDATE, 'HH:MI:SS')
INTO :new.OBJECT_VALUE FROM dual;
END;
Is there another way, besides using ":new.OBJECT_VALUE.schemavalidate();", to correct the :new.OBJECT_VALUE dangling REF issue?
Thanks
KeithHi Marco,
This is my version info:
Oracle Database 11g Release 11.1.0.6.0 - Production
PL/SQL Release 11.1.0.6.0 - Production
CORE 11.1.0.6.0 Production
TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
CSHEET is indeed object relational storage.
BEGIN
DBMS_XMLSCHEMA.REGISTERSCHEMA(
schemaurl => 'CSheet.xsd',
schemadoc => sys.UriFactory.getUri('/public/Schemas/CSheet.xsd'),
local => TRUE,
gentypes => TRUE,
genbean => FALSE,
gentables => TRUE,
force => FALSE,
owner => 'LNC',
enablehierarchy => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
END;
The only "unusual" aspect of it is that it does some out-of-line storage, has a primary key assigned internally, and specifies a couple of unique restrictions:
Snippets from the schema:
<xs:element name="Csheet" xdb:defaultTable="CSHEET" xdb:columnProps="CONSTRAINT CSHEET_pkey PRIMARY KEY (XMLDATA.UCN)">
<xs:element name="LEGISLATION" maxOccurs="unbounded" xdb:SQLInline="false" xdb:defaultTable="CSHEET_LEGISLATION">
<xs:complexType>
<xs:sequence>
<xs:choice>
<xs:sequence>
<xs:element name="NAME" type="reasonable_data_T"/>
<xs:element name="CITATION" minOccurs="0" type="CITATION_T"/>
</xs:sequence>
<xs:element name="CITATION" type="CITATION_T"/>
</xs:choice>
<xs:element name="REFERENCES">
<xs:complexType>
<xs:sequence>
<xs:element name="REFERENCE" maxOccurs="unbounded" xdb:SQLInline="false" xdb:defaultTable="CSHEET_REFERENCES">
<xs:complexType>
<xs:sequence>
<xs:unique name="unique_pinpoints">
<xs:selector xpath="REFERENCE"/>
<xs:field xpath="PINPOINT"/>
</xs:unique>
<xs:unique name="unique_legislation">
<xs:selector xpath="LEGISLATION"/>
<xs:field xpath="CITATION"/>
</xs:unique>
And I rename and scope the REF tables:
DECLARE
gen_name VARCHAR2 (4000);
BEGIN
SELECT TABLE_NAME INTO gen_name FROM USER_NESTED_TABLES
WHERE PARENT_TABLE_NAME = 'CSHEET';
EXECUTE IMMEDIATE 'RENAME "' || gen_name || '"TO CSHEET_LEG_V';
SELECT TABLE_NAME INTO gen_name FROM USER_NESTED_TABLES
WHERE PARENT_TABLE_NAME = 'CSHEET_LEGISLATION';
EXECUTE IMMEDIATE 'RENAME "' || gen_name || '"TO CSHEET_REF_V';
END;
ALTER TABLE CSHEET_LEG_V ADD SCOPE FOR (COLUMN_VALUE) IS CSHEET_LEGISLATION;
ALTER TABLE CSHEET_REF_V ADD SCOPE FOR (COLUMN_VALUE) IS CSHEET_REFERENCES;
Nothing really non-standard and everything works just fine...except I HAVE to schemavalidate() to undangle my REF :( .
I don't even understand where the REF is coming from since it was my understanding that OBJECT_VALUE was considered an XMLType. Could it have something to do with the out-of-line tables?
Thanks
Keith -
Error in New Models Creation - Loadbalancing /Single Server locally
Is there any possibility of below error when Creating New Models with Single Server and but NOT Working with Load balancing Option.
The same code worked when connecting to Single Server locally but doesn't work when New models were created by selection of loadbalancing Option on Remote Server..during development on source from DTR Server(SLD)..
I get below error when New Model created with loadbalancing option
Error - com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Error connecting using JCO.Client: null
Edited by: Raghu v on Jan 26, 2008 1:27 PMHi,
In EAS, I am getting some for Planning Outline(Essbase outline is working fine), While starting the Planning service through start menu, it throwing error as
Query Failed: SQL_SYSDB_DELETE_EXPIRED_EXTERNAL_ACTIONS:[100]
java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00932: inconsistent datatypes: expected INTERVAL DAY TO SECOND got NUMBER
at hyperion.jdbc.base.BaseExceptions.createException(Unknown Source)
at hyperion.jdbc.base.BaseExceptions.getException(Unknown Source)
at hyperion.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
at hyperion.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at hyperion.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)
at hyperion.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)
at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unknown Source)
at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source)
Error encountered with Database connection, recreating connections.
Nested Exception: java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00932: inconsistent datatypes: expected INTERVAL DAY TO SECOND got NUMBER
Thanks,
CP -
How can I remove PERNR Check for Infotype 0009 on a new-hire create
We have contractors working for our H.R. department setting up new-hire employees. The workflow in PA40 includes setting up default Infotype 0009 banking information to paycheck. The PERNR check in the workflow fails because the HR Contractor does not have an Employee Record in HCM (PERNR), therefore, it bypasses setting up the 0009 Banking Information Default.
How can we change this work-flow so that an H.R. Contractor can setup a new hire employee with infotype 0009 banking information default?'''Hello peacefultrev,'''
I believe from your question you wish to remove the window title-bar, while keeping the menu bar available.
I have two solutions for you to try. One requires no plugin and the other requires the installation of a plugin.
'''No plugin option:'''
This option hides the the window title while also removing the menu bar. The menu bar can then be reactivated and viewed simply by pressing "Alt" which shows the menu bar until you click away from it. To do this:
# Right click on the tab bar and disable "Menu Bar".
# Whenever you which to use the menu bar, tap "Alt" on your keyboard.
# When you click away from the menu bar the windows title will disappear until you tap "Alt" again.
'''Plugin Option:'''
You can download this plugin called [https://addons.mozilla.org/en-US/firefox/addon/hide-caption-titlebar-plus-sma/ Hide Caption Titlebar Plus] which can be customized to suit your needs. I cannot provide support on this plugin as I have not used it myself.
I hope one of these solutions will suit your needs.
Mattlem -
Can we create a fillable W4 form for new hires and sign it electronically
Can we create a fillable w4 form for new hires. can the new hire sign electronically and what is the cost for having electronic signatures?
We don't support electronic signatures. You should check out our sister service Adobe Echosign - www.echosign.com
Maybe you are looking for
-
How to install from USB with BootCamp on Snow Leopard
Hello I'm trying to get my bootcamp to recognize windows 7 from a bootable USB. I've already created the windows partition in bootcamp assistant. When I'm in the assistant I'm not getting the option for USB installation. System Version: Mac
-
How do I play an audio clip embedded in a PDF file in Acrobat DC for iOS?
It looks like playing audio clips from PDF files is currently not available on Acrobat DC for iOS, could this be enabled? Also it would be nice to be able to pause/restart/stop audio playback, see audio clip length and progress bar and jump to the de
-
Hi everyone, Has anyone received the following error when trying to post a journal entry in BPC 7.0, SP3? "Posting Failed - Logic Error" Nothing further is in the error. I've tried validating the logic again (just because the error indicates logic b
-
Tax code -Condition types in TAXINN
I am using TAXINN procedure. My tax is ED8%ECess2%HCess 1% (Deductible). I have maintained in FV11 8% for JMOP, 2% for JECP and 1% for JSEP. For the setoff total condition do we need to maintain any percentage? 1. Do I have to maintain 100% in the fo
-
Iphone shutting off while editing photo
I took a picture of something, and when i went on my photos to rotate it my iphone keeps shutting off then turning back on. Ive tried shutting it off restarting all my apps I dony know why it keeps happening.