cancel
Showing results for 
Search instead for 
Did you mean: 

RFC -> File without BPM

Former Member
0 Kudos

hi guys!

i'm trying to implement the RFC 2 file scenario without using BPM, but it does not work...

i have created a wrapper function module which passes the data to XI and i call it asynchronous

CALL FUNCTION 'Z_TEST_PASS_JOBDATA_TO_XI'

IN BACKGROUND TASK

DESTINATION 'E04_XI_TEST'

TABLES

lt_jobdata = lt_result.

COMMIT WORK.

the message is processed properly through the pipeline, but somehow there is no file on the receiver system.

i' quite sure that the RFC-sender and file-receiver communication channels are configured correctly.

SXMB_MONI doesn't show any errors, the payload of the message is containing all the data i want to pass to the file-adapter, everything seems to be fine.

when i send the message without the statement IN BACKGROUND TASK (means synchronous), i get a dump (which is o.k., 'cause i don't receive a response) but the file is created on the file server.

does anyone have an idea, why the asynchronous scenario is not working?

regards,

robert

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

how did you specify your Message interfaces in the Repository?

both as async?

you can also check:

http://server:port/MessagingSystem/monitor/monitor.jsp

over here you can check if your message reaches the file adapter correctly

Regards,

michal

Former Member
0 Kudos

hi!

indeed, both message interfaces has been defined as async.

the jsp message monitor says the message has been received, and forwarded to the "queue" (i can imagine the tRFC queue is ment...)

but still no result on receiver-system....

robert

MichalKrawczyk
Active Contributor
0 Kudos

Check your queues in XI :

SMQ1 and SMQ2

Regards,

michal