cancel
Showing results for 
Search instead for 
Did you mean: 

qRFC Sequencing

Former Member
0 Kudos

Hi Gurus.

We are trying to implement a design wherein we need close to real time updates in the target (sap) system.

There can be various different programs that update different data in target system, with or without dependency.

We are thinking of using qRFC for this.

I have 2 questions :

1 - qRFC capability: I know there is a qID we need to give before calling any FM. When we give the same qID to 2 different FM calls in a program, or in varied programs, does it mean they will be executed in the order they entered the queue? For eg, I first call FM A with qID Q1, then I call FM B with same qid. Immediately in another program, I call FM A again with qID Q1. Receiver system is down. So they wait in the qRFC monitor. Now when the receiver is up, in what sequence will they be executed - in the order in which they entered the queue - i.e. first FM A, then FM b, then FM A (from the 2nd pg), or they can be executed in any sequence? In this respect, qID holds the key, right? So if I keep adding Function Modules (FM) to a qID, will they all be executed EOIO?

2 - Let's say a Pg A is updating a cust table ZTABLE1 in target system. We use qRFC to do it as we want guaranteed update. Receiver is down. Some time later (3-4 hours), Pg A again updates ZTABLE1 in target system as this is a scheduled pg to update every 3 to 4 hours. Receiver still down. But this time qID is diff. When receiver is up, will they run in parallel as qID is different, or they'd execute one after the other? 2nd case seems unlikely since how will the system know that they are dependent calls. If that's the case, then does it mean we need to give same qID every time to an application? Then we lead to another problem - what if just one call fails, all will be rolled back?

Please advice. I hope I am clear in explaining my requirement.

Thanks in adv.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Wrong forum, sorry.

stefan_grube
Active Contributor
0 Kudos

not PI related. Wrong forum.