Dear experts,
I have migrate in real estate modules many business partners and found out,
That i have forgotten the phone number...
So i searched for an solutions and found the hint in the followin thread:
[BAPI for creating phone number, fax, e-mail, www for BP|BAPI for creating phone number, fax, e-mail, www for BP]
here is my conding...
CLEAR lt_tel_x[].
ls_tel_x-updateflag = 'I'.
APPEND ls_tel_x TO lt_tel_x.
CLEAR lt_tel[].
ls_tel-telephone = ls_deb-telefonnummer.
APPEND ls_tel TO lt_tel.
CALL FUNCTION 'BAPI_BUPA_ADDRESS_CHANGE'
EXPORTING
businesspartner = ls_but000-partner
addressguid = ls_but020-guid
TABLES
bapiadtel = lt_tel
bapiadtel_x = lt_tel_x
return = ret.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
.
I found out that my field of the struction ls_but020-guid is initial.
But in the but020 the ADDRESS_GUID is filled.
However it doesent work...
Also the table return - is initial - i have no returned messages...
anyone some ideas...
regards