cancel
Showing results for 
Search instead for 
Did you mean: 

Call a RFC in ABAP RAP save sequence

mhappe
Participant

Hello All, Hello @Andre_Fischer 

Does anyone know if it is possible to call an RFC (using a destination) in the RAP save sequence to persist data in another SAP system?

I tried to call an RFC in the additional_save or save_modified of (un)managed RAP BO, but in all scenarios, the system generates a short dump. Calling a function module using a destination is not allowed as it triggers an implicit commit, which is forbidden.

Thanks in advance!

 

mhappe_0-1716378798227.png

 

 

View Entire Topic
junwu
Active Contributor
0 Kudos
mhappe
Participant
0 Kudos

Hi, 

Thnx for the response, calling the RFC using RAP business events is a possible solution but not suitable for our case as we need the result (created sales order number) of the RFC in the response.

Kind regards,
Mattijs