cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PaPM Cloud: Client-Side Simulation for process parameters used in a modeling function

danielaceresa89
Explorer
0 Kudos
63

Dear Community,

I am trying to determine how to implement a client-side simulation script for the following scenario:

Consider this function:

danielaceresa89_0-1746451589378.png

The complex selection script for the second level consists of these rules:

  • R0001: WHERE DRIVER_SPESE_LIQ = :I_SPESE_LIQ
  • R0002: WHERE DRIVER_SPESE_AMM = :I_SPESE_AMM

  • R0003: WHERE DRIVER_SPESE_ACQ = :I_SPESE_ACQ

Therefore, the result of the top-level rule, "From," is dependent on three parameters defined in the process: :I_SPESE_LIQ (e.g., RISERVA_MAT), :I_SPESE_AMM (PREMI), and :I_SPESE_ACQ (RISERVA_MAT)

This function influences the outcome of an allocation function, for which I have created the following report:

danielaceresa89_1-1746451929011.png

In this report, the expenses on the right side are distributed to TAR1 and TAR2 (on the left side), based on the values of the three parameters mentioned earlier shown in the center.   

How should I write the client-side script to observe how the expense distribution changes when I modify the parameters, such as:

  • :I_SPESE_LIQ = LIQUIDAZ (previously RISERVA_MAT)
  • :I_SPESE_AMM = PREMI (remains the same)
  • :I_SPESE_ACQ = LIQUIDAZ (previously RISERVA_MAT)

So the expected results is to see the report change like this:

danielaceresa89_0-1746453885663.png

When I change the parameters in the report section and apply the changes, nothing happens. The "Simulate" button is unusable unless I provide a script in the "Client-side simulation" panel.

Could someone please assist me with this?

Thank you

Best regards

Daniela C.

 

 

Accepted Solutions (0)

Answers (0)