SAP ABAP Class CL_WB2_BL_EXPENSE (Business Process Logic: Expense Management)
Hierarchy
EA-GLTRADE (Software Component) SAP Enterprise Extension Global Trade
   LO-GT-TE (Application Component) Expenses
     WB2B_EXPENSE (Package) Trading Expense Handling
Properties
Class CL_WB2_BL_EXPENSE  
Short Description Business Process Logic: Expense Management    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package WB2B_EXPENSE   Trading Expense Handling 
Created 20060302   SAP 
Last change 20071120   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_WB2_BL_EXPENSE has no forward declaration.
Interfaces
Class CL_WB2_BL_EXPENSE has no interface implemented.
Friends
Class CL_WB2_BL_EXPENSE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 AT_MAPPING Static Attribute Public Type reference (TYPE) WB2_COND_MAP_STAB Table Type for WB2_COND_MAP 20060609
2 AT_POSTTYPE Static Attribute Private Type reference (TYPE) TWBPOSTTYPE_TAB Table Type for TWBPOSTTYPE 20060609
3 AT_TB2BN Static Attribute Private Type reference (TYPE) TB2BN_TAB Table Type for TB2BN 20060609
4 AT_TB2BO Static Attribute Private Type reference (TYPE) TB2BO_TAB Table Type for TB2BO 20060609
5 AT_TB2BP Static Attribute Private Type reference (TYPE) TB2BP_TAB Table Type for TB2BP 20060609
6 AT_TWBACCTYPE Static Attribute Private Type reference (TYPE) TWBACCTYPE_TAB Table Type for TWBACCTYPE 20060609
7 AT_TWBEXCLASS Static Attribute Private Type reference (TYPE) TWBEXCLASS_TAB Table Type for TWBEXCLASS 20060609
8 AT_TWBEXCLASSGROUP Static Attribute Private Type reference (TYPE) TWBEXCLASSGROUP_TAB Table Type for TWBEXCLASSGROUP 20060609
9 AT_TWBEXP Static Attribute Private Type reference (TYPE) TWBEXP_TAB Table Type for TWBEXP 20060609
10 AT_VALUES Static Attribute Private Type reference (TYPE) DDFIXVALUES Description of Domain Fixed Values 20061012
11 A_EXPENSE_ENHANCE Static Attribute Private Object reference (TYPE REF TO) IF_EX_WB2_EXPENSE_ENHANCE BAdI Interface IF_EX_WB2_EXPENSE_ENHANCE 20060609
12 A_MAPPING Static Attribute Private Type reference (TYPE) WB2_COND_MAP Mapping Table: Internal External View Conditions 20060609
13 A_POSTTYPE Static Attribute Private Type reference (TYPE) TWBPOSTTYPE Trading Expenses: Posting Type 20060609
14 A_T685A Static Attribute Private Type reference (TYPE) T685A Conditions: Types: Additional Price Element Data 20060609
15 A_TB2BN Static Attribute Private Type reference (TYPE) TB2BN Trading Contract: Assignment of Expense Type CondType Grp 20060609
16 A_TB2BO Static Attribute Private Type reference (TYPE) TB2BO Trading Contract: Assignment of Expense Type to Application 20060609
17 A_TB2BP Static Attribute Private Type reference (TYPE) TB2BP Trading Contract: Assignment of Contract Type to Condit.Grp 20060609
18 A_TCTYP Static Attribute Private Type reference (TYPE) TCTYP Trading Contract: Trading Contract Type 20060609
19 A_TWBACCTYPE Static Attribute Private Type reference (TYPE) TWBACCTYPE Trading Expense: Accounting Type 20060609
20 A_TWBEXCLASS Static Attribute Private Type reference (TYPE) TWBEXCLASS Trading Expenses: Classification 20060609
21 A_TWBEXCLASSGROUP Static Attribute Private Type reference (TYPE) TWBEXCLASSGROUP Grouping of Expense Class 20060609
22 A_TWBEXP Static Attribute Private Type reference (TYPE) TWBEXP Trading Expenses: Expense Type 20060609
Methods
# Method Level Visibility Method type Description Created on
1 CHANGE_FROM_DATA Static method Public Method Change Expenses, API Method 20060609
2 CHECK_CONSISTENCY Static method Private Method Check Condition Type in Condition Type Group 20060609
3 CHECK_DUPLICATES Static method Private Method Check Conditions for Double Entries 20060609
4 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20060609
5 CLEAN_UP Static method Private Method Refresh Buffer in WB2A 20060609
6 CREATE_FROM_DATA Static method Public Method Create Expenses, API Method 20060609
7 DETERMINE_KSCHL Static method Public Method Determine Condition Type 20070622
8 DETERMINE_TABLE_AND_GROUP_DATA Static method Public Method Determine Conditions Table 20061012
9 FILL_CONDSCALE Static method Private Method Prepare Scales 20060609
10 FILL_KOMCO Static method Private Method Fill Control Structure 20060609
11 FILL_KOMG Static method Private Method Prepare KOMG Data 20060609
12 FILL_KONH Static method Private Method Prepare KONH Data 20060609
13 FILL_KONP Static method Private Method Prepare KONP Data 20060609
14 FILL_KONP_CHANGE Static method Private Method Prepare KONP Data 20060609
15 FILL_MAPPING_TABLE Static method Private Method Fill Mapping Table 20060609
16 GET_CONDITION Static method Private Method Determine Conditions From Buffer 20060609
17 GET_COND_GROUPS Static method Private Method Determine Customizing Condition Type Groups 20060609
18 GET_EXPENSE_CUSTOMIZING Static method Private Method Determine Customizing Expense Management 20060609
19 GET_EXPENSE_TYPE Static method Private Method Determine Expense Type 20060609
20 GET_MAPPING_TABLE Static method Public Method Fetch Mapping Table 20060609
21 GET_T681E Static method Private Method Determine Entry Fields 20061012
22 GET_T685A Static method Private Method Read Customizing 20060609
Events
Class CL_WB2_BL_EXPENSE has no event.
Types
Class CL_WB2_BL_EXPENSE has no local type.
Method Signatures

Method CHANGE_FROM_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_COND_CHANGE Call by reference Type reference (TYPE) WB2_COND_CHANGE_STAB Neue bzw. geänderte Kondition 20060609
2 Changing CT_COND_KEY Call by reference Type reference (TYPE) WB2_KEY_CHANGE_STAB Neue Konditionsschlüssel 20060609
3 Changing CT_ERROR_MESSAGES Call by reference Type reference (TYPE) TABWB2_ERROR Trading-Kontrakt: Tabellentyp von WB2_ERROR 20060609
4 Changing CT_SCALE_IN Call by reference Type reference (TYPE) WB2_SCALE_EXTERNAL_STAB Staffel via BAPI 20060609
5 Importing I_KOMWBHK Call by reference Type reference (TYPE) KOMWBHK Trading-Kontrakt: Kommunikationsstruktur Kopfdaten 20060609

Method CHANGE_FROM_DATA on class CL_WB2_BL_EXPENSE has no exception.

Method CHECK_CONSISTENCY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_KAPPL Call by reference Type reference (TYPE) KAPPL Applikation 20060609
2 Importing I_KOBOG Call by reference Type reference (TYPE) KOBOG Gruppe der Konditionsarten/-tabellen für Absprachen 20060609
3 Importing I_KOMEXP Call by reference Type reference (TYPE) KOMEXP Trading-Kontrakt: IO Struktur der geplannten Kosten 20060609
4 Importing I_KOTABNR Call by reference Type reference (TYPE) KOTABNR Konditionstabelle 20060609
5 Importing I_KSCHL Call by reference Type reference (TYPE) KSCHL Konditionsart 20060609
# Exception Resumable Description Created on
1 ERROR 20060609

Method CHECK_DUPLICATES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_KOMEXP Call by reference Type reference (TYPE) KOMEXP_TAB Tabellentyp KOMEXP 20080630
2 Importing I_KOMCO Call by reference Type reference (TYPE) KOMCO Kommunikationsstruktur: Belegnummer/Typ für Konditionspflege 20080630
3 Importing I_KOMEXP Call by reference Type reference (TYPE) KOMEXP Trading-Kontrakt: IO Struktur der geplannten Kosten 20060609
# Exception Resumable Description Created on
1 ERROR 20060609

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_WB2_BL_EXPENSE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WB2_BL_EXPENSE has no exception.

Method CLEAN_UP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_KOMWBHK Call by reference Type reference (TYPE) KOMWBHK Trading-Kontrakt: Kommunikationsstruktur Kopfdaten 20060609

Method CLEAN_UP on class CL_WB2_BL_EXPENSE has no exception.

Method CREATE_FROM_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_COND_CHANGE Call by reference Type reference (TYPE) WB2_COND_CHANGE_STAB Neue bzw. geänderte Kondition 20060609
2 Changing CT_COND_KEY Call by reference Type reference (TYPE) WB2_KEY_CHANGE_STAB Neue Konditionsschlüssel 20060609
3 Changing CT_ERROR_MESSAGES Call by reference Type reference (TYPE) TABWB2_ERROR Trading-Kontrakt: Tabellentyp von WB2_ERROR 20060609
4 Changing CT_SCALE_IN Call by reference Type reference (TYPE) WB2_SCALE_EXTERNAL_STAB Staffel via BAPI 20060609
5 Importing I_KOMWBHK Call by reference Type reference (TYPE) KOMWBHK Trading-Kontrakt: Kommunikationsstruktur Kopfdaten 20060609

Method CREATE_FROM_DATA on class CL_WB2_BL_EXPENSE has no exception.

Method DETERMINE_KSCHL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_KOMEXPENSE Call by reference Type reference (TYPE) KOMEXPENSE GTM: Struktur zur Ermittelung der Customizingzuordnung 20070622
2 Importing IT_KOMEXP Call by reference Type reference (TYPE) KOMEXP_TAB Tabellentyp KOMEXP 20070622
# Exception Resumable Description Created on
1 ERROR 20070622

Method DETERMINE_TABLE_AND_GROUP_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_KOMEXPENSE Call by reference Type reference (TYPE) KOMEXPENSE GTM: Struktur zur Ermittelung der Customizingzuordnung 20061012
2 Importing I_KOMG Call by reference Type reference (TYPE) KOMG Erlaubte Felder für Konditionsstrukturen 20061012
# Exception Resumable Description Created on
1 ERROR 20061012

Method FILL_CONDSCALE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CONDSCALE Call by reference Type reference (TYPE) WB2_CONDSCALE_TAB 20060609
2 Changing C_KONP Call by reference Type reference (TYPE) KONP Konditionen (Position) 20060609
3 Importing IT_CONDSCALE Call by reference Type reference (TYPE) WB2_SCALE_EXTERNAL_STAB Staffel via BAPI 20060609
4 Importing I_KONP_CHANGE Call by reference Type reference (TYPE) WB2_COND_CHANGE Neue bzw. geänderte Kondition 20060609

Method FILL_CONDSCALE on class CL_WB2_BL_EXPENSE has no exception.

Method FILL_KOMCO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_KOMCO Call by reference Type reference (TYPE) KOMCO Kommunikationsstruktur: Belegnummer/Typ für Konditionspflege 20060609
2 Importing I_KOMWBHK Call by reference Type reference (TYPE) KOMWBHK Trading-Kontrakt: Kommunikationsstruktur Kopfdaten 20060609

Method FILL_KOMCO on class CL_WB2_BL_EXPENSE has no exception.

Method FILL_KOMG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_KOMG Call by reference Type reference (TYPE) KOMG Erlaubte Felder für Konditionsstrukturen 20060609
2 Importing I_KOMG_CHANGE Call by reference Type reference (TYPE) WB2_KEY_CHANGE Neue Konditionsschlüssel 20060609
3 Importing I_KOMWBHK Call by reference Type reference (TYPE) KOMWBHK Trading-Kontrakt: Kommunikationsstruktur Kopfdaten 20060609

Method FILL_KOMG on class CL_WB2_BL_EXPENSE has no exception.

Method FILL_KONH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_KONH Call by reference Type reference (TYPE) KONH 20060609
2 Importing I_KOMG_CHANGE Call by reference Type reference (TYPE) WB2_KEY_CHANGE Neue Konditionsschlüssel 20060609
# Exception Resumable Description Created on
1 ERROR 20060609

Method FILL_KONP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_KONP Call by reference Type reference (TYPE) KONP Konditionen (Position) 20060609
2 Importing I_KOMEXP Call by reference Type reference (TYPE) KOMEXP Trading-Kontrakt: IO Struktur der geplannten Kosten 20060609
3 Importing I_KONP_CHANGE Call by reference Type reference (TYPE) WB2_COND_CHANGE Neue bzw. geänderte Kondition 20060609
# Exception Resumable Description Created on
1 ERROR 20060609

Method FILL_KONP_CHANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_KONP Call by reference Type reference (TYPE) KONP Konditionen (Position) 20060609
2 Importing I_KONP_CHANGE Call by reference Type reference (TYPE) WB2_COND_CHANGE Neue bzw. geänderte Kondition 20060609
# Exception Resumable Description Created on
1 ERROR 20060609

Method FILL_MAPPING_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing KNUMH Call by reference Type reference (TYPE) KNUMH Nummer Konditionssatz 20060609
2 Importing KNUMH_IN Call by reference Type reference (TYPE) KNUMH Nummer Konditionssatz 20060609
3 Importing KOPOS Call by reference Type reference (TYPE) KOPOS Laufende Nummer der Kondition 20060609
4 Importing KOPOS_IN Call by reference Type reference (TYPE) KOPOS Laufende Nummer der Kondition 20060609

Method FILL_MAPPING_TABLE on class CL_WB2_BL_EXPENSE has no exception.

Method GET_CONDITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_KONH_DB Call by reference Type reference (TYPE) KONH Konditionen (Kopf) 20060609
2 Exporting E_KONP_DB Call by reference Type reference (TYPE) KONP Konditionen (Position) 20060609
3 Importing I_DATAB Call by reference Type reference (TYPE) DATAB Datum gültig ab 20060609
4 Importing I_DATBI Call by reference Type reference (TYPE) DATBI Datum gültig bis 20060609
5 Importing I_KOBOG Call by reference Type reference (TYPE) KOBOG Gruppe der Konditionsarten/-tabellen für Absprachen 20060609
6 Importing I_KOMG Call by reference Type reference (TYPE) KOMG Erlaubte Felder für Konditionsstrukturen 20060609
7 Importing I_KOMWBHK Call by reference Type reference (TYPE) KOMWBHK Trading-Kontrakt: Kommunikationsstruktur Kopfdaten 20060609
8 Importing I_KONH Call by reference Type reference (TYPE) KONH Konditionen (Kopf) 20060609
# Exception Resumable Description Created on
1 ERROR 20060609

Method GET_COND_GROUPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TCTYP Call by reference Type reference (TYPE) TCTYP Trad.-Kontr.: Trading-Kontraktart 20061012

Method GET_COND_GROUPS on class CL_WB2_BL_EXPENSE has no exception.

Method GET_EXPENSE_CUSTOMIZING Signature

Method GET_EXPENSE_CUSTOMIZING on class CL_WB2_BL_EXPENSE has no parameter.
Method GET_EXPENSE_CUSTOMIZING on class CL_WB2_BL_EXPENSE has no exception.

Method GET_EXPENSE_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_KAPPL Call by reference Type reference (TYPE) KAPPL Applikation 20060609
2 Importing I_KOBOG Call by reference Type reference (TYPE) KOBOG Gruppe der Konditionsarten/-tabellen für Absprachen 20060609
# Exception Resumable Description Created on
1 ERROR 20060609

Method GET_MAPPING_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MAPPING Call by reference Type reference (TYPE) WB2_COND_MAP_STAB Tabellentyp zu WB2_COND_MAP 20060609

Method GET_MAPPING_TABLE on class CL_WB2_BL_EXPENSE has no exception.

Method GET_T681E Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_T681E Call by reference Type reference (TYPE) T681E_TAB Konditionen: Schnellerfassung: Felder 20061012
2 Importing I_KOTABNR Call by reference Type reference (TYPE) KOTABNR Konditionstabelle 20061012
3 Importing I_KVEWE Call by reference Type reference (TYPE) KVEWE 'A' Verwendung der Konditionstabelle 20061012
4 Importing I_SETYP Call by reference Type reference (TYPE) SETYP ' ' Schnellerfassungstyp für Konditionstabellen 20061012

Method GET_T681E on class CL_WB2_BL_EXPENSE has no exception.

Method GET_T685A Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_KONP Call by reference Type reference (TYPE) KONP Konditionen (Position) 20060609
# Exception Resumable Description Created on
1 ERROR 20060609
History
Last changed by/on SAP  20071120 
SAP Release Created in