on 03-29-2006 12:00 PM
Please confirm my observations.
I wanted to call a synchronously RFC Function i.e. Importing some data and Exporting some reply.
The XI message monitor shows that the RFC adapter handles this call asynchronously i.e. QOS of EO and not BE as I would have expected.
Is this behaviour I observe correct and does this then imply that there is no way of calling RFC enabled Functions on SAP expecting anything back
Thanks
Andre
Hi Andre,
if you send from R/3 just find the right ABAP to determine synchronous/asynchronous:
CALL FUNCTION myFunction
DESTINATION myDest
IN BACKGROUND TASK "only for asychnronous messages
...
COMMIT WORK. "only for asychnronous messages
If R/3 is the receiver, then the sending system determines the quality of service. For example a http message should have an additional parameter QOS=BE/EO/EOIO.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can do it in both the ways i.e. Synchronous as well as Asynchronous. Check your Message Interface. Here you have to check the attribute as Synchronous.
Thanks and Regards
Vishal Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andre,
I have told nothing about RFC Adapter. I think your scenario is file to RFC. I hope u r calling a RFC from a file i.e XML input from file is given to RFC. That is obviously Asynch and QOS will be EO as specified in ur communication channel. check the correct one.
Thanks and Regards
Vishal Kumar
Hi Andre,
The RFC calls are for synchronous data processing by default.
You can send and receive data from a RFC enabled FM.
you can make it asynchronous using BPM though
Regards
Vijaya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijaya,
Here is the message seq from the monitor for a call to a synchronous Function module :
Status Successful
Repeatable No
Cancelable No
Error Category
Error Code
Start 29.03.2006 11:51:47
End 29.03.2006 11:51:47
Sender Party
Sender Service DXI_Client_400
Receiver Party
Receiver Service DR3_Client_100
Interface
XML_Interface_With_RFC
<b>Quality of Service Exactly Once</b>
Message a2f1d6e0-bf09-11da-8b8a-000d6098578c
Reference
Conversation ID
Direction INBOUND
Message Type Recv
Profile XI
Connection AFW
Transport HTTP
End Point http://ntcdxi01:50100/MessagingSystem/receive/AFW/XI
Authorization
Sequential Number 0
Number of Retries 3
Failed 0
Retries 300000
Valid to
Persist Until 28.04.2006 11:51:47
Schedule Time 29.03.2006 11:51:47
The Audit log also shows that the call was handled asynchronously -
2006-03-29 11:51:47 Success SOAP: request message entering the adapter
2006-03-29 11:51:47 Success SOAP: completed the processing
2006-03-29 11:51:47 Success The message was successfully received by the messaging system. Profile: XI URL: http://ntcdxi01:50100/MessagingSystem/receive/AFW/XI
2006-03-29 11:51:47 Success Using connection AFW. Trying to put the message into the receive queue.
2006-03-29 11:51:47 Success Message successfully put into the queue.
2006-03-29 11:51:47 Success The message was successfully retrieved from the receive queue.
2006-03-29 11:51:47 Success The message status set to DLNG.
2006-03-29 11:51:47 Success Delivering to channel: RFC_MethodCaller
<b>2006-03-29 11:51:47 Success RFC adapter received an asynchronous message. Attempting to send tRFC for Z_THE_METHOD with TID XIel7MuBy94TgBYW0DO9XNZ0</b>
2006-03-29 11:51:47 Success The message status set to DLVD.
Any iead what I'm missing ?
H Andre,
Please can you check if the message interface is syncrhonous and also that you have given the message type correctly in you MI.
You will have two Synchronous MI with reguest and Response Message type. Also, two message mapping, one mapped request to request and other response to response.
regards
Vijaya
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.