SAP ABAP Class /EACA/CL_GL_DOCNR (Document Number of the G/L Document)
Hierarchy
☛
SEM-BW (Software Component) SEM-BW: Strategic Enterprise Management
⤷ FIN-BAC-GL (Application Component) General Ledger
⤷ /EACA/GL_ENTITIES (Package) Entities in the General Ledger
⤷ FIN-BAC-GL (Application Component) General Ledger
⤷ /EACA/GL_ENTITIES (Package) Entities in the General Ledger
Properties
Class | /EACA/CL_GL_DOCNR | |
Short Description | Document Number of the G/L Document | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | /EACA/GL_DOCNUMBER | |
Program status | ||
Category | 0 | |
Package | /EACA/GL_ENTITIES | Entities in the General Ledger |
Created | 20020730 | SAP |
Last change | 20041006 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class /EACA/CL_GL_DOCNR has no forward declaration.
Interfaces
Class /EACA/CL_GL_DOCNR has no interface implemented.
Friends
Class /EACA/CL_GL_DOCNR has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | C_BASE58 | Constant | Private | Type reference (TYPE) | CHAR58 | '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ{}!"$%&/()=?+-.:,;#<>*' | characterset used for mapping | 20020926 | |
2 | C_GLDC | Constant | Private | Type reference (TYPE) | NROBJ | '/EACA/GLDC' | Name of the Number Range Object | 20020730 | |
3 | C_NRRANGENR | Constant | Private | Type reference (TYPE) | FIELDNAME | 'NRRANGENR' | Attribute Number Range Interval | 20020730 | |
4 | C_NRRANGENR_REV | Constant | Private | Type reference (TYPE) | FIELDNAME | 'ACC_NRNR_REV' | Attribute Number Range Interval | 20031201 | |
5 | C_TRUE | Constant | Private | Type reference (TYPE) | UG_FLG | 'X' | Flag that has been set | 20020730 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CHECK_NUMBER | Static method | Public | Method | Fetch Next Document Number | 20020912 |
2 | DELETE_SUBOBJECT | Static method | Public | Method | Delete Number Range Object | 20020730 |
3 | GET_EXISTING_SUBOBJECTS | Static method | Public | Method | Fetch Table of Existing Number Range Subobjects | 20030204 |
4 | GET_NUMBER | Static method | Public | Method | Fetch Next Document Number | 20020730 |
5 | GET_SUBOBJECT | Static method | Public | Method | Fetch and Create Matching Number Range Object | 20020730 |
6 | INCEMENT_SOBJNR | Static method | Private | Method | Increase Subobject Number by One | 20020730 |
7 | TRANSPORT | Static method | Public | Method | Generate Manual Transport | 20030204 |
Events
Class /EACA/CL_GL_DOCNR has no event.
Types
Class /EACA/CL_GL_DOCNR has no local type.
Method Signatures
Method CHECK_NUMBER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_ACC_DOCTYPE | Call by reference | Type reference (TYPE) | ACC_DOCTYPE | Belegart | 20020912 | ||
2 | Importing | I_ACC_LEGENT | Call by reference | Type reference (TYPE) | /EACA/GL_DOCNR_LEGENT | Platzhalter für legale Einheit (GL Belegnummernkreis) | 20020912 | ||
3 | Importing | I_ACC_SYSTEM | Call by reference | Type reference (TYPE) | ACC_SYSTEM | Rechnungssystem | 20020912 | ||
4 | Importing | I_NUMBER | Call by reference | Type reference (TYPE) | /EACA/GL_DOCNR | Belegnummer General Ledger | 20020916 | ||
5 | Importing | I_YEAR | Call by reference | Type reference (TYPE) | GJAHR | Geschäftsjahr | 20020912 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INVALID_NUMBER | Externe Belegnummer nicht im gültigen Intervall | 20020918 | |
2 | NO_SUBOBJECT | Fehlender Eintrag in Tabelle /EACA/GL_DOCNR_S für LegEinh/Re | 20020912 | |
3 | NUMBERRANGE_NOT_FOUND | Nummernkreisobjekt oder -intervall fehlt | 20020918 | |
4 | NUMBER_NOT_ALLOWED | Externe Belegnummernvergabe ist nicht erlaubt | 20020918 |
Method DELETE_SUBOBJECT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | E_SUBOBJECT | Value transfer | Type reference (TYPE) | /EACA/GL_DOCNR_SOBJ | Technisches Unterobjekt für Nummernkreisobjekt /EACA/GLDC | 20020730 | ||
2 | Importing | I_ACC_LEGENT | Call by reference | Type reference (TYPE) | /EACA/GL_DOCNR_LEGENT | Platzhalter für legale Einheit (GL Belegnummernkreis) | 20020730 | ||
3 | Importing | I_ACC_SYSTEM | Call by reference | Type reference (TYPE) | ACC_SYSTEM | Rechnungssystem | 20020730 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | SUBOBJECT_MISSING | Das gewünschte Subobjekt exisiert nicht | 20020730 | |
2 | SUBOBJECT_NOT_DELETED | Das gewünschte Subobjekt konnte nicht gelöscht werden | 20020730 |
Method GET_EXISTING_SUBOBJECTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ET_SUBOBJECT | Value transfer | Type reference (TYPE) | /EACA/GL_T_DOCNR_SOBJ | Technisches Unterobjekt für Nummernkreisobjekt /EACA/GLDC | 20030204 | ||
2 | Importing | I_ACC_SYSTEM | Call by reference | Type reference (TYPE) | ACC_SYSTEM | Rechnungssystem | 20030204 |
Method GET_EXISTING_SUBOBJECTS on class /EACA/CL_GL_DOCNR has no exception.
Method GET_NUMBER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_GL_DOCNR | Call by reference | Type reference (TYPE) | /EACA/GL_DOCNR | Belegnummer General Ledger | 20020730 | ||
2 | Importing | I_ACC_DOCTYPE | Call by reference | Type reference (TYPE) | ACC_DOCTYPE | Belegart | 20020730 | ||
3 | Importing | I_ACC_LEGENT | Call by reference | Type reference (TYPE) | /EACA/GL_DOCNR_LEGENT | Platzhalter für legale Einheit (GL Belegnummernkreis) | 20020730 | ||
4 | Importing | I_ACC_SYSTEM | Call by reference | Type reference (TYPE) | ACC_SYSTEM | Rechnungssystem | 20020730 | ||
5 | Importing | I_REV_FLAG | Call by reference | Type reference (TYPE) | /EACC/BOOLEAN | Stornobeleg | 20031201 | ||
6 | Importing | I_YEAR | Call by reference | Type reference (TYPE) | GJAHR | Geschäftsjahr | 20020730 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_NUMBER | Fehler beim Holen der nächsten Belegnummer | 20020730 | |
2 | NO_SUBOBJECT | Fehlender Eintrag in Tabelle /EACA/GL_DOCNR_S für LegEinh/Re | 20020730 |
Method GET_SUBOBJECT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | E_SUBOBJECT | Value transfer | Type reference (TYPE) | /EACA/GL_DOCNR_SOBJ | Technisches Unterobjekt für Nummernkreisobjekt /EACA/GLDC | 20020730 | ||
2 | Importing | I_ACC_LEGENT | Call by reference | Type reference (TYPE) | /EACA/GL_DOCNR_LEGENT | Platzhalter für legale Einheit (GL Belegnummernkreis) | 20020730 | ||
3 | Importing | I_ACC_SYSTEM | Call by reference | Type reference (TYPE) | ACC_SYSTEM | Rechnungssystem | 20020730 | ||
4 | Importing | I_CREATE_SUBOBJECT | Call by reference | Type reference (TYPE) | UG_FLG | 'X' | X=Subobjekt ggf. anlegen | 20020730 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ENQUEUE_FAILED | Problem beim Sperren | 20021028 | |
2 | SUBOBJECT_NOT_CREATED | Das gewünschte Subobjekt konnte nicht angelegt werden | 20020730 | |
3 | SUBOBJECT_NOT_FOUND | Das Subobjekt existiert nicht und sollte nicht angel. werden | 20020730 |
Method INCEMENT_SOBJNR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | E_SOBJNR | Value transfer | Type reference (TYPE) | /EACA/CHAR3 | Datenfeld Character 3 | 20020730 | ||
2 | Importing | I_SOBJNR | Call by reference | Type reference (TYPE) | /EACA/CHAR3 | ' ' | Datenfeld Character 3 | 20020730 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | SOBJNR_INVALID | Die Subobjektnummer enthält ungültige Zeichen | 20020730 | |
2 | SOBJNR_OVERFLOW | Der Zähler für die Subobjektnummer ist übergelaufen | 20020730 |
Method TRANSPORT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_SUBOBJECT | Call by reference | Type reference (TYPE) | /EACA/GL_T_DOCNR_SOBJ | Technisches Unterobjekt für Nummernkreisobjekt /EACA/GLDC | 20030204 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | TRANSPORT_FAILED | Transport fehlgeschlagen | 20030204 |
History
Last changed by/on | SAP | 20041006 |
SAP Release Created in | 10B |