on 2025 Jan 03 7:44 AM
Hi,
first of all happy new year!
In my SAP Build project i have the requirement to create purchase requisitions in S/4HANA Public Cloud. These PR's consists of 1 header, an x number of items and every item has 1 account assignment and 2 texts.
What is the best way to build up the payload for the API? I am able to create a PR with 1 item, but i am struggling to build up a payload for multiple items.
Is this possible with SET_KEY? Or do i need to write Javascript for this? Or is there any other option?
Creating the items 1 by 1 is not an option as there is an impact on the workflow in S4.
many thanks,
Sanne
Request clarification before answering.
You can check my example at:
https://github.com/gregorwolf/bookshop-demo/blob/main/tests/s4hana/PURCHASEREQUISITION_0001.http#L26
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.