Technical Articles
Deep Dive 7 with SAP Cloud SDK: S/4HANA Connectivity – Made Simple
Disclaimer: This blog post is only applicable for the SAP Cloud SDK version of at most 2.19.2. We plan to continuously migrate these blog posts into our List of Tutorials. Feel free to check out our updated Tutorials on the SAP Cloud SDK.
In this blog post, we discuss how to set up a connection to SAP S/4HANA from your cloud application running on SAP Cloud Platform, Cloud Foundry.
Good news: your application source code is really simplified, when you use the SAP Cloud SDK components, which take care of a lot of technical details for setting up a connection for you. Due to several abstractions, it does not matter whether your S/4HANA runs on-premise or in the cloud – a single version of the source code works in both cases.
Feel free to check out the source code demonstrating the S/4HANA Edition abstraction in our S4-Connectivity example on GitHub.
Note: This post is part of a series. For a complete overview visit the SAP Cloud SDK Overview.
In case you have questions or suggestions, reach out to us on Stackoverflow with the sap-cloud-sdk tag. Our development team is actively monitoring this tag and is making sure that the questions and requests are addressed properly. You can use this opportunity to share your experiences and to get advice from a broader Stackoverflow community. Of course, we are happy to receive your questions and suggestions in the comments to our blog posts, as well.
Goal of This Blog Post
This blog post guides you through setting up a connection from your application, developed with the SAP Cloud SDK and running on SAP Cloud Platform, Cloud Foundry, to SAP S/4HANA systems. Although this blog post mainly focuses on the S/4HANA On-Premise connectivity, we also discuss how you can customize your application to access SAP S/4HANA Cloud.
You will see how the SDK abstracts SAP S/4HANA Editions and enables the communication with various S/4HANA editions using the same lines of code. This allows developers to focus on the business logic of their applications, rather than taking care of the infrastructure-related general problems.
In this blog post, I mainly focus on the connectivity from the developer perspective. Nevertheless, I also briefly touch on how to customize the Cloud Platform account. For a deep dive on this topic, please refer to the blog post Part 1: How to use SAP Cloud Platform Connectivity and Cloud Connector in the Cloud Foundry environment with a detailed step by step explanation on how to set up the infrastructure.
Out of Scope
In this blog post, I reference related Cloud Platform services, such as authorization & trust management, the connectivity service, and the destination service. For more information on these topics, please, consult the official SAP documentation. I also give references to related resources in the part Further Information and Related Reading.
For simplicity of the account setup, I cover only the basic authentication between a cloud platform application and SAP S/4HANA. In productive solutions, you would use principle propagation instead. However, this will affect only the configuration part, as the authentication approach is abstracted by the SDK.
Prerequisites
To demonstrate the connectivity, we will retrieve data from S/4HANA using OData services. Therefore, it is recommended to work through the following tutorial steps of our series to be able to experiment with S/4HANA On-Premise connectivity, as described in the sections below.
As On-Premise connectivity from SAP Cloud Platform, Cloud Foundry is supported starting from the SDK version 1.7.1, please, make sure that you use this or later version, when executing these steps.
Step 1 with SAP Cloud SDK: Set up
Step 3 with SAP Cloud SDK: HelloWorld on SCP CloudFoundry
Step 4 with SAP Cloud SDK: Calling an OData Service with the Virtual Data Model (Cloud Foundry part only)
Step 7 with SAP Cloud SDK: Secure your Application on SAP Cloud Platform, CloudFoundry (execute till the part Use OAuth scope to authorize users).
Make sure that you have access to On-Premise SAP S/4HANA. You may also check that business partner service is activated in your system using the transaction code SICF.
Beware that the destination service is currently Beta in SAP Cloud Platform, Cloud Foundry. Therefore, it is available only in a Trial landscape.
Quick Look at the S/4HANA Query with the SDK Virtual Data Model
After executing Step 3, 4, and 7 of SDK tutorials, you have created two projects: business partner application accessing OData service and approuter that secures your application.
Now, let us consider business partner query in BusinessPartnerServlet that we have created in the first application and that is explained in details in the Step 4 of our tutorial series:
final List<BusinessPartner> businessPartners =
new DefaultBusinessPartnerService()
.getAllBusinessPartner()
.select(BusinessPartner.BUSINESS_PARTNER,
BusinessPartner.LAST_NAME,
BusinessPartner.FIRST_NAME,
BusinessPartner.IS_MALE,
BusinessPartner.IS_FEMALE,
BusinessPartner.CREATION_DATE)
.filter(BusinessPartner.BUSINESS_PARTNER_CATEGORY.eq(CATEGORY_PERSON))
.orderBy(BusinessPartner.LAST_NAME, Order.ASC)
.execute();
The execute() method is exactly the method that hides details related to connectivity to SAP S/4HANA from the application developer.
It is does not matter whether you are talking to S/4HANA Cloud or S/4HANA On-Premise edition. You can still use exactly the same query and the SDK will handle all the connectivity magic for you behind the scenes.
This enables separation of concerns: developers write source code and cloud platform account administrators take care of the customizing of corresponding S/4HANA instances.
Running Business Partner Calls Against S/4HANA On-Premise
Now, let us see, what customizing is required to run the application against SAP S/4HANA On-Premise.
Set up Connectivity in Cloud Platform Account and Cloud Connector
Step 1. Setting up Cloud Connector
The blog post Part 1: How to use SAP Cloud Platform Connectivity and Cloud Connector in the Cloud Foundry environment gives a step by step guidance for setting up of Cloud Connector, including the required prerequisites. In a nutshell:
1) You will create a connection from your cloud connector instance to your Cloud Foundry account, where you deploy business partner application. Here is the example of my configuration:
2) You will enable cloud to on-premise access for the given account to your on-premise system. Here is the example of my configuration:
Beware that the virtual host that you configure in the Cloud Connector will be referenced in the destination configuration, as shown below.
Step 2. Create service instances in Cloud Foundry Account
To be able to connect SAP S/4HANA On-Premise edition, you need to create an instance of the connectivity service that we will later bind to our business partner java application.
To create your instance of the connectivity service, you can use Cloud Foundry CLI and execute the command:
cf create-service connectivity lite my-connectivity
If you have executed the tutorial steps, mentioned in the prerequisites to this deep dive, you have already created the following service instances:
- Instance my-xsuaa of the service Authorization & Trust Management
- Instance my-destination of the destination service
You can check your service instances in your Cloud Foundry cockpit, as shown in the screenshot below:
Step 3. Configure S/4HANA destination
Destinations can be configured via Cloud Foundry cockpit. Configuration of destinations can be done in a subaccount level, when you select the menu Connectivity -> Destinations (Beta).
In the Business Partner query in our application, we use the method execute(), which runs the query against the destination with the default name ERPQueryEndpoint.
The screenshoot below demonstrates my configuration that corresponds to the previously described configuration of the Cloud Connector and default destination name. Please note that to connect to SAP S/4HANA On-Premise, you need to set the Proxy Type to “OnPremise”:
This default destination name is defined by the SDK. You can use another name, however, as it is demonstrated in our GitHub example S4-Connectivity. It can be useful in case you have several destinations. You can then explicitly reference the destination by name when creating ErpConfigContext, as follows (for example, for the endpoint with the name “S4HANA”):
execute(new ErpConfigContext("S4HANA"))
Bind Cloud Platform Services in manifest.yml of Your Business Partner Application
After the service instances are created and customized, we will need to bind them to our application.
Modify already existing manifest.yml file in your business partner application by adding a binding to the new connectivity service instance. manifest.yml looks as follows in my case:
---
applications:
- name: firstapp
memory: 768M
host: firstapp-i042557trial
path: application/target/firstapp-application.war
buildpack: sap_java_buildpack
env:
TARGET_RUNTIME: tomee
JBP_CONFIG_SAPJVM_MEMORY_SIZES: 'metaspace:96m..'
SAP_JWT_TRUST_ACL: '[{"clientid" : "*", "identityzone" : "*"}]'
services:
- my-destination
- my-xsuaa
- my-connectivity
Deploy and Test
Now, you can redeploy your business partner application in SAP Cloud Platform, Cloud Foundry and call the endpoint /businesspartners of your approuter to get a response from your On-Premise SAP S/4HANA system, as depicted below.
Let us take a look at the concepts of the inner working of the On-Premise connectivity and the SDK role in this scenario.
S/4HANA On-Premise Connectivity with the SDK: Under the Hood
What is actually going on behind the scenes, when you call the execute() method of the business partner query? Actually, several steps are executed that you even do not have to be aware of, as the SDK takes care of them for you.
The detailed explanation of the inner working of the On-Premise connectivity from SAP Cloud Platform, Cloud Foundry with basic authentication is provided in this blog post: Part 2: How to use SAP Cloud Platform Connectivity and Cloud Connector in the Cloud Foundry environment
When using the SDK, the steps, such as retrieving a Json Web Tocken (JWT) to connect to the destination service, retrieving a configuration of the destination, obtaining a JWT for accessing the connectivity service, sending a request to the connectivity instance are handled by the SDK.
Looking at the high level architecture depicted in the referenced blog post, the steps 4a, 4b, 5, and 6 are performed when you are calling the execute() method of your business partner query.
Abstracting SAP S/4HANA Edition with the SDK: S/4HANA Cloud Connectivity
So far, we have looked at what needs to be done to set up SAP S/4HANA On-Premise connectivity from your application running in SAP Cloud Platform, Cloud Foundry.
One of the nice features of the SAP Cloud SDK is the abstraction of S/4HANA editions. What does it mean from the development perspective? You can write your code for S/4HANA On-Premise and you can be sure that you will be able to run your application against S/4HANA Cloud edition without any changes in code. You just need to adapt the configuration of the S/4HANA endpoint.
Let us see that in action.
Set up Cloud Platform
All you need to do to read data from SAP S/4HANA Cloud is to adapt the default destination, changing it to the corresponding S/4HANA Cloud instance. This is how the destination for the Cloud system would look like:
Note: For S/4HANA Cloud communication, you can remove the binding of your application to the instance of the connectivity service in manifest.yml. It is only required in case of On-Premise connectivity.
Deploy and Test
Now, you can redeploy your business partner application in SAP Cloud Platform, Cloud Foundry and call the endpoint /businesspartners of approuter to get a response from SAP S/4HANA Cloud system, as depicted below.
We have just switched the S/4HANA edition that our application is talking to without changing a single line of code. As a developer, I like that! 🙂
Further Information and Related Reading
First of all, I recommend you to check out S4-Connectivity example on GitHub that demonstrates the usage of the same code line for various S/4HANA editions. Beware that you will need to configure two destinations in your account to run this example: ErpQueryEndpointCloud (S/4HANA Cloud endpoint) and ErpQueryEndpointOP (S/4HANA On-Premise). Also, do not forget to secure your application with an approuter before testing it.
As written in sections above, we highly recommend to check out the blog post, provided by SAP Cloud Platform colleagues: How to use SAP Cloud Platform Connectivity and Cloud Connector in the Cloud Foundry environment. You do not need to implement these steps when building an app with the SDK, but it is always helpful to get an insight on an inner working.
In addition to that, here are some link to the related official SAP documentation, in case you are interested to research on this topic more and to get insight on the corresponding Cloud Foundry services:
Currently I cannot create destination service instance on cf by trial account, error will raise
Hello Kalfen,
could you please describe, how do you create an instance, via CLI or via CF cockpit? Could you please add more details regarding the error that you are getting.
Best regards,
Ekaterina
I seem to have the same problem with my trial account. Tried to create an instance with the CLI. Used the Command:
cf create-service destination lite my-destination
Responds was:
Creating service instance my-destination in org Jonas_trial / space dev as [...]@sap.com...
FAILED
Server error, status code: 502, error code: 10001, message: Service broker error: Org with guid [ ... ] is not registered in tenant-onboarding service. Instance creation not allowed.
Best regards,
Jonas
Hello Jonas,
thanks for the detailed information. Could you please also provide the following details: 1) on which landscape do you have this issue 2) how the corresponding account was created, did you use public trial process?
Thanks,
Ekaterina
Hi,
Is it possible to connect to S4HANA OP edition with deployment on Neo. I followed the blog post 4 but in the Neo section it only discusses local deployment. I am specifically facing the issue where I get an error - Failed to execute OData Metadata request.
I could see that in the troubleshooting section the workaround of adding TrustAll=TRUE was also only provided for local deployment but not for Neo.
Can you please confirm if Neo is supported for S4HANA OP OData consumption and if so can you point me to some example on how to achieve it.
Vikas
Hi Vikas,
thank you for question! Connecting from Neo (or Cloud Foundry, for that matter) to an S/4HANA On-Premise system requires a Cloud Connector. Do you have a Cloud Connector set up? You can find more information here.
I hope this helps you, please don't hesitate to get back to us if you have further questions!
Best regards
Dennis
Hi Dennis,
Yes I have configured a Cloud Connector and a destination to the S4HANA OP system. I was able to use this destination to consume the same API in Web IDE by building a UI5 application.
I was also able to consume the same API using lcal deployment options for oth CF and NEO but had to manually set TrustAll = True in the destination configurations.
Unfortunately this parameter cannot be setup on real destination either in CF/Neo (I assume some security standard). Thus in absence of this parameter the SDK fails to communicate to the API when the app is deployed on SCP.
Vikas
Hi Vikas,
the TrustAll parameter should not be needed on SCP.
Going back to your original comment, you said the error coming up was "Failed to execute OData Metadata request". This error can have different sources, thus it's hard to determine the root cause.
Have you deployed and tested your app locally?
Also can you provide a stack trace?
Best regards
Dennis
I suffer the same error message, and please see log here:
2018-09-07T05:08:31.785+0000 [APP/PROC/WEB/0] OUT 05:08:31.785 [http-nio-8080-exec-8] INFO com.sap.cloud.sdk.s4hana.connectivity.ErpConfigContext - Falling back to locale "en_US". To specify the locale, set the property on destination "ErpQueryEndpoint" or provide the locale as explicit argument. (END OF LOG ENTRY)
2018-09-07T05:08:32.031+0000 [APP/PROC/WEB/0] OUT 05:08:32.031 [http-nio-8080-exec-8] ERROR com.sap.cloud.sdk.odatav2.connectivity.cache.metadata.GuavaMetadataCache - Error occurred during populating metadata : com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler$ErpODataException:
2018-09-07T05:08:32.351+0000 [APP/PROC/WEB/0] OUT 05:08:32.351 [http-nio-8080-exec-8] ERROR com.sap.cloud.sdk.odatav2.connectivity.cache.metadata.GuavaMetadataCache - Error occurred during populating metadata : com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler$ErpODataException:
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.cloudfoundry.router.ClientCertificateMapper.doFilter(ClientCertificateMapper.java:77)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:685)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at java.lang.Thread.run(Thread.java:748)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT Caused by: com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler$ErpODataException:
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler.createException(ODataVdmErrorResultHandler.java:111)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler.createError(ODataVdmErrorResultHandler.java:91)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler.createError(ODataVdmErrorResultHandler.java:31)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.internal.ODataConnectivityUtil.checkHttpStatus(ODataConnectivityUtil.java:196)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.cache.metadata.GuavaMetadataCache.getEdm(GuavaMetadataCache.java:134)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.cache.metadata.GuavaMetadataCache.getEdm(GuavaMetadataCache.java:113)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.loadMetadata(ODataQuery.java:310)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.loadEntriesFromDestination(ODataQuery.java:270)
2018-09-07T05:08:32.352+0000 [APP/PROC/WEB/0] OUT ... 76 common frames omitted
The stack trace doesn't tell much, unfortunately.
Are you on Neo or on CF? How have you configured your destination and what kind of authentication do you use?
I am on CF account and the destination is configured as suggested in this blog using on-premise proxy type and basic authentication, as I am an internal SAP employee, I configured to SAP Internal development system with my Internal ID and password, also sap client is also provided. Do you have any hints?
Hi Dennis,
I got an error "Unable to fetch the metadata: Failed to execute OData Metadata request." when requesting /businesspartners resources, and the log shows an internal 500 error as raised:
based on the log it seems to be an endpoint internal server error, however, when I check the destination connection test the result is positive:
the virtual host is mapped to an internal host via cloud connector, which also tells the service is reachable:
According to this information do you have any hints on why I still suffer this issue?
Hi Guoquan,
some more questions:
Best regards
Dennis
Hi Dennis,
I have the same issue. Please see the comment section.
All the configurations are done as mentioned in the blog.
Thanks & Regards,
Shalini
Hi,
While trying this part : Running Business Partner Calls Against S/4HANA On-Premise
when i deploy and test the application, I get this message :
‘Unable to fetch the metadata : Failed to execute OData Metadata request’.
I checked odata url in the backend system and its working fine.
Can someone help me if i am missing anything here.
Thanks & Regards,
Shalini
Hi Shalini,
This error message can have a variance of different reasons and is typically just the result of another error happening before. Therefore, could you please post your application logs after a failing call?
Also feel free to ask this question on StackOverflow using the tag s4sdk!
Best regards
Dennis
Hi Shalini,
thank you very much for your question!
This issue can happen due to multiple reasons. For the following I am assuming that you are deploying on Cloud Foundry:
If this does not directly help, please provide some more details, e.g. stacktrace from the logs, application code, screenshots of the destination configurartion etc.
Greetings
Chris
Hi,
Please check the configurations mentioned below.
Cloud connector:
Cloud to on prem :
SCP destination :
@Marco Dahms
Hi All,
I have done the required configuration but still i am getting the same error.
Error log:
2018-11-19T10:19:08.12+0530 [APP/PROC/WEB/0] OUT [CONTAINER] oudFoundryContainerTrustManagerFactory$PKIXFactory INFO Adding System Trust Manager
2018-11-19T10:19:08.18+0530 [APP/PROC/WEB/0] OUT 04:49:08.185 [http-nio-8080-exec-4] INFO com.sap.cloud.sdk.s4hana.connectivity.ErpConfigContext - Falling back to locale "en_US". To specify the locale, set the property on destination "ErpQueryEndpoint" or provide the locale as explicit argument. (END OF LOG ENTRY)
2018-11-19T10:19:08.61+0530 [RTR/1] OUT 8d-i069231trial.cfapps.eu10.hana.ondemand.com - [2018-11-19T04:49:08.103+0000] "GET /businesspartners HTTP/1.1" 500 0 72 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36" "-" "10.0.137.13:62316" x_forwarded_for:"-" x_forwarded_proto:"https" vcap_request_id:"cf19e4ec-1973-4541-7124-31765f87b642" response_time:0.51569356 app_id:"2905bd35-06d3-4035-96f1-fa007ab5fe1a" app_index:"0" x_b3_traceid:"c513135621a0f9f8" x_b3_spanid:"c513135621a0f9f8" x_b3_parentspanid:"-"
2018-11-19T10:19:08.61+0530 [RTR/1] OUT
2018-11-19T10:19:08.40+0530 [APP/PROC/WEB/0] OUT 04:49:08.402 [http-nio-8080-exec-4] ERROR com.sap.cloud.sdk.odatav2.connectivity.cache.metadata.GuavaMetadataCache - Error occurred during populating metadata : com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler$ErpODataException:
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT 04:49:08.614 [http-nio-8080-exec-4] ERROR com.sap.cloud.sdk.qm.BusinessPartnerServlet - Unable to fetch the metadata : Failed to execute OData Metadata request.
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT com.sap.cloud.sdk.odatav2.connectivity.ODataException: Unable to fetch the metadata : Failed to execute OData Metadata request.
2018-11-19T10:19:08.18+0530 [APP/PROC/WEB/0] OUT [CONTAINER] oudFoundryContainerTrustManagerFactory$PKIXFactory INFO Adding System Trust Manager
2018-11-19T10:19:08.29+0530 [APP/PROC/WEB/0] OUT 04:49:08.296 [http-nio-8080-exec-4] ERROR com.sap.cloud.sdk.odatav2.connectivity.cache.metadata.GuavaMetadataCache - Error occurred during populating metadata : com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler$ErpODataException:
2018-11-19T10:19:08.50+0530 [APP/PROC/WEB/0] OUT 04:49:08.508 [http-nio-8080-exec-4] ERROR com.sap.cloud.sdk.odatav2.connectivity.cache.metadata.GuavaMetadataCache - Error occurred during populating metadata : com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler$ErpODataException:
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT 04:49:08.613 [http-nio-8080-exec-4] ERROR com.sap.cloud.sdk.odatav2.connectivity.cache.metadata.GuavaMetadataCache - Error occurred during populating metadata : com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler$ErpODataException:
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.loadEntriesFromDestination(ODataQuery.java:272)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.internalExecute(ODataQuery.java:214)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.retryExecuteWithCompleteUrl(ODataQuery.java:132)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.execute(ODataQuery.java:146)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.execute(ODataQuery.java:196)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.execute(ODataQuery.java:177)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.s4hana.datamodel.odata.helper.FluentHelperRead.execute(FluentHelperRead.java:222)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.s4hana.datamodel.odata.helper.FluentHelperRead.execute(FluentHelperRead.java:36)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.s4hana.datamodel.odata.helper.FluentHelperBasic.execute(FluentHelperBasic.java:119)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.qm.BusinessPartnerServlet.doGet(BusinessPartnerServlet.java:44)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.cloudplatform.servlet.RequestContextServletFilter.lambda$doFilter$0(RequestContextServletFilter.java:171)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.cloudplatform.servlet.RequestContextCallable.call(RequestContextCallable.java:121)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.cloudplatform.servlet.RequestContextServletFilter.doFilter(RequestContextServletFilter.java:173)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.cloudplatform.security.servlet.HttpCachingHeaderFilter.doFilter(HttpCachingHeaderFilter.java:57)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.cloudplatform.security.servlet.HttpSecurityHeadersFilter.doFilter(HttpSecurityHeadersFilter.java:42)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.filters.RestCsrfPreventionFilter.doFilter(RestCsrfPreventionFilter.java:113)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationProcessingFilter.doFilter(OAuth2AuthenticationProcessingFilter.java:176)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.cloudfoundry.router.ClientCertificateMapper.doFilter(ClientCertificateMapper.java:77)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:685)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at java.lang.Thread.run(Thread.java:748)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT Caused by: com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler$ErpODataException:
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler.createException(ODataVdmErrorResultHandler.java:111)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler.createError(ODataVdmErrorResultHandler.java:91)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler.createError(ODataVdmErrorResultHandler.java:31)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.internal.ODataConnectivityUtil.checkHttpStatus(ODataConnectivityUtil.java:196)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.cache.metadata.GuavaMetadataCache.getEdm(GuavaMetadataCache.java:134)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.cache.metadata.GuavaMetadataCache.getEdm(GuavaMetadataCache.java:113)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.loadMetadata(ODataQuery.java:310)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.loadEntriesFromDestination(ODataQuery.java:270)
2018-11-19T10:19:08.61+0530 [APP/PROC/WEB/0] OUT ... 76 common frames omitted
2018-11-19T10:22:41.39+0530 [APP/PROC/WEB/0] OUT 04:52:41.394 [http-nio-8080-exec-2] INFO com.sap.cloud.sdk.s4hana.connectivity.ErpConfigContext - Falling back to locale "en_US". To specify the locale, set the property on destination "ErpQueryEndpoint" or provide the locale as explicit argument. (END OF LOG ENTRY)
2018-11-19T10:22:41.61+0530 [APP/PROC/WEB/0] OUT 04:52:41.610 [http-nio-8080-exec-2] ERROR com.sap.cloud.sdk.odatav2.connectivity.cache.metadata.GuavaMetadataCache - Error occurred during populating metadata : com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler$ErpODataException:
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT 04:52:41.822 [http-nio-8080-exec-2] ERROR com.sap.cloud.sdk.odatav2.connectivity.cache.metadata.GuavaMetadataCache - Error occurred during populating metadata : com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler$ErpODataException:
2018-11-19T10:22:41.39+0530 [APP/PROC/WEB/0] OUT [CONTAINER] oudFoundryContainerTrustManagerFactory$PKIXFactory INFO Adding System Trust Manager
2018-11-19T10:22:41.50+0530 [APP/PROC/WEB/0] OUT 04:52:41.505 [http-nio-8080-exec-2] ERROR com.sap.cloud.sdk.odatav2.connectivity.cache.metadata.GuavaMetadataCache - Error occurred during populating metadata : com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler$ErpODataException:
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT 04:52:41.822 [http-nio-8080-exec-2] ERROR com.sap.cloud.sdk.qm.BusinessPartnerServlet - Unable to fetch the metadata : Failed to execute OData Metadata request.
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT com.sap.cloud.sdk.odatav2.connectivity.ODataException: Unable to fetch the metadata : Failed to execute OData Metadata request.
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.loadEntriesFromDestination(ODataQuery.java:272)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.internalExecute(ODataQuery.java:214)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.retryExecuteWithCompleteUrl(ODataQuery.java:132)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.execute(ODataQuery.java:146)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.execute(ODataQuery.java:196)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.execute(ODataQuery.java:177)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.s4hana.datamodel.odata.helper.FluentHelperRead.execute(FluentHelperRead.java:222)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.s4hana.datamodel.odata.helper.FluentHelperRead.execute(FluentHelperRead.java:36)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.s4hana.datamodel.odata.helper.FluentHelperBasic.execute(FluentHelperBasic.java:119)
2018-11-19T10:22:41.71+0530 [APP/PROC/WEB/0] OUT 04:52:41.716 [http-nio-8080-exec-2] ERROR com.sap.cloud.sdk.odatav2.connectivity.cache.metadata.GuavaMetadataCache - Error occurred during populating metadata : com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler$ErpODataException:
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.qm.BusinessPartnerServlet.doGet(BusinessPartnerServlet.java:44)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.cloudplatform.servlet.RequestContextServletFilter.lambda$doFilter$0(RequestContextServletFilter.java:171)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.cloudplatform.servlet.RequestContextCallable.call(RequestContextCallable.java:121)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.cloudplatform.servlet.RequestContextServletFilter.doFilter(RequestContextServletFilter.java:173)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.cloudplatform.security.servlet.HttpCachingHeaderFilter.doFilter(HttpCachingHeaderFilter.java:57)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.cloudplatform.security.servlet.HttpSecurityHeadersFilter.doFilter(HttpSecurityHeadersFilter.java:42)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.filters.RestCsrfPreventionFilter.doFilter(RestCsrfPreventionFilter.java:113)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationProcessingFilter.doFilter(OAuth2AuthenticationProcessingFilter.java:176)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.cloudfoundry.router.ClientCertificateMapper.doFilter(ClientCertificateMapper.java:77)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:685)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at java.lang.Thread.run(Thread.java:748)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT Caused by: com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler$ErpODataException:
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler.createException(ODataVdmErrorResultHandler.java:111)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler.createError(ODataVdmErrorResultHandler.java:91)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler.createError(ODataVdmErrorResultHandler.java:31)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.internal.ODataConnectivityUtil.checkHttpStatus(ODataConnectivityUtil.java:196)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.cache.metadata.GuavaMetadataCache.getEdm(GuavaMetadataCache.java:134)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.cache.metadata.GuavaMetadataCache.getEdm(GuavaMetadataCache.java:113)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.loadMetadata(ODataQuery.java:310)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT at com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.loadEntriesFromDestination(ODataQuery.java:270)
2018-11-19T10:22:41.82+0530 [APP/PROC/WEB/0] OUT ... 76 common frames omitted
2018-11-19T10:22:41.83+0530 [RTR/1] OUT 8d-i069231trial.cfapps.eu10.hana.ondemand.com - [2018-11-19T04:52:41.392+0000] "GET /businesspartners HTTP/1.1" 500 0 72 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36" "-" "10.0.137.13:62316" x_forwarded_for:"-" x_forwarded_proto:"https" vcap_request_id:"e6255a63-ca3c-473c-67c5-ce32f2dea7b8" response_time:0.44359291 app_id:"2905bd35-06d3-4035-96f1-fa007ab5fe1a" app_index:"0" x_b3_traceid:"5c4740e750987994" x_b3_spanid:"5c4740e750987994" x_b3_parentspanid:"-"
2018-11-19T10:22:41.83+0530 [RTR/1] OUT
Hi Shalini,
pls make sure that the destination URL and the URL that you whitelisted in the SAP Cloud Connector are equal.
What are your current configurations there?
Thanks
Marco Dahms
Hi Marco,
I have posted the configurations above my last post.
Please have a look. Destinations are same i suppose.
Thanks & Regards,
Shalini
Hi Shalini,
so you see that you do not have the same values. Pls correct it and retry.
You should also see according error messages in the audit log of the SAP Cloud Connector.
Thanks
Marco Dahms
Hi Experts,
I followed the steps according to the blog, but I keep getting error “java.util.concurrent.ExecutionException: com.sap.cloud.sdk.odatav2.connectivity.ODataException: Failed to execute OData Metadata request”
here are the logs: –
{ “written_at”:”2019-01-30T05:21:57.625Z”,”written_ts”:3510839755301122,”component_id”:”ae30fb63-3ddc-42e4-95c9-c190e7c5950e”,”component_name”:”address-manager”,”DCComponent”:””,”HOST”:”9d3a5013-f69f-4694-4049-6669″,”organization_name”:”-“,”component_type”:”application”,”space_name”:”dev”,”SERVER”:”main”,”component_instance”:”0″,”organization_id”:”-“,”correlation_id”:”-“,”CSNComponent”:””,”space_id”:”71c96992-bd88-41e6-ac83-bdcc94e38fc6″,”Application”:”address-manager”,”container_id”:”10.0.73.145″,”type”:”log”,”logger”:”com.sap.cloud.s4hana.examples.addressmgr.commands.GetAllProductsCommand”,”thread”:”hystrix-com.sap.cloud.s4hana.examples.addressmgr.commands.GetAllProductsCommand#t=#u=-3″,”level”:”WARN”,”categories”:[],”msg”:”Fallback called because of exception:”,”stacktrace”:[“java.util.concurrent.ExecutionException: com.sap.cloud.sdk.odatav2.connectivity.ODataException: Failed to execute OData Metadata request.”,”\tat com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:526)”,”\tat com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:487)”,”\tat com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:83)”,”\tat com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:196)”,”\tat com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2311)”,”\tat com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2277)”,”\tat com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2154)”,”\tat com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2044)”,”\tat com.google.common.cache.LocalCache.get(LocalCache.java:3951)”,”\tat com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4870)”,”\tat com.sap.cloud.sdk.frameworks.hystrix.CachingCommand.run(CachingCommand.java:178)”,”\tat com.netflix.hystrix.HystrixCommand$2.call(HystrixCommand.java:302)”,”\tat com.netflix.hystrix.HystrixCommand$2.call(HystrixCommand.java:298)”,”\tat rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:46)”,”\tat rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35)”,”\tat rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)”,”\tat rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)”,”\tat rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)”,”\tat rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)”,”\tat rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)”,”\tat rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)”,”\tat rx.Observable.unsafeSubscribe(Observable.java:10256)”,”\tat rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:51)”,”\tat rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35)”,”\tat rx.Observable.unsafeSubscribe(Observable.java:10256)”,”\tat rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41)”,”\tat rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30)”,”\tat rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)”,”\tat rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)”,”\tat rx.Observable.unsafeSubscribe(Observable.java:10256)”,”\tat rx.internal.operators.OperatorSubscribeOn$SubscribeOnSubscriber.call(OperatorSubscribeOn.java:100)”,”\tat com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction$1.call(HystrixContexSchedulerAction.java:56)”,”\tat com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction$1.call(HystrixContexSchedulerAction.java:47)”,”\tat com.sap.xs.threadlocal.hystrix.ThreadLocalCallable.call(ThreadLocalCallable.java:29)”,”\tat com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction.call(HystrixContexSchedulerAction.java:69)”,”\tat rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)”,”\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)”,”\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)”,”\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)”,”\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)”,”\tat java.lang.Thread.run(Thread.java:836)”,”Caused by: com.sap.cloud.sdk.odatav2.connectivity.ODataException: Failed to execute OData Metadata request.”,”\tat com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.loadEntriesFromDestination(ODataQuery.java:215)”,”\tat com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.internalExecute(ODataQuery.java:167)”,”\tat com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.execute(ODataQuery.java:105)”,”\tat com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.execute(ODataQuery.java:150)”,”\tat com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.execute(ODataQuery.java:136)”,”\tat com.sap.cloud.sdk.s4hana.datamodel.odata.helper.FluentHelperRead.execute(FluentHelperRead.java:197)”,”\tat com.sap.cloud.sdk.s4hana.datamodel.odata.helper.FluentHelperRead.execute(FluentHelperRead.java:23)”,”\tat com.sap.cloud.sdk.s4hana.datamodel.odata.helper.FluentHelperBasic.execute(FluentHelperBasic.java:85)”,”\tat com.sap.cloud.s4hana.examples.addressmgr.commands.GetAllProductsCommand.runCacheable(GetAllProductsCommand.java:53)”,”\tat com.sap.cloud.s4hana.examples.addressmgr.commands.GetAllProductsCommand.runCacheable(GetAllProductsCommand.java:19)”,”\tat com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4875)”,”\tat com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)”,”\tat com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2276)”,”\t… 35 more”,”Caused by: com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler$ErpODataException: “,”\tat com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler.createException(ODataVdmErrorResultHandler.java:105)”,”\tat com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler.createError(ODataVdmErrorResultHandler.java:86)”,”\tat com.sap.cloud.sdk.s4hana.datamodel.odata.helper.ODataVdmErrorResultHandler.createError(ODataVdmErrorResultHandler.java:31)”,”\tat com.sap.cloud.sdk.odatav2.connectivity.internal.ODataConnectivityUtil.checkHttpStatus(ODataConnectivityUtil.java:185)”,”\tat com.sap.cloud.sdk.odatav2.connectivity.cache.metadata.GuavaMetadataCache.getEdm(GuavaMetadataCache.java:131)”,”\tat com.sap.cloud.sdk.odatav2.connectivity.cache.metadata.GuavaMetadataCache.getEdm(GuavaMetadataCache.java:110)”,”\tat com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.loadMetadata(ODataQuery.java:250)”,”\tat com.sap.cloud.sdk.odatav2.connectivity.ODataQuery.loadEntriesFromDestination(ODataQuery.java:213)”,”\t… 47 more”] }
Hi Amorghan,
sorry for the belated response!
Do you have some code that you can share with us?
In general this would look like some issue with the destination configuration.
Greetings
Chris
after upgrading the CAP to 3.0, the integration tests to test ODATA service using VDM approach is not working anymore. I get an error "Caused by: com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Connection is currently in auto commit mode."
I had reported the same in stackoverflow
Ciao,
Benu
Please do not send duplicate questions. To avoid redundancy, let’s continue at stackoverflow [57186465].