Application Development and Automation 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: 
Read only

Generate Id

Former Member
0 Likes
955

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
Read only

Former Member
0 Likes
900

Do you mean SY-REPID?

6 REPLIES 6
Read only

Former Member
0 Likes
901

Do you mean SY-REPID?

Read only

0 Likes
900

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

Read only

Former Member
0 Likes
900

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

Read only

Former Member
0 Likes
900

NUMBER_GET_NEXT

Read only

Former Member
0 Likes
900

Create Number Range with help of Transaction SNRO

Then Use function Module

NUMBER_GET_NEXT

to generate unique number .

Regards,

Alpesh

Read only

0 Likes
900

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.