Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

object value for 'NUMBER_GET_NEXT'

Hi friends,

I have to implement the function module 'NUMBER_GET_NEXT' .

CALL FUNCTION 'NUMBER_GET_NEXT'

EXPORTING

nr_range_nr = '01'

object = lc_nr_range_obj_7d

quantity = lv_nrquan

subobject = lwa_marc-sernp

  • TOYEAR = '0000'

  • IGNORE_BUFFER = ' '

IMPORTING

number = lv_num_high_7d

quantity = lv_nrquan

  • RETURNCODE =

EXCEPTIONS

interval_not_found = 1

number_range_not_intern = 2

object_not_found = 3

quantity_is_0 = 4

quantity_is_not_1 = 5

interval_overflow = 6

buffer_overflow = 7

OTHERS = 8.

There are 3 values which i need to pass.

object = lc_nr_range_obj_7d

quantity = lv_nrquan

subobject = lwa_marc-sernp

I know 2 values serial no profile and quantity but 3rd value 'object' i don't know.

Can any body tell me what should I pass as object.This serial no generation i m going to implement for production order.

Can i get the object name based on serial no profile..?

Regards,

Rajesh Akarte

Former Member
Not what you were looking for? View more on this topic or Ask a question