Menu

Calling SAP S/4HANA OData APIs from Python, for Non-SAP Developers
πŸ“°

Calling SAP S/4HANA OData APIs from Python, for Non-SAP Developers

DEV Community: pythonΒ·Jayant ChaudharyΒ·about 1 month ago
#kGEfDv1x
#devtopython#devto#dev#token#client
Long article (3663 words) β€” no AI summary yet.
Reading 0:00
15s threshold

One of our clients was a mid-sized U.S. financial services firm that administered around $15 billion in client assets for registered investment advisers, broker-dealers and institutional managers. Its operations staff used a Java-based client servicing portal to update things like standing instructions and account details, and those updates went through MuleSoft to OData services on SAP Gateway. In development and test, every write worked. In production, somewhere between 10 and 15 percent of them failed, apparently at random, with HTTP 403 and the message "CSRF token validation failed". I'll come back to what caused it in the section on CSRF tokens.

Sooner or later, most integration developers get a ticket that says "pull X from SAP" or "write Y back to SAP", and quite often nobody on the team has ever logged into an SAP system. There is good news and bad news.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.