cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori My Leave Request App Error

Former Member
0 Kudos

Hi Everyone,

Currently i am working on Fiori my leave request HCM app. In that app am facing below difficulties,

1. Leave Type dropdown not working

2. Used and Available leaves are not displaying anything

3. When i click on send button it throws the below error,

Error Log as follows,

App : My Leave Request Version 1.

Can any one please tell how to solve this issue,

Regards,

Ibrahim Khan. A

Accepted Solutions (0)

Answers (2)

Answers (2)

pbechani
Participant
0 Kudos

Hi

In my system I realized that there was a bug in the SAP standard code.

Method get_webmo of class cl_pt_req_customizing


If you debug the method, you will see that the  IF count EQ 1 statement doesn't provide a value to ex_webmo when that condition is true.

I implemented the below enhancement in my system and everything is fine now. Maybe SAP has now released a note for this.

  ENHANCEMENT ZGETWEBMO_BUGFIX.    "active version

   if not l_webmo is INITIAL.
     l_pernr_webmo-webmo = l_webmo.
     ex_webmo = l_pernr_webmo-webmo.
   endif.

ENDENHANCEMENT.


Regards,

Prince

saurabh_vakil
Active Contributor
0 Kudos

Are you able to successfully create leave (with all leave types being visible) directly from the backend system?

Regards,

Saurabh

Former Member
0 Kudos

Hi Saurabh,

Yes in Backend system all types leaves are visible, but when i am trying to create absences it throws the below error,

Not enough quota  for attendance/absence PL on 02/05/2016 for personnel no. 00000001

Regards.

Ibrahim Khan. A

abdulbasha_shaik
Active Participant
0 Kudos

Hi Ibrahim,

you must be able to create absence in backend system. Check the Quota available for the type of leave you are applying. Give the quota and check it.

Make sure the user id of fiori user must match with the backend user id, maintained in infotype 0105, subtype 0001.

--

Abdul