cancel
Showing results for 
Search instead for 
Did you mean: 

object value for 'NUMBER_GET_NEXT'

rajesh_akarte2
Active Participant
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Please try Object : AUFTRAG

rajesh_akarte2
Active Participant
0 Kudos

hi thanks for the reply but this object is for production order no range I want for serial no range.or Can u tell me how to find out the object using the no. range profile,because I know the serial no profile.

Former Member
0 Kudos

You can check it from tcode : SNRO, press F4 and check for your object type.

rajesh_akarte2
Active Participant
0 Kudos

hi

how can I get the relation between object and serial no profile.