cancel
Showing results for 
Search instead for 
Did you mean: 

RFC function module

Former Member
0 Kudos

Hello Experts..

I have scenario RFC - XI.

For this scenario...i imported RFC into IR.

2) i created target message type.

3)created message mapping bitween RFC and target message type.

4)created interface mapping.

in Id ..i configured sender RFC adapter to biz system.

when i exicuted RFC in SAP i'm unable to XML data in SXMB_MONI.

Can any one tell me did i miss anything?

Thanks..

Anu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Anu

You have to increase the logging and trace level here,

SXMB_ADM -> Integration Engine Configuration -> Specific Configuration

Create entries:

RUNTIME LOGGING 1

RUNTIME TRACE_LEVEL 3

You shd be able to see the messages

cheers

Sameer

Answers (4)

Answers (4)

Steven_UM
Contributor
0 Kudos

Hi,

Did you actually found a solution for your problem?

I am facing the same issue ... I cannot seem to get any entry in any log about the performed RFC calls ( nor any RFC XML documents ) although everything is working fine.

- RFC destination works

- Adapter monitor gives green light

- Sender agreement is active

- Receiver agreement / mapping / etc ...

I put the trace level on debug, restarted the RFC adapter and still nothing ...

Steven

Former Member
0 Kudos

Hi Steven,

Which kind of RFC do you use, sRFC, tRFC or qRFC? If you are using sRFC, of course you can't see any entry in SXMB_MONI because the synchronized messages aren't logged by default.

If you are using sRFC and everything works fine, run TX SXMB_ADM, click "configuration of the IE". Add the runtime parameter "LOGGING_SYNC" and set the value to 1. Then you can see your message in SXMB_MONI.

William

Former Member
0 Kudos

Hi,

Found a solution on my own

I have the same problem.

My abap

CALL FUNCTION 'BAPI_FLIGHT_GETLIST' DESTINATION 'XIRFC2'

exporting airline = 'testairline'.

I have registered my program in sm59. Using smgw it shows up.

***************************

When calling it dumps with the following

What happened?

The current ABAP/4 program "Z_OTTFRO_082 " had to be terminated because

one of the statements could not be executed.

This is probably due to an error in the ABAP/4 program.

The error occurred in an RFC call to another system.

The target system has also written a short dump.

Consult this short dump for more precise information about

the cause of the error.

Error analysis

An error occurred when executing a REMOTE FUNCTION CALL.

It was logged under the name "RFC_EXTERNAL_ABORT"

on the called page.

***************************

Where can I find the dump on the xi side?

Nothing shows up in SXMB_MONI.

I get the following in the adapter log

- Error: 2005-12-29 15:39:23 CET: com.sap.aii.af.rfc.afcommunication.RfcAFWException: lookup of alternativeServiceIdentifier via CPA-cache failed for channel 'rfc_sender' (5709a2209ed8341d84f946e722f55954, party '', schema 'TechnicalSystem', identifier 'ST2#500')

How can this be fixed?

Fixed it Otto

Best regards Otto

Message was edited by: Otto Frost

Message was edited by: Otto Frost

Former Member
0 Kudos

Hi Otto,

I have exactly the same problem.

I am calling an RFC at R3 end using Destination as XIS, but i am getting the same Dump as you have written.

Can you please help me out and tell me how did you solved this problem.

Thanks & Regards,

Manoj Tiwari

Former Member
0 Kudos

Where are you executing the RFC from what transaction ? have you created your own program to call the RFC ? If possible sypply the code.

Thanks,

Kalyan Musunuri

Former Member
0 Kudos

hi anu,

Double check whether the SIN is right in the sender agreement and the receiver determination.

if all of that is correct then open ur sender communication channel of RFC type.

make a note of the program ID that u have entered and check that the application server is the name of the R/3 machine that u use. put sapgw00 in the gateway service box.

now logon to r/3 machine. goto transaction sm59

and TCP/IP connections.

create a new RFC destination of type TCP/IP.

and while ur at it enter the porgram ID that u entered in the sender communication channel. the RFC destination is a registered program, so dont forget to check that radio button.

now save and test the connection.

if the connection is alright then go to transaction se37 on the r/3 system.

choose the function module and click on execute the clock symbol.

enter the values and where is asks for the RFC target sys enter the name that u gave for the RFC destination. this is important.

after u enter the field values click on test again.

u should now be able to see ur message in the SXMB_MONI.

and if everything in the Integration Directory is correct u will receive the file.

good luck.

MichalKrawczyk
Active Contributor
0 Kudos

hi,

have you completed your scenario in ID (integration directory)?

if not than you have to do it also

Regards,

michal

Former Member
0 Kudos

Thanks for the reply Michel..

Yes i finished

sender and receiver agreements, both determination process.i'm using receiver file adapter for receiver biz system for testing purpose.(This RFC writtens Long sting)

Still i'm unable to see XML data in SXMB..

Please let me know what might be the wrong?

MichalKrawczyk
Active Contributor
0 Kudos

hi,

have a look at TCODE: SM58 in R/3

and check if you got any errors over there

Regards,

michal

Former Member
0 Kudos

Thanks for the reply..

I didn't see any thing on SM58.....

eventhough everything is configured correct in sender RFC channel.

Thanks..