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

Number Range Object maintained programatically

Former Member
0 Likes
373

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
Read only

Former Member
0 Likes
316

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