on 2024 Aug 26 9:58 AM
Hi,
I would like to create Project Demand (Resources) using external Web Service API.
The API I used is this one.
And in this API, one of the mandatory field WBS element is needed to enter as UUID value (ReferencedObjectUUID).
So, to able to retrieve UUID of WBS element, we will need to use WBS element API and WBS element APIs are depracted.
So, I used Enterprise Project API instead and able to retrieve WBS element UUID of Project Element ID by using /A_EnterpriseProjectElement entity with get method.
But the problem here is that the API can retrieve only UUID of Project Element IDs as WBS element UUID.
*Green highlighted one is Parent Project ID and yellow highlighted are Project Element IDs.
And when I want to choose Parent Project ID (Test260801) as WBS element, the API can only show Parent Project UUID and cannot retrieve UUID of that Parent Project ID as WBS element UUID.
And when I enter the Parent Project UUID in ReferencedObjectUUID field, "WBS element does not exist" error occurs.
Parent Project UUID
Error
So, I would like to know that how can I retrieve UUID of Parent Project ID as WBS element UUID using API (or) is there any workaround that is possible to do so?
If you have any experience (or) idea about this case, could you please kindly answer for me.
Thank you in advance.
Best Regards,
Aye Chan
Request clarification before answering.
Hello, could you find a solution for this? I am in exactly the same spot as you.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @CarlosMoreira,
In my case, this is because of the API url that I used.
Could you please try by using the following url that includes ;v=0002?
https://yourtenant/sap/opu/odata/sap/API_ENTERPRISE_PROJECT_SRV;v=0002/A_EnterpriseProjectElement
At the time I checked, that url cannot be run in soapui.
It can be run in Postman and I get the UUID I required.
Hope this will helpful for you too!
User | Count |
---|---|
33 | |
21 | |
16 | |
8 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.