cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Error

Former Member
0 Kudos

Hi All,

I am doin a simple scenario of SAP-to-FlatFile. At sender side when i execute the program

which is as follows :

DATA: itab like LFA1 occurs 0 with header line.

select * from lfa1 into table Itab .

CALL FUNCTION 'ZRFC_VENDOR_INFO' DESTINATION 'SAPMMXI'

TABLES

ITAB1 = itab

.

I get a dump error saying "call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:"

Though the XI Scenario works fine and creates the FlatFile .But at the same time in SXMB_MONI it shows the status as "System error-Restart Not Possible".

Can somebody pl. help me on this.

Thanks,

Ruchi

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

is your RFC asynchronous?

you need to call it <b>in background task</b> then

did you do

COMMIT WORK.

after the RFC call ?

call it like this:

<b>CALL FUNCTION func IN BACKGROUND TASK

DESTINATION dest

parameters

COMMIT WORK.

</b>

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ruchi,

Please go thru these links..

https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/t...

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

Hope they help you!

cheers,

Prashanth

P.S : Please mark all helpful answers

Former Member
0 Kudos

Hi,

Try

CALL FUNCTION XYZ IN BACKGROUND TASK

DESTINATION XYZ

Do you want ot call RFC in Asnyc mode then try calling RFC using above code.

Regards

Vijaya