10-09-2007 8:31 PM
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
10-09-2007 8:55 PM
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