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

Function Module to Assign Buniness Partner Address Usage

Former Member
0 Likes
1,804

Hello Experts,

I am currently calling BUPA_ADDRESS_ADD to create a new address under the business partnerin one of my programs. It's working just find but I also need to assign the address usage in that same program. Are there any function modules or BAPI's that can perform this task?

Best Regards,

Steve

5 REPLIES 5
Read only

Former Member
0 Likes
1,121

Hi,

I've used this BAPI to maintain BP and contact person: BAPI_ADDRCONTPART_SAVEREPLICA

May this could give you some idea.

Cheers,

Read only

Former Member
0 Likes
1,121

THANKS - NI SHILIANG I will look at the BAPI BAPI_ADDRCONTPART_SAVEREPLICA and see if I can find something that I can use to complete logic of setting the address usage for a BP address.

Read only

Former Member
0 Likes
1,121

I have tried using the BAPI_ADDRCONTPART_SAVEREPLICA BAPI and looked to see if any of the code inn that BAPI can be used for what I am trying to do but it is not working. When I look at the address using CIC0 I can see that the new address was created under the business partner. All I am trying to do is assign it under the Business Partner as a mailing address and not standard address.

Thanks,

Steve Atlas

Read only

0 Likes
1,121

hi Steve .. try using one of these Fm's

BUPA_C_ADDADDRESS01 SAP BP, BAPI: Add Address

BUPA_C_CHANGEADDRESS01 SAP BP, BAPI: Change Address

BUPA_FS_ADDADDRESS01 Create Address (FS Business Partner)

BUPA_FS_ADDADRESSUSAGE01 Create Address Usage

BUPA_FS_CHGADDRESS01 Change Address (FS Business Partner)

BUPA_FS_REMOVEADRESSUSAGE01 Delete Address Usage

Best Regards

M

Read only

Former Member
0 Likes
1,121

Thanks for the input. I am currently using BUPA_ADDRESS_ADD