SAP ABAP Class CL_WB2_DOC_FACTORY (Factory for Creating Documents)
Hierarchy
EA-GLTRADE (Software Component) SAP Enterprise Extension Global Trade
   LO-GT-TEW (Application Component) Trading Execution Workbench
     WB2B_TEW (Package) Trading Execution Workbench
Properties
Class CL_WB2_DOC_FACTORY  
Short Description Factory for Creating Documents    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package WB2B_TEW   Trading Execution Workbench 
Created 20000405   SAP 
Last change 20031212   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_WB2_DOC_FACTORY has no forward declaration.
Interfaces
Class CL_WB2_DOC_FACTORY has no interface implemented.
Friends
Class CL_WB2_DOC_FACTORY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 AT_DOC Static Attribute Private Type reference (TYPE) WB2_KEY_2_DOC_STAB Table of all Objects Created 20000405
2 AT_GUID_2_NUM Static Attribute Private Type reference (TYPE) WB2_GUID_2_NUM_STAB Map GUID to Temporary TEW Document Number 20010208
3 AT_NUM_2_GUID Static Attribute Private Type reference (TYPE) WB2_NUM_2_GUID_STAB Map Temporary TEW Document Number to GUID 20010208
4 A_NUM_COUNT Static Attribute Private Type reference (TYPE) I Counter for Temporary Numbers 20010208
5 S_BADI_ADDON Static Attribute Private Object reference (TYPE REF TO) IF_EX_WB2_ADDON BAdI Interface IF_EX_WB2_ADDON 20011010
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20000405
2 CREATE_DOC Static method Private Method Create Document 20000717
3 CREATE_DUMMY Static method Public Method Create Dummy Document 20001016
4 GET_DOC Static method Public Method Create Document or Return Existing Document 20000414
5 GET_EMPTY_ALV_DATA Static method Public Method Sales or Purchasing Side 20000717
6 GET_GUID Static method Public Method GUID for Temporary Number 20010208
7 GET_LEVEL Static method Public Method Level in Tree for Document Category 20000426
8 GET_NUM Static method Public Method Temporary Number for GUID 20010208
9 GET_SIDE Static method Public Method Document Flow Side 20010116
10 RESET Static method Public Method Delete All Data 20000511
11 RESET_FLOW Static method Public Method Initialize Document Flow of all Documents 20001130
Events
Class CL_WB2_DOC_FACTORY has no event.
Types
Class CL_WB2_DOC_FACTORY has no local type.
Method Signatures

Method CLASS_CONSTRUCTOR Signature

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

Method CREATE_DOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DOC Call by reference Object reference (TYPE REF TO) IF_WB2_DOC Dokument 20010215
2 Importing I_KEY Call by reference Type reference (TYPE) WB2_DOC_KEY Dokumentschlüssel 20000717
# Exception Resumable Description Created on
1 INTERNAL_ERROR interner Fehler 20000717

Method CREATE_DUMMY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DOC Value transfer Object reference (TYPE REF TO) IF_WB2_DOC beliebiges Dokument 20001016
2 Importing I_KEY Call by reference Type reference (TYPE) WB2_DOC_KEY Dokumentschlüssel 20001016
# Exception Resumable Description Created on
1 INTERNAL_ERROR interner Fehler 20001016

Method GET_DOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_KEY Call by reference Type reference (TYPE) WB2_DOC_KEY Schlüssel 20000414
2 Returning RE_DOC Value transfer Object reference (TYPE REF TO) IF_WB2_DOC Dokument 20010215

Method GET_DOC on class CL_WB2_DOC_FACTORY has no exception.

Method GET_EMPTY_ALV_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_ALV_DATA Call by reference Object reference (TYPE REF TO) IF_WB2_DATA_FROM_PLUS_ALV_DATA ALV Datencontainer 20000717
2 Importing I_DOC_TYPE Call by reference Type reference (TYPE) WB2_DOC_TYPE Dokumententyp 20000717
3 Importing I_LEADER Call by reference Type reference (TYPE) WB2_LEADER führender Kopf wählbar 20010316
4 Importing I_SELECTION_TYPE Call by reference Type reference (TYPE) WB2_SELECTION_TYPE Selektion auf Positions- oder Kopfebene 20000816
5 Importing I_VARIANT_FULL Call by reference Type reference (TYPE) DISVARIANT Anzeigevariante Vollbild 20001129
6 Importing I_VARIANT_HEAD Call by reference Type reference (TYPE) DISVARIANT Anzeigevariante Kopf 20001101
7 Importing I_VARIANT_ITEM Call by reference Type reference (TYPE) DISVARIANT Anzeigevariante Position 20001101
# Exception Resumable Description Created on
1 INTERNAL_ERROR interner Fehler 20000717

Method GET_GUID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_GUID Call by reference Type reference (TYPE) GUID_22 GUID im 'CHAR' Format mit Groß-/Kleinschreibung (!) 20010208
2 Importing I_NUM Call by reference Type reference (TYPE) WB2_NUM Belegnummer 20010208
# Exception Resumable Description Created on
1 NO_ENTRY kein Eintrag für temporäre Nummer 20010208

Method GET_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TYPE Call by reference Type reference (TYPE) WB2_DOC_TYPE Dokumenttyp 20000426
2 Returning RE_LEVEL Value transfer Type reference (TYPE) INT1 Ebene im Baum 20000426

Method GET_LEVEL on class CL_WB2_DOC_FACTORY has no exception.

Method GET_NUM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_NUM Call by reference Type reference (TYPE) WB2_NUM Belegnummer 20010208
2 Importing I_GUID Call by reference Type reference (TYPE) GUID_22 GUID im 'CHAR' Format mit Groß-/Kleinschreibung (!) 20010208
# Exception Resumable Description Created on
1 INTERNAL_ERROR interner Fehler 20010208

Method GET_SIDE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SIDE Call by reference Type reference (TYPE) WB2_SIDE Einkaufs- oder Verkaufsseite 20010116
2 Importing I_DOC_TYPE Call by reference Type reference (TYPE) WB2_DOC_TYPE Dokumententyp 20010116
# Exception Resumable Description Created on
1 INTERNAL_ERROR interner Fehler 20010116

Method RESET Signature

Method RESET on class CL_WB2_DOC_FACTORY has no parameter.
Method RESET on class CL_WB2_DOC_FACTORY has no exception.

Method RESET_FLOW Signature

Method RESET_FLOW on class CL_WB2_DOC_FACTORY has no parameter.
Method RESET_FLOW on class CL_WB2_DOC_FACTORY has no exception.
History
Last changed by/on SAP  20031212 
SAP Release Created in