2010 Apr 13 6:28 AM
Hi
I need number range for between date wise. i use standard program 'RFBNUM00N' but this give whole year output. so i don't want i need date wise output
thanks
With Regards
I.Muthukumar.
2010 Apr 13 6:33 AM
Hi
Use the Transaction SNRO to create the number ranges. If standard is not full filled you required create range yourself in SNRO.
Regards
Thiru
Hi
Use the Transaction SNRO to create the number ranges. If standard is not full filled you required create range yourself in SNRO.
Regards
Thiru
2010 Apr 13 6:33 AM
Hi
Use the Transaction SNRO to create the number ranges. If standard is not full filled you required create range yourself in SNRO.
Regards
Thiru
2010 Apr 13 6:42 AM
Hi
i dont create i need report program
Thanks
With Regards
I.Muthukumar.
2010 Apr 13 6:58 AM
Hi,
Create the Number Range Object using SNRO tcode
and define/maintain the number ranges for that object using SNUM tcode
and then use the fun module NUMBER_GET_NEXT in the code to get the next continuous numbers for that field
see the sample code
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
nr_range_nr = '01'
object = 'ZDOCNUM'
QUANTITY = '1'
SUBOBJECT = ' '
TOYEAR = '0000'
IGNORE_BUFFER = ' '
IMPORTING
number = v_docno
QUANTITY =
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.
IF sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |