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: 

Serial Number Gerneration

Former Member
0 Kudos

Hello Friends,

I have a requirement for serial number generation.

i have developed a module pool program and whenever the user

saves the record then a serial number should be generated.

based on this serial number generation i am storing the data in

ztable.

Waiting for Reply

thanks and regards

Neelesh

1 ACCEPTED SOLUTION

kiran_k8
Active Contributor
0 Kudos

Neelesh,

You can use CALL FUNCTION 'NUMBER_GET_NEXT' .

K.Kiran.

3 REPLIES 3

kiran_k8
Active Contributor
0 Kudos

Neelesh,

You can use CALL FUNCTION 'NUMBER_GET_NEXT' .

K.Kiran.

Former Member
0 Kudos

hi,

try using the FM "GET_NEXT_NUMBERS".

Regards

Naveen

Former Member
0 Kudos

Hello,

Ur query is bit confusing..

As per my understanding U don't have the field like serial number in ZTABLE but data should be saved based on serial number.

If yes..

Try to add one more field SERNUMBER in ZTABLE and check the max SERNUMBER whenever user save the data and increase it accordingly.

One more option is to create onemore ZTABLE with serial number.

Regards,

Subbu