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: 

Help required on usage of FM : ISU_METER_REPLACE

Former Member
0 Kudos

Hi All,

I want to replace an old meter with a new meter.

Hence i am using the function module : ISU_METER_REPLACE for achiving the same.

I have the following input :

Installation

Old device cat(MATNR)

New device cat

Old device(GERAET)

New device(GERAET)

old equipment no (EQUNR)

new equipment no(EQUNR)

I have tried to pass all the old data to the structre XY_OBJ-OBJ-WA-V_EGERE

and new data to XY_OBJ-OBJ-WA-V_EGERA.

Still the FM is dumping..

Let me know with the above data input what structures of the FM : ISU_METER_REPLACE need to be filled so that the meter is replaced

Regards

Shiva

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Shiva,

I tried to make a device replacement using trx EG30 and set a breakpoint to FM ISU_METER_REPLACE. Here are the following Import, Export and Changing parameters the function module was called with:

Importing Parameter:

X_UPD_ONLINE = X

X_NO_DIALOG = (empty)

Exorting Parameter:

Y_DB_UPDATE =

Y_EXIT_TYPE =

Changing parameter:

OBJ-WA-V_EGERA u 441

OBJ-WA-V_EGERA-MANDT C 3 300

OBJ-WA-V_EGERA-EQUNR C 18 000000000010060337

OBJ-WA-V_EGERA-BIS D 8 99991231

OBJ-WA-V_EGERA-AB D 8 20050101

OBJ-WA-V_EGERA-LOGIKNR N 18 000000000000039484

OBJ-WA-V_EGERA-GERAET C 18 000500095800000108

OBJ-WA-V_EGERA-MATNR C 18 TD-DRA-00

OBJ-WA-V_EGERA-ZWGRUPPE C 8 TD-ZA-00

OBJ-WA-V_EGERA-EINBDAT D 8 20050101

OBJ-WA-V_EGERA-AUSBDAT D 8 00000000

OBJ-WA-V_EGERA-GERWECHS C 2 05

OBJ-WA-V_EGERA-DEVLOC C 30 4397002170

OBJ-WA-V_EGERA-BGLJAHR N 4 2005

And

OBJ-WA-V_EGERA u 441

OBJ-WA-V_EGERA-MANDT C 3 300

OBJ-WA-V_EGERA-EQUNR C 18 000000000010060337

OBJ-WA-V_EGERA-BIS D 8 99991231

OBJ-WA-V_EGERA-AB D 8 20050101

OBJ-WA-V_EGERA-LOGIKNR N 18 000000000000039484

OBJ-WA-V_EGERA-GERAET C 18 000500095800000108

OBJ-WA-V_EGERA-MATNR C 18 TD-DRA-00

OBJ-WA-V_EGERA-ZWGRUPPE C 8 TD-ZA-00

OBJ-WA-V_EGERA-EINBDAT D 8 20050101

OBJ-WA-V_EGERA-GERWECHS C 2 05

OBJ-WA-V_EGERA-DEVLOC C 30 4397002170

OBJ-WA-V_EGERA-BESITZ N 2 01

OBJ-WA-V_EGERA-BGLJAHR N 4 2005

But also OBJ-WA-EGPL, OBJ-WA-ETYPE, OBJ-WA-ETYPA have to be filled.

But there are some more information which have to be filled in: OBJ-INTEGRATION -OBJ-INT_PM / -OBJ-ZW / -OBJ-ZW_INPUT / -OBJ-DEV / -OBJ-DEV_INPUT / -OBJ-GER / -OBJ-GER_INPUT /-OBJ-TWD_G and so on...

So I fear you have to find out on yourself why and where the function module dumps exactly. I strongly recommend you to set up a master data test case and use trx EG30 in dialog mode. Before executing set a breakpoint to function module ISU_METER_REPLACE and then check how the FM is called in standard.

Best regards,

Thomas

View solution in original post

1 REPLY 1

Former Member
0 Kudos

Hi Shiva,

I tried to make a device replacement using trx EG30 and set a breakpoint to FM ISU_METER_REPLACE. Here are the following Import, Export and Changing parameters the function module was called with:

Importing Parameter:

X_UPD_ONLINE = X

X_NO_DIALOG = (empty)

Exorting Parameter:

Y_DB_UPDATE =

Y_EXIT_TYPE =

Changing parameter:

OBJ-WA-V_EGERA u 441

OBJ-WA-V_EGERA-MANDT C 3 300

OBJ-WA-V_EGERA-EQUNR C 18 000000000010060337

OBJ-WA-V_EGERA-BIS D 8 99991231

OBJ-WA-V_EGERA-AB D 8 20050101

OBJ-WA-V_EGERA-LOGIKNR N 18 000000000000039484

OBJ-WA-V_EGERA-GERAET C 18 000500095800000108

OBJ-WA-V_EGERA-MATNR C 18 TD-DRA-00

OBJ-WA-V_EGERA-ZWGRUPPE C 8 TD-ZA-00

OBJ-WA-V_EGERA-EINBDAT D 8 20050101

OBJ-WA-V_EGERA-AUSBDAT D 8 00000000

OBJ-WA-V_EGERA-GERWECHS C 2 05

OBJ-WA-V_EGERA-DEVLOC C 30 4397002170

OBJ-WA-V_EGERA-BGLJAHR N 4 2005

And

OBJ-WA-V_EGERA u 441

OBJ-WA-V_EGERA-MANDT C 3 300

OBJ-WA-V_EGERA-EQUNR C 18 000000000010060337

OBJ-WA-V_EGERA-BIS D 8 99991231

OBJ-WA-V_EGERA-AB D 8 20050101

OBJ-WA-V_EGERA-LOGIKNR N 18 000000000000039484

OBJ-WA-V_EGERA-GERAET C 18 000500095800000108

OBJ-WA-V_EGERA-MATNR C 18 TD-DRA-00

OBJ-WA-V_EGERA-ZWGRUPPE C 8 TD-ZA-00

OBJ-WA-V_EGERA-EINBDAT D 8 20050101

OBJ-WA-V_EGERA-GERWECHS C 2 05

OBJ-WA-V_EGERA-DEVLOC C 30 4397002170

OBJ-WA-V_EGERA-BESITZ N 2 01

OBJ-WA-V_EGERA-BGLJAHR N 4 2005

But also OBJ-WA-EGPL, OBJ-WA-ETYPE, OBJ-WA-ETYPA have to be filled.

But there are some more information which have to be filled in: OBJ-INTEGRATION -OBJ-INT_PM / -OBJ-ZW / -OBJ-ZW_INPUT / -OBJ-DEV / -OBJ-DEV_INPUT / -OBJ-GER / -OBJ-GER_INPUT /-OBJ-TWD_G and so on...

So I fear you have to find out on yourself why and where the function module dumps exactly. I strongly recommend you to set up a master data test case and use trx EG30 in dialog mode. Before executing set a breakpoint to function module ISU_METER_REPLACE and then check how the FM is called in standard.

Best regards,

Thomas