Skip to content

Data loss after updating to the latest SDK version(5.25.0). #1085

@lakshman-pavan

Description

@lakshman-pavan

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

  1. Apply the required changes and deploy the application to SAP BTP Cloud Foundry.
  2. Trigger the corresponding endpoint via a POST request to validate and retrieve data for an individual file.
  3. Deploy and execute the CPI integration flow to trigger the complete application and generate all CSV files.
  4. 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 here

Stack Trace

No response

Log File

Log file ...

Affected Development Phase

Production

Impact

Blocked

Timeline

Go-Live on 31st Jan 2026

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions