Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Add Address to the Equipment using a BAPI

Former Member
0 Kudos

Hi Experts,

I have some Equipments without any Addresses . I am able to create an address using ADDR_INSERT, however I am not able to add it to the Equipment.

I have a requirment to add it only through á Bapi. I dont want to use and transactions to add the address.

Is anyone aware of any BAPI / Function Module which can be used to add an Address to an already created Equipment?

Thanks .

3 REPLIES 3

former_member404244
Active Contributor
0 Kudos

Hi,

Try this bapi "BAPI_EQUI_CHANGE", the structure BAPI_ITOB has adrnr field.

Regards,

Nagaraj

0 Kudos

Sorry but the field READ_ADRNR is not processed by the BAPI (check [Note 333988 - Technical object: Interface for ITOB-BAPIs|https://service.sap.com/sap/support/notes/333988])

These interface parameters are always identical for the same object, irrespective of whether writing or reading BAPIS are involved. However, since certain attributes can be read but not set, the interface for writing BAPIs contains some attributes that are not processed, even though they are provided by the person calling up the function.

In order to make these attributes clear to the person calling up the function, they have been assigned the prefix READ

To add an address to a technical object, try PM_PARTNER_GENERATE, PM_PARTNER_MAINTAIN or similar FM.

Regards,

Raymond

0 Kudos

Thanks Raymond for the information.

Regards,

Nagaraj