cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hi Priyanka,Just like UPDATE_INSERT, Do SAP CPI supports DELETE_INSERT?

Sakshi_T
Explorer

Accepted Solutions (1)

Accepted Solutions (1)

rohitparihar
Discoverer
0 Likes

Hi Sakshi..

To my knowledge, currently there is no direct equivalent operation like DELETE_INSERT(delete or insert at the same time). However you can achieve similar functionality by implementing a sequence of below steps in your integration flow by making sure the logic and exception handling are maintained properly. 

1. checking/validation of the existing object

2. delete/remove if necessary and

3. create/post/insert 

Hope it helps ðŸ™‚

Sakshi_T
Explorer
0 Likes
Thank you, Rohit! I have a question—can we use UPDATE_INSERT in this case? The issue with INSERT occurs when a record is already present in the database, preventing insertion and causing an error. If we use UPDATE_INSERT, it will update the existing record if it's already in the database, avoiding the error. Please share your thoughts on this.
rohitparihar
Discoverer
Yes, you can do so, but since the function UPDATE_INSERT can handle the checks on its own, the above steps will not be required
Sakshi_T
Explorer
0 Likes
Hi Rohit, Thanks for the help!

Answers (1)

Answers (1)

robertot4s
Contributor
0 Likes

Hi,

No it doesn't exist, here you have the existing operations:

https://help.sap.com/docs/integration-suite/sap-integration-suite/payload-and-operation

Regards,

Roberto

Sakshi_T
Explorer
0 Likes
Thank you, Robert!
Sakshi_T
Explorer
0 Likes
Is there any alternative to DELETE_INSERT action in Integration suite?