on 2024 Mar 17 3:04 AM
Hi experts,
Sometimes I can see RFC destination 'NONE', the RFC call is in the current system but in an RFC context.
I have checked the help doc regarding RFC context.
But I'm not clear about the difference between if data is in RFC context or not. Could someone help to explain more on that? e.g., LUW.
Regards,
Ming
Request clarification before answering.
Yes. CALL FUNCTION DESTINATION 'NONE' starts an RFC context.
Synchronous RFC (CALL FUNCTION-DESTINATION) | SAP Help Portal
("DESTINATION space" is the only case where it's not RFC = same as without DESTINATION)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
CALL FUNCTION ... DESTINATION 'NONE' creates a new user session (on the same application server), and all DB updates done in that user session, need to be committed in that user session.
That means, the updates will never be committed unless one of these two prerequisites are fulfilled:
Or the third possibility is an implicit database commit (not a COMMIT WORK) when the connection is closed (i.e. explicitly via RFC_CONNECTION_CLOSE or implicitly if the calling context closes), but one should not count on implicit things, that should be done explicitly i.e. go for the first two options.
User | Count |
---|---|
63 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.