‎2007 Dec 28 8:48 AM
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.
‎2007 Dec 28 2:46 PM
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
‎2007 Dec 28 3:30 PM
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.