SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Parsing JSON in ABAP using XCO Library (xco_cp_json)

The xco_cp_json class is part of the SAP XCO (Extension Components) library and allows ABAP developers to work with JSON data directly in ABAP code. A developer uses it to parse JSON responses from external API calls — for example, by transforming a JSON string into an ABAP-readable structure after receiving a response from an outbound HTTP service. This approach is commonly applied when calling an external API and processing its JSON response within custom business object logic or similar extensibility scenarios.

Tutorials that teach this

Prerequisites