‎2007 Oct 18 1:59 PM
Hi All,
What is the transaction SNUM used for ? and how is it used ?
In my requirement I have to create an id for each Payment Order generated and store it in a z table. This is should be unique for one whole year. The volume of Payment Orders generated will be around 273 million in one year.
The problem here is based on success or failure the id's have to be stored in different tables and picked up at run time while payment order creation.
Is there a way to create this id other than maintaining a counter in a custom table ? Can the transaction SNUM be used in any way for this requirement
Please suggest.
Thanks in advance,
Archana.
‎2007 Oct 18 2:00 PM
This is the transaction to create/ edit 'Number Ranges'.
Number ranges are objects used to assign incremental numbers to different objects in SAP. e.g. Serial number for Prodcution units.
These number ranges need to ne used later in ABAP programs like
GET_NUMBER_NEXT etc. FMs are used,
‎2007 Oct 18 2:01 PM
Hi
The TCODES
SNUM and
SNRO are used to create a NUMBER range Object and
the NUMBER ranges for the different objects
for example Sales order, Pur Order or any doc number is to be created first in system
Regards
Anji
‎2009 Feb 27 9:15 AM
Since I havd to update the number really fast, I just maintained a Z counter table and generated payment order numbers from there !!