03-24-2011 7:16 PM
I am currently using BAPI_BUPA_ADDRESS_CHANGE to make changes to addresses on the business partners. It is working perfectly when I update address information on the mailing address on the business partner . When I try to update the service address information on the Business Partner Service Address it is not working. What could be the problem?
CALL FUNCTION 'BAPI_BUPA_ADDRESS_CHANGE'
EXPORTING
businesspartner = wa_cs009_infile-buspartner
addressdata = addrdatab
addressdata_x = zaddressdata_x
accept_error = zia_ut=>cc_off
TABLES
return = z_return
EXCEPTIONS
OTHERS = 1.
Edited by: Steve Atlas on Mar 24, 2011 8:16 PM
03-24-2011 7:25 PM
What do you mean by "it is not working"? Have you examined the return table?
Rob
03-24-2011 7:31 PM
Rob - I have examined the return table and there is nothing in it. As for it not working the address that was supposed to be updated had a zip code change. After I ran the program and looked at the CIC0 screen the service address zip code had not changed to the new value. When I run the program and update a mailing addresses I see that the zips and street numbers were changed using CIC0.
Thanks,
Steve Atlas
03-24-2011 7:46 PM
03-24-2011 7:56 PM
I do have a commit running after the BAPI. Could it be that for service addresses some other parameter need needs to be populated in the address table? As I stated its working fine for Business Partner Mailing Addresses.
05-09-2011 1:40 PM
Hi All,
I am facing the same issue. I am not able to update the address and i am not getting any errors either.
please can anyone let me know whats the problem.
My other queries are,
1)Suppose for the address there are many telephone numbers or email address..
Now there is a request for change in one telephone number. How will the function module behave. how will it know as which
telephone number or email address needs to be changed among many entries already existing.
2)suppose the address already exists in the crm system.
now there is new telephone number needs to be added.
should i call a different function module to add the new telephone number or call the same BUPA_ADDRESS_CHANGE
function module.
Regards,
sharry.
05-12-2011 6:00 PM
I not sure if you have red BAPI_BUPA_ADDRESS_CHANGE document for how to use it in SAP system? that probably give you a clue.
-- go to SE37 and put BAPI_BUPA_ADDRESS_CHANGE
-- click DISPLAY
-- click "Function Module Documentation" button on upper right side
There is lot of parameters in the BAPI call, you need to choose one you need, and also need to be carefully using those X structure to decide which filed you need to set.
From my experience, the address usage is more complicated part, but the first step to understand the document is very help to me solved my problems.