cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Property FilterGetAllRequests not found in type LeaveRequest approval

kousik_goon3
Explorer
0 Kudos

Hi All,

I am getting following error in Leave request Approval in Fiori when application trying to fetch the approval data. Please let me know how to solve the issue. .

Accepted Solutions (0)

Answers (2)

Answers (2)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Your case is that probably mandatory notes are missing.

"1793784 HTML5 WF Inbox - GW Services for HCM" is mentioned in the install guide.

Former Member
0 Kudos

I think its not applicable for me though since the corrrective notes does not include Leave approval app.

Let me know .

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

What is Support Package level for GBHCM003?

If it is SP08, you do not need to apply the note 1793784.

Former Member
0 Kudos

GBHCM003 is SP06 .

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

You should apply the notes which are mentioned in the install guide.

Former Member
0 Kudos

Thanks Masa ,

I did already applied all the notes as required . Could you tell me where do I add gateway WFSERVICE ? ( on XXX_100 or XXX_100_PGW  ) Since my Gateway and ERP are on same system.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sandeep,

Did the note fix the original issue?

Fiori does not use WFSERVICE. The service is TASKPROCESSING.

Regards,

Masa@RIG

Former Member
0 Kudos

Okay thanks for the service , I am using TAKSPROCESSING only .

As for the note - 1793784 , this is not metioned in the guide and does not have components affecting the Leave Approval App.

The ones I had it implemented are:

For the component GBHCM003:


The above 1793784 can be implemented but let  me know if this is mandatory . My only issue is I had GetFilterAll request EQ 1 which is appended to my URL ( as above) . I still have the same problem.

Pls let me know.

Thanks


masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sandeep,

I posted it before. Yes, you should apply the note 1793784.

>Your case is that probably mandatory notes are missing.

>"1793784 HTML5 WF Inbox - GW Services for HCM" is mentioned in the install guide.

>SAP Fiori LL03 - Apply all SAP Notes before implementation

Regards,

Masa@RIG


Former Member
0 Kudos

Hello Masa ,

Pining all things together now :

1. I have implemented the note 1793784 with Manual Steps as well .

2. All notes as mentioned in the install guide are implemented.

3. ERP and Gateway are embedded .

4. Taskprocessing service is added on XXX_100_PGW

5. Below URL

http://XXXXX.XXX.com:8000/sap/opu/odata/GBHCM/LEAVEAPPROVAL/LeaveRequestCollection

when tested with Chrome or through IWFND/Maint_Service , it returns me the Leave data for all employee submitted .

6.Fiori Leave Approval App:

http://XXX.XXXX.com:8000/sap/bc/ui5_ui5/sap/ui5_hcm_lr_apv/index.html?backToHome=true

It do not show any error message in the Browser trace but the spinning does not go away  and continues to run incessantly.

7. LeaveAPproval is added on System Alias XXX_100. I tried with Local too .

If I run leave Approval serice using GW client or the chekc the entity sets and run them , it gives me the data in GW Client  and also returns me the ItemNumberCollection correctly as the number of leaves submitted to him.

End result :

As of now the Browser has  spinning wheel and no error but the page as in screenshot above exists.

I tried with the IP addresss and Clearing the cache as wel but did not helped.

Please let me know on how to address this .I believe the issue is almost done but this last thing.

Let me know what you think of this.

8. Edited and Added later :

On my chrome console , I see the uncaught type error status code undefined. I am not sure about the 404 error if this is due to the reason that I have used the custom theme in fiori than the standard SAP Blue Crystal theme.pls see the screnshot.

Thanks

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sandeep,

So the original issue was fixed by applying the note, right? You could same troubleshooting time if you follow the installation guide.

The new issue comes from wrong configuration for system alias. Please upload the system alias configuration.

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Yes Masa you are right..the Note solved the issue of GetFilterAll ...! I did applied all the notes as applicable.

Pls see the System alias configuration.

LeaveApproval is add on XXX_100

However my ERP and Gateway are just emebedded .

Please suggest.

Thanks

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sandeep,

Please check this.

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hello Masa,

my System alias configuration are similar to the one shown in your article .

Although the config is similar to one , the screen does not show any data and the spinning wheel keep on going inifintely.

I have Kept LOCAL as basis guy created that but the Leave Approval and PGW services used XXX_100 and XXX_100_PGW. Let me know if I need to delete that as well.Only reason I did not went ahead and deleted that alias is we had all the Gateway services using alias Local as initially when fiori was initiated we used that  .

I assume if In that case if i need to delete it , I would had to go ahead and Add and maintain services back XXX_100.

Also there PGW ( process gateway ) service. - I used XXX_100 for that .Please confirm if this correct.

Thank you for the continual help.Appreciate your inputs.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sandeep,

Please give us the latest issue.

Your original issue was http 400 error for /GBHCM/LEAVEREQUEST OData service.

Identify the last OData call and give us the http return status.

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Thanks for resolving on the original issue but my leave approval is still not showing data.

As mentioned above , currently issue   :

As of now the Browser has  spinning wheel and no error but the page as in screenshot above exists.

I tried with the IP addresss and Clearing the cache as well but did not helped.

On my chrome console , I see the uncaught type error status code undefined. I am not sure about the 404 error if this is due to the reason that I have used the custom theme in fiori than the standard SAP Blue Crystal theme. pls see the screenshot.

If I run leave Approval serice using GW client or the check the entity sets and run them , it gives me the data in GW Client  and also returns me the ItemNumberCollection correctly as the number of leaves submitted to him.

Last OData Call -

http://XXX.XXX:8000/sap/opu/odata/IWPGW/TASKPROCESSING;mo/ConsumerScenarioCollection?$filter=((Consu...

Returns status:

  1. Request Method:GET
  2. Status Code:200 OK

Last Error encountered is regarding Library-json file -I am not sure if this is because of the Custom theme being used in Fiori than standard blue crystal theme.

http://XXXX.XXXX.com:8000/sap/bc/ui5_ui5/sap/ui5_hcm_lr_apv/resources/sap/ca/common/uilib/themes/sap...

  1. Request Method:GET
  2. Status Code:404 NOT FOUND


Pls suggest.

Thanks

Sandeep

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sandeep,

1. Make sure you are using UIHCM003 SP02 and GBHCM003 SP07.

2. Test with SAP standard theme.

3. Test with https

Regards,

Masa

Former Member
0 Kudos

We are at UIHCM003 release 100  Level 0000

GBHCM003 Release 600 Level 0006

I will ask basis to do the correct patch levels .

2. Not sure on how to check with Standard theme back .I had to  figure this out.

3. SSL connection error since SSL is not implemented .

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sandeep,

Any update after you apply the support package?

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hello Masa ,

Basis team has not been able to update the packages until now.I passed the suggestions and your recommendations on LL09 as well to them . definately not up on speed right now.

Thanks for following this through .

Sandeep

Former Member
0 Kudos

Hello Sandeep. I'm glad to hear you are working with Shopping Cart creation in Fiori. We are also working on this scenario. I would really like to hear your experiences. Please message me if you can.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

You can find error details in the transaction /IWFND/ERROR_LOG.

Have you activated TASKPROCESSING service in the Gateway server?

kousik_goon3
Explorer
0 Kudos

Error log showing the same information only . TASKPROCESSING is activated.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

from /IWFND/ERROR_LOG, you can check call stack, then set a break point and debug.

Call stack info is very useful.

Former Member
0 Kudos

Hello Kousik ,

I hope you did figured out the issue with the Filter request in Leave approval. I am getting the same error, although my gateway service works fine in browser displaying all the leave requests when I run the URL without the Filter request parameter .

http://XXXXXX:8000/sap/opu/odata/GBHCM/LEAVEAPPROVAL;mo/LeaveRequestCollection?$filter=(SAP__Origin%...

Below is the link which which leads to status code 400 bad request  .

http://XXXXXX:8000/sap/opu/odata/GBHCM/LEAVEAPPROVAL;mo/LeaveRequestCollection?$filter=(SAP__Origin%...

Could you please let me know on how did you resolved it .I am getting blank page with status code 400 when I run this Leave request approval app.

Thanks

Sandeep


masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Is your gateway is on ERP or separate server?

I think system alias is wrong in your case. URL says XXX_100_PGW.

Can you test with XXX_100?

Former Member
0 Kudos

Masa,

the Gateway and ERP is on same system . I have two aliases

XXX_100_PGW - with BWF component

XXX_100 - usual

I tested with assigning the alias to XXX_100 and tested but error did not change.

I also used XXX_100 for PGW an TASKPROCESSING SREVICE but I am still getting the 500 INternal Server error

http://XXXXX:8000/sap/opu/odata/IWPGW/TASKPROCESSING;mo/ConsumerScenarioCollection?$filter=((Consume...))

When I ran the TASKPROCESSING service in the Gateway client - entity set "ConsumerScenarioColection it mentions

<code>/IWBEP/CX_MGW_TECH_EXCEPTION</code>

<message>Task Facade not implemented for provider.</message>
Although earlier when I ran it with XXX_100_PGW - I ws getting the HTTP 400 . The above consumerscenariocollection were returning the results in the GW client with all the leaves being shown to manager but on running the app with XXX_100_PGW ( as pervious ) "FilterGetAllRequests EQ 1  was posing the error since if I rmove the fileter part and hit in browser it works but does not give results in FIORI UI since filter All requests get appended to it .
Could you please suggest as to how to move further on this ,
Thanks
Sandeep

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Try with this.

XXX_100_PGW for taskprocessing

XXX_100 for leaveapproval