on 05-29-2008 9:29 PM
We are on ECC6 (Ehp 2) & EP7 using ESS1.0
I got the above error while trying to use the COD service.. upon research, I found out that, the ASSERT fails due to an inconsistent combination of Usecase & Time Constraint for Infotype 0032.
In our system, we have 0032 set up with a TC 1.
This service is apparently not using the delivered/custom settings in T7XSSPERSUBTYPE as the values are HARDCODED inside the function module HRXSS_COD_READ. For infotype 0032, the usecase is set as a B2. In the CHECK_USECASE_WITH_CONSTRAINT Method of the Class CL_HRPA_PERNR_INFTY_XSS, the ASSERT for a B2 usecase is set to true only if the TimeConstraint is a 2.
As said earlier our 0032 is set with TC1, causing the ASSERT condition to FAIL. We cannot change the Time Constraint on 0032 for Business reasons. Unfortunately the usecase also, cannot be changed as it is HARDCODED by SAP.
Has anyone been through the above situation? I would appreciate if you can share your experience/solution.
I did open an OSS message & will update this post with their response.
~Suresh
We have eventually managed to convince SAP into releasing the OSS Note 1223687 to fix this issue.
~Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The following is SAP's reply against my OSS Msg..
Now you have two options:
1) Change the time constraint to 2 ->(recommended setting)
2) Make changes in the code ->review note 1011965 (not recommended & will be considered as modification)
Still can't figure out what made them hardcode the values..
~Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh wow! I have not seen that.....and you actually see it in the code as hardcoded no less? that is odd. Musta slipped by them in code review. The OSS request should get them on it. I will check our class too now. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
9 | |
5 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.