Skip to Content
0
Former Member
Jul 03, 2008 at 11:13 PM

UPDATE SAP USER EMAIL

351 Views

Hi,

I'm trying to update sap user email by using BAPI_USER_CHANGE BAPI. This is the code:

CLEAR it_return.

v_address-e_mail = ls_salida-smtp_addr.

v_addressx-e_mail = 'X'.

CALL FUNCTION 'BAPI_USER_CHANGE'

EXPORTING

username = lv_bname

address = v_address

addressx = v_addressx

TABLES

return = it_return.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

When the execution finish everything seems OK but when I check in SAP user master data, email address is not updated.

Can you tell me how can i do to make it works? or there is another way to update sap user email address?

Thanks

Andres