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

Function module which generates number in sequence

anupam_srivastava2
Participant
0 Likes
1,671

Hi All

Is there any FM which generates number in a sequence. I am creating a bank file using DMEE. Now for detail records it should create a number say starting with 001, 002. 003....

now every time the bank file is created it should work in this way.

Any help would be higly appreciated.

C

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,105

Hello

1. Create interval: http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=50004015

2. Use FM NUMBER_GET_NEXT:

4 REPLIES 4
Read only

Former Member
0 Likes
1,106

Hello

1. Create interval: http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=50004015

2. Use FM NUMBER_GET_NEXT:

Read only

Former Member
0 Likes
1,105

Hi

U can create a range by trx SNRO and to use the fm NUMBER_GET_NEXT to get the next number

Max

Read only

Former Member
0 Likes
1,105

Hi,

You can try that using Number range object. Have a look at this link

[]

Regards,

Vikranth

Read only

anupam_srivastava2
Participant
0 Likes
1,105

thanks