I am currently working on a CPI and Salesforce Scenario, where CPI needs to get get details of Repair Service Order Creation from Salesforce System(SMAX) involving multiple s0bject. and sent it to S4(On-premise) through a Standard API.
So, I have gone through few blogs available on SAP SCN, but my query is- as it involves getting data from multiple s-objects, so should I do a individual query for each s-objects(like Work Order, asset, return order) and then merge them using gather function and then map it with S4 edmx file and sent it to S4 through API.
Is this a correct approach, or do we have any other better approach.
Please do let me know your thoughts, as It is my first scenario involving Salesforce Integration. with S4 via CPI