Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

TABLES in tRFC

Former Member
0 Kudos

Hi Everyone,

I'm trying to send an asynchronous message with a tRFC.

As you may all recall, in order to send these type of messages you have to use tRFCs (transactional RFCs, the difference with regular RFCs is when calling them, it has to be called with the “IN BACKGROUND TASK” sentence), that are executed in XI (Destination).

The problem comes up when I need to send a particular message that needs to have a TABLE with some data on it. As it is known, a table can be used to import or to export data to/from the function module.

So, my particular problem resides when I send a message that has a table to export its data to XI and from there to other system, the tRFC keeps up waiting to receive the result data from the Table. And as I mentioned, this kind of messages are asynchronous messages, so a dump in thrown, and when it is called IN BACKGROUND TASK it does not executes the tRFC.

There must be a way in order to send TABLES in asynchronous (tRFC) messages with out having this problem.

Thank you all for your help.

Felipe

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hello friend,

these r the tables for trfc.

arfcsstate,arfcsdata,arfcrdata,arfcrstate.

to know the status u can also use tcode sm58.

regards,

murali

2 REPLIES 2

Former Member
0 Kudos

hello friend,

these r the tables for trfc.

arfcsstate,arfcsdata,arfcrdata,arfcrstate.

to know the status u can also use tcode sm58.

regards,

murali

0 Kudos

Thanks Murali, I managed to solve it, it was a question of executing the COMMIT WORK statement in the rigth place.