Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Idocs using qRFC

Former Member
0 Likes
1,170

Hi,

I am trying to implementing sending Idocs through a qRFC port , i have created the qRFC destinations but when i send the idocs through the detsination it does not go via the qRFC , but when i run the RSTRFCT0 program i get a LUW in the RFC queue.

Kunal

5 REPLIES 5
Read only

ferry_lianto
Active Contributor
0 Likes
770

Hi Kunal,

Welcome to SDN.

Have you configure IDoc port (WE21), partner profile (WE20) and distribution model (BD64)?

Hope this will help.

Regards,

Ferry Lianto

Please reward points if helpful.

Read only

0 Likes
770

Yes, all is configured correctly , i am able to send the idocs through normal tRFC queue but not through qRFC . i.e. i am unable to see the queues in the qRFC monitors smq1 ..

Read only

ferry_lianto
Active Contributor
0 Likes
770

Hi Kunal,

Did you check 'Queue Processing' option in the outbound parameter (partner profile)?

Regards,

Ferry Lianto

Read only

0 Likes
770

Where exactly do we set 'Queue Processing' option in the outbound parameter ?

Read only

0 Likes
770

I am also trying to udnesratnd the behavior of qRFC for inbound .

I am calling execute :

public void execute(JCO.Function function,

java.lang.String tid,

java.lang.String queue_name,

int queue_pos)

I tried with queuename : queuetest1

and queueposition :- 2,3,1,2 respectively (with same aboive menionted queuename)

when I see in SAP system by transaction SMQR, and i check the queue, the records (LUWs)are present there,which were processed.

BUT sequence is not as given while calling execute function, here, the sequence

is by time.

1.Please help me to understand the behavior of qRFC.

the sequence should be as mentioned in execute funciton queue position 2,1,3,2.. and here, position 2 should be overridden again.

2. when I say same queueposition again, should it overwrite?

3. suppose 100 queue positions are allowed, so after going from 1 to 100, can we reuse these numbers?

Some more questions:-

on transaction SMQR ( Queue Administration)

Registration

Register without Activation

Deregistration

what these funtion means?

when to use Register without Activation?

thanks!

Naveendra