Skip to Content
author's profile photo Former Member
Former Member

Username in screen variant or transaction variant

Hello all,

I want to fill a selection screen field of a standard program with the name of the user who launch this.

I think to a screen variant or a transaction variant but in SHD0 I don't find how.

Could you help me please ?

Thanks a lot.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 06, 2012 at 07:09 AM

    Hello Rupesh,

    I have already tried this method, but I don't know how I can put 'Sy-uname' in my field.

    If I put Sy-uname in this, the program display Sy-uname and not the value of this variable.

    I have you an idea ?

    Thx.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 03, 2012 at 10:17 PM

    What transaction code is that?

    If the field has parameter, you set the parameter ID XUS to their respective username in transaction code SU3. That way whenever the transaction is launched the screen is filled with their own username.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 04, 2012 at 09:52 AM

    Dear,

    You can do this with transaction variant in SHD0 here you can define any field as reference field it can be user name also so it will get copied to transaction every time. Also you can assign transaction variant to user it self.

    Regards,

    R.Brahmankar

    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.