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: 

Does ADDRCOMM field in BUT000 need equal to ADDRNUMBER field in ADRC

Former Member
0 Kudos

I know this question is not really related to ABAP programming. But I don't which category I should post.

Here is my question:

I use FUNCTION 'BAPI_BUPA_ADDRESS_CHANGE' to update ADRC table address information.

I trace the function: it inquiry BUT000 first if find ADDRCOMM has value, then itwill use that value go to ADRC to update.

Here is the case:

BUTOOO: partner-0000011905; addrcomm: 42957

ADRC: addrnumber 42957 is not exists

I would like to know is it suppose same or not?

<b>I would like to know what function I should use if I already know ADDRNUMBER need to update in ADRC. (not use

'BAPI_BUPA_ADDRESS_CHANGE').</b>

Can I update the ADRC directly?</b>

Thanks,

Helen

1 ACCEPTED SOLUTION

ferry_lianto
Active Contributor
0 Kudos

Hi Helen,

Welcome to SDN.

Please do not do direct update to ADRC table.

In SPRO you can maintain address for a plant.

SPRO -> SAP Customizing Implementation Guide --> Enterprise Strcuture --> Definition --> Logistics General --> Define, copy, delete, check plant --> Then Choose DEFINE PLANT.

Hope this will help.

Regards,

Ferry Lianto

Please reward points if helpful as a way to say thanks.

6 REPLIES 6

ferry_lianto
Active Contributor
0 Kudos

Hi Helen,

Welcome to SDN.

Please do not do direct update to ADRC table.

In SPRO you can maintain address for a plant.

SPRO -> SAP Customizing Implementation Guide --> Enterprise Strcuture --> Definition --> Logistics General --> Define, copy, delete, check plant --> Then Choose DEFINE PLANT.

Hope this will help.

Regards,

Ferry Lianto

Please reward points if helpful as a way to say thanks.

0 Kudos

I am in SRM system. I enter SPRO as a transaction, then I did not see the SAP Customiziing Implementation Guid and the path is broken.

I am working on an ABAP program and need update the address infomation in ADRC table.

If I already know the ADRC ADDRNUMBER, which function module that I can use instead of 'BAPI_BUPA_ADDRESS_CHANGE'- which point to wrong addrnumber to update.

I apprecaiate your help.

Thanks.

Helen

ferry_lianto
Active Contributor
0 Kudos

Hi Helen,

I did not know if you are working on SRM.

Those SPRO is used in SAP R/3 Enterprise.

But please check this BAPI perhaps it may help.

<b>BAPI_ADDRESSORG_CHANGE

BAPI_BUPA_CENTRAL_CHANGE </b>

Regards,

Ferry Lianto

0 Kudos

Hi, Ferry,

Thank you for your quickly response. I want to update the TRANSPZONE field only in ADRC table. Which one is good for it.

I am new in SAP. Thank you for your help.

Helen

ferry_lianto
Active Contributor
0 Kudos

Hi Helen,

I never update field TRANSPZONE in table ADRC.

But you can use this BAPI_ADDRESSORG_CHANGE.

Regards,

Ferry Lianto

yuanseah_sim
Explorer
0 Kudos

you can try function module ADDR_SAVE_INTERN.