‎2010 Mar 04 9:40 PM
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
‎2010 Mar 05 2:14 AM
Hi,
I've used this BAPI to maintain BP and contact person: BAPI_ADDRCONTPART_SAVEREPLICA
May this could give you some idea.
Cheers,
‎2010 Mar 05 4:24 PM
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.
‎2010 Mar 06 9:39 PM
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
‎2010 Mar 07 8:00 AM
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
‎2010 May 20 4:44 PM