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

Transaction SNUM

Former Member
0 Likes
9,403

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.

3 REPLIES 3
Read only

Former Member
0 Likes
3,540

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,

Read only

Former Member
0 Likes
3,540

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

Read only

Former Member
0 Likes
3,540

Since I havd to update the number really fast, I just maintained a Z counter table and generated payment order numbers from there !!