Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Can batch processing be used in the described scenario?

$
0
0

Hi all,

 

there is a requirement to execute a request which returns the information of multiple entities within a single response.

odata_model.jpg

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:

  1. 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.
  2. 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.
  3. READ: For each listed equipment ID, request the details of that equipment.
  4. Step 2 and 3 have to be performed for the functional locations and operations.
  5. 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


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>