Hello All,
I was trying to use the function module BUPA_ADDRESS_CHANGE to modify the telephone number present in the Central Address of a BP. I coded the same in the BADI - BUPA_ADDR_UPDATE->CHANGE_BEFORE_UPDATE but did not find any success with the same. Following is the code I used
ls_adtel-telephone = '43355266'.
ls_adtel-std_no = 'X'.
ls_adtel-r_3_user = '1'.
append ls_adtel to lt_adtel_n.
ls_adtelx-telephone = 'X'.
ls_adtelx-std_no = 'X'.
ls_adtelx-r_3_user = 'X'.
ls_adtelx-updateflag = 'U'. * Used 'I' as well.
append ls_adtelx to lt_adtelx.
CALL FUNCTION 'BUPA_ADDRESS_CHANGE'
EXPORTING
IV_PARTNER = '100007777'
IV_ADDRNUMBER = '0000056672'
IV_X_SAVE = ''
TABLES
IT_ADTEL = lt_adtel_n
IT_ADTEL_X = lt_adtelx.
Please help ascertain the issue here.