2006 Sep 12 8:21 AM
Friends,
Has anybody worked on this BAPI? Can tell how to run this I have to change the companycode bases teelphone numers for customer.
Many Thanks,
Albert.
Friends,
Has anybody worked on this BAPI? Can tell how to run this I have to change the companycode bases teelphone numers for customer.
Many Thanks,
Albert.
2006 Sep 12 8:26 AM
Hi
You can't change the company data by that BAPI, but only master data and stored in KNA1.
Insert the new value in structure <STRUCTURE> and indicate with 'X' which fields have to be updating by structure <STRUCTURE>X.
Max
2006 Sep 12 10:43 AM
Hello Albert
As Max Bianchi already said you cannot change company code data of the debitor using this BAPI. I assume that you simply want to change the address data of your debitor (which should be independet of the company code).
In order to change the address data (e.g. telephone number) you have to fill all obligatory data of parameter PI_PERSONALDATA (for customer) or PI_COMPANYDATA (for company). In PI_PERSONALDATAX you set the flag = 'X' for all fields you actually want to change (in your case TEL1_NUMBR = 'X').
However, there is one problem when changing adress data of customers. The BAPI reject the change due to a difference in company address and home address which it does not allow. This is probably due to the ZAV (central address handling) which for customers links company address and home address for a customer.
Regards
Uwe
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |