Application Development 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: 

How to run a FM using wf-batch

Former Member
0 Kudos

Hi all,

We are having one function module for updating production order number in a Z-Table.

So whenever we save a production order this function module is automatically triggered using the user wf-batch and update the order number in the Z-Table.

But we dont know how the function module was triggered using wf-batch when we created production order( Because the fm was created on 1998 by another client)

How to find the link between FM(with wf-batch) and the production order?

Kind Regards

Kumar

2 REPLIES 2

Former Member
0 Kudos

Hi,

Such scenario will occur whenever the entries are updated using a WF. Might be the case that a workflow is triggered on save of the Tcode. Check where used for the FM so that it can give you the Task ID. Using this task id fidn the workflow template.

Regards,

Aditya

0 Kudos

Hi aditya,

Tnx for ur reply. But we are not using the WF module.

If i put where used list for that FM then a business object with name Z_2005PP is displayed. In this they are using one method which contains the FM name.

But if i put where used to that BO then no workflow template is available.

So how they triggered the FM using wf-batch whenever they create the production order?

Regards,

Kumar.