2009 Feb 09 2:59 PM
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
2009 Feb 10 5:10 AM
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
2009 Feb 10 5:10 AM
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
2009 Feb 18 12:05 PM
The funtion module is working if the x_auto structure is populated properly.
2009 Oct 26 2:51 PM
Hi Rishi,
I have the same requirement, can you please elaborate more on the population of the auto structure.
Regards,
Vamsee
2010 Feb 03 11:33 AM
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