SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

Update template Run ID with new Simrunid using a program

0 Kudos

Hi,

We use four steps to simulate bill for a given period.

1. Create Simulation Period       - EAMS20 u2013

2. Run Indexing          - EAMS10 u2013

3. Change Sim Period     - EAMS20 u2013 change status from 0 to 1

4. Set parallel process           - EAMS01 u2013 set the current simulation period in the template.      

  Based on FPSCHEDULER for BIBP Mass Activity.

since we want to automate above steps, we want to achieve step 4 in a program. that is change the simulation ID of template using a program.

could you please suggest.

Anjan

3 REPLIES 3

0 Kudos

Hi Anjan

If you are using FPSCHEDULER to execute the mass activity then for activity type BIBP you can adjust the parameters by putting the appropiate logic in event 1793.

thanks

AmlanBanerjee
Active Contributor
0 Kudos

Hi Anjan,

You can copy the existing program RFKK_MA_SCHEDULER. and add in extra logic which would pass the current\Active simulation period ID to the transaction EAMS01.

As per the best practice, there should be only simulation ID at one point of time, in EAMS20, which has a status 1.

So, you can retrieve the simulation ID from table TE537, based on the above logic and pass that into the transaction EAMS01.

Hope it helps...

Thanks,

Amlan

AmlanBanerjee
Active Contributor
0 Kudos

Hi Anjan,

You can copy the existing program RFKK_MA_SCHEDULER. and add in extra logic which would pass the current\Active simulation period ID to the transaction EAMS01.

As per the best practice, there should be only simulation ID at one point of time, in EAMS20, which has a status 1.

So, you can retrieve the simulation ID from table TE537, based on the above logic and pass that into the transaction EAMS01.

Hope it helps...

Thanks,

Amlan