cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronous scenario

former_member303666
Active Participant
0 Kudos

Hi,

Scenario is RFC to SOAP

RFC to SOAP the messages are processed fine with successful checked flag. Response is not happening.

But it is showing Qos is Asynchronous and EO .. it should be Synchronous and BE. ( in Pi it self we are not getting the response from WS system.

i checked the ESR and IR parts are configured properly ..

i have checked the provided WSDL through SOAP UI tool. There i am getting the response from WS. why not PI system.

What should be the problem.

Regards,

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Kesava,

i have meet a similar problem.I suggest you change a program id to establish a new channel, and then revise the ecc of RFC connection, and then test it, if not yet, you will continue to find abap team to solve it, it must be program problem!

former_member303666
Active Participant
0 Kudos

Hi,

RFC to SOAP Scenario

Still the scenario is not converting in to the Synchronous mode. it is showing Asynchronous QOs is EO.

Regards,

former_member303666
Active Participant
0 Kudos

Any Idea ....

I am providing sender communication messages ID log deteils

The application tries to send an XI message asynchronously using connection RFC_http://sap.com/xi/XI/System.

RFC it self it is picking the message as Asynchronous ...

RFC means it should be synchronous.. in interface also i have mentioned Synchronous. i don't know why it is showing Asynchronous.

Any idea !

Former Member
0 Kudos

Hi Kesava,

Did u try to change the BAPI Call statement in source code.

thanks,

Satish.

former_member303666
Active Participant
0 Kudos

Hi Satish,

i have checked the program. it is commented. the ABAP has told us the call statement is correct it is commented then also it will work. after that i have not discussed with him.

for this have to upgrade any patch level and SP levels. Receiver communication channel also showing same Asynchronous.

Thanks,

Kesava

former_member303666
Active Participant
0 Kudos

Hi,

i am getting the below short log in RBW. while checking the sender RFC communication channel in RWB.

it is showing successful status. synchronous is not happeining.

Thanks,

nabendu_sen
Active Contributor
0 Kudos

Hi Kesava,

Can you check the below document and ensure that 'Synchronous' option is checked?

http://www.saptraininghub.com/all-about-bapi/

http://www.saptraininghub.com/all-about-bapi/Find it in STEP 3.

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Have you tried starting/stopping the sender RFC channel just to refresh adapter metadata? You could also Refer to SAP Note 0000730870 - FAQ for RFC Adapter, see Q10. What about BAPIs?

Hope this helps,

Mark

former_member181985
Active Contributor
0 Kudos

Hi,

How you are triggering RFC from SAP R/3 system, I mean some report etc..? Did you checked the quality of service in the report.

Regards,

Praveen Gujjeti

former_member303666
Active Participant
0 Kudos

Hi praveen,

How you are triggering RFC from SAP R/3 system, I mean some report etc..?

Exactly i am pushing the data through (se38)RFC functional module program written by ABAPer.

Did you checked the quality of service in the report.

No have not checked.. could u please list down the process of checking the RFC cal ... i will check and let u know the RFC call.

MY questions.

1. is the RFC cal is synchronous, then scenario would be sys

2 is RFC cal is Asynchronous, then the scenrio would be Ashynchronous

Thanks,

Former Member
0 Kudos

Hi Kesav,

1. is the RFC cal is synchronous, then scenario would be sys

IF the RFC is having both request and response then it is synchrounous

2 is RFC cal is Asynchronous, then the scenrio would be Ashynchronous

IF the RFC is having only request then it is asynchrounous

The way of calling the RFC in the source might be different.  Can you check the source code of RFC and check what statement they have return to call the function module.

IF the RFC is synchronous the statement shoul write like this.

CALL FUNCTION 'RFC_SYSTEM_INFO'

   DESTINATION 'NONE'

Thanks,

Satish.

Former Member
0 Kudos

Hi Kesava,

Have you tested from java stack . Are you getting any response while testing form java stack with best effort mode...?

thanks and regards,

Anup Banerjee

former_member303666
Active Participant
0 Kudos

Hi Satish,

I don't know exact ... check the RFC Function module cal. is it correct. ( XXX is sensitive information)

CALL FUNCTION 'ZSAP_RFC_xxx_xxx'
*      IN BACKGROUND TASK
*      DESTINATION 'RFC_xxxxxx'
*      TABLES
*        xx_xxx = LT_TAB
*      CHANGING
*        RETURN  = RETURN.

Thanks,


former_member181985
Active Contributor
0 Kudos

Hi Check this thread,

http://scn.sap.com/message/1329118#1329118

- synchronous RFC  (that is CALL FUNCTION ... DESTINATION ...) or

- asynchronous RFC (that is CALL FUNCTION STARTING NEW TASK ... DESTINATION ...).

former_member181985
Active Contributor
0 Kudos

Hi,

Check this thread,

http://scn.sap.com/message/1329118#1329118

- synchronous RFC  (that is CALL FUNCTION ... DESTINATION ...) or

- asynchronous RFC (that is CALL FUNCTION STARTING NEW TASK ... DESTINATION ...).

Former Member
0 Kudos

Hi Kesava,

The statement has written like IN BACKGROUND TAST DESTINATION.  I think it will work for Asynchronous Scenario.  Can you ask your abap team to change the statement.

Thanks,

Satish.

former_member303666
Active Participant
0 Kudos

Hi satish,

I will check with abap team.

Instead of BACKGROUND TAST DESTINATION .. what should be there. what is the program structure. can u please.

Thanks,

former_member303666
Active Participant
0 Kudos

Hi Anup,

while testing the scenario ....I have checked the abap stack Integration engine. i am able to see only Asynchronous EO.

Thanks

former_member303666
Active Participant
0 Kudos

Hi pavan,

I am not getting this calling functions.

below function i got from, RFC function code.

CALL FUNCTION 'xxxxxxxxxxxxx'
       IN BACKGROUND TASK
       DESTINATION 'RFC_xxxxxxx'
       TABLES
         xxxxxxxx = LT_TAB
       CHANGING
         RETURN  = RETURN.

let me clarify one thing.

is function module will decided the call whether Asynchronous, Synchronous. who it will cal the response from WS system via PI .

Thanks,


former_member303666
Active Participant
0 Kudos

Hi,

RFC ....> PI ...> WS

Connections:

RFC to PI i have created TCP/IP connection. for calling the PI.

PI to WS .. have to creat connection for Target system? if yes, where i have to create?

Thanks,

former_member181985
Active Contributor
0 Kudos

Hi Kesava,

BACKGROUND TASK means Asynchronous call.

>>PI to WS .. have to creat connection for Target system?

Receiver SOAP Adapter channel is fine.

By the by, my name is Praveen.

Regards,

Praveen

Former Member
0 Kudos

Hi Kesavan,

Have you added resonse message mapping in operation mapping. Check this once.

Check the below link once.

http://scn.sap.com/message/13734939

Thanks,

Satish.

former_member303666
Active Participant
0 Kudos

Hi Satish,

Added request and response message mapping in to the operational mapping and activated.

i don't know why it is showing Asynchronous. ( i have mentioned service interface is Synchronous)

Regards,

Former Member
0 Kudos

1. Check ur Service Interface operation and corresponding request/response message details.

2. Check the Service interface Catagory and Mode.

Thanks,

Chirag

former_member303666
Active Participant
0 Kudos

Hi Chirag,

1. Check ur Service Interface operation and corresponding request/response message details.

maintained correctly.

In operational mapping .. Source operation is  take it as a RFC function module

                                         Target operation  is in bound service interface.

2. Check the Service interface Catagory and Mode.

Category :   out bound

                   inbound

Mode : Synchronous

Thanks,

Former Member
0 Kudos

Hi Kesava,

>>i have checked the provided WSDL through SOAP UI tool. There i am getting the response from WS. why not PI system.

You mean to say ,by using soap ui( by generating mock service) you tested it ;isn't it ?

If it  is successful processed(If you got the response back whatever the dummy data u have given in mock service) then there is no issue at PI end .

Regards

Venkat