cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

SAP Business one connector best practices

eranarigiil
Deputy Chef I
Deputy Chef I

Hi

Can someone recommend what are the best practices of using SAP B1 connector? SAP B1 Rest (Odata) API has limitations on its authentication method: in the initial call a unique  authentication "token" (cookie) is created with TTL of 30 minutes (per userid), this token needs to be passed to subsequent api calls. it seems that multiple recipes using the same connector will randomly get http 401 from SAP (probably getting an invalid "token" or the previous token was invalidated by a new authentication request)

Many Thanks

Yours

Eran

2 REPLIES 2

eunseok
Deputy Chef I
Deputy Chef I

Hello

In general, the default session timeout for the Service Layer is 30 minutes, but you can extend it through the Service Layer Controller. You can also optimize the Service Layer by configuring the number of load balancer members and the MaxConnectionsPerChild setting. Additionally, ensure that your hardware meets the requirements.

Please refer to the new learning journey below as a starting point. If your issue is purely about the SAP Business One Service Layer, it may be more helpful to post your question in the SAP Community: SAP Business One

https://learning.sap.com/learning-journeys/developing-extensions-for-sap-business-one-and-the-web-cl... 

eranarigiil
Deputy Chef I
Deputy Chef I

Many Thanks for your answer