cancel
Showing results for 
Search instead for 
Did you mean: 

Connect SAP Business Application Studio and SAP S/4HANA Cloud System

milan_10
Participant
0 Kudos

Hi Experts,

unfortunatelly I could not manage to open a connectivity between the BTP (Trial) and S4/Hana Public Cloud and would like to ask you for support...

I'm trying to follow this tutorial: https://developers.sap.com/tutorials/abap-custom-ui-bas-connect-s4hc.html where I'm building a simple List Reporting Fiori App and would like to deploy it to S/4Hana Public Cloud. Once you develolp you RAP app, you reach this step where you need to do a few configuration steps in order to enable the BTP S/4Hana connectivity.

- Create destination on BTP

- Create a new Communication System with enabled SAML Bearer Assertion

I believe I follow the steps correctly, but once I try to connect BAS (Business Application Studio) with S/4 using destination, I get following error: The selected System is returning and authentication error:

milan_10_0-1714463344173.png

Any cloud how to trace and fix this issue?

BR,

Milan

 

milan_10
Participant
0 Kudos
Additioanl to these steps just make sure that you are using the account bound to the same email address on BTP as you are using on S/4Hana
View Entire Topic
kaidehmann
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @milan_10 

you refer to https://developers.sap.com/tutorials/abap-custom-ui-bas-connect-s4hc.html which is part of https://developers.sap.com/group.abap-custom-ui-s4hana-cloud.html and shows how create a custom UI for a (key user) custom business object. You are referring to a RAP BO, which is part of developer extensibility. So please have a look at https://developers.sap.com/group.sap-fiori-app-purchase-req.html. This shows how to do the same for developer extensibility. The connectivity part can be found at https://developers.sap.com/tutorials/abap-s4hanacloud-purchasereq-connect-bas.html). 

Please double-check your settings (destination, communication system). If your setup seems fine, then you may run the Fiori Tools Environment Check in BAS (https://help.sap.com/docs/SAP_FIORI_tools/17d50220bcd848aa854c9c182d65b699/75390cf5d81e43aea5db231ef...) and/or create a connectivity trace using the Display Connectivity Trace app in your S/4HANA Cloud system (https://help.sap.com/docs/SAP_S4HANA_CLOUD/0f69f8fb28ac4bf48d2b57b9637e81fa/a4f6ccd072f147f299b1d856...). 

If the issue persists and you cannot solve the issue yourself, then create an incident on the BC-SRV-APS-EXT-BAS component.

Best regards
Kai

 

milan_10
Participant
0 Kudos

Hi Kai,

many thanks for you answer, based on the links you send me I find this command in BAS: Fiori: Open Environment Check

And get this result:

milan_10_0-1714653131544.png

Any clud which roles do I need in order to access these catalogs?

Best Regards,

Milan

kaidehmann
Product and Topic Expert
Product and Topic Expert
0 Kudos

Your user needs to be assigned to the SAP_A4C_BC_DEV_UID_PC and SAP_CORE_BC_EXT_TST business catalogs, see Develop an SAP Fiori Application UI.