cancel
Showing results for 
Search instead for 
Did you mean: 

How to add filter to get the output in MDK Application

former_member357192
Participant
0 Kudos
465

Hello Team,

I'm trying to get the resources list from EWM resources service URL

/sap/opu/odata/sap/API_WAREHOUSE_RESOURCE/

Resources data is showing in browser but not in MDK application

Please help me with this

Thanks in Advance.

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

kartikkmk

can you share how you are trying to acheive it in MDK?

How did you bind the target to the MDK control?

former_member357192
Participant
0 Kudos

Hello Jitendra,

Please check the below link

Resources doc

Please check and reply

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

I guess you should be able your page definition in the comment section

export the MDK page where you have bound the control to the OData sourcce

former_member357192
Participant
0 Kudos

resourcelist.txt

Please fid the Export page, here you can see the code.

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

What logic you have in this rule /Demoapp/Rules/RFMenuIcons.js ?
Just for testing purpose, if you remove the Icons property binding, do you see the expected data in the MDK client?

former_member357192
Participant
0 Kudos

Hi Jitendra,

I have removed the RFMenuIcons.js file but the same blank output.

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Can you share below info:

  • Did you provide the complete path to the URL in Mobile Services destination? What SSO mechanism have you provided?
  • When you access the destination in the Mobile Services via "Launch in browser" option, do you see the expected result?
  • Are you accessing app in the public store client or a branded client? version details?
  • Which device platform you are running your app in?
  • Did you already do troubleshooting via network traces? If not, i highly suggest you to do so. You will see the network traffic between client and server. (Please refer this note on how to)
former_member357192
Participant
0 Kudos

Hello Jitendra,

As requested please check the below commnets,

  • Yes, I have provided a complete path & SSO Mechanism is Basic Authentication, check Screenshot Auth auth.jpg
  • Check the output Mobile Services via "Launch in browser" option resources-launchbrowser.jpg
  • I'm using SAP Mobile Services Client Version 5.2.1, Offered by SAP SE.
  • I'm running this on my MI A2 Smartphone.
  • I will go through the Network traces till now.

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Is this an offline or online app? You can check it in .service file.

In case of offline, do you have the defining requests part of your Initialization action?

that "launch in browser" test, remove ?auth=uaa ,add below path at the end of the URL

/WarehouseResource?$filter=Warehouse eq 'W001' to check if you see the data?

former_member357192
Participant
0 Kudos

Hi Jitendra,

It is an Online Application

As per your suggestion, I have performed the steps Please check the output Screenshot

resources-filter-op.jpg In Launch Browser its displays the required output.

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Kartik Kuttarmare

Did you already look at network trace?

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

kartikkmk

Were you able to resolve your issue? If so, could you post an answer so others might benefit from your findings and then close this discussion?

Regards,
Jitendra (SAP Community Moderator)

Accepted Solutions (0)

Answers (0)