cancel
Showing results for 
Search instead for 
Did you mean: 

how to trigger automatically an IDOC and RFC from SAP R/3 system?

Former Member
0 Kudos

Hi ,

lets say if we are implementing IDOC to FILE &RFC to FILE scenario ,how can we trigger on timely basis(schedules)

1)standard IDOCs and BAPIs?

2)customized Idocs and Customized Bapis?

3)Master Idocs and transactiona Idocs?I think we need to use change pointers for master Idocs and donno about Transactional Idocs.

please explain ,

thank you very much for your help.

regards,

Babu

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

sorryfor the late reply, I was busy with my work.thank you for your posts.

so all of you say just run the RSEOUT00 no matter what interface we use in XI like Master ,transactional Idocs,standard or customized BAPIs?

And I think we use RSNASTED if we have on recieving side right?

<b>then when we would use a report of format below to trigger an RFC,is this format for Asunc RFC ?</b>

REPORT Z_SEND_DATA_TO_XI.

parameters: dest like rfcdes-rfcdest default '(RFC Destination you defined in SM59)'.

<<your other variable declaration and ABAP Code here>>

call function 'ZXI_SEND_DATA'

in background task

destination dest

exporting

Name = John

City = Smith. (The values to pass to XI)

commit work.

<<Any Write statements or sy-subrc statements here>>

6) Save and Activate your ABAP program.

6) After all these steps, execute your ABAP Program to send the data to file via XI.

Former Member
0 Kudos

Hi,

To send IDOC & RFC data on timely basis you can schedule the programs.

1 . In Partner Profile use setting collect program. Use program RSEOUT00 to send data at particular time.

2. Again same as mentioned in point 1.

3. Same as Point 1.

Former Member
0 Kudos

Babu,

1)standard IDOCs and BAPIs?

2)customized Idocs and Customized Bapis?

You can schedule the report RSEOUT00 according to your requirements. So it flushes all the idocs in the background as per your schedule this program.

---Satish

justin_santhanam
Active Contributor
0 Kudos

Babu,

Plese refer the below thread, it will help you.

Even though its out of scope of XI, if you need some idea on it, refer the below thread.

Best regards,

raj.