on 04-06-2006 4:42 PM
Is there anyway I can call an RFC /BAPI program every 10 minutes?
I am working on a scenario where I should be able to call a BAPI program and then update an external Oracle Database. I know how it works on both sides but the question is about triggering the BAPI program execution.
Regards
Mike
Hi,
You must have defined your R/3 system in SLD(no extra settings required), create any ABAP program(SE38) in which you wrap your function module(SE37) and schedule it using SM37.
Thanks,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes thats what has been suggested-:) schedule program in R/3, which will trigger message in XI and so on.
Thanks,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Option:
Just Create a Client ABAP Proxy - Inside the Proxy, call the RFC and populate the data into Proxy message and send this proxy into XI. From XI , send to Database.
So your scenario will be ABAP proxy->XI>DataBase.
You can schedule this proxy in the R/3.
Some blogs on this is
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm
These blogs will help you to develop the generate the Proxy, Schedule the ABAP report etc.
Hope this helps,
Regards,
Moorthy
I tried to write a program X that runs the RFC program in R3. How can the output reach XI?
The program X uses the TCP IP Destination I defined in R3 that uses the Program ID in SAP XI Sender Adapter. The Program ID is registered in the SAP R3.
But when I run the program X I do see message in Adapter Monitor but not the data. It looks like it is not running the program on SAP R3.
It looks like the triggering is not done right way.
Hi Michael,
First of all just check with RFC - First go to SE37 and Execute the RFC directlty by providing proper values.
While executing it will ask RFC Target etc. So give the RFC destination(SM59 of R/3)TCP/IP entry over here. Now you check are you getting any message in SXMB_MONI.
If so, then try to execute thru ABAP Program which in turn executes the RFC right ?
And it is assumed that , RFC sender Adapter is configured properly with Program ID /system details.
Hope this helps,
regards,
moorthy
Hi,
First option is call a Wrapper Function from ABAP report and schedule the same.
If you want to trigger from XI, then develop a dummy File Interface and invoke the RFC .
Hope this helps,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Wrap your BAPI or RFC program in ABAP program and schedule it after required time.
Thanks,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.