cancel
Showing results for 
Search instead for 
Did you mean: 

FIORI MSS APP leave request approval

Former Member
0 Kudos
  1. Required workflow configuration in the back end is configured
  2. Scenario configuration is done
  3. Leave Request and Time Request App is able to raise the respective request and the workflow is also getting triggered in the back end.
  4. Able to see the Approval task in the manager’s inbox in the back end system
  5. While accessing the Leave Approval App from Fiori an error occurs in the front end UI5 (Screen shots attached)

   6. The error message in the Gateway system for the same (/iwfnd/error_log) is also attached.

Please let me know what can be possible reason for this ? How to resolve?

Thanks in advance.

Tags edited by: Michael Appleby

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Amit,

Were you able to resolve this error?
If yes, how?


Thanks in advance!

Best Regards,

Sunil B N

Former Member
0 Kudos

Hi Sunil,

After trying all the possible methods, i was unable to resolve it. So,I upgraded the service pack level to the latest version and installed all the necessary notes.

Then it started working.

Regards,

Amit

Former Member
0 Kudos

Hi Amit,

Thanks for the reply.

Just as a check the component upgraded was GBHCM002 right?

Best Regards,

Sunil B N

Former Member
0 Kudos

Yes Sunil,

GBHCM002 was the component upgraded.

Regards,

Amit

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Amit,

Select the "Call stack" button and set an external break point. You can find the root cause.

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Masa,

Thanks for the reply.

In the /IWFND/ERROR_LOG page i am getting the below screen:

Please advise on the same.

Former Member
0 Kudos

Hello Masa,

When i tried to debug the UI, i got a '500 internal server error' in the leave request collection which is the leave approval ODATA service.

ODATA service:

https://XXXXXXXXXXXXXXXXXX/sap/opu/odata/GBHCM/LEAVEAPPROVAL;mo/LeaveRequestCollection?$filter=(SAP_...

When i am testing the above service stand alone i am getting the message error 'In the context of Data Services an unknown internal server error occured'.

Whereas when i test the service excluding the last check condition i.e. filtergetallrequests

https://XXXXXXXXXXXXXXXXXX/sap/opu/odata/GBHCM/LEAVEAPPROVAL;mo/LeaveRequestCollection?$filter=(SAP_...

I am able to see data.

Please advise on this.

Thanks,

Amit

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Amit,

By the way, have you applied all notes mentioned in the install guide?

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Masa,

Thanks for your reply. All the notes as given in the installation guide has been applied. Currently we are using FIORI SP02.

In SAP 1883370  - Release Note for SAP Fiori SPS 02 

it has given:

FIORI LEAVEREQAPPR

Approve Leave Requests

UI Component: UIHCM003 100 (SAP Notes: 1857864, 1862809)

OData Component: GBHCM003 600

But these notes are not released.

Please advise on how to proceed and resolve the issue.

Thanks,

Amit

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Amit,

I would set external break points in the one of call stack and find the root cause.

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Masa,

I am getting the error screen as :

and the xml as :

<?xml version="1.0" encoding="utf-8" ?>

- <ERROR_CONTEXT>

<ERROR_INFO>No customer found.</ERROR_INFO>

- <_-IWFND_-CX_MGW_TECH_EXCEPTION>

<RFC_FAILURE_MESSAGE_V2 />

<RFC_FAILURE_MESSAGE />

<TRANSFORMATION />

<ENTITY_NAME />

<REMOTE_MESSAGE />

<REMOTE_SYSTEM />

<REMOTE_MESSAGE_TYPE />

<SERVICE_IDENTIFIER />

<METHOD />

<FIELD_NAME />

<FIELD_VALUE />

<NAVIGATION_PROPERTY />

<SYSTEM_ALIAS_LIST />

</_-IWFND_-CX_MGW_TECH_EXCEPTION>

- <SERVICE_INFO>

<NAMESPACE>/SAP/</NAMESPACE>

<VERSION>0001</VERSION>

<SERVICE_NAME>***Hide_due_to_secure_log_level***</SERVICE_NAME>

<REQUEST_DIRECTION>Consumer to Gateway</REQUEST_DIRECTION>

<REQUEST_OPERATION>service op</REQUEST_OPERATION>

<AGENT>OData Channel Remote Connectiv</AGENT>

<SYSTEM_ALIAS>XXXXXXX</SYSTEM_ALIAS>

<DESTINATION>XXXXXXX</DESTINATION>

</SERVICE_INFO>

- <SYSTEM_INFO>

<REQUEST_URI>/sap/opu/odata/sap/***Hide_due_to_secure_log_level***</REQUEST_URI>

<REMOTE_ADDRESS>XXXXXXXXX</REMOTE_ADDRESS>

<APPLICATION_SERVER>XXXXXXXX</APPLICATION_SERVER>

</SYSTEM_INFO>

</ERROR_CONTEXT>

and XML log as:

<?xml version="1.0" encoding="utf-8" ?>

- <ERROR_CONTEXT>

<ERROR_INFO>Invalid format (return table): Row Number 6, Property Name 'StartTime', Property Value ''</ERROR_INFO>

<_-IWCOR_-CX_DS_INTERNAL_ERROR />

- <_-IWCOR_-CX_DS_EP_ENTITY_ERROR>

<INDEX>6</INDEX>

<PROPERTY>StartTime</PROPERTY>

</_-IWCOR_-CX_DS_EP_ENTITY_ERROR>

- <_-IWCOR_-CX_DS_EP_PROPERTY_ERROR>

<PROPERTY>StartTime</PROPERTY>

<VALUE />

<TYPE />

<OFFSET>0</OFFSET>

</_-IWCOR_-CX_DS_EP_PROPERTY_ERROR>

- <CX_PARAMETER_INVALID_RANGE>

<VALUE />

</CX_PARAMETER_INVALID_RANGE>

- <SERVICE_INFO>

<NAMESPACE>/GBHCM/</NAMESPACE>

<VERSION>0001</VERSION>

<SERVICE_NAME>***Hide_due_to_secure_log_level***</SERVICE_NAME>

<REQUEST_DIRECTION>Consumer to Gateway</REQUEST_DIRECTION>

<AGENT>SAP Netweaver Gateway Logger</AGENT>

<SYSTEM_ALIAS>XXXXXXXXXXX</SYSTEM_ALIAS>

<DESTINATION>XXXXXXXXXXXX</DESTINATION>

</SERVICE_INFO>

- <SYSTEM_INFO>

<REQUEST_URI>/sap/opu/odata/GBHCM/***Hide_due_to_secure_log_level***</REQUEST_URI>

<REMOTE_ADDRESS>XXXXXXXX</REMOTE_ADDRESS>

<APPLICATION_SERVER>XXXXXXX</APPLICATION_SERVER>

</SYSTEM_INFO>

</ERROR_CONTEXT>

    Please let me know if you need any other info. Please help.

   

     Thanks and Regards,

     Amit

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Amit,

I think you are using old SP or you have not applied mandatory notes mentioned in the install guide.

Can you double check the SP and notes?

GBHCM002 SP?

1803429 - HCM Leave Request App version 2

1821779 - Invalid data returned for properties with type EDM.Time

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hello Masa,

GBHCM002 SP:

All the notes are implemented as per the guide.

I tried to implement the two notes as suggested, but it showed the below screen:

Please suggest.

Thanks,

Amit

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Amit,

You should change the system change option.

Transaction: SE03

Administration -> Set System Change Option.

It means you have not applied mandatory notes mentioned in the install guide. Please make sure you have applied all mandatory notes mentioned in the install guide.

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Masa,

Both the notes 1803429 and 1821779 are related to GBHCM002 SAPK-60007INGBHCM002 and we are on a higher level.


As per my understanding both the notes are for patch level 0007 and we are in 0009. So, do we still need to apply the notes.

Thanks,

Amit

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Amit,

In that case, I would set external break points in the method and find the root cause.

You can find call stack information in the transaction /IWFND/ERROR_LOG.

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Amit,

As you have a higher package , those notes are not applicable.

I would agree with Masa to debug and find the exact point of issue.

regards,

MB

Former Member
0 Kudos

Hello Masa,

I debugged the method handle_error in the call stack:

Here the table <parameters> and table key iv_name mismatches and sy-subrc becomes 4.

In the <parameters> we have $filter whereas the table key is $format for which the read table fails.

Please advise on this and let me know if this is the root cause from the screen shots above.

Thanks,

Amit

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Amit,

Please find the step related with this error.

Invalid format (return table): Row Number 6, Property Name 'StartTime', Property Value

Or you can create a customer message in SAP Service Marketplace.


Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Masa,

I have created a customer message in SAP Service Market place. In the mean time i have some doubt:

In the maintain services page(/n/iwfnd/maint_service) the technical service name is given as "ZLEAVEAPPROVAL" whereas in the scenario definition screen the technical service name is given as "/GBHCM/LEAVEAPPROVAL". Is this configuration correct? Please let me know.

Thanks,

Amit

pankaj_bisht
Contributor
0 Kudos

Hi Amit,

The External service name should be LEAVEAPPROVAL with namespace as /GBHCM/.

Technical service name in maintain services can be ZLEAVEAPPROVAL.

Best Regards

Pankaj

Former Member
0 Kudos

Hi Amit,

This is correct config for scenario definition.

regards,

MB

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Amit,

Please upload the scenario definition screenshot. I guess some parameter is wrong.

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Masa,

Below is the scenario definition screenshot.

And in task definition i am using :

I am using the task type id as TS12300097 as given in the fiori installation doc.