Hi,
I need to create a new email address for a business partner and mark it as the standard (default) email address in the system. I am using function module BAPI_BUPA_ADDRESS_CHANGE here. I am able to create a new email address as well as set its validity period. But it is not getting marked as the standard email address. e.g. if there is already an existing email address marked as standard address (validity 01/01/2000 - 12/31/9999), when I insert a new one as standard on 12/03/2008 - the valid till date of the existing one should be set to 12/02/2008 and the new one should be the default address for the period 12/03/2008 - 12/31/9999.
Any clues about implementing this BAPI to mark the new email address as the default one for the required time period?
Regards,
Munish