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

Former Member
0 Likes
352

if in the fm number_get_next in the importing number = excise number i.e.j_1iexchdr-exnum

will the number that will be generated be exnum+1

and when the po is going to be posted will the exnum also be incremented by 1.

actually i need to check whethetr the number generated by a number range j_1iexcloc and the po excise doc no is same or not.

for this i am using fm number_get_next

what should be in the import parameter number of the fmodule.

2 REPLIES 2
Read only

Former Member
0 Likes
311

Hi,

If your sole purpose of using this FM is to just check whethetr the number generated by a number range j_1iexcloc and the po excise doc no is same or not, Then please do not use this Function module.

B'cos, once the function is executed, then the next available number is consumed by the Number range object.

Answer to your next question would be "Next available number in your Number range object".

Scenario where this FM can be used is

You have your own custom document created and want to assign a number to the new document everytime it gets created. At that point, you can call this FM and assign the next number to the new document.

Hope this helps.

Le'me know if you need any more info.

Vinodh Balakrishnan

Read only

former_member191735
Active Contributor
0 Likes
311

The next number of the number range object. Check out transaction code SNRO and provide your object ...it will show you the next free number.