Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an SAP Fiori App Using SAP Business Application Studio #442

Closed
Mbouarour opened this issue Jun 21, 2021 · 20 comments
Closed

Create an SAP Fiori App Using SAP Business Application Studio #442

Mbouarour opened this issue Jun 21, 2021 · 20 comments
Assignees

Comments

@Mbouarour
Copy link

Tutorials: https://developers.sap.com/tutorials/appstudio-fioriapps-create.html

Hello,
The List of the suppliers is not displayed at the end of the step 6 even if the page is automatically reloaded.

Thanks in advance
Mohamed BOUAROUR

Create an SAP Fiori App Using SAP Business Application Studio ISSUE.pdf

@raz-korn
Copy link

Hi @Mbouarour ,

The primary suspect is the connectivity to ES5.
I suggest the following steps (as appear in issue 36):

  • Can you share a screenshot of the ES5 destination configuration in SAP BTP Cockpit?
  • can you share the output of running the following command in the BAS terminal:
    curl -v -i "ES5.dest/sap/opu/odata/iwbep/GWSAMPLE_BASIC/BusinessPartnerSet?%24top=1"

Regards - Raz

@Mbouarour
Copy link
Author

Mbouarour commented Jun 22, 2021 via email

@raz-korn
Copy link

Hi @Mbouarour ,

I cannot see the destination configuration, but since the curl command looks OK, it seems that everything is configured correctly.
Do you still experience the empty list of suppliers?
If so - For the tab where the application (not BAS) is running: Can you open the network tab and refresh the app?

Regards - Raz

@Mbouarour
Copy link
Author

Mbouarour commented Jun 22, 2021 via email

@raz-korn
Copy link

Hi @Mbouarour ,

Every modern browser has some kind of integrated "Developer tools". Usually launched by pressing F12.
When it opens it has multiple tabs. One of them is the Network tab.
If you can share the output of the network tab after the app is refreshed.
My assumption is that something's wrong with the access to ES5.
BTW - You can filter the network tab for sap-client, which will list only the relevant calls.
image

Regards -Raz

@Mbouarour
Copy link
Author

Mbouarour commented Jun 22, 2021 via email

@raz-korn
Copy link

Hi @Mbouarour ,
The image does not show.
Regards - Raz

@Mbouarour
Copy link
Author

Mbouarour commented Jun 22, 2021 via email

@raz-korn
Copy link

Hi @Mbouarour ,
Can't see the pdf either.
It looks like none of the attachments get through.
Regards - Raz

@Mbouarour
Copy link
Author

Mbouarour commented Jun 22, 2021 via email

@raz-korn
Copy link

Hi @Mbouarour ,
This explains why the list is not populated.
Can you try the same but use the incognito mode of the browser?
Regards - Raz

@Mbouarour
Copy link
Author

Mbouarour commented Jun 22, 2021 via email

@raz-korn
Copy link

Hi @Mbouarour ,
I apologize for the late response. Other issues I had to take care of...
Does it persist - When you run the app, no data is loaded?
If it persists, it's important that you can share with me the mentioned screenshot of the network tab.
Regards - Raz

@Mbouarour
Copy link
Author

Mbouarour commented Jun 23, 2021 via email

@raz-korn
Copy link

Hi @Mbouarour ,
I cannot see the attachment, but I recalled the following:
Since you mentioned that the only red message you see related to the $batch call, there's the following option to disable OData batch calls:
In the manifest json make the following changes:
image
It does not explain why the batch call is not working for you, but I hope that it solves the issue.
Regards - Raz

@Mbouarour
Copy link
Author

Mbouarour commented Jun 23, 2021 via email

@raz-korn
Copy link

Hi @Mbouarour ,

Ability to support $batch call or not is dependent on the backend.
therefore, if it works for one person it should work for all.
that's why it's not clear to me, an I'll need to take it internally.

I do not think that it should happen to a new app (depending on the backend that is used as explained above).

Regards - Raz

@raz-korn
Copy link

Since the issue is solved, I'm closing it.
If you still have questions, feel free to reopen the issue.

@Mbouarour
Copy link
Author

Mbouarour commented Jun 23, 2021 via email

@Mbouarour
Copy link
Author

Mbouarour commented Jun 23, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants