update database in RFC
I have some requirements like this:
In system A, I have a program B, B will call Function Module C in remote system D.
In FM C, I have some UPDATE to change the database.
Here is the problem.
After C goes to the end, these UPDATE will be commited automatically, and the program run back to B. But I am not sure if B will run correctly afterwards and if it has some problems, I cannot ROLLBACK the work that I have done in system D.
If I use IN UPDATE TASK, I think that the updates will be lost after C is over.
So how should I do in this case?