SAP ABAP Class CL_RECN_NUMBER_SERVICES (Services for Number Assignment (for User-Exit))
Hierarchy
☛
EA-FIN (Software Component) EA-FIN
⤷
RE-FX-CN (Application Component) Real Estate Contract
⤷
RE_CN_CN (Package) RE: Contract
⤷
⤷
Properties
| Class | CL_RECN_NUMBER_SERVICES | |
| Short Description | Services for Number Assignment (for User-Exit) | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | RE_CN_CN | RE: Contract |
| Created | 20021010 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RECN_NUMBER_SERVICES has no interface implemented.
Friends
Class CL_RECN_NUMBER_SERVICES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | RECN_CONTRACT-RECNNR | 9999999999999 | Maximum Sequential Number (Suffix) | 20021024 | ||
| 2 | Constant | Public | Type reference (TYPE) | RECN_CONTRACT-RECNNR | 0000000000000 | Minimum Sequential Number (Suffix) | 20021024 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Determines Length of Suffix from Prefix and Rule | 20021024 | |
| 2 | Static method | Public | Method | Fetches the Business Object for the Given Contract | 20021010 | |
| 3 | Static method | Public | Method | Gets Keys of Objects for Contract -> Table | 20021010 | |
| 4 | Static method | Private | Method | Determines Suffix from Existing Nos and Number Parts on DB | 20021024 | |
| 5 | Static method | Public | Method | Proposes Number for Contract | 20021028 | |
| 6 | Static method | Public | Method | Proposes Number Parts for Contract (csx_cnnumber-S_CNNUMBER) | 20021028 | |
| 7 | Static method | Public | Method | Proposes Prefix for Contract No., Dependent on Contract Type | 20021028 | |
| 8 | Static method | Private | Method | Priv: Appends Number Part (Same Length) to Existing Number | 20021024 | |
| 9 | Static method | Private | Method | Priv: Writes Details for BUS_OBJ to a Table Row | 20021010 | |
| 10 | Static method | Private | Method | Priv: Supplies Stats (e.g. No.Subobj. per AG, Build., Prop.) | 20021010 |
Events
Class CL_RECN_NUMBER_SERVICES has no event.
Types
Class CL_RECN_NUMBER_SERVICES has no local type.
Method Signatures
Method CALC_LENGTH_POSTFIX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_PREFIX | Call by reference | Type reference (TYPE) | C | Präfix (ein Zeichen oder Blank) | 20021024 | |||
| 2 | IS_RULE | Call by reference | Type reference (TYPE) | RECN4_S_NUM_RULE | Regel zur Nummernbildung | 20021024 | |||
| 3 | RD_LENGTH_POSTFIX | Value transfer | Type reference (TYPE) | I | Länge des Suffixes | 20021024 |
Method CALC_LENGTH_POSTFIX on class CL_RECN_NUMBER_SERVICES has no exception.
Method GET_BUSOBJ_FOR_CONTRACT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_CONTRACT | Call by reference | Object reference (TYPE REF TO) | IF_RECN_CONTRACT | Vertragsinstanz | 20021010 | |||
| 2 | IS_VICNCN | Call by reference | Type reference (TYPE) | VICNCN | Feldleiste mit Vertrag | 20030929 |
Method GET_BUSOBJ_FOR_CONTRACT on class CL_RECN_NUMBER_SERVICES has no exception.
Method GET_OBJ_NUM_FOR_CONTRACT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CSX_CNNUMBER | Call by reference | Type reference (TYPE) | RECN4_SX_CNNUMBER | Struktur mit Info zu den Objekten zum Vertrag | 20021010 | |||
| 2 | IF_GET_RS | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | T/F: Mietflächen berücksichtigen? | 20040108 | ||
| 3 | IO_CONTRACT | Call by reference | Object reference (TYPE REF TO) | IF_RECN_CONTRACT | Vertrag | 20021010 | |||
| 4 | IO_OFFER | Call by reference | Object reference (TYPE REF TO) | IF_REOR_OFFER | Vertragsangebot (VIOROF) | 20070411 |
Method GET_OBJ_NUM_FOR_CONTRACT on class CL_RECN_NUMBER_SERVICES has no exception.
Method GET_POSTFIX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | Buchungskreis des Vertrages | 20021024 | |||
| 2 | ID_LENGTH_POSTFIX | Call by reference | Type reference (TYPE) | I | Anzahl Stellen für das Suffix | 20021024 | |||
| 3 | ID_NUMBER_PART | Call by reference | Type reference (TYPE) | C | Erster Teil der Nummer | 20021024 | |||
| 4 | RD_POSTFIX | Value transfer | Type reference (TYPE) | RECN_CONTRACT-RECNNR | Suffix für resultierende eindeutige Vertragsnummer | 20021024 |
Method GET_POSTFIX on class CL_RECN_NUMBER_SERVICES has no exception.
Method PROPOSE_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CSX_CNNUMBER | Call by reference | Type reference (TYPE) | RECN4_SX_CNNUMBER | Struktur mit Info zu den Objekten zum Vertrag | 20021028 | |||
| 2 | IO_CONTRACT | Call by reference | Object reference (TYPE REF TO) | IF_RECN_CONTRACT | Vertrag | 20021028 |
Method PROPOSE_NUMBER on class CL_RECN_NUMBER_SERVICES has no exception.
Method PROPOSE_NUMBER_PARTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CSX_CNNUMBER | Call by reference | Type reference (TYPE) | RECN4_SX_CNNUMBER | Struktur mit Info zu den Objekten zum Vertrag | 20021028 | |||
| 2 | IO_CONTRACT | Call by reference | Object reference (TYPE REF TO) | IF_RECN_CONTRACT | Vertrag | 20021028 |
Method PROPOSE_NUMBER_PARTS on class CL_RECN_NUMBER_SERVICES has no exception.
Method PROPOSE_PREFIX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CSX_CNNUMBER | Call by reference | Type reference (TYPE) | RECN4_SX_CNNUMBER | Struktur mit Info zu den Objekten zum Vertrag | 20021028 | |||
| 2 | IO_CONTRACT | Call by reference | Object reference (TYPE REF TO) | IF_RECN_CONTRACT | Vertrag | 20021028 |
Method PROPOSE_PREFIX on class CL_RECN_NUMBER_SERVICES has no exception.
Method _CONCATENATE_NUMBER_PART Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_ACT_LEN | Call by reference | Type reference (TYPE) | I | Länge in der id_act_part_Num zu berücksichtigen ist | 20021024 | |||
| 2 | ID_ACT_NUMBER | Call by reference | Type reference (TYPE) | C | Gegebene Nummer | 20021024 | |||
| 3 | ID_ACT_PART_NUM | Call by reference | Type reference (TYPE) | C | Anzuhängender Nummernteil | 20021024 | |||
| 4 | ID_NEW_LEN_PART | Call by reference | Type reference (TYPE) | I | Anz.Stellen aus id_act_part_num(id_act_len), die konk. werde | 20021024 | |||
| 5 | ID_SEPARATOR | Call by reference | Type reference (TYPE) | C | Wird hinten angehängt, wenn nicht leer | 20021024 | |||
| 6 | RD_NEW_NUMBER | Value transfer | Type reference (TYPE) | RECN_CONTRACT-RECNNR | Neue Nummer | 20021024 |
Method _CONCATENATE_NUMBER_PART on class CL_RECN_NUMBER_SERVICES has no exception.
Method _GET_DETAIL_FOR_BUSOBJ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_DETAIL_OBJ | Call by reference | Type reference (TYPE) | RECN4_S_CNOBJ | Details zum gegebenen Objekt | 20021010 | |||
| 2 | IO_BUSOBJ | Call by reference | Object reference (TYPE REF TO) | IF_RECA_BUS_OBJECT | Business-Objekt | 20021010 |
Method _GET_DETAIL_FOR_BUSOBJ on class CL_RECN_NUMBER_SERVICES has no exception.
Method _GET_STATISTIC_FOR_SUPEROBJ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CSX_CNNUMBER | Call by reference | Type reference (TYPE) | RECN4_SX_CNNUMBER | -> T_CNOBJ, <- T_OBJCNT | 20021010 | |||
| 2 | IF_GET_RS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | T/F: Mietflächen in Statistik CNT_RO mitzählen? | 20040108 |
Method _GET_STATISTIC_FOR_SUPEROBJ on class CL_RECN_NUMBER_SERVICES has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 200 |