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

Create an instance and get its generation ID

Former Member
0 Likes
378

Hi All,

I need to create an instance for a customised program and need to get a new ID each time to assign.

May i know which tcode to create instance and which function to get the ID?

Thanks in advance for all your help.

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
346

Hello Sally

Since your question is missing any hint about your real problem you might be talking about number range objects.

Example: When you create sales orders with internal numbering every time a new order is created its number is increased (by one). The number is taken from the assigned interval of a number range object (fm NUMBER_GET_NEXT ).

The transaction to create and maintain number range objects and intervals is SNRO.

Regards

Uwe

Hi All,

I need to create an instance for a customised program and need to get a new ID each time to assign.

May i know which tcode to create instance and which function to get the ID?

Thanks in advance for all your help.

1 REPLY 1
Read only

uwe_schieferstein
Active Contributor
0 Likes
347

Hello Sally

Since your question is missing any hint about your real problem you might be talking about number range objects.

Example: When you create sales orders with internal numbering every time a new order is created its number is increased (by one). The number is taken from the assigned interval of a number range object (fm NUMBER_GET_NEXT ).

The transaction to create and maintain number range objects and intervals is SNRO.

Regards

Uwe