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

how to add user name and client to the ztable

hi,

i want to add user name and client number to the ztable

how can i add it.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 13, 2005 at 03:57 AM

    Hi

    clarify more.

    Do u want to create two new fields in the table or

    u want to display client and user in the report program?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 13, 2005 at 03:58 AM

    Add 2 columns USER_NAME (like SY_UNAME) & CLIENT (like MANDT). I am not sure how you are populating your Z table, but while INSERT/UPDATE operations, point these columns to sy-uname & sy-mandt respectively.

    I think the client number (MANDT) should be part of the Z table key, this way you don't have to worry about populating it.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 13, 2005 at 04:01 AM

    Hi,

    For client create a field with data element MANDT

    For username create a field with data element SYUNAME

    Thanks & Regards,

    Vanita.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 13, 2005 at 04:11 AM

    Hi

    for all the Tables we will create the clinet using MANDT and USERNAME you need to do in the follwing way

    MANDT	MANDT	CLNT	3	0	Client
    UNAME	SYUNAME	CHAR	12	0	User Name

    regards

    vijay

    Message was edited by: Vijay Babu Dudla

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 13, 2005 at 04:13 AM

    hi

    create 2 fields with mandt like sy-mandt and

    username like sy-uname....

    try this hope it works

    n reward if thesolution is helpful.

    ragrds,

    priya

    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.