Technical Articles
User management using API in S4 Cloud system
Its an essential blog post for those:
- Interested to know how API works
- How user management in SAP cloud application can be achieved with ease
This blog post can be used for user management using API’s in both S4 Cloud and IBP Cloud system – By following steps you would be able to manage user accounts, read user accounts or perform any other user management activities within Postman tool and also then similar learnings can be utilized to integrate your existing IdM solution (Sailpoint/Savient etc) to connect and manage users in SAP Cloud system.
In this document – We will focus on how we can read all user information from S4 Cloud using API:
Tools used in this blog post:
Postman API Tool – https://www.postman.com/product/tools/
SAP API documentation – https://api.sap.com/
You can find available API’s for S4 Cloud user management operations in api.sap.com website, Refer below:
API Page





<IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>
<LowerBoundaryPersonID>9980000000</LowerBoundaryPersonID>
</PersonIDInterval>?
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<n0:BusinessUserSimpleByElementsQuery_sync xmlns:n0="http://sap.com/xi/ABA">
<BusinessUser>
<!-- <PersonExternalIDInterval>
<IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>
<LowerBoundaryPersonExtID>{<PersonExtID>}</LowerBoundaryPersonExtID>
</PersonExternalIDInterval> -->
<BusinessPartnerRoleCodeInterval>
<IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>
<LowerBoundaryBusinessPartnerRoleCode>BUP003</LowerBoundaryBusinessPartnerRoleCode>
</BusinessPartnerRoleCodeInterval>
</BusinessUser>
<QueryProcessingConditions>
<QueryHitsMaximumNumberValue>100</QueryHitsMaximumNumberValue>
<QueryHitsUnlimitedIndicator>false</QueryHitsUnlimitedIndicator>
</QueryProcessingConditions>
</n0:BusinessUserSimpleByElementsQuery_sync>
</soap:Body>
</soap:Envelope>
Now click on send in POSTMAN API and you should be able to get all user information including their assigned role information:
You can also download this information in XML format and convert into tabular format using power query editor in excel.
Conclusion – By following above steps – You can easily learn and implement a basic API with Postman to read system data and also explore how to create/update data using API’s.
If you think this post has helped you in any way please like and share your thoughts in the comments section below. Incase of any questions please ask in the comments section below
Thanks & Regards
Deepak Gupta