Skip to Content
0
Former Member
Jun 29, 2007 at 06:22 PM

RFC (Async) to XI to File

13 Views

I need to create a Scenario where an Asynch RFC sends some data to a file system using XI. I have given below the Template, would some one say whether the format what I have is correct?

DATA: queuename TYPE trfcqout-qname VALUE 'XI_QUEUE'

CALL FUNCTION 'TRFC_SET_QUEUE_NAME'

EXPORTING

qname = queuename

EXCEPTIONS

invalid_queue_name = 1

OTHERS = 2.

CALL FUNCTION 'ZName'

IN BACKGROUND TASK

DESTINATION 'XI_QUEUE'

EXPORTING

Name = "Pete Thomas"

TABLES

EXCEPTIONS

OTHERS = 1.

COMMIT WORK.