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: 

FM to change the Register Group

Former Member
0 Kudos
2,193

Hi All,

I need to change a register group for a device.Currently i am using ISU_S_DEVICERATE_CHANGE ,but not able to update the register group .Anyone know how to use the FM .Please help me

1 ACCEPTED SOLUTION

Former Member
0 Kudos
916

Hi all,

Finally I have changed register group using below code.Thanks for all suggestions

View solution in original post

8 REPLIES 8

monis_shakeel
Active Participant
0 Kudos
916

This should work for changing the register group.

ISU_S_DEVICEMOD_CHANGE

Regards,

Monis Shakeel

Former Member
0 Kudos
916

Hi Monis,

I am using ISU_S_DEVICEMOD_CHANGE .But I am not able to update using that .Could please let me know how to use the Fm?

Regards,

Kiran Rajan

monis_shakeel
Active Participant
0 Kudos
916

Call function 'ISU_S_DEVICEMOD_CHANGE'

exporting

x_devloc = devloc

x_installation = installation

x_device = device

x_matnr = matnr

x_devision = devision

x_keydate = keydate

x_wmode = co_change

x_prorate = prorate

x_timeslices = timeslices

x_upd_online = co_flag_marked

x_no_dialog = co_flag_notmarked

x_no_other = co_flag_notmarked

x_no_update = co_flag_notmarked

importing

y_db_update = db_update

y_exit_type = exit_type.

This should work.

Regards,

Monis Shakeel

Former Member
0 Kudos
916

I would you like to know where you are passing register groups in the FM?

NTeunckens
Active Contributor
0 Kudos
916

See this Post on some code where to put the Register Group

Former Member
0 Kudos
916

Thanks Nic.

I have already check the post .I have register group like KWH ->A

KWH and KVA ->B

KWH -> C

Now i am able to do change register group from A to C ,however i am not able to do change from A to B.

daniel_mccollum
Active Contributor
916

Handy hint, if you try changing the values in EG42 for the use case that fails in the function, you can likely identify some data that is required which is not currently in your automation. The easiest example that comes to mind is when you change a register group, the rate data is no longer compatible & needs adjusting before save.

Former Member
0 Kudos
917

Hi all,

Finally I have changed register group using below code.Thanks for all suggestions