cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Sender Error

Former Member
0 Kudos

Hi Experts,

Right now i am using one scenario in which i m sending data from SRM to 3rd party system.

To fetch data from SRM to XI i m using Sender RFC Adapter. I have to send data from SRM to XI, I have one RFC FM in SRM, and i am calling that FM in one report.

This report i am scheduling, but whenever i m trying to execute the Report it is giving me error

""call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:"

The report code is :

REPORT ZPO_ACKNOWLEDGEMENT.

data : it_t_table like ZMPO_ACK occurs 0 with header line.

data : it_t_tab_sc_po like ZMPO_SC_PO occurs 0 with header line.

data : task(8) type c.

call function 'ZBBP_3PARTY_PO_ACK1' DESTINATION 'GEE500'

exporting

sc_date = sy-datum

tables

t_tab = it_t_table

t_tab_sc_po = it_t_tab_sc_po

.

*

*CALL FUNCTION 'ZBBP_3PARTY_PO_ACK1' STARTING NEW TASK task

  • DESTINATION 'GEE500'

write : 'aBA'.

commit work.

here GEE500 is my RFC that i hv defined in SRM system (my application system).

While calling this FM it is giving me error...

Can anyone help me out in this error plz...

It is somewhat urgent, so please reply me as soon as possible.

Thank you,

Regards,

Hetal......

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

This was one of the successful solutions proposed in threads check if this might help you.

1.Check your authorization settings in XI and R/3. Whether the user has sufficient rights to execute the Function Module etc. This is the most common reason for this error.

2.If the XI system was brought online even before the R/3 system then re-activate the communication channels from the Integration directory.

Regards,

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi hetal,

while calling RFC use this syntac

dont write anycode in the FM

wrie the code in report.

in FM pass only import /export/tables parameters

after the code in report

Zreport.

abap code

....

...

CALL FUNCTION Nameof FM

IN BACKGROUND TASK

DESTINATION 'RFCdestiantion'

EXPORTING

pass paramters

TABLES

make sure:- RFCdestiamtion is type Tcp/Ip and use regsitered programs

in rfc sender communication channel use same gateway host, gatewayserver and rfcdestination.

Regards,

Jeff

Former Member
0 Kudos

Hi Hetal,

You can change the following statement

"call function 'ZBBP_3PARTY_PO_ACK1' DESTINATION 'GEE500'"

to

call function 'ZBBP_3PARTY_PO_ACK1' IN BACKGROUND TASK DESTINATION 'GEE500'

See if it works or not.

I guess that should resolve the problem.

Also, is possible post the error.

Regards,

Akshay

Former Member
0 Kudos

Hi Akshay,

I have tried it,

Now it is not giving me error, but the thing is it is not feeling values into my output tables.....

That means i guess that it is not at all going into the FM to execute it.

Regards,

Hetal..

prateek
Active Contributor
0 Kudos

Hi Hetal,

Check if XIISUSER is not locked.

Check this out,

/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step

Regards,

Prateek

Former Member
0 Kudos

Hi,

I have checked, User is not locked, and i hv followed the same link and created the connection as per the link that u hv sent.

Anyother idea abtout the problem?

Former Member
0 Kudos

hi,

Can you check t-code sm58 log.

Thanks,

Tuhin

Former Member
0 Kudos

Hi tuhin,

no entry found in SM58.

Regards,

Hetal