‎2007 Jun 01 8:04 AM
Hai Everyone,
I have the doubt in automatic number generation.
i find the function module. the function module is
report 123.
*DATA: RC LIKE INRI-RETURNCODE,
NUMBER(10) TYPE C.
*
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING OBJECT = 'HUGO'
NR_RANGE_NR = '01'
IMPORTING RETURNCODE = RC
NUMBER = NUMBER.
*
CASE RC.
WHEN ' '.
everything o.k.
WHEN '1'.
the assigned number lies in the critical area.
WHEN '2'.
this was the last number, next time the first number
will be assigned
ENDCASE.
write:/ number.
in that function module what i want to give the Exporting Object 'HOGO'. where i want to define the number range. what is meant by 'HOGO'.
If any one faced the same problem plz help me.
Thanks and regards,
P.Naganjana Reddy
‎2007 Jun 01 8:07 AM
hi,
It is the name of the number range object must be passed as
it was defined in number range object maintenance.
it will be created using TCODE SNRO
‎2007 Jun 01 8:07 AM
hi,
It is the name of the number range object must be passed as
it was defined in number range object maintenance.
it will be created using TCODE SNRO
‎2007 Jun 01 8:27 AM
Hai Chandrasekhar,
in that what i have to give. Plz help me in this.
Subobject data element
To-year flag
Number length domain
No interval rolling
Number range transaction
Warning %
Main memory buffering
Group table
Subobject field in group table
Fld NoRangeElement
Fields int./ext. no.range no.
Fld. NoRangeNo
Display element text
Thasnks and regards,
P.Naganjana reddy
‎2007 Jun 01 8:34 AM
hi Palle,
you can check this sap help
http://help.sap.com/saphelp_47x200/helpdata/en/2a/fa02e3493111d182b70000e829fbfe/frameset.htm