cancel
Showing results for 
Search instead for 
Did you mean: 

Calling RFCs in a Single Session

arunneerolil
Contributor
0 Kudos

Hi,

Is it possible to call 3 RFCs serially in a single session ??

We have one ccBPM where we are calling 3RFCs serially. Our intended action will work only if all the 3 calls are in same session.

Now we our action is not happening. It seems XI is opening 3 different sessions.

Can anyone help.

Thanks in Advance

Chemmanz

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Interesting document on this issue:<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/distributed%20transactions%20and%20two-phase%20commit.pdf">Distributed Transactions and Two-Phase Commit</a>

Yes, at the moment this is possible (with previous service pack of XI it was not possible). Look to this <a href="

Regards,

Sandro

arunneerolil
Contributor
0 Kudos

Hi Sandro,

Thanks for the response.

Can you elaborate.

In my case i cannot commit after each BAPI call.

Commit should happen only after 3RFC calls serially in the same session.

Is is possible to use the same connection for all 3 calls ???

Regards,

Chemmanz

null

Former Member
0 Kudos

Hi,

Please can you look at the constraints in RFC adapter:

Constraints

Note the following constraints:

Delivery is only guaranteed for transactional RFCs (tRFCs), that is, for messages with quality of service Exactly Once (EO), or Exactly Once in Order (EOIO).

There is no transactional context for more than one RFC call for each LUW (Logical Unit of Work).

SAPGUI, Callbacks, and qRFC are not available.

One alternative can be making an RFC call and then calling these RFC in the RFC that made the call. but then you have to check if you give a commit work then does it do commit work for all the above called RFC or just the last RFC.

Regards

Vijaya

Former Member
0 Kudos

Chemmam Sunannaz,

I have a question,

R the 3 RFCs in the same system?

If yes, y dont we create a wrapper RFC for the 3.

If not, without using BPM, may be we can go for 1:N mapping...just a thought.

Correct me if I am wrong.

-Naveen.

Answers (0)