Application Development and Automation 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: 
Read only

BAPI/Function Module to update ADRC table

Former Member
0 Likes
9,303

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
Read only

Former Member
0 Likes
3,181

Hi,

Please refer the link

Regards,

Dhina..

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
3,181

Have a look at ADDR_MAINTAIN_COMPLETE.

Read only

GauthamV
Active Contributor
0 Likes
3,181

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.

Read only

arseni_gallardo
Active Participant
0 Likes
3,181

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