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: 

Create equipment address

Former Member
0 Kudos

Hi

I need to create a equipment address

I have created the address number using BAPIs ADDR_INSERT, ADDR_NUMBER_GET, ADDR_MEMORY_SAVE

ADDR_MEMORY_CLEAR

Now I need to assign this address to the newly created equipment.

I am trying to update it usiing DATA_GENERAL-READ_ADRNR parameter in the BAPI , BAPI_EQUI_UPDATE

But it does not work. Address is not updated.

Please provide me with the solution.

Thanks,

Mozila

1 ACCEPTED SOLUTION

marcin_cholewczuk
Active Contributor
0 Kudos

Hi,

Are you trying to do all of this within one LUW? If yes then it won't work. After first BAPI run COMMIT WORK AND WAIT and then call second BAPI and once again COMMIT.

Best Regards

Marcin Cholewczuk

View solution in original post

2 REPLIES 2

marcin_cholewczuk
Active Contributor
0 Kudos

Hi,

Are you trying to do all of this within one LUW? If yes then it won't work. After first BAPI run COMMIT WORK AND WAIT and then call second BAPI and once again COMMIT.

Best Regards

Marcin Cholewczuk

0 Kudos

Each equipment has a iloan number in EQUZ table. The ILOA table has ADRNR against this ILOAN.

So what I did to update the address on euipment is used the bapi ILOA_UPDATE with input parameters ADRNR and ILOAN. Also update flag as 'U'.