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

Getting error while using BAPI_BUPA_ADDRESS_CHANGE

Former Member
0 Likes
940

I am using the BAPI_BUPA_ADDRESS_CHANGE to change the email id of the business partner.

Before calling the above BAPI. I am using BAPI_BUPA_ADDRESS_GETDETAIL to get the values for BAPIADSMTP to get the already existing emailid of the BP and to make sure whether i need to do an insert or update. With the emailid which is in the input i am trying to build the structures BAPIADSMTP and BAPIADSMTP_X of the BAPI_BUPA_ADDRESS_CHANGE.

Below are the fields which i am filling:

1)BAPIADSMTP

STD_NO = X

E_MAIL = <email.id>

EMAIL_SRCH = <email.id>

2) BAPIADSMT_X

STD_NO = X

E_MAIL = X

EMAIL_SRCH = X

UPDATEFLAG = U

Could you please let me know whether I am filling the correct fields?

As i am getting an error as "Business partner 0000000XXX is a duplicate". I have tried with several BP's but still i am getting the same error.

1 REPLY 1
Read only

Former Member
0 Likes
567

Hi Abhishek,

Can you please let me know if you could resolve the issue?

Regards,

~Athreya