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: 

NUMBER_GET_NEXT

sri_saplabs
Discoverer
0 Kudos

Dear Experts,

I have a question on NUMBER_GET_NEXT function module. Customer is able to get the new number for numbering in debugging mode, but not in direct transaction execution. Buffering is not switched on.This is happening in production systems.

How to resolve this? Please let me know.

Regards,

Sri

2 REPLIES 2

Sandra_Rossi
Active Contributor
0 Kudos

If you mean the customer does SE37 to call NUMBER_GET_NEXT in a production system, then it's not a good idea. Remove authorizations so that nobody can call a function module directly in a production system.

Now, to answer your question, probably he didn't see that in SE37 test mode, the returned number is right-aligned, "outside the screen": scroll to the right!

sri_saplabs
Discoverer
0 Kudos

Let me explain the scenario clearly. Customer is creating billing documents through VF01. There is a serial number which has to be generated along for each billing document. We are using NUMBER_GET_NEXT to get the next sequential number. So, this number is getting generated only in debugging, but not in direct VF01 transaction tode. Did anyone come across such scenario? if so, please let me know how it was fixed.

Thanks,

Sri