SAP ABAP Class CL_OIH_LICENSE (superclass for licenses)
Hierarchy
☛
BBPCRM (Software Component) BBPCRM
⤷
CRM (Application Component) Customer Relationship Management
⤷
CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
⤷
OIH (Package) TDP Tariffs, Duties and Permits
⤷
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_OIH_LICENSE_DUTY_FREE | 20040322 | |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_OIH_LICENSE_DUTY_FREE_QTY | 20040322 | |
| 3 | Inheritance (c INHERITING FROM c_ref) | CL_OIH_LICENSE_PRE_PAID | Far East License with type pre paid | 20040322 |
| 4 | Inheritance (c INHERITING FROM c_ref) | CL_OIH_LICENSE_PRE_PAID_QTY | 20040322 |
Properties
| Class | CL_OIH_LICENSE | |
| Short Description | superclass for licenses | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | OIH | TDP Tariffs, Duties and Permits |
| Created | 20040310 | SAP |
| Last change | 20050224 | 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) |
Interfaces
Class CL_OIH_LICENSE has no interface implemented.
Friends
Class CL_OIH_LICENSE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | OIH_REFLT | '0001' | Excise duty | 20040324 | ||
| 2 | Constant | Public | Type reference (TYPE) | OIH_REFLT | '0002' | Federal excise tax | 20040324 | ||
| 3 | Constant | Public | Type reference (TYPE) | OIH_REFLT | '0003' | State excise tax | 20040324 | ||
| 4 | Constant | Public | Type reference (TYPE) | OIH_REFLT | '0004' | County excise tax | 20040324 | ||
| 5 | Constant | Public | Type reference (TYPE) | OIH_REFLT | '0005' | City excise tax | 20040324 | ||
| 6 | Constant | Public | Type reference (TYPE) | OIH_REFLT | '0006' | Other North American tax | 20040324 | ||
| 7 | Constant | Public | Type reference (TYPE) | OIH_REFLT | '0007' | Vendor licence | 20040324 | ||
| 8 | Constant | Public | Type reference (TYPE) | OIH_REFLT | '0008' | Pre-paid permit | 20040324 | ||
| 9 | Constant | Public | Type reference (TYPE) | OIH_REFLT | '0009' | Duty-free permit | 20040324 | ||
| 10 | Constant | Public | Type reference (TYPE) | OIH_REFLT | '0010' | Excise duty license enhanced | 20040324 | ||
| 11 | Static Attribute | Public | Object reference (TYPE REF TO) | CL_OIH_LICENSE_PRE_PAID | Far East License with type pre paid | 20040322 | |||
| 12 | Static Attribute | Public | Object reference (TYPE REF TO) | CL_OIH_LICENSE_PRE_PAID_QTY | 20040322 | ||||
| 13 | Static Attribute | Public | Object reference (TYPE REF TO) | CL_OIH_LICENSE_DUTY_FREE | 20040322 | ||||
| 14 | Static Attribute | Public | Object reference (TYPE REF TO) | CL_OIH_LICENSE_DUTY_FREE_QTY | 20040322 | ||||
| 15 | Static Attribute | Public | Type reference (TYPE) | OIHL | Excise tax internal license number | 20040408 | |||
| 16 | Static Attribute | Public | Type reference (TYPE) | OIHL | License Master Data | 20040408 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | check if given company code matches licenses one | 20040311 | |
| 2 | Instance method | Public | Method | check if given customer/custgroup is valid for the license | 20040318 | |
| 3 | Instance method | Public | Method | check if given handling type is valid for the license | 20040318 | |
| 4 | Instance method | Public | Method | main processing | 20040311 | |
| 5 | Instance method | Public | Method | check if given material/matgrp is valid for the license | 20040318 | |
| 6 | Instance method | Public | Method | check given plants | 20040311 | |
| 7 | Instance method | Protected | Method | check if given date is within licenses validity | 20040311 | |
| 8 | Instance method | Public | Constructor | CONSTRUCTOR | 20040407 | |
| 9 | Static method | Private | Method | get name of subclass to be create instances from | 20040407 | |
| 10 | Static method | Public | Method | check license regime | 20040324 | |
| 11 | Static method | Private | Method | 20040324 | ||
| 12 | Static method | Private | Method | 20040322 | ||
| 13 | Static method | Private | Method | preparation for getting reference license type | 20040322 | |
| 14 | Static method | Public | Method | 20040402 | ||
| 15 | Static method | Public | Method | check if a license is required | 20040405 |
Events
Class CL_OIH_LICENSE has no event.
Types
Class CL_OIH_LICENSE has no local type.
Method Signatures
Method CHECK_COMPANY_CODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | Buchungskreis | 20040406 | |||
| 2 | I_S_OIHL | Call by reference | Type reference (TYPE) | OIHL | Lizenz-Stammdaten | 20040406 | |||
| 3 | R_S_BAPIRET2 | Value transfer | Type reference (TYPE) | BAPIRET2 | Rückgabeparameter | 20040405 |
Method CHECK_COMPANY_CODE on class CL_OIH_LICENSE has no exception.
Method CHECK_CUST_AND_GRP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CUST | Call by reference | Type reference (TYPE) | KUNNR | Kunde Nummer 1 | 20040406 | |||
| 2 | I_CUST_GRP | Call by reference | Type reference (TYPE) | KVGR1 | Kundengruppe 1 | 20040406 | |||
| 3 | I_S_OIHL | Call by reference | Type reference (TYPE) | OIHL | Lizenz-Stammdaten | 20040406 | |||
| 4 | R_S_BAPIRET2 | Value transfer | Type reference (TYPE) | BAPIRET2 | Rückgabeparameter | 20040405 |
Method CHECK_CUST_AND_GRP on class CL_OIH_LICENSE has no exception.
Method CHECK_HANTYP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_HANTP | Call by reference | Type reference (TYPE) | OIH_HANTYP | Verbrauchsteuer-Abfertigungsart - entspricht Mat.verwendung | 20040406 | |||
| 2 | I_S_OIHL | Call by reference | Type reference (TYPE) | OIHL | Lizenz-Stammdaten | 20040406 | |||
| 3 | R_S_BAPIRET2 | Value transfer | Type reference (TYPE) | BAPIRET2 | Rückgabeparameter | 20040405 |
Method CHECK_HANTYP on class CL_OIH_LICENSE has no exception.
Method CHECK_LICENSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_S_GOITEM_TDP | Call by reference | Type reference (TYPE) | OIH_S_GOITEM_TDP | Struktur mir TDP-Anzeigefeldern für Warenbewegungen | 20040318 | |||
| 2 | E_LICIN | Call by reference | Type reference (TYPE) | OIH_LICIN | Excise tax internal license number | 20040322 | |||
| 3 | E_LICIN_OK | Call by reference | Type reference (TYPE) | BOOL | Link field for view query | 20040406 | |||
| 4 | E_T_BAPIRET2 | Call by reference | Type reference (TYPE) | BAPIRET2_T | Rückgabeparameter-Tabelle | 20040406 | |||
| 5 | I_BUDAT | Call by reference | Type reference (TYPE) | BUDAT | Buchungsdatum im Beleg | 20040406 | |||
| 6 | I_LICIN | Call by reference | Type reference (TYPE) | OIH_LICIN | Excise tax internal license number | 20040318 |
Method CHECK_LICENSE on class CL_OIH_LICENSE has no exception.
Method CHECK_MAT_AND_GRP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20040406 | |||
| 2 | I_MAT_GRP | Call by reference | Type reference (TYPE) | MVGR2 | Warengruppe 2 | 20040406 | |||
| 3 | I_S_OIHL | Call by reference | Type reference (TYPE) | OIHL | Lizenz-Stammdaten | 20040406 | |||
| 4 | R_S_BAPIRET2 | Value transfer | Type reference (TYPE) | BAPIRET2 | Rückgabeparameter | 20040405 |
Method CHECK_MAT_AND_GRP on class CL_OIH_LICENSE has no exception.
Method CHECK_PLANTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ISS_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Werk | 20040406 | |||
| 2 | I_REC_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Werk | 20040406 | |||
| 3 | I_S_OIHL | Call by reference | Type reference (TYPE) | OIHL | Lizenz-Stammdaten | 20040406 | |||
| 4 | R_S_BAPIRET2 | Value transfer | Type reference (TYPE) | BAPIRET2 | Rückgabeparameter | 20040405 |
Method CHECK_PLANTS on class CL_OIH_LICENSE has no exception.
Method CHECK_VALIDITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BUDAT | Call by reference | Type reference (TYPE) | BUDAT | Buchungsdatum im Beleg | 20040406 | |||
| 2 | I_S_OIHL | Call by reference | Type reference (TYPE) | OIHL | Lizenz-Stammdaten | 20040406 | |||
| 3 | R_S_BAPIRET2 | Value transfer | Type reference (TYPE) | BAPIRET2 | Rückgabeparameter | 20040405 |
Method CHECK_VALIDITY on class CL_OIH_LICENSE has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_LICIN | Call by reference | Type reference (TYPE) | OIH_LICIN | Excise tax internal license number | 20040407 |
Method CONSTRUCTOR on class CL_OIH_LICENSE has no exception.
Method GET_CLASS_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CLASS_NAME | Call by reference | Type reference (TYPE) | C | 20040407 | ||||
| 2 | E_LICIN | Call by reference | Type reference (TYPE) | OIH_LICIN | Excise tax internal license number | 20040407 | |||
| 3 | E_S_BAPIRET2 | Call by reference | Type reference (TYPE) | BAPIRET2 | Rückgabeparameter | 20040407 | |||
| 4 | I_BUDAT | Call by reference | Type reference (TYPE) | BUDAT | Buchungsdatum im Beleg | 20040407 | |||
| 5 | I_S_GOITEM_TDP | Call by reference | Type reference (TYPE) | OIH_S_GOITEM_TDP | Struktur mir TDP-Anzeigefeldern für Warenbewegungen | 20040407 |
Method GET_CLASS_NAME on class CL_OIH_LICENSE has no exception.
Method GET_OI001 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | Buchungskreis | 20040406 | |||
| 2 | R_LICTP | Value transfer | Type reference (TYPE) | OIH_LICTP | Lizenzart | 20040324 |
Method GET_OI001 on class CL_OIH_LICENSE has no exception.
Method GET_OIH19 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_OIH19 | Call by reference | Type reference (TYPE) | TYT_OIH19 | 20040324 | ||||
| 2 | I_LICREG | Call by reference | Type reference (TYPE) | OIH_LICTP | License regime | 20040406 |
Method GET_OIH19 on class CL_OIH_LICENSE has no exception.
Method GET_OIHL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_S_OIHL | Call by reference | Type reference (TYPE) | TYS_OIHL | 20040406 | ||||
| 2 | I_BUDAT | Call by reference | Type reference (TYPE) | BUDAT | Buchungsdatum im Beleg | 20040406 | |||
| 3 | I_CERTF1 | Call by reference | Type reference (TYPE) | OIH_CERTF1 | Nummer der externen Verbrauchsteuer-Lizenz | 20040406 | |||
| 4 | I_LICIN | Call by reference | Type reference (TYPE) | OIH_LICIN | Excise tax internal license number | 20040406 | |||
| 5 | I_REFLT | Call by reference | Type reference (TYPE) | OIH_REFLT | Reference license type | 20040406 |
Method GET_OIHL on class CL_OIH_LICENSE has no exception.
Method GET_TAXKEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_S_OIH4 | Call by reference | Type reference (TYPE) | OIH4 | Excise duty tax status definition | 20040322 |
Method GET_TAXKEY on class CL_OIH_LICENSE has no exception.
Method HANDLE_LICENSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_S_GOITEM_TDP | Call by reference | Type reference (TYPE) | OIH_S_GOITEM_TDP | Tabelle mit TDP-Daten für MIGO | 20040402 | |||
| 2 | C_T_BAPIRET2 | Call by reference | Type reference (TYPE) | BAPIRET2_T | Rückgabeparameter-Tabelle | 20040402 | |||
| 3 | I_S_GOHEAD | Call by reference | Type reference (TYPE) | GOHEAD | MM-IM Enjoy: Kopfdaten | 20040406 |
Method HANDLE_LICENSE on class CL_OIH_LICENSE has no exception.
Method IS_LICIN_REQUIRED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | Buchungskreis | 20040406 | |||
| 2 | I_CERTF1 | Call by reference | Type reference (TYPE) | OIH_CERTF1 | Nummer der externen Verbrauchsteuer-Lizenz | 20040406 | |||
| 3 | I_HANTP | Call by reference | Type reference (TYPE) | OIH_HANTYP | Verbrauchsteuer-Abfertigungsart - entspricht Mat.verwendung | 20040406 | |||
| 4 | I_LICIN | Call by reference | Type reference (TYPE) | OIH_LICIN | Excise tax internal license number | 20040406 | |||
| 5 | I_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | Werk | 20040406 | |||
| 6 | R_S_BAPIRET2 | Value transfer | Type reference (TYPE) | BAPIRET2 | Rückgabeparameter | 20040405 |
Method IS_LICIN_REQUIRED on class CL_OIH_LICENSE has no exception.
History
| Last changed by/on | SAP | 20050224 |
| SAP Release Created in | 472 |