cancel
Showing results for 
Search instead for 
Did you mean: 

How to avoid PAPM functions call all of its previous functions?

0 Kudos

Hi,

In PAPM, if we run one function, all of its previous functions will be run as well.

Let's take Function C as example, it will trigger function A and B. For some reason, I don't want all of its previous functions being run. Any idea what is the config If I want Function C to trigger itself only?

Function A -> Function B -> Function C

Regards,

Keng

Accepted Solutions (1)

Accepted Solutions (1)

ulifei
Explorer

hi kenghaw1234

in your case, below is my suggestion.

1. define a process template

2. set you function B as executable

3. assign the function B in your defined process template as activity

then, you will find out, if you run C, only the buffered function B data will be used(= function b is not re-trigger when you run function C)

Hope this helps

Best Regards

Leif

Answers (2)

Answers (2)

former_member741705
Participant

Hi Keng,

Good day!

I understand that you don't want to trigger previous functions after executing the main function.

If you set your previous functions as Sub-Function and executed the main function, it will not re-execute the previous functions. It will only get the logic / procedure of the process. While setting the previous functions as Executable and executed the main function, it will re-execute the previous functions.

As also mentioned in this blog, https://blogs.sap.com/2020/12/15/modelling-your-e2e-process-using-result-model-table/ that:

If the function is set as ‘Sub-function’, unless manually executed, results will not be stored in the RMT.

While setting it as ‘Executable’, the result of the interim functions with RMT will be stored or populated in the assigned RMT.

Hope this helps!

Best regards,
Kevin

Hi,

try to define it as an activity of any process template.