Skip to Content

Parameter for name

Hi all,

In abap ,to get current user's Login ID we write sy-uname,is there any such parameter to get our name?

eg ' write sy-uname' : prints INF64624.

what prints Ruby chacko?

Regards,

Ruby.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

8 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2007 at 12:42 PM
    select single name1 into v_name from USR03  where bname = sy-uname.
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2007 at 12:44 PM

    hi Ruby,

    there is no system field to get the user's full name.

    goto se11, and see the structure SYST-> you will get the list of available system fields.

    Hope this helps,

    Sajan Joseph.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 31, 2007 at 12:46 PM

    with user name go to USR21 table and get PERSNUMBER and then go to ADRP table with PERSNUMBER to get the full name.

    Raja

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2007 at 12:47 PM

    hi,

    try using USR03-NAME1.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2007 at 12:48 PM

    Hi Ruby,

    The ADRP table gives the First, Last, Middle names as well as the names in full of all the users.

    I hope its of some help to you.

    Regards,

    Ganesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2007 at 12:49 PM

    Hi ruby,

    1. There is no direct system variable which stores the full user name (first name + last name)

    2. We have to fetch it either thru sql or FM.

    3. we can use this FM

    BAPI_USER_GET_DETAIL

    4. In that

    ADDRESS is one structure

    with fields

    FIRSTNAME, LASTNAME.

    <b>

    5. From that structure we can also use the field

    FULLNAME</b>

    regards,

    amit m.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2007 at 12:55 PM

    The id sy-uname "user id is the one configured by the basis .

    //Now eg ' write sy-uname' : prints INF64624.

    so the id on ur system is reffered as the same .

    There is no system variable for checking the full name unless it is maintianed in the SAP .

    regards,

    vijay.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 01, 2007 at 03:53 AM

    Hi all,

    Thanks for giving reply,my problem is solved using USR03 table.

    Thanks & Regards,

    Ruby.

    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.