Hi all,
there is a requirement to execute a request which returns the information of multiple entities within a single response.
Description of the model:
- The SAP order is the main object and is also the entry point.
- An order can be linked to multiple functional location, equipment and operations.
- An order can be assigned to a person.
Requirement:
- As a SAP user, I want to retrieve ALL information of ALL orders which have been assigned to me.
- The information should cover the order details, functional location and equipment details as well as the operation details.
I would like to perform the following QUERY and READ operations within a single request/response:
- QUERY: A certain SAP user is assigned to one/many SAP PM orders. Perform a query to return all orders which have been assigned to the given SAP user.
- QUERY: A SAP order can be linked to multiple equipments. Perform a query for each listed order to return the list of all equipment IDs associated to that individual order object.
- READ: For each listed equipment ID, request the details of that equipment.
- Step 2 and 3 have to be performed for the functional locations and operations.
- Once all details have been determined for the first order, the steps 2-4 have to be performed for each order that has been defined in step 1.
Can batch processing be used in the described scenario?
It is acceptable that this request-response will take a while. It is more important that the client just executes a single request in order to get all information of all relevant objects.
Many thanks for your help!
Regards,
Andreas