‎2009 Jun 20 2:20 PM
Hi all,
Can we Instantly trigger a remote enabled function module as and wen any transaction is updated and a document is created?? If yes please tell how?
Thank you.
Regards.
‎2009 Jun 20 2:25 PM
Hi,
You will have to create a workflow for it.
Go to SWO1 transaction. Give the proper business object and find the associated events for the same.
When this events occur you will have to create a workflow. In this workflow you can call your RFC function module.
Regards,
Ankur Parab
‎2009 Jun 20 7:43 PM
Check the User Exit for the transaction you are talking about and write code to call the RFC in User Exit.
‎2009 Jun 20 8:15 PM
for most of the tcodes u can find many BADIs ( USER EXIT POINTS ) defined... u can trigger ur code by implementing the BADIs.
u can check the ecistance of BADI by:
-> give a breakpoint in cl_exithandler->get_instance method.
-> run ur tcode.
-> the debugger will be triggered... see the EXIT_NAME variable.. from there u can get the exit and do ur changes there...