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

default value to a field of ZTABLE

Hi Friends,

How can i give default value to a field in ZTABLE when a new record entered in SE11 or SM30

thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 26, 2008 at 10:26 AM

    Hi,

    You can write the code under the Events in table maintainanec generator. so whenever a new entry created the default value can be populated using your code.

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 26, 2008 at 10:29 AM

    hi,

    It will depend on the way you are writing records to the table if you are using table maintainance generator you will ahve to add sum costom code to the generator and if you are using a program then u can simply default it to any value in program .

    Regards,

    Himanshu Verma

    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.