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 ABAP 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 MC_REFLT_0001 Constant Public Type reference (TYPE) OIH_REFLT '0001' Excise duty 20040324
2 MC_REFLT_0002 Constant Public Type reference (TYPE) OIH_REFLT '0002' Federal excise tax 20040324
3 MC_REFLT_0003 Constant Public Type reference (TYPE) OIH_REFLT '0003' State excise tax 20040324
4 MC_REFLT_0004 Constant Public Type reference (TYPE) OIH_REFLT '0004' County excise tax 20040324
5 MC_REFLT_0005 Constant Public Type reference (TYPE) OIH_REFLT '0005' City excise tax 20040324
6 MC_REFLT_0006 Constant Public Type reference (TYPE) OIH_REFLT '0006' Other North American tax 20040324
7 MC_REFLT_0007 Constant Public Type reference (TYPE) OIH_REFLT '0007' Vendor licence 20040324
8 MC_REFLT_0008 Constant Public Type reference (TYPE) OIH_REFLT '0008' Pre-paid permit 20040324
9 MC_REFLT_0009 Constant Public Type reference (TYPE) OIH_REFLT '0009' Duty-free permit 20040324
10 MC_REFLT_0010 Constant Public Type reference (TYPE) OIH_REFLT '0010' Excise duty license enhanced 20040324
11 MRO_LICIN_0008 Static Attribute Public Object reference (TYPE REF TO) CL_OIH_LICENSE_PRE_PAID Far East License with type pre paid 20040322
12 MRO_LICIN_0008_QTY Static Attribute Public Object reference (TYPE REF TO) CL_OIH_LICENSE_PRE_PAID_QTY 20040322
13 MRO_LICIN_0009 Static Attribute Public Object reference (TYPE REF TO) CL_OIH_LICENSE_DUTY_FREE 20040322
14 MRO_LICIN_0009_QTY Static Attribute Public Object reference (TYPE REF TO) CL_OIH_LICENSE_DUTY_FREE_QTY 20040322
15 M_S_OIHL Static Attribute Public Type reference (TYPE) OIHL Excise tax internal license number 20040408
16 M_T_OIHL Static Attribute Public Type reference (TYPE) OIHL License Master Data 20040408
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_COMPANY_CODE Instance method Public Method check if given company code matches licenses one 20040311
2 CHECK_CUST_AND_GRP Instance method Public Method check if given customer/custgroup is valid for the license 20040318
3 CHECK_HANTYP Instance method Public Method check if given handling type is valid for the license 20040318
4 CHECK_LICENSE Instance method Public Method main processing 20040311
5 CHECK_MAT_AND_GRP Instance method Public Method check if given material/matgrp is valid for the license 20040318
6 CHECK_PLANTS Instance method Public Method check given plants 20040311
7 CHECK_VALIDITY Instance method Protected Method check if given date is within licenses validity 20040311
8 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20040407
9 GET_CLASS_NAME Static method Private Method get name of subclass to be create instances from 20040407
10 GET_OI001 Static method Public Method check license regime 20040324
11 GET_OIH19 Static method Private Method 20040324
12 GET_OIHL Static method Private Method 20040322
13 GET_TAXKEY Static method Private Method preparation for getting reference license type 20040322
14 HANDLE_LICENSE Static method Public Method 20040402
15 IS_LICIN_REQUIRED 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 Importing I_BUKRS Call by reference Type reference (TYPE) BUKRS Buchungskreis 20040406
2 Importing I_S_OIHL Call by reference Type reference (TYPE) OIHL Lizenz-Stammdaten 20040406
3 Returning 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 Importing I_CUST Call by reference Type reference (TYPE) KUNNR Kunde Nummer 1 20040406
2 Importing I_CUST_GRP Call by reference Type reference (TYPE) KVGR1 Kundengruppe 1 20040406
3 Importing I_S_OIHL Call by reference Type reference (TYPE) OIHL Lizenz-Stammdaten 20040406
4 Returning 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 Importing I_HANTP Call by reference Type reference (TYPE) OIH_HANTYP Verbrauchsteuer-Abfertigungsart - entspricht Mat.verwendung 20040406
2 Importing I_S_OIHL Call by reference Type reference (TYPE) OIHL Lizenz-Stammdaten 20040406
3 Returning 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 Changing C_S_GOITEM_TDP Call by reference Type reference (TYPE) OIH_S_GOITEM_TDP Struktur mir TDP-Anzeigefeldern für Warenbewegungen 20040318
2 Exporting E_LICIN Call by reference Type reference (TYPE) OIH_LICIN Excise tax internal license number 20040322
3 Exporting E_LICIN_OK Call by reference Type reference (TYPE) BOOL Link field for view query 20040406
4 Exporting E_T_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Rückgabeparameter-Tabelle 20040406
5 Importing I_BUDAT Call by reference Type reference (TYPE) BUDAT Buchungsdatum im Beleg 20040406
6 Importing 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 Importing I_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20040406
2 Importing I_MAT_GRP Call by reference Type reference (TYPE) MVGR2 Warengruppe 2 20040406
3 Importing I_S_OIHL Call by reference Type reference (TYPE) OIHL Lizenz-Stammdaten 20040406
4 Returning 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 Importing I_ISS_PLANT Call by reference Type reference (TYPE) WERKS_D Werk 20040406
2 Importing I_REC_PLANT Call by reference Type reference (TYPE) WERKS_D Werk 20040406
3 Importing I_S_OIHL Call by reference Type reference (TYPE) OIHL Lizenz-Stammdaten 20040406
4 Returning 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 Importing I_BUDAT Call by reference Type reference (TYPE) BUDAT Buchungsdatum im Beleg 20040406
2 Importing I_S_OIHL Call by reference Type reference (TYPE) OIHL Lizenz-Stammdaten 20040406
3 Returning 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 Importing 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 Exporting E_CLASS_NAME Call by reference Type reference (TYPE) C 20040407
2 Exporting E_LICIN Call by reference Type reference (TYPE) OIH_LICIN Excise tax internal license number 20040407
3 Exporting E_S_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2 Rückgabeparameter 20040407
4 Importing I_BUDAT Call by reference Type reference (TYPE) BUDAT Buchungsdatum im Beleg 20040407
5 Importing 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 Importing I_BUKRS Call by reference Type reference (TYPE) BUKRS Buchungskreis 20040406
2 Returning 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 Changing C_T_OIH19 Call by reference Type reference (TYPE) TYT_OIH19 20040324
2 Importing 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 Exporting E_S_OIHL Call by reference Type reference (TYPE) TYS_OIHL 20040406
2 Importing I_BUDAT Call by reference Type reference (TYPE) BUDAT Buchungsdatum im Beleg 20040406
3 Importing I_CERTF1 Call by reference Type reference (TYPE) OIH_CERTF1 Nummer der externen Verbrauchsteuer-Lizenz 20040406
4 Importing I_LICIN Call by reference Type reference (TYPE) OIH_LICIN Excise tax internal license number 20040406
5 Importing 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 Changing 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 Changing C_S_GOITEM_TDP Call by reference Type reference (TYPE) OIH_S_GOITEM_TDP Tabelle mit TDP-Daten für MIGO 20040402
2 Changing C_T_BAPIRET2 Call by reference Type reference (TYPE) BAPIRET2_T Rückgabeparameter-Tabelle 20040402
3 Importing 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 Importing I_BUKRS Call by reference Type reference (TYPE) BUKRS Buchungskreis 20040406
2 Importing I_CERTF1 Call by reference Type reference (TYPE) OIH_CERTF1 Nummer der externen Verbrauchsteuer-Lizenz 20040406
3 Importing I_HANTP Call by reference Type reference (TYPE) OIH_HANTYP Verbrauchsteuer-Abfertigungsart - entspricht Mat.verwendung 20040406
4 Importing I_LICIN Call by reference Type reference (TYPE) OIH_LICIN Excise tax internal license number 20040406
5 Importing I_WERKS Call by reference Type reference (TYPE) WERKS_D Werk 20040406
6 Returning 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