on 12-13-2011 11:32 AM
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:
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
Hi,
Take value of field ADDRESS_GUID from table BUT020 for the business partner and pass it to ls_but020_guid.
change the coding as under ..
CALL FUNCTION 'BAPI_BUPA_ADDRESS_CHANGE'
IMPORTING
businesspartner = ls_but000-partner
addressguid = ls_but020-guid
TABLES
bapiadtel = lt_tel
bapiadtel_x = lt_tel_x
return = ret.
check return parameters.
rgds,
Srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
16 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.