cancel
Showing results for 
Search instead for 
Did you mean: 

Getting exception message while approving leave request in Approve leave requests (Version 2)

0 Kudos

Hi Experts,

Getting exception message while approving leave request in Approve leave requests (Version 2) &

There is no error in /iwfnd/error_log or no dump in ST22.

Regards,

Shakti

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Dear All,

Issue resolved after implementing SAP note: 2220587: Approving of a leave request results in a runtime error.

Regards,

Shakti Pandey

Answers (2)

Answers (2)

0 Kudos

Hi Experts,

Please suggest.Getting following error in /iwfnd/maint_service during execution of following service http://<host>:<port>/sap/opu/odata/sap/HCM_LEAVE_REQ_APPROVE_SRV/LeaveRequestSet

Result is :

<?xml version="1.0" encoding="utf-8"?><error xmlns:xsi="http://www.w3.org/2001/XMLSchema-Instance"><code>HTTP/500/E/Internal Server Error</code><message> Call of service /sap/opu/odata/sap/HCM_LEAVE_REQ_APPROVE_SRV/LeaveRequestSet terminated because of an error. The following error text was processed in system SID : Access using a &#39;ZERO&#39; object reference is not possible.The error occurred on the application server ECCDEV. The termination type was: RABAX_STATE.If the termination type is RABAX_STATE, you will find more information on the cause of termination in system SID in transaction ST22. If the termination type is ABORT_MESSAGE_STATE, you will find more information on the cause of termination on the application server ECCDEV in transaction SM21. If the termination type is ERROR_MESSAGE_STATE, you can search for further information in the trace file for the work process in transaction ST11 on the application server ECCDEV. You may also need to analyze the trace files of other work processes. If you do not yet have a user ID, contact your system adminmistrator. </message></error>

Warm Regards,

Shakti Pandey

gill367
Active Contributor
0 Kudos

HI Shakti;

For the another id are you testing odata service from gateway client or the application itself.

When you are running the application check the network logs in the network tab and there check the odata service call.

Regards,

Sarbjeet Singh

0 Kudos

Hi Sarbjeet,

My landscape is like
DEV100 doesn't contain master data (Modifiable)

DEV120 contains master data (non-modifiable)

Now for /iwfnd/maint_service I have to check in DEV100

But for application I have to check in DEV120

When I check in /iwfnd/maint_service in DEV100 is show that HTTP/500/E/Internal Server Error

When I check in application with 2 users one give HTTP/500/E/Internal Server Error and even its ItemCountSet is showing error which it has pending requests. when I click on app it calls

http://<host>:<port>/sap/opu/odata/sap/HCM_LEAVE_REQ_APPROVE_SRV/LeaveRequestSet

result is HTTP/500/E/Internal Server Error


whit with another user every thing is fine but while approval it throws exception message that was uploaded above.


Please suggest I am very confused.



Warm Regards,

Shakti Pandey

0 Kudos

Hi Sarbjeet,

Please have a look at the screen shot.

gill367
Active Contributor
0 Kudos

Hi Shakti;

Your screenshots are not loaded.

Could you please upload the images.

Regards,

Sarbjeet Singh

0 Kudos

Hi Sarbjeet,

Regards,

Shakti Pancey

gill367
Active Contributor
0 Kudos

Hi Shakti;

Check the odata service call

http://<host>:<port>/sap/opu/odata/sap/HCM_LEAVE_REQ_APPROVE_SRV/LeaveRequestSet

to find out the value which is fetched from backend.

then try to debug and find out from where this value 26 is coming.

and for the error, is it happening for this one request or for everything.

Did you try in any other test user id.

Regards,

Sarbjeet Singh

0 Kudos

Hi Sarbjeet,

I have tried with one user and all type of request and the output is same. I'll try to check with another user id. Please see the screen shot of OData responce and guide. Its unfortunate to inform you that I am unable to debug. Kindly suggest.

Regards,

Shakti Pandey

0 Kudos

Hi Sarbjeet,

With another user ID, I am getting following error:

<?xml version="1.0" encoding="utf-8"?><error xmlns:xsi="http://www.w3.org/2001/XMLSchema-Instance"><code>HTTP/500/E/Internal Server Error</code><message> Call of service /sap/opu/odata/sap/HCM_LEAVE_REQ_APPROVE_SRV/LeaveRequestSet terminated because of an error. The following error text was processed in system SID : Access using a &#39;ZERO&#39; object reference is not possible.The error occurred on the application server ECCDEV. The termination type was: RABAX_STATE.If the termination type is RABAX_STATE, you will find more information on the cause of termination in system SID in transaction ST22. If the termination type is ABORT_MESSAGE_STATE, you will find more information on the cause of termination on the application server ECCDEV in transaction SM21. If the termination type is ERROR_MESSAGE_STATE, you can search for further information in the trace file for the work process in transaction ST11 on the application server ECCDEV. You may also need to analyze the trace files of other work processes. If you do not yet have a user ID, contact your system adminmistrator. </message></error>

Regards,

Shakti Pandey