2009 Feb 18 10:14 PM
Hi!
We're in the process of updating infotype 48 with data in the format that is needed for the function module HR_PERSON_CHECK_SPT to compute the Substantial Presence Test Date (SPT Date). Looking at the code, it seems we need to maintain 2 different subtypes:
US01 to store the visa information (validity range, visa type, visa subtype)
US02 to store the entry/exit information (basically just a begin/end date)
When I tried to set this up in our sandbox environment, I followed the following steps:
1) Create an infotype 48, subtype US01, record with the following information: begin date = 4/4/2006, End Date = 3/31/2009, Visa Type = J-1, Visa Subtype = 02, Date of Issue = 1/1/2006, Expiration Date = 3/31/2009
2) Create an infotype 48, subtype US02, record with the following information: Arrival date = 4/4/2006, Departure Date = 12/31/2008
When I try to save the second record, it gives me the following error message:
Several Statuses Simultaneously: Collision with Status US01 from 04/04/2006 to 03/31/2009
I assumed this meant that the infotype had the wrong Time Constraint class set up. When I looked at T582A, I saw that it did, indeed have a time constraint class of 2 at the infotype level, which would prevent overlapping records... so I did the following via transaction PM01:
1) For infotype 48, click the Technical Attributes button (which takes you to T777D). In there, specify the Time Constraint Table to be T591A.
2) back out to the initial PM01 screen and click the Infotype Characteristics button (which takes you to T582A). Change the time constraint class to T.
3) back out to the initial PM01 screen and choose Infotype -> Edit Subtype Characteristics from the pull-down menu (which takes you to T591A). For subtypes US01 and US02, specify time constraint class 2.
When I go back to PA30 and try to create my US02 record, I get the same error as before.
What am I missing here? If there is a hard-coded limitation that only one IT48 record can be valid at a time, how do you use HR_PERSON_CHECK_SPT ??? Is there another way to determine when an employee has passed the Substantial Presence Test?
Thanks in advance for any help you can provide!
Steve Miller
2009 Mar 03 7:44 PM
As an update to this post, I sent a Message to SAP, and their response was that for US companies who want to use the SPT Date calculation, you need to maintain Feature IVWID to return a value of UP instead of 10, then run report RPUITVU0PBS_CE (since we use concurrent employment) to update the VIEKN field on infotype 3 for our employees. This has allowed us to create the needed US02 records in our test environment, but we are still testing for other impacts. I'll be sure to keep everyone updated on the status of this.
2009 Mar 04 2:58 PM
Apparently you can also update V_T582ITVCHCK by copying the infotype 48, "version" UP entry to make a new entry with "version" 10. The problem with this is that it is in the SAP namespace and can be over-written by an HRSP at any point in the future.