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: 

BAPI/Function Module to update ADRC table

Former Member
0 Kudos
6,933

Hi Frineds,

In My webdynpro Component,while displaying Customer Address of a customer,I am reading the ADRNR from KNA1 table,and getting the address from ADRC table.

User may also change the address and save.

Could you please help me if there is any BAPI/Function module i.e used for Changeing the Existing address details of ADRC table.

Regards,

Xavier.P

4 REPLIES 4

Former Member
0 Kudos
811

Hi,

Please refer the link

Regards,

Dhina..

kesavadas_thekkillath
Active Contributor
0 Kudos
811

Have a look at ADDR_MAINTAIN_COMPLETE.

GauthamV
Active Contributor
0 Kudos
811

You can use below class for updating any data(in your case it is address) of customer.

CALL METHOD cmd_ei_api=>maintain

EXPORTING

is_master_data = lt_customers

IMPORTING

es_error = lt_error.

arseni_gallardo
Active Participant
0 Kudos
811

Xavier,

Use on of the following BAPIs (depending on the address type):

BAPI_ADDRESSORG_CHANGE

BAPI_ADDRESSPERS_CHANGE

Followed by a call to BAPI_TRANSACTION_COMMIT

Kind regards