cancel
Showing results for 
Search instead for 
Did you mean: 

RFC to file scenario

swatantra_vijay3
Participant
0 Kudos

Hi

I am doing RFC to file scenario. It was working fine . But all of sudden it started to work on and off . i checked all the settings . if i test sometimes it works sometimes not

Has any one faced this kind of problem

Regards

Swatantra

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member431549
Contributor
0 Kudos

Does the test connection option work consistently from SM59 in the source business system ? Are you calling the rfc using tRFC or sRFC ?

swatantra_vijay3
Participant
0 Kudos

Yes Tim

RFC connection works fine from SM59 in the source business system. I am using tRFC

Below code i am using to trigger the RFC

CALL FUNCTION 'XXX' IN BACKGROUND TASK

DESTINATION XXX

EXPORTING

XXX = XXXX

TABLES

XXXX = XXXXX

COMMIT WORK.

Any clues ............... Thanks in advance

former_member431549
Contributor
0 Kudos

Do you have more than one app server on your sending system ?

And if so, do you have the gateway server/host set up on your rfc destination in source system ? Try pinging the rfc destination from each of your app servers.

swatantra_vijay3
Participant
0 Kudos

Hi Tim

We have only one application server om source system

Regards

Swatantra

Former Member
0 Kudos

Hi Swatantra,

Try doing what Vijaya had suggested earlier. The note is available here..

note no : 730870 RFC adapter FAQ

cheers,

Prashanth

P.S Please mark helpful answers

swatantra_vijay3
Participant
0 Kudos

Hi all

Thanks all for your suggestion but the problem is still persisting

Any clues

Regards

swatantra

0 Kudos

Hi Vijay,

I agree with Venkat here, server load might matter sometimes..

Also please have a look at the Adapter status in RWB, whether it has failed for some reason and server load is also logged there soem times.

Regards,

Manjunatha.TS

swatantra_vijay3
Participant
0 Kudos

Hi

In RFC connection i have given the CPI-C timeout as 20 seconds. Can it be the reason for the problem

Regards

Swatantra

Former Member
0 Kudos

Hi,

We had the same issue with RFC adapter and we had changed the parameter:

'initialRfcClientConnectCheck' from 'true' to 'false' in the visual admin

Regards

vijaya

swatantra_vijay3
Participant
0 Kudos

Hi Vijaya,

What is the CPI-C Timeout value you have taken in RFC configuration technical setting tab

Regards

Swatantra

Shabarish_Nair
Active Contributor
0 Kudos

in case it is a recconnect issue this blog can lead you to a ample solution -

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4479. [original link is broken] [original link is broken] [original link is broken] [original link is broken]

try to implement the same to chk if helps.

Former Member
0 Kudos

Hi,

The load on the server might have some effect. If it has heavy loads then some times connection time out can occur that may cause the scenario to fail.

Regards,

P.Venkat