Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Triggering Function Module

Former Member
0 Likes
461

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.

3 REPLIES 3
Read only

Former Member
0 Likes
420

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

Read only

Former Member
0 Likes
420

Check the User Exit for the transaction you are talking about and write code to call the RFC in User Exit.

Read only

0 Likes
420

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...