Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Generate Id

Former Member
0 Kudos

Hi,

I want to save the report into table.FGor that I am going to use Report id as primary key.

Is there any standard function to generate automatic ids?

Regards,

Mythili

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Do you mean SY-REPID?

6 REPLIES 6

Former Member
0 Kudos

Do you mean SY-REPID?

0 Kudos

hi,

sy-repid is something like the number of the ABAP program,right?

i want to get some auto generated numbers for the report id.Is there any function module for generating ids.

Thanks,

Anila

Edited by: Mythili Sakthivel on Sep 17, 2008 12:12 PM

Former Member
0 Kudos

Hi,

NUMBER_GET_NEXT

SYSTEM_GET_UNIQUE_ID

QF05_RANDOM Random number generator

QF05_RANDOM_INTEGER Random (whole) number

AQ_INT_RANDOM_NUMBERS

GUID_CREATE

Regards,

Harish

Former Member
0 Kudos

NUMBER_GET_NEXT

Former Member
0 Kudos

Create Number Range with help of Transaction SNRO

Then Use function Module

NUMBER_GET_NEXT

to generate unique number .

Regards,

Alpesh

0 Kudos

Hi,

thanks.

I am going to have the number range for history of reports.

So I dont know the ending number.

what can i do in this case.