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

BDC for change customer(XD02)

Former Member
0 Likes
926

Friends,

Actually I need to write a BDC to chnage the customer telephone numbers in XD02, but strange that it doesn't get recorded in SHDB properly. How to change the existing telephone numbers as they are in the table control and no function code is recorded in the SHDB to proceess them one by one.

Has anybody come accross this.

Please suggest.

Many Thanks,

Albert.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
731

Hi Albert

You can use BAPI: BAPI_CUSTOMER_CHANGEFROMDATA1.

Kindly have a look at import parameter: PI_PERSONALDATA.

This can help you to update the telephone number.

Kind Regards

Eswar

Friends,

Actually I need to write a BDC to chnage the customer telephone numbers in XD02, but strange that it doesn't get recorded in SHDB properly. How to change the existing telephone numbers as they are in the table control and no function code is recorded in the SHDB to proceess them one by one.

Has anybody come accross this.

Please suggest.

Many Thanks,

Albert.

4 REPLIES 4
Read only

Former Member
0 Likes
732

Hi Albert

You can use BAPI: BAPI_CUSTOMER_CHANGEFROMDATA1.

Kindly have a look at import parameter: PI_PERSONALDATA.

This can help you to update the telephone number.

Kind Regards

Eswar

Read only

0 Likes
731

Dear Eshwar,

Thanks for the response. Can you pls explain further regarding the use of thius bapi, should i pass all the fields in the import a parameters or just the one to be chnaged.

Read only

0 Likes
731

Dear Albert

Am not on SAP System, i guess there will be some

documentation provided for the BAPI. Please try to

explore basing on the same. Will try to pass on more

details when i get back to office tomorrow.

Kind Regards

Eswar

Read only

Former Member
0 Likes
731

hi

good

wheather you r using your own value or using the value that is present in the table control?

if you r using your own value than check the format in which the telephone number should be,

if you r taking the value from the table control , and you want to change the telephone number of present in that table conrol than you have to change the standard program related to xd02.

thanks

mrutyun^