Last SMTP Address not getting updated in the Customer master(Contacts tab).
I am modifying a program in which I am supposed to Create customers Via standalone program using a flat file . at the moment only the general data is crerated.
For the Second Run of the same program I am uploading the Customer contacts.
all the contact are getting created but the SMTP Address of the last contact does not get updated.
all the values are correct including the SMTP Addresses but still the SMTP of the last address does not get created in the system.
The FM being used in the program is : ADDR_PERS_COMP_MAINTAIN_COMPL.
CALL FUNCTION 'ADDR_PERS_COMP_MAINTAIN_COMPL'
updateflag = 'U' "Update
addr3_complete = ls_addr3_complete
person_group = 'BP'
substitute_all_comm_data = abap_true
check_address = ' '
returncode = lv_returncode
error_table = lt_error
parameter_error = 1
address_not_exist = 2
person_not_exist = 3
handle_exist = 4
internal_error = 5
OTHERS = 6.
Can any one please help me to sort out this Prblem.