SAP ABAP Class CL_WB2_OPEN_STATUS_LIST (Trading Contract: Status/Quantity Overview)
Hierarchy
EA-GLTRADE (Software Component) SAP Enterprise Extension Global Trade
   LO-GT-TC (Application Component) Trading Contract
     WB2B (Package) Trading contract
Properties
Class CL_WB2_OPEN_STATUS_LIST  
Short Description Trading Contract: Status/Quantity Overview    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package WB2B   Trading contract 
Created 20110204   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_WB2_OPEN_STATUS_LIST has no forward declaration.
Interfaces
Class CL_WB2_OPEN_STATUS_LIST has no interface implemented.
Friends
Class CL_WB2_OPEN_STATUS_LIST has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 A_SETTINGS Static Attribute Private Type reference (TYPE) WB2_SETTINGS TEW Settings 20110208
2 C_CCTRL Constant Private Type reference (TYPE) SCRFNAME 'OPEN_STATUS_CCTRL' Name of CCtrl 20110208
3 C_PFSTAT Constant Private Type reference (TYPE) PFSTAT 'OVERVIEW_STATUS_001' GUI status 20110208
4 C_PROGRAM Constant Public Type reference (TYPE) SYREPID 'SAPLWB2_OPEN_STATUS_OVERVIEW' ABAP Program: Current Main Program 20110215
5 C_TITLE Constant Private Type reference (TYPE) SYTITLE 'OVERVIEW_TITLE_001' Contents of Title Line 20110208
6 F_BACK Constant Private Type reference (TYPE) FCODE '&F03' Back 20110208
7 F_CANCEL Constant Private Type reference (TYPE) FCODE '&F12' Cancel 20110208
8 F_END Constant Private Type reference (TYPE) FCODE '&F15' Exit 20110208
9 GTS_LISTBOX_HKPSTP Instance attribute Private See coding 20110208
10 GT_QUANTITY_STATUS Instance attribute Private See coding Trading Contract: Open quantities 20110208
11 GT_QUANTITY_STATUS_DISP Instance attribute Private See coding Trading Contract: Open quantities for Display 20110208
12 GT_TREE_NODES Instance attribute Private See coding 20110208
13 G_FIRST_TIME Instance attribute Private Type reference (TYPE) XFLAG First Time Call 20110208
14 G_LAST_HKPSTP Instance attribute Private Type reference (TYPE) HKPSTP Trading Contract: Item Category 20110208
15 G_LAST_TKONN Instance attribute Private Type reference (TYPE) TKONN Trading Contract: Trading Contract Number 20110208
16 G_REFRESH_FULL Instance attribute Public Type reference (TYPE) XFLAG Trigger Full Refresh 20110208
17 G_REFRESH_SOFT Instance attribute Public Type reference (TYPE) XFLAG Trigger Soft Refresh 20110208
18 MO_ALV Instance attribute Private Object reference (TYPE REF TO) CL_GUI_ALV_GRID SAP List Viewer 20110208
19 MO_ALV_CCTRL Instance attribute Private Object reference (TYPE REF TO) CL_GUI_CONTAINER Abstract Container for GUI Controls 20110208
20 MO_CONTAINER Instance attribute Private Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Container for GUI Controls 20110208
21 MO_SPLITTER_2_COL Instance attribute Private Object reference (TYPE REF TO) CL_GUI_SPLITTER_CONTAINER Splitter Control for Commodity and Pricing Aspect 20110208
22 MO_TREE Instance attribute Private Object reference (TYPE REF TO) CL_GUI_SIMPLE_TREE Simple Tree Control 20110208
23 MO_TREE_CCTRL Instance attribute Private Object reference (TYPE REF TO) CL_GUI_CONTAINER Abstract Container for GUI Controls 20110208
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_TREE Instance method Private Method Build Tree 20110208
2 CALCULATE_OPEN_STATUS Instance method Public Method Data Preperation: Calculate Open Quantity Status 20110208
3 CALCULATE_OPEN_STATUS_EX Instance method Public Method Calculate Status/Quantity Overview External Call 20110214
4 CONSTRUCTOR Instance method Public Constructor 20110208
5 DISPLAY_ALV Instance method Private Method Display ALV 20110208
6 DISPLAY_ITEM_CATEGORY_LISTBOX Instance method Public Method Display Item Category Dropdown Listbox 20110208
7 DO_BACK Instance method Private Method Back 20110208
8 DO_CANCEL Instance method Private Method Cancel 20110208
9 DO_END Instance method Private Method end 20110208
10 FREE Instance method Public Method Destructor and Free Attributes 20110208
11 GET_DOC_TEXT Instance method Private Method Returns Document Text 20110208
12 GET_FIELDCATALOG Static method Private Method Get Grid Field Catalog 20110208
13 GET_LAYOUT Static method Private Method Get Grid Layout 20110208
14 GET_REQUESTED_DATA Instance method Public Method Get Requested Data 20110208
15 GET_SETTINGS Static method Private Method Get User Settings to Display Document Numbers 20110208
16 HANDLE_FCODE Instance method Public Method Handle Fcode 20110208
17 HANDLE_FIRST_TIME Instance method Public Method Handle First Time Display 20110208
18 INIT_CONTROLS Instance method Public Method Init Controls 20110208
19 LEAVE_PROGRAM Instance method Private Method Leave Program 20110208
20 ON_DOUBLE_CLICK_ALV Instance method Private Event handling method Handler: On Double Click on Single Line 20110208
21 ON_DOUBLE_CLICK_NODE Instance method Private Event handling method Handler: Request Node Information 20110208
22 ON_REFRESH Instance method Public Method Refresh Selection and Calculation 20110208
23 REQUEST_DATA Instance method Public Method Request Data for One Item Category 20110208
24 REQUEST_DATA_TKONN Instance method Public Method Request Data for Single TKONN in Current Item Category 20110208
25 RESET_BUFFER Instance method Public Method Reset Document Data Buffer 20110214
26 SET_GRID_TITLE Instance method Private Method Set Grid Title 20110208
27 SET_LISTBOX_ENTRY Instance method Private Method Set Value Entries for Listbox 20110208
28 SET_STATUS Instance method Public Method Set Status 20110208
29 SET_TITLEBAR Instance method Public Method Set Title Bar of Screen 20110208
30 SET_TREE_CHILD Instance method Private Method Add Child for Tree 20110208
31 UPDATE_GRID Instance method Public Method Update ALV Grid 20110208
32 UPDATE_TREE Instance method Public Method Update Tree Control 20110208
Events
Class CL_WB2_OPEN_STATUS_LIST has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_LISTBOX_HKPSTP Private See coding 20110208 BEGIN OF s_listbox_hkpstp. TYPES hkpstp TYPE hkpstp . TYPES text TYPE wb2_text. TYPES END OF s_listbox_hkpstp
2 S_STATUS_CALC_WITH_HKPSTP Private See coding 20110208 BEGIN OF s_status_calc_with_hkpstp. TYPES hkpstp TYPE hkpstp. TYPES tew_type TYPE wb2_tew_type. INCLUDE TYPE wb2_status_calc_with_pos. TYPES END OF s_status_calc_with_hkpstp
3 S_TREE_NODES Private See coding 20110208 BEGIN OF s_tree_nodes. TYPES hkpstp TYPE hkpstp. TYPES tkonn TYPE tkonn. TYPES tew_type TYPE wb2_tew_type. TYPES END OF s_tree_nodes
Method Signatures

Method BUILD_TREE Signature

Method BUILD_TREE on class CL_WB2_OPEN_STATUS_LIST has no parameter.
Method BUILD_TREE on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method CALCULATE_OPEN_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ERROR Call by reference Type reference (TYPE) TABWB2_ERROR Trading-Kontrakt: Tabellentyp von WB2_ERROR 20110208
2 Exporting E_SUBRC Call by reference Attribute reference (LIKE) SY-SUBRC 20110208
3 Importing IT_KOMWBHI Call by reference Type reference (TYPE) KOMWBHI_TAB Trading Contract: Communication Structure Item Data 20120705
4 Importing IT_KOMWBHK Call by reference Type reference (TYPE) KOMWBHK_TAB 20110208
5 Importing I_READ_DB Call by reference Type reference (TYPE) XFELD SPACE Read DB flag for calculation module 20110214

Method CALCULATE_OPEN_STATUS on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method CALCULATE_OPEN_STATUS_EX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ERROR Call by reference Type reference (TYPE) TABWB2_ERROR Table Type for WB2_ERROR_TAB 20110214
2 Exporting E_SUBRC Call by reference Attribute reference (LIKE) SY-SUBRC Return Value of ABAP Statements 20110214
3 Importing IT_KOMWBHI Call by reference Type reference (TYPE) KOMWBHI_TAB Table Type for Structure KOMWBHI 20110214
4 Importing IT_KOMWBHK Call by reference Type reference (TYPE) KOMWBHK_TAB Trading Contract: Communication Structure Header Data 20110214
5 Importing I_READ_DB Call by reference Type reference (TYPE) XFELD SPACE Read DB flag for calculation module 20110214

Method CALCULATE_OPEN_STATUS_EX on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_WB2_OPEN_STATUS_LIST has no parameter.
# Exception Resumable Description Created on
1 CONTROL_FATAL_ERROR 20110208

Method DISPLAY_ALV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_LAYOUT Call by reference Type reference (TYPE) LVC_S_LAYO 20110208
2 Importing IT_FIELDCATALOG Call by reference Type reference (TYPE) LVC_T_FCAT 20110208

Method DISPLAY_ALV on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method DISPLAY_ITEM_CATEGORY_LISTBOX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DYNNR Call by reference Type reference (TYPE) SYDYNNR 20110208
2 Importing IV_DYNPROFIELD Call by reference Type reference (TYPE) HELP_INFO-DYNPROFLD 20110208
3 Importing IV_REPID Call by reference Type reference (TYPE) SYREPID 20110208

Method DISPLAY_ITEM_CATEGORY_LISTBOX on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method DO_BACK Signature

Method DO_BACK on class CL_WB2_OPEN_STATUS_LIST has no parameter.
Method DO_BACK on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method DO_CANCEL Signature

Method DO_CANCEL on class CL_WB2_OPEN_STATUS_LIST has no parameter.
Method DO_CANCEL on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method DO_END Signature

Method DO_END on class CL_WB2_OPEN_STATUS_LIST has no parameter.
Method DO_END on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method FREE Signature

Method FREE on class CL_WB2_OPEN_STATUS_LIST has no parameter.
Method FREE on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method GET_DOC_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DOC_TEXT Call by reference Type reference (TYPE) STRING 20110208
2 Importing IV_TEW_TYPE Call by reference Type reference (TYPE) WB2_TEW_TYPE 20110208
3 Importing IV_TKONN Call by reference Type reference (TYPE) TKONN 20110208

Method GET_DOC_TEXT on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method GET_FIELDCATALOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FIELDCATALOG Call by reference Type reference (TYPE) LVC_T_FCAT 20110208
2 Importing IV_HKPSTP Call by reference Type reference (TYPE) HKPSTP 20110208

Method GET_FIELDCATALOG on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method GET_LAYOUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_LAYOUT Call by reference Type reference (TYPE) LVC_S_LAYO 20110208

Method GET_LAYOUT on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method GET_REQUESTED_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_REQUESTED_DATA Call by reference Type reference (TYPE) ANY TABLE 20110208

Method GET_REQUESTED_DATA on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method GET_SETTINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_SHOW_DOC_NUM Value transfer Type reference (TYPE) WB2_SHOW_DOC_NUM 20110208

Method GET_SETTINGS on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method HANDLE_FCODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FCODE Call by reference Type reference (TYPE) FCODE 20110208

Method HANDLE_FCODE on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method HANDLE_FIRST_TIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DEFAULT_HKPSTP Call by reference Type reference (TYPE) HKPSTP 20110208

Method HANDLE_FIRST_TIME on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method INIT_CONTROLS Signature

Method INIT_CONTROLS on class CL_WB2_OPEN_STATUS_LIST has no parameter.
# Exception Resumable Description Created on
1 FATAL_ERROR 20110208

Method LEAVE_PROGRAM Signature

Method LEAVE_PROGRAM on class CL_WB2_OPEN_STATUS_LIST has no parameter.
Method LEAVE_PROGRAM on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method ON_DOUBLE_CLICK_ALV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ES_ROW_NO Value transfer Attribute reference (LIKE) 20110208
2 Importing E_COLUMN Value transfer Attribute reference (LIKE) 20110208
3 Importing E_ROW Value transfer Attribute reference (LIKE) 20110208

Method ON_DOUBLE_CLICK_ALV on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method ON_DOUBLE_CLICK_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE_KEY Value transfer Attribute reference (LIKE) 20110208

Method ON_DOUBLE_CLICK_NODE on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method ON_REFRESH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ERROR Call by reference Type reference (TYPE) TABWB2_ERROR 20110208
2 Importing IT_KOMWBHI Call by reference Type reference (TYPE) KOMWBHI_TAB Trading Contract: Item Data TAB 20110214
3 Importing IT_KOMWBHK Call by reference Type reference (TYPE) KOMWBHK_TAB 20110208
4 Importing I_EXTERNAL_CALL Call by reference Type reference (TYPE) XFELD external call 20110214
5 Importing I_READ_DB Call by reference Type reference (TYPE) XFELD SPACE Read DB flag for calculation module 20110214
6 Importing I_REFRESH_BUFFER Call by reference Type reference (TYPE) XFELD refresh buffer 20110214

Method ON_REFRESH on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method REQUEST_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_HKPSTP Call by reference Type reference (TYPE) HKPSTP 20110208

Method REQUEST_DATA on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method REQUEST_DATA_TKONN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TKONN Call by reference Type reference (TYPE) TKONN 20110208

Method REQUEST_DATA_TKONN on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method RESET_BUFFER Signature

Method RESET_BUFFER on class CL_WB2_OPEN_STATUS_LIST has no parameter.
Method RESET_BUFFER on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method SET_GRID_TITLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_HKPSTP Call by reference Type reference (TYPE) HKPSTP 20110208

Method SET_GRID_TITLE on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method SET_LISTBOX_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_HKPSTP Call by reference Type reference (TYPE) HKPSTP 20110208

Method SET_LISTBOX_ENTRY on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method SET_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_REFRESH_NO_BUTTON Call by reference Type reference (TYPE) XFLAG no refresh functionality 20110214

Method SET_STATUS on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method SET_TITLEBAR Signature

Method SET_TITLEBAR on class CL_WB2_OPEN_STATUS_LIST has no parameter.
Method SET_TITLEBAR on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method SET_TREE_CHILD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_HKPSTP Call by reference Type reference (TYPE) HKPSTP 20110208
2 Importing IV_TEW_TYPE Call by reference Type reference (TYPE) WB2_TEW_TYPE 20110208
3 Importing IV_TKONN Call by reference Type reference (TYPE) TKONN 20110208

Method SET_TREE_CHILD on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method UPDATE_GRID Signature

Method UPDATE_GRID on class CL_WB2_OPEN_STATUS_LIST has no parameter.
Method UPDATE_GRID on class CL_WB2_OPEN_STATUS_LIST has no exception.

Method UPDATE_TREE Signature

Method UPDATE_TREE on class CL_WB2_OPEN_STATUS_LIST has no parameter.
Method UPDATE_TREE on class CL_WB2_OPEN_STATUS_LIST has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in