on 02-22-2006 1:13 PM
Hi all
I have done one scenarion as RFC is sender adapter.
1. I have created RFC destination type t in sap.
2. I have taken program id and this is given sender comm channel.
During execution of RFC I used RFC Destination type t created above then it is throwing error <b>CALL_FUNTION_REMOTE_ERROR</b>.
so can you please give me list of settings required in SAP .
Thanks
N.P.Babu
Hi Prasad Babu,
Please check the following:
1. Test your RFC Destination and make sure it is working.
2. If not, make sure your Program ID is registered.
a) To check this go to TR.code SMGW-->Go to -->Logged
on clients. Your program ID should under column
'TP name'.
You can also check this by executing the function
module 'GWY_READ_CONNECTED_SYSTEMS' in SE37 of R/3.
Also, refer to the thread at the following Link:
Rgds,
Sam Raju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prasad Babu,
Check couple of things.
1) Go to Tr.code SM58 in R/3 to see if your messages got stuck there. if so, highlight the message and click on F6 button to execute it.
2) Have you specified the RFC Destination while executing your function module?
If the above two are okay, try the following.
Write a small ABAP Wrapper Script to execute your function module.
Sample ABAP Script for making ASYNCHRONOUS RFC calls to XI
REPORT Z_SEND_DATA_TO_XI.
PARAMETERS: DEST LIKE RFCDES-RFCDEST DEFAULT '(RFC Destination you defined in SM59)'.
<<your other variable declaration and ABAP Code here>>
CALL FUNCTION '<Your RFC Function Module>'
IN BACKGROUND TASK
DESTINATION DEST
EXPORTING
< your export parameters>
COMMIT WORK.
<< your other ABAP code here>>
Sample ABAP Script for making SYNCHRONOUS RFC calls to XI
REPORT Z_GET_DATA_FROM_XI.
PARAMETERS: DEST LIKE RFCDES-RFCDEST DEFAULT '(RFC Destination you defined in SM59)'.
<<your other variable declaration and ABAP Code here>>
CALL FUNCTION '<Your RFC Function Module>'
DESTINATION DEST
IMPORTING
<your import parameters>
EXPORTING
< your export parameters>
<< your other ABAP code here>>
Hope this helps.
Regards,
Sam Raju
Hi,
In the abap code making this call ..pls make the function call as follows(make sure the exceptios part is similar)...see what is the error message that you get in the field <b>MSG_TEXT</b>...it might say what the problem is....
DATA: INFO LIKE RFCSI, "Importing parameter
MSG_TEXT(80) TYPE C. "Message text
...
* Synchronous call to function module RFC_SYSTEM_INFO
CALL FUNCTION 'RFC_SYSTEM_INFO'
DESTINATION 'NONE'
IMPORTING
RFCSI_EXPORT = INFO
EXCEPTIONS
COMMUNICATION_FAILURE = 1 MESSAGE MSG_TEXT
SYSTEM_FAILURE = 2 MESSAGE MSG_TEXT.
IF SY-SUBRC NE 0.
WRITE: MSG_TEXT.
ELSE.
WRITE: 'O.K.'.
ENDIF.
Thanks,
Renjith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.