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

Former Member
0 Likes
580

i need to check the current number of a number range object called j_1iexcloc.how can i do it shall i use get_number_next

and then after getting this value i need to compare it with the value in the field exnum of table j_1iexchdr. how do i get the last value of the field and how do i do the comparison.

shall i again use get_number_next to get the value of exnum.

moeroevr wat is subobject

2 REPLIES 2
Read only

Former Member
0 Likes
532

Goto tcode SNRO and give the object name it will display the subobject .

yeah u can use the same FM .

CALL FUNCTION 'NUMBER_GET_NEXT'

EXPORTING

NR_RANGE_NR = '01'

OBJECT = 'XXXXXX''

QUANTITY = 'X'

SUBOBJECT = 'XXXX-FIELD'

TOYEAR = '0000'

IGNORE_BUFFER = ' '

IMPORTING

NUMBER = INTERNAL TABLE

Internal table will hold the number of the sequence.

Vijay

Read only

0 Likes
532

how do i equate this two values that i get?