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
Comments
|
Hi @Mbouarour , The primary suspect is the connectivity to ES5.
Regards - Raz |
|
Hi @raz-korn <https://github.com/raz-korn>
Thanks for you answer.
Here they are.
But before that, I would like to inform you that I have run the last
tutorial "Build and Deploy Your SAP Fiori App to SAP Business Technology
Platform" where I changed "cpp" by "Launchpad" in the url :
"
https://77441ec4trial.cpp.cfapps.eu10.hana.ondemand.com/b4e4b708-138f-4eb4-9947-07b79f9b18f4.BP.nsbusinesspartners-1.0.0/"
and now it's ok. The List is correctly displayed. How is it ?
- screenshot of the ES5 destination configuration in SAP BTP Cockpit
[image: image.png]
- output of running the following command in the BAS terminal:
curl -v -i
"ES5.dest/sap/opu/odata/iwbep/GWSAMPLE_BASIC/BusinessPartnerSet?%24top=1"
user: FioriDemo $ curl -v -i
"ES5.dest/sap/opu/odata/iwbep/GWSAMPLE_BASIC/BusinessPartnerSet?%24top=1"
* Uses proxy env variable no_proxy == 'localhost,127.0.0.1,github.com,.
github.com,.npmjs.org,.yarnpkg.com,npm.sap.com,.maven.apache.org'
* Uses proxy env variable http_proxy == 'http://127.0.0.1:8887'
* Trying 127.0.0.1:8887...
* Connected to 127.0.0.1 (127.0.0.1) port 8887 (#0)
GET
Host: ES5.dest
User-Agent: curl/7.74.0
Accept: */*
Proxy-Connection: Keep-Alive
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Cache-Control: no-store, no-cache
Cache-Control: no-store, no-cache
< Connection: keep-alive
Connection: keep-alive
< Content-Type: application/atom+xml;type=feed; charset=utf-8
Content-Type: application/atom+xml;type=feed; charset=utf-8
< Dataserviceversion: 2.0
Dataserviceversion: 2.0
< Date: Tue, 22 Jun 2021 09:18:43 GMT
Date: Tue, 22 Jun 2021 09:18:43 GMT
< Sap-Metadata-Last-Modified: Sat, 23 Jan 2021 06:30:44 GMT
Sap-Metadata-Last-Modified: Sat, 23 Jan 2021 06:30:44 GMT
< Sap-Perf-Fesrec: 221089.000000
Sap-Perf-Fesrec: 221089.000000
< Sap-Processing-Info:
ODataBEP=,crp=,RAL=,st=,MedCacheHub=Table,MedCacheBEP=SHM,codeployed=X,softstate=
Sap-Processing-Info:
ODataBEP=,crp=,RAL=,st=,MedCacheHub=Table,MedCacheBEP=SHM,codeployed=X,softstate=
< Sap-Server: true
Sap-Server: true
< Set-Cookie:
ARBE=53983e7ce2e435aec0e2b85eeabc41ea5e7f414bc7d6b6268f12742058930578fc805411989eab7d2fcac919ece1c3c984a6266fab7262eb80ab6de16a2646696212a001eeca4b7c1e9e5f4fbb909ed92cfc85b76908f74821a1845d1058334bb675e201d58e3c1047fcaad8244925fdee2f1c9ac1083536500f3d334853d43e4e8ed018114e1707841395eacfe157c275a8d3d4c68f4b17f36def2bc725e25ed86ead900478ca1a177c52cba41aae20e9be0caa2d43d79fb6555a7399c018c026ae4842be939eb5d47694694854bc69dcfbac4896020e9a4d7aa1a334f330344e4e4d7dc90b19d5e832990bf9cee52ab5e82ee18b4be0e18071258fffb29342a2c70c97a211efbf97189ee3313444686346e9b91d73daf01764d7165129ad03781f1838b4dde502f94c185d8a179c156ca06e697d95ec010d17d747663e8f1548cca871a72768373a2acdf4b02c84d58c5c170bbb3b99947f109ffa7393a1fef54ee6a7bf3bb22f90bfc53bd8be376214c8d45f4883cb02e7f5b8a82367a1152f48f13da51eb7105e92e0b9aee249cf44431306d519597d3e45f3269c7f5af2b063061e9a7bca0de6911d838bdb5bacc3ad46855ddf13fc38a55489657fa5b97d5b2fd328e2c37a6c4ca73ea5a840ffe719cedc4e8ea11c36805e7a18b57cfb7ee27ea739b7204456523689a74d852e7e5c8c4bd06aa8871010d285ac51e382490ba02eb304747f1ffd5ac6bb492ce5f4ead0cd68723670d1e5f8bd6ae969903b2fec812c681ae5ee6ae62b306d9627e9b54012dff3612f94783ad6d5d68149eedce778fdacd2a83dd28a6341de9c7d4e148be64686bc502875a1a0503d804aeb6bc120fda099c67f0fa417e71c0cc75cf490052f7087bcc47596719489919cb3a77f1d212fa645565761c508ca22c23f243a515b599d5ea526d8ebc885c562aae860c4352daa63110fb076ec7286b6a1a332c70ed74b9b8dad3b7b1351b199d45b24b842f5f14d0807b012e865379cf1335154655d29369c778e8b2afa14f6;
Path=/; HttpOnly;
Set-Cookie:
ARBE=53983e7ce2e435aec0e2b85eeabc41ea5e7f414bc7d6b6268f12742058930578fc805411989eab7d2fcac919ece1c3c984a6266fab7262eb80ab6de16a2646696212a001eeca4b7c1e9e5f4fbb909ed92cfc85b76908f74821a1845d1058334bb675e201d58e3c1047fcaad8244925fdee2f1c9ac1083536500f3d334853d43e4e8ed018114e1707841395eacfe157c275a8d3d4c68f4b17f36def2bc725e25ed86ead900478ca1a177c52cba41aae20e9be0caa2d43d79fb6555a7399c018c026ae4842be939eb5d47694694854bc69dcfbac4896020e9a4d7aa1a334f330344e4e4d7dc90b19d5e832990bf9cee52ab5e82ee18b4be0e18071258fffb29342a2c70c97a211efbf97189ee3313444686346e9b91d73daf01764d7165129ad03781f1838b4dde502f94c185d8a179c156ca06e697d95ec010d17d747663e8f1548cca871a72768373a2acdf4b02c84d58c5c170bbb3b99947f109ffa7393a1fef54ee6a7bf3bb22f90bfc53bd8be376214c8d45f4883cb02e7f5b8a82367a1152f48f13da51eb7105e92e0b9aee249cf44431306d519597d3e45f3269c7f5af2b063061e9a7bca0de6911d838bdb5bacc3ad46855ddf13fc38a55489657fa5b97d5b2fd328e2c37a6c4ca73ea5a840ffe719cedc4e8ea11c36805e7a18b57cfb7ee27ea739b7204456523689a74d852e7e5c8c4bd06aa8871010d285ac51e382490ba02eb304747f1ffd5ac6bb492ce5f4ead0cd68723670d1e5f8bd6ae969903b2fec812c681ae5ee6ae62b306d9627e9b54012dff3612f94783ad6d5d68149eedce778fdacd2a83dd28a6341de9c7d4e148be64686bc502875a1a0503d804aeb6bc120fda099c67f0fa417e71c0cc75cf490052f7087bcc47596719489919cb3a77f1d212fa645565761c508ca22c23f243a515b599d5ea526d8ebc885c562aae860c4352daa63110fb076ec7286b6a1a332c70ed74b9b8dad3b7b1351b199d45b24b842f5f14d0807b012e865379cf1335154655d29369c778e8b2afa14f6;
Path=/; HttpOnly;
< Vary: Accept-Encoding
Vary: Accept-Encoding
< X-Frame-Options: SAMEORIGIN
X-Frame-Options: SAMEORIGIN
< X-Request-Id: kq7u5bop
X-Request-Id: kq7u5bop
< Transfer-Encoding: chunked
Transfer-Encoding: chunked
<
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:m="
http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="
http://schemas.microsoft.com/ado/2007/08/dataservices" xml:base="
https://sapes5.sapdevcenter.com/sap/opu/odata/iwbep/GWSAMPLE_BASIC/"><id>
https://sapes5.sapdevcenter.com/sap/opu/odata/iwbep/GWSAMPLE_BASIC/BusinessPartnerSet</id><title
type="text">BusinessPartnerSet</title><updated>2021-06-22T09:18:43Z</updated><author><name/></author><link
href="BusinessPartnerSet" rel="self" title="BusinessPartnerSet"/><entry
m:etag="W/"datetime'2021-06-22T02%3A01%3A04.0000000'""><id>
https://sapes5.sapdevcenter.com/sap/opu/odata/iwbep/GWSAMPLE_BASIC/BusinessPartnerSet('0100000000')</id><title
type="text">BusinessPartnerSet('0100000000')</title><updated>2021-06-22T09:18:43Z</updated><category
term="GWSAMPLE_BASIC.BusinessPartner" scheme="
http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/><link
href="BusinessPartnerSet('0100000000')" rel="edit"
title="BusinessPartner"/><link
href="BusinessPartnerSet('0100000000')/ToSalesOrders" rel="
http://schemas.microsoft.com/ado/2007/08/dataservices/related/ToSalesOrders"
type="application/atom+xml;type=feed" title="ToSalesOrders"/><link
href="BusinessPartnerSet('0100000000')/ToContacts" rel="
http://schemas.microsoft.com/ado/2007/08/dataservices/related/ToContacts"
type="application/atom+xml;type=feed" title="ToContacts"/><link
href="BusinessPartnerSet('0100000000')/ToProducts" rel="
http://schemas.microsoft.com/ado/2007/08/dataservices/related/ToProducts"
type="application/atom+xml;type=feed" title="ToProducts"/><content
type="application/xml"><m:properties xmlns:m="
http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="
http://schemas.microsoft.com/ado/2007/08/dataservices"><d:Address
m:type="GWSAMPLE_BASIC.CT_Address"><d:City>Praha</d:City><d:PostalCode>140
00</d:PostalCode><d:Street>Vyskocilova</d:Street><d:Building>1481/4a</d:Building><d:Country>CZ</d:Country><d:AddressType>02</d:AddressType></d:Address><d:BusinessPartnerID>010000*
Connection #0 to host 127.0.0.1 left intact
0000</d:BusinessPartnerID><d:CompanyName>Office Line
Prag</d:CompanyName><d:WebAddress>http://www.office-line-prag.test.com
***@***.***</d:EmailAddress><d:PhoneNumber>+420
776 9487923</d:PhoneNumber><d:FaxNumber>+420 776
9487004</d:FaxNumber><d:LegalForm>s.r.o.</d:LegalForm><d:CurrencyCode>USD</d:CurrencyCode><d:BusinessPartnerRole>01</d:BusinessPartnerRole><d:CreatedAt>2021-06-22T02:01:04.0000000</d:CreatedAt><d:ChangedAt>2021-06-22T02:01:04.0000000</d:ChangedAt></m:properties></content></entry></feed>user:
FioriDemo $
Best regards.
Le mar. 22 juin 2021 à 10:46, Raz Korn ***@***.***> a écrit :
… Hi @Mbouarour <https://github.com/Mbouarour> ,
The primary suspect is the connectivity to ES5.
I suggest the following steps (as appear in issue 36
<#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
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#442 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOU6HFCMSHJ3OJ5C34I6N4LTUBEXZANCNFSM47BWNRQQ>
.
|
|
Hi @Mbouarour , I cannot see the destination configuration, but since the curl command looks OK, it seems that everything is configured correctly. Regards - Raz |
|
Hi @raz-korn <https://github.com/raz-korn>
Yes I still have the empty list of suppliers.
I think there's something wrong in my tasks :
I just run the application preview on Webapp directory and i got this url :
https://workspaces-ws-pnssn-app1.eu10.trial.applicationstudio.cloud.sap/index.html?sap-client=002
Is this right ?
What do you mean by *"Can you open the network tab and refresh the app?" ?*
*Thanks*
Le mar. 22 juin 2021 à 12:44, Raz Korn ***@***.***> a écrit :
… Hi @Mbouarour <https://github.com/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
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#442 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOU6HFGS7IOZKPBDMARM5CLTUBSQ3ANCNFSM47BWNRQQ>
.
|
|
Hi @Mbouarour , Every modern browser has some kind of integrated "Developer tools". Usually launched by pressing F12. Regards -Raz |
|
Hi @
I thought the network tabl shoul show on the executed page.
Here is the screenshot of the Network filtred on sap-client.
[image: image.png]
Thanks
Le mar. 22 juin 2021 à 14:39, Raz Korn ***@***.***> a écrit :
… Hi @Mbouarour <https://github.com/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: image]
<https://user-images.githubusercontent.com/6040433/122925926-fd557980-d36f-11eb-925b-92b2bf082f83.png>
Regards -Raz
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#442 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOU6HFDBX6RMPFCW7VJXKDDTUCABDANCNFSM47BWNRQQ>
.
|
|
Hi @Mbouarour , |
|
Hi @
Sorry
Here is the screenshot in pdf file format.
.
Thanks
Best regards
Le mar. 22 juin 2021 à 16:26, Raz Korn ***@***.***> a écrit :
… Hi @Mbouarour <https://github.com/Mbouarour> ,
The image does not show.
Regards - Raz
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#442 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOU6HFG56FJVWU6Z64DBARLTUCMSRANCNFSM47BWNRQQ>
.
|
|
Hi @Mbouarour , |
|
Hi @raz-korn <https://github.com/raz-korn>
oups !
Here a copy of the red message:
2021-06-22 16:37:33.811199 'HTTP request failed' while processing POST
/sap/opu/odata/iwbep/GWSAMPLE_BASIC/$batch?sap-client=002 -
{"requestUri":"/sap/opu/odata/iwbep/GWSAMPLE_BASIC/$batch?sap-client=002","statusCode":403,"statusText":"","headers":[],"body":"CSRF
token validation failed"} sap.ui.model.odata.v2.ODataModel
best regards
Le mar. 22 juin 2021 à 16:34, Raz Korn ***@***.***> a écrit :
… Hi @Mbouarour <https://github.com/Mbouarour> ,
Can't see the pdf either.
It looks like none of the attachments get through.
Regards - Raz
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#442 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOU6HFB5GXOMBSPPU7MLU3DTUCNQ7ANCNFSM47BWNRQQ>
.
|
|
Hi @Mbouarour , |
|
Hi @raz-korn <https://github.com/raz-korn>
HTTP ERROR 401
Best regards
Le mar. 22 juin 2021 à 16:58, Raz Korn ***@***.***> a écrit :
… Hi @Mbouarour <https://github.com/Mbouarour> ,
This explains why the list is not populated.
Can you try the same but use the incognito mode of the browser?
Regards - Raz
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#442 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOU6HFDUSB54QTDBSQ5R4N3TUCQIZANCNFSM47BWNRQQ>
.
|
|
Hi @Mbouarour , |
|
Hi @raz-korn <https://github.com/raz-korn>
Thank you so match.
Unfortunately, I still have the same issue of missing data.
[image: image.png]
The screenshot is attached to this Email. If not, please give me un Email i
can use for sharing doc in google drive.
Best regards
Le mer. 23 juin 2021 à 15:13, Raz Korn ***@***.***> a écrit :
… Hi @Mbouarour <https://github.com/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
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#442 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOU6HFABIDNPLUQIB46ENQDTUHMVXANCNFSM47BWNRQQ>
.
|
|
Hi @Mbouarour , |
|
Hi @raz-korn <https://github.com/raz-korn>
Yes it works :-)
Thanks.
As you said, it does not explain why and how.
Does this mean that every time I have to create a new app, I have to make
this correction manually ?
Thank you so match for your dedication.
Best regards
Mohamed
Le mer. 23 juin 2021 à 16:21, Raz Korn ***@***.***> a écrit :
… Hi @Mbouarour <https://github.com/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: image]
<https://user-images.githubusercontent.com/6040433/123113471-42001400-d447-11eb-89ea-f1db791b8327.png>
It does not explain why the batch call is not working for you, but I hope
that it solves the issue.
Regards - Raz
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#442 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOU6HFHV4JEPRVVJY3ZKYFDTUHUVNANCNFSM47BWNRQQ>
.
|
|
Hi @Mbouarour , Ability to support $batch call or not is dependent on the backend. I do not think that it should happen to a new app (depending on the backend that is used as explained above). Regards - Raz |
|
Since the issue is solved, I'm closing it. |
|
Perfect.
Best regards
Mohamed
Le mer. 23 juin 2021 à 18:24, Raz Korn ***@***.***> a écrit :
… Hi @Mbouarour <https://github.com/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
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#442 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOU6HFGF7R6G3IGIZ3TV42DTUIDCLANCNFSM47BWNRQQ>
.
|
|
Hi @raz-korn
I have a good news.
The issue occurs in Google Chrome *Version 91.0.4472.77 (Build officiel)
(64 bi*ts) but the application works right in Microsoft Edge *Version
86.0.622.51 (Version officielle) (64 bits) without the correction you gave
me.*
Best regards.
Mohamed
Le mer. 23 juin 2021 à 18:24, Raz Korn ***@***.***> a écrit :
… Hi @Mbouarour <https://github.com/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
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#442 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOU6HFGF7R6G3IGIZ3TV42DTUIDCLANCNFSM47BWNRQQ>
.
|


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
The text was updated successfully, but these errors were encountered: