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: 

Need help for ISU_S_DEVICEMOD_CHANGE

Former Member
0 Kudos
676

Hi Experts,

I want to change the data for the device using the function module ISU_S_DEVICEMOD_CHANGE. I have to create a function module where the user will mention the parameters he wants to change in the device. The parameters can be like register configuration, multiplier, number of dials, allocated register group, units of measure, etc.

Now the task is to change the data in the SAP System and its suggested to use the standard function module of ISU_S_DEVICEMOD_CHANGE.

I am passing the parameters like INSTALLATION, DEVICE, MATERIAL, DIVISION, EQUNR, KEYDATE, AND WMODE.

Along with this information the the AUTO structure is populated with the data which is derived from the function module ISU_S_DEVICEMOD_PROVIDE by giving the same above mentioned parameters.

But it is continuously showing Error as input error.

If anyone has worked on it, Please help me out as i am trying from so long and have to finish at the earliest.

Thanks for your support.

Rishi

1 ACCEPTED SOLUTION

Former Member
0 Kudos
430

Hi;

it should like

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.

u can check by where used list.

Hopefully it would help u.

Regards

Shashi

View solution in original post

4 REPLIES 4

Former Member
0 Kudos
431

Hi;

it should like

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.

u can check by where used list.

Hopefully it would help u.

Regards

Shashi

Former Member
0 Kudos
430

The funtion module is working if the x_auto structure is populated properly.

0 Kudos
430

Hi Rishi,

I have the same requirement, can you please elaborate more on the population of the auto structure.

Regards,

Vamsee

0 Kudos
430

Hello Rishi,

I have similar requirment where I need to change the register group of device in EG42.

But I need to do it through function modules in NO Dialog mode.

I tried filling in the auto structure from the provide function module and populated the ok-code with SAVE but still the changes are not being saved.

Would you please share the sample code for this?

Thank you very much four help.

Regards

Satish