01-28-2008 2:07 PM
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.
01-28-2008 2: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
01-29-2008 4: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.
01-29-2008 5:26 AM
Hi,
Use number ranges for this.
You can use transaction SNRO for creating number ranges.
Regards,
Renjith Michael.