Skip to Content

How to update User-Email in SU01 with an abap program ?

Hi

i am creating an automatic abap program in order to update the employee email in su01.

I tried using Bapi_User_Change in order to update it - i entered data in the table ADDSMTP in the tab tables of the bapi but i didnt sucesseded.

Does anyone know a different bapi/function ( i dont want to use batch input ) ?

Thanks

Ami

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Dec 10, 2013 at 09:02 AM

    You have to fill ADDRESS and ADDRESSX.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 10, 2013 at 08:59 AM

    Hi,

    Use the BAPI to change the attributes. check the documentation as well for more information.

    BAPI_USER_CHANGE

    Pass User Name:

    go to Address structure enter the E_MAIL = 'XXXX.COM'

    go to ADDRES E_MAIL U
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 10, 2013 at 09:06 AM

    Hi Ami,

    Can you try to pass the email address in the ADDRESS field and mark the same field in ADDRESSX field as 'X'.

    Regards,

    Santanu.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 10, 2013 at 09:08 AM

    Hi,

    Check for email filed in ADDRESS structure of bapi BAPI_USER_CHANGE.

    Regards,

    Madhumahesh.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.