on 2022 Jan 13 1:22 PM
Hello Everyone,
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
Request clarification before answering.
Hi there! Your approach seems solid, especially for working with multiple s-objects. Running individual queries for each s-object, such as Work Order, Asset, and Return Order, and merging them using the gather function is a practical method. This allows precise mapping to the S4 EDMX file before sending the data via API to S4. For SAP Salesforce integration, you might also consider composite queries if relationships exist among the Salesforce data. This can help reduce the number of API calls and make the integration more efficient. Let me know if you'd like further insights—I’m happy to assist!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi shayakmukherjee,
From my view, if you are getting the multiple SObjects data in single salesforce call then why would you do multiple salesforce calls.
There are couple of options available in adapter configuration to get multiple SObjects data in single call. Please follow the adapter document below sections:
Regards,
Souvik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 7 | |
| 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.