on 09-25-2013 11:09 AM
Hi,
I was able to create a leave request but now I'm having problems with leave approval.
I have already done all the prerequisites for configuring leave approval app including defining the scenario. I have added my user to the following roles
SAP_GBHCM_HR_APPROVAL_MANAGER since I cannot find SAP_GBHCM_LEAVE_APPROVAL_MANAG
SAP_HCM003_HCM_LVRQ_APR
The following services have been activated. Is it okay to have only 1 alias for taskprocessing and to other FIORI services?
Scenario Definition:
Below is the error I'm getting
When I access the homepage for the manager/approver
When I click the Leave Approval App, I get http status 500 error. When I click the refresh button, the error is
Here is the error on /IWFND/ERROR_LOG
Help is very much appreciated. Thanks
-Melanie
Hi Melanie,
I think system alias setting is wrong. Please check blogs in http://scn.sap.com/docs/DOC-41598.
Regards,
Masa
SAP Rapid Innovation Group - RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Masa,
So it means that there is a need to have two system alias? One for the fiori apps (default) and one for the taskprocessing?
Does the technical name in the scenario be the same with the technical name in the Service Catalog?
In the document, the technical name of the scenario must be /GBHCM/LEAVEAPPROVAL but on my service catalog, the name is ZAPPROVALS...or /GBHCM/ZAPPROVALS.
Hi Melanie,
Test 1. Remove local app flag from EC6 system alias.
Test 2. Remove local app flag from EC6 system alias. AND remove local GW flag from both EC6 and EC6_PGW system aliases.
Also upload the RFC destination details screenshots with logon tab.
Regards,
Masa
SAP Rapid Innovation Group - RIG
Hi Masa,
Test 1. Remove local app flag from EC6 system alias. --> number of leave request in the tiles now visible; still with error
Test 2. Remove local app flag from EC6 system alias. AND remove local GW flag from both EC6 and EC6_PGW system aliases. -->number of leave request in the tiles now visible; still with error
Below is our rfc destination:
I redid the scenario definition again and now I'm having a new error and the app is forever loading
No further errors log in /IWFND/ERROR_LOG.
Hi Masa,
I redid the scenario configuration and added another system alias for the TASKPROCESSING and that fixed the 500 error.
When I try to access the approval app. This error occurs.
The OData services being called are:
1.) $metadata
/sap/opu/odata/IWPGW/TASKPROCESSING;mo ---> status 200
2.) ConsumerScenarioCollection?$filter=((ConsumerType%20eq%20'TABLET'))%20and%20((UniqueName%20eq%20'LEAVEREQUESTAPPROVAL'%20))
/sap/opu/odata/IWPGW/TASKPROCESSING;mo ---> status 200. although when I try to access this. There seems to be no data.
When I try accessing this service (although not being called by the app yet):
/sap/opu/odata/IWPGW/TASKPROCESSING;mo/ConsumerScenarioCollection(SAP__Origin='EC6_PGW',
ConsumerType='DESKTOP',UniqueName='LEAVEREQUESTAPPROVAL')/Tasks ---> I can already see the leave requests by the users
I can't see error logs in /IWFND/ERROR_LOG related to leave approval.
Looking forward to you response. Thanks!
Hi Melanie,
Please test the second OData call in GW_CLIENT.
If it is http 200 and no data, it seams something wrong in scenario definition.
If it return data but UI is not refreshing it, some issue is in UI side.
Please test and identify the issue is in OData side or UI side.
Regards,
Masa
SAP Rapid Innovation Group - RIG
Hi Masa,
The statusCode undefined error is now gone and the app is now calling 4 services.
The leave are visible in this service /sap/opu/odata/IWPGW/TASKPROCESSING/TaskCollection.
Checking out the 2nd service I mentioned on my post.
/sap/opu/odata/IWPGW/TASKPROCESSING;mo/ConsumerScenarioCollection?$filter=((ConsumerType%20eq%20'DESKTOP'))%20and%20((UniqueName%20eq%20'LEAVEREQUESTAPPROVAL'%20))
--> can view. see result below.
this service seems to access odata service
/sap/opu/odata/GBHCM/APPROVALS;o=EC6/LeaveRequestCollection?$filter=(TaskDefinitionID eq 'TS12300097')
--> shows an error. see below:
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<code>005056A509B11EE1B9A8FEA8DE87F78E</code>
<message xml:lang="en">
Property TaskDefinitionID not found in type LeaveRequest
</message>
</error>
This error is also showing in /IWFND/ERROR_LOG.
1.) Is it possible that this is related to the filter parameter since when we access
/sap/opu/odata/GBHCM/APPROVALS;o=EC6/LeaveRequestCollection we can view the leave request?
2.) Do we need to maintain filter option collection
3.) Or is it related to the definition scenario again?
Hi Melanie,
Please check the add-on component on ERP.
Is there GBHCM003 SP07?
If the add-on is available, activate the service /GBHCM/LEAVEAPPROVAL (External service name is LEAVEAPPROVAL) , not /GBHCM/APPROVALS!
Please follow the installation guide! http://help.sap.com/fiori
Regards,
Masa
SAP Rapid Innovation Group - RIG
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.