cancel
Showing results for 
Search instead for 
Did you mean: 

B1 Service Layer Login Credentials as Destination Properties

mkraus92
Explorer

Hi Community,

i am trying to get the the following to work:

I have my SAP B1 ServiceLayer defined as a Destination. Here i have the option to add additional Properties.

I was thinking about adding the ServiceLayer UserName, Password and CompanyDB in the Properties so i can make my WebApp deployable to multiple customers without changing the code and only defining the Backend via the destination.

Do any of you know if there is a possible way to read the properties inside my webapp?

If this is not possible how did you achieve multi-customer availability?

Accepted Solutions (1)

Accepted Solutions (1)

former_member197733
Contributor

I am not aware of a way to get the additional parameters form the destination.

But you can achieve what you are proposing by using

Basic Authentication type and with the a structure like:

username: {"UserName": "manager", "CompanyDB": "SBODEMOUS"}

password: 1234

You point regarding multi-tenancy is a whole different discussion, I suggest you the following reading

former_member197733
Contributor

Btw, next time make sure to use the SAP Business One Extensibility tag

p_bocca
Discoverer
0 Kudos

Hello,

i've tried this solution for setting a new destination for SAP B1 ServiceLayer in Sap Web IDE but when i check the connection i have this error:

Failure reason: "An error of type SSLPeerUnverified occurred during check connection!"

Any suggestion to how solve this problem?

Thanks

mkraus92
Explorer
0 Kudos

Hi p.bocca ,

did you setup the Destination with the SAP Cloud Connector?

If so your configuration should look like this:

Answers (0)