cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Subscription Billing pagination header capitalization change

cnorman
Explorer
0 Kudos
296

Hi everyone,

We use pagination on some of the SAP Subscription Billing APIs. One example is GET transferrable bills, but this could be used for GET rate plan templates or others. We use the header X-Pagecount in the iflow (capital X and capital P). This matches what is still in the documentation at api.sap.com:

The header used to match the format of X-Pagecount just like in the documentation above. Below is a screenshot taken in Postman from before we implemented pagination:

Today, however, we see x-pagecount with no capitalization.


Is there a place we can see documentation for these kind of changes? I don't see it in the Subscription Billing What's New or the What's New for APIs.

https://help.sap.com/viewer/987aec876092428f88162e438acf80d6/latest/en-US/0dba51427c1f48d692d2e068d0...
https://help.sap.com/viewer/d1003f539d774275b4d62fc3dac9bb8e/latest/en-US

We also don't see the change reflected on api.sap.com, as you can see above.

Regards,
Chris

View Entire Topic
elodiebrenker
Product and Topic Expert
Product and Topic Expert

Hi Chris,

After a short investigation, we identified the reason of the change: BTP (formerly known as SCP) has done an update in a recent release that changed the format of the HTTP header fields, exactly as you observed. Here is an extract of the corresponding documentation:

"Please note that the SAP BTP, Cloud Foundry environment release containing HTTP header field changes has been scheduled to March 16, 2021. With this release, HTTP header field names will be converted to lower case.

This change is done in compliance with the HTTP/1.1 RFC 7230 which defines header names to be case insensitive."

Thanks for pointing it out, we will adapt our documentation accordingly.

Have a great day,

Élodie Brenker

cnorman
Explorer
0 Kudos

Thank you Élodie. I will pay better attention to BTP documentation.

https://help.sap.com/doc/43b304f99a8145809c78f292bfc0bc58/Cloud/en-US/98bf747111574187a7c76f8ced51cf...