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

Regarding creation of z tables

Hi Friends,

How to create primary key field auto incremented in Ztable as in oracle and Access. I have data in which all columns are duplicate.Any body provide me the solution for this Requirment.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jan 28, 2008 at 02:27 PM

    You have to attach the key to a number range and use function module like NUMBER_GET_NEXT to increment the key.

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

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

    Hi Vishu, this will help.

    you can maintain "number ranges" that will provide numbers in sequence according to rules customized in transaction SNUM

    in your program, you have to call FM NUMBER_GET_NEXT that will return the next number of the range.

    kindly reward if found helpful.

    cheers,

    Hema.

    Add a comment
    10|10000 characters needed characters exceeded

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

    Hi,

    Use number ranges for this.

    You can use transaction SNRO for creating number ranges.

    Regards,

    Renjith Michael.

    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.