cancel
Showing results for 
Search instead for 
Did you mean: 

Jco RFC Provider

former_member303666
Active Participant
0 Kudos

Hi,

I have gone through so many discussion. Related Jco RFC Provider.

I have one scenario RFC ...> PI ..> WS

Explanation :

1. scenario is Working fine with Asynchronous Mode. Pi calling the function, no error happening while calling the program. messages are processed successfully from SAP to WS through PI.But we are expecting Synchronous Process. but Synchronous is not happening here.

2. Here In PI we are using the sender adopter is RFC Adopter. RFC adopter should have to process the messages as a Synchronous. but it is not happening.

3. Jco RFC provided it self we can change the Process mode as a synchronous and Asynchronous.

let us know have any thing need to configure in NWA in PI end. for RFC adopter getting the request and response.

Regards,

Kesava.

Accepted Solutions (0)

Answers (1)

Answers (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

How are you calling the RFC? Is it via CALL FUNCTION ... DESTINATION ... ?

http://help.sap.com/saphelp_nwpi711/helpdata/en/48/920837feb35ed2e10000000a42189d/frameset.htm

You might need some changes in the code for that. Also, try refreshing the RFC metadata by starting/stopping the communication channel.

Hope this helps,

Mark

former_member303666
Active Participant
0 Kudos

Hi Mark,

Yes, calling the function through Function module.

additional information.

Function module pushing the data to PI system successfully. it is showing the process mode as Asynchronous. it should be synchronous.

starting/stopping the communication channel.

I have done the start and stop the communication channel. and also created one new scenario, it showing same Asynchronous. it is not showing any error.

i have gone through some threats in SDN ... In NWA have to register the service( Jco RFC provider).

I dont know what are all the services have register for making the cal as a synchronous.

Regards,

Kesava

markangelo_dihiansan
Active Contributor
0 Kudos

Hello Kesava,

Is the code you are using like this CALL FUNCTION functionName DESTINATION rfcDes ? Otherwise, it will be treated as a different call.

Regards,

Mark

former_member303666
Active Participant
0 Kudos

Hi Mark,

Calling Function They wrote like below. check the calling function.

CALL FUNCTION 'ZSAP_RFC_xxx'
       IN BACKGROUND TASK
       DESTINATION 'RFC_xxxxx'
       TABLES
         ZGT_MDN = LT_TAB
       CHANGING
         RETURN  = RETURN.

Do u have any Sender RFC Calling function. send it to me. I will check the code from my end.

Thanks,

Kesava.

markangelo_dihiansan
Active Contributor
0 Kudos

Hello Kesava,

Based on this document

http://help.sap.com/saphelp_nwpi711/helpdata/en/48/920837feb35ed2e10000000a42189d/frameset.htm

You are calling the function via tRFC.

Should be...

CALL FUNCTION 'ZSAP_RFC_xxx'
       DESTINATION 'RFC_xxxxx'
       TABLES
         ZGT_MDN = LT_TAB
       CHANGING
         RETURN  = RETURN.

Hope this helps,

Mark

former_member303666
Active Participant
0 Kudos

Hi Mark,

i have one more scenario WS ...> PI..>FRC

they have maintained same function module it is working fine.

Receiver function module aslo same

CALL FUNCTION 'ZSAP_RFC_xxx'
       IN BACKGROUND TASK
       DESTINATION 'RFC_xxxxx'
       TABLES
         ZGT_MDN = LT_TAB
       CHANGING
         RETURN  = RETURN.

what about RFC ..> PI..>  WS.

In NWA Jco RFC provider,  have to configure any service for making the sender RFC call as Synchronous.

Regards,

Kesava