-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Describe the Bug
We are working with a non–Spring Boot Java application deployed on SAP BTP Cloud Foundry. As part of a buildpack upgrade, the SDK version was also updated to 5.25.0. After this upgrade, we observed a significant reduction in the volume of data retrieved compared to the behavior prior to the update.
The application connects to SAP S/4HANA Public Cloud, retrieves data, and generates CSV files when triggered from CPI. Upon comparing the newly generated CSV files with those created before the upgrade, we noticed that the record counts do not match and are substantially lower.
Internally, the application executes in two phases: in the first phase, it fetches data using OData V2 and V4 APIs; in the second phase, it maps the retrieved data according to business requirements and generates the CSV files.
Documentations Followed
https://sap.github.io/cloud-sdk/docs/java/features/odata/vdm-generator
https://sap.github.io/cloud-sdk/docs/java/guides/5.0-upgrade-steps
Steps to Reproduce
- Apply the required changes and deploy the application to SAP BTP Cloud Foundry.
- Trigger the corresponding endpoint via a POST request to validate and retrieve data for an individual file.
- Deploy and execute the CPI integration flow to trigger the complete application and generate all CSV files.
- Compare the generated CSV files with those produced prior to the build pack and SDK upgrade and observe the discrepancy in record counts.
Expected Behavior
Prior to the upgrade, the application retrieved approximately 20,000 records. After the buildpack and SDK upgrade, the record count has dropped to around 12,000.
Screenshots
No response
Used Versions
SDK Version - 5.25.0
Code Examples
// Your code hereStack Trace
No response
Log File
Log file
...Affected Development Phase
Production
Impact
Blocked
Timeline
Go-Live on 31st Jan 2026