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

Ztable entries

Hi All,

I have created a Ztable with 7 fields, Out of which 3 fields are SY-UNAME, SY-DATUM, SY_UZEITT. I have also created table maintenance for that. My requirement is when user goes to SM30 and click on new entries, SY-UNAME, SY-DATUM, and SY-UZEITT to be populated automatically and user should not able to change those.

Is there any way to do that? Its an urgent requirement for me, Please reply ASAP.

Thanks in Advance,

Rajesh.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 08:51 AM

    Hi,

    for this one u need to write the code in table maintenance generator

    goto -> environment-> modification->events

    write the code for the same and also in screen make these fields as display only

    thanks

    Shiva

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 09:24 AM

    when u created a table maintanebce , it will ask for function group, ok,

    so goto se11->open ur Ztable -> goto table maintanace generator-> c d Function group name & Screen number. OK.

    now open SE80 -> open that Function group -> expand screens -> click on that screen number,,,,so now u have to change in this scren to achive ur requirement...ok

    -> open the sceen layout and make that username,date,time fileds display mode.

    -> come to FLOW logic, write ur code in PAI/PBO evevts by creating create a module inthat assign syatem variables.....where ever it is required...ok..

    ( say

    if tablename = 'ztable name' <i><- somethig u have to check,,,,like this</i>

    Ztable-field1 = sy-uname.

    Ztable-field2 = sy-datum.

    Ztable-field3 = sy-uzeit.

    )

    hope u understand what i explained...

    Ramesh.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 08:50 AM

    i think you have reffered standard dataelement for those fields and for that you cannot able to input .

    can you try with some z dataelement for them and z domain .

    regards

    shiba dutta

    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.