The URL format for the Production tenant

The URL format for the Production tenant

book

Article ID: KB0075477

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for OData Services for SAP S/4HANA 6.x

Description

If the URL field under Production Tenant on SAP S/4HANA Cloud Configuration only contains hostname & port, a runtime error like below will occur.

16:48:35.858 ERROR [bwEngThread:In-Memory Process Worker-4] com.tibco.bw.core - TIBCO-BW-CORE-500050: The BW process [jamestesthana.module.Product] instance faulted, JobId [bw0a100], ProcessInstanceId [bw0a100], ParentProcessInstanceId [-], Module [JamesTestHana.module:1.0.0.qualifier], Application [JamesTestHana:1.0]. <CausedBy> TIBCO-BW-CORE-500051: Activity [ConsumeODataService] fault. <CausedBy> com.tibco.bw.palette.s4hana.runtime.S4HanaSystemFault: Failed to retrieve the token information from server. Error:[Forbidden].-{ActivityName=ConsumeODataService, ProcessName=jamestesthana.module.Product, ModuleName=JamesTestHana.module}

Environment

All Supported Platforms

Resolution

The URL field under Production Tenant on SAP S/4HANA Cloud Configuration should be assigned with the suffix /sap/opu/odata/sap/ in the format of: https://Hostname:port/sap/opu/odata/sap/. 
So that the full request URL at runtime will become https://Hostname:[port]/sap/opu/odata/sap/API_NAME

Issue/Introduction

The URL format for the Production tenant

Additional Information

Failed to retrieve the token information from server. Error:[Forbidden], ConsumeODataService