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 Range Object maintained programatically

Former Member
0 Kudos

Hi,

I have custom number range object. I need to maintain this by programatically and NOT using transaction code SNRO. (ie create new instance, maintain Maximum number , delete instance etc)

Anybody having a piece of code or info on this ?

Your help will be appreciated.

Thanks

Sa_R

1 REPLY 1

Former Member
0 Kudos

hi Sa_R,

u can try using the "ABAP Debugger",

this transaction use the program "SAPMSNUM", go to SE80 and Display the Program, it's using the Function to show / edit the range's.

CALL FUNCTION 'NUMBER_RANGE_UPDATE_INIT'

EXPORTING

OBJECT = OBJECT

EXCEPTIONS

OBJECT_NOT_FOUND = 1.

IF SY-SUBRC NE 0.

MESSAGE A010 WITH OBJECT.

maybe it can help u.

Regards

Allan Cristian