SAP ABAP Class CL_SWF_GP_CONTEXT_GENERATE (Container Generation Services for Guided Procedures)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-BMT-WFM-RUN (Application Component) Runtime
     SWF_GP_DEF (Package) Definition Component for Guided Procedures
Properties
Class CL_SWF_GP_CONTEXT_GENERATE  
Short Description Container Generation Services for Guided Procedures    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SWF_GP_DEF   Definition Component for Guided Procedures 
Created 20050112   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 SEOC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 SEOO Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 SWFGP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_SWF_GP_CONTEXT_GENERATE has no interface implemented.
Friends
Class CL_SWF_GP_CONTEXT_GENERATE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_ATTR_EXPORT Constant Private Type reference (TYPE) STRING 'isExport' Attribute Name 'isExport' 20050112
2 CO_ATTR_GUID Constant Private Type reference (TYPE) STRING 'guid' Attribute Name 'guid' 20050112
3 CO_ATTR_ID Constant Private Type reference (TYPE) STRING 'id' Attribute Name 'id' 20050112
4 CO_ATTR_IMPORT Constant Private Type reference (TYPE) STRING 'isImport' Attribute Name 'isImport' 20050112
5 CO_ATTR_LABEL Constant Private Type reference (TYPE) STRING 'label' Attribute Name 'label' 20050112
6 CO_ATTR_MAXOCCURS Constant Private Type reference (TYPE) STRING 'maxOccurs' Attribute Name 'maxOccurs' 20050112
7 CO_ATTR_MINOCCURS Constant Private Type reference (TYPE) STRING 'minOccurs' Attribute Name 'minOccurs' 20050112
8 CO_ATTR_NAME Constant Private Type reference (TYPE) STRING 'name' Attribute Name 'name' 20050112
9 CO_ATTR_TYPE Constant Private Type reference (TYPE) STRING 'type' Attribute Name 'type' 20050112
10 CO_ATTR_VERSION Constant Private Type reference (TYPE) STRING 'version' Attribute Name 'version' 20050112
11 CO_CNT_SYSELEM Constant Public Type reference (TYPE) STRING '_GP_GeneratedObjects' Name of GP Container System Element 20050112
12 CO_CNT_SYSELEM_UC Constant Private Type reference (TYPE) SWFDNAME '_GP_GENERATEDOBJECTS' Name of GP Container System Element 20050114
13 CO_GEN_NAMESPACE Constant Private Type reference (TYPE) CHAR10 '/1SWFGP/' Repository Namespace for Generation 20050112
14 CO_NS_GPDEF Constant Private Type reference (TYPE) STRING 'http://www.sap.com/bc/bmt/wfm/gp/process-definition' Namespace GP Definition 20050112
15 CO_NS_XMLSCHEMA Constant Private Type reference (TYPE) STRING 'http://www.w3.org/2001/XMLSchema' Namespace XML Schema 20050112
16 CO_ST_CONTEXT_EMPTY Constant Public Type reference (TYPE) STRING 'SWF_GP_CONTEXT_EMPTY' Name of Standard Transformation for Empty Contexts 20050124
17 CO_TAG_COMPLEX Constant Private Type reference (TYPE) STRING 'complexType' Tag Name 'complexType' 20050112
18 CO_TAG_ELEMENT Constant Private Type reference (TYPE) STRING 'element' Tag Name 'element' 20050112
19 CO_TAG_INITIALVAL Constant Private Type reference (TYPE) STRING 'initialValue' Tag Name 'initialValue' 20050112
20 CO_TAG_PROCESS Constant Private Type reference (TYPE) STRING 'process' Tag Name 'process' 20050112
21 CO_TAG_SEQUENCE Constant Private Type reference (TYPE) STRING 'sequence' Tag Name 'sequence' 20050112
22 CO_TAG_STRUCTURE Constant Private Type reference (TYPE) STRING 'structure' Tag Name 'structure' 20050112
23 CO_TYPE_MAIN Constant Public Type reference (TYPE) STRING 'TY_MAIN' Name of Container Data Type 20050112
24 MT_COMMENTS Instance attribute Private Type reference (TYPE) TY_STRING_TAB Table of Comments 20050112
25 MT_CTXELEM Instance attribute Private Type reference (TYPE) TY_CTXELEM_TAB Table of Context Elements 20050112
26 MT_MESSAGES Instance attribute Private Type reference (TYPE) SWD_TERROR Table of (Error) Messages 20050202
27 MT_NSBINDING Instance attribute Private Type reference (TYPE) TY_NSBIND_TAB Table of Namespace Bindings 20050112
28 M_GPAC_KEY Instance attribute Private Type reference (TYPE) SWFGPACKEY Key Fields of the Activity of a Guided Procedure 20050203
29 M_OBJNAME Instance attribute Private Type reference (TYPE) SEOCLSNAME Object Type Name 20050203
30 M_PARENT Instance attribute Private Object reference (TYPE REF TO) CL_SWF_GP_CONTEXT_GENERATE Generator of Parent Context 20050112
31 M_REUSE Instance attribute Private Type reference (TYPE) XFELD SPACE 'X' - Reusing Generated Objects 20050203
32 M_ROOT Instance attribute Private Object reference (TYPE REF TO) CL_SWF_GP_CONTEXT_GENERATE Generator of Process (Root) Context 20050113
33 M_SHORTTEXT Instance attribute Private Type reference (TYPE) STRING Short Text for Generated Objects 20050112
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MESSAGE Instance method Protected Method Set a Message in Internal Message Buffer 20050202
2 ADD_NAMESPACE Instance method Private Method Note Namespace Declaration (Assign Unique Prefix) 20050113
3 CHECK_INIT_VALUES Instance method Private Method Check Whether Initial Values for Context Specified 20050304
4 DELETE_ALL Static method Public Method Delete All Generated Objects for a GP Context 20050112
5 DELETE_CLASS Static method Public Method Delete Generated Class 20050112
6 DELETE_ST Static method Public Method Delete Generated Simple Transformation 20050112
7 GENERATE Instance method Public Method Generate All GP-Context-Relevant Objects 20050112
8 GENERATE_CLASS Instance method Protected Method Generate the OO Class with Local Type Definitions 20050112
9 GENERATE_COMPNAME Instance method Private Method Generate a Unique Component Name 20050112
10 GENERATE_CONTAINER Instance method Protected Method Generate the Container Definition 20050112
11 GENERATE_ST Instance method Protected Method Generate ST for Serializing/Deserializing the GP Container 20050112
12 GENERATE_TYPENAME Instance method Private Method Generate a Unique Type Name 20050112
13 GET_CONTEXT_ID Instance method Protected Method Parse Information for Object Identification 20050203
14 GET_GENERATED_OBJECTS Static method Public Method Determine Class/Transformation Name at Runtime 20050112
15 GET_MESSAGES Instance method Public Method Gets table with (error) messages 20050202
16 GET_OBJNAME Instance method Protected Method Determine/Generate Name for Generated Objects 20050112
17 GET_PARENT Instance method Public Method Determine Reference to Generator of Parent Context 20050112
18 GET_PROCESS_OBJECTS Static method Public Method Gets the names of all generated objects for a GP 20050201
19 MAP_EXPRESSION Instance method Public Method Translate Expressions (XSD -> Internal) 20050112
20 MAP_XSD_TO_DDIC_TYPE Instance method Private Method Map XSD Type to Corresponding DDIC Type 20050112
21 PARSE_DEFINITION Instance method Protected Method Parse Context Definition 20050112
22 SET_PARENT Instance method Public Method Set Reference to Generator of Parent Context 20050112
Events
Class CL_SWF_GP_CONTEXT_GENERATE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_CTXELEM Private See coding 20050112 BEGIN OF ty_ctxelem, typeno TYPE n LENGTH 3, elemno TYPE i, level TYPE i, name TYPE string, nsprefix TYPE string, nsuri TYPE string, compname TYPE fieldname, editelem TYPE swfdname, datatype TYPE domname, complextypeno TYPE n LENGTH 3, complextypename TYPE domname, istable TYPE xfeld, isoptional TYPE xfeld, isimport TYPE xfeld, isexport TYPE xfeld, END OF ty_ctxelem
2 TY_CTXELEM_TAB Private See coding 20050112 ty_ctxelem_tab TYPE STANDARD TABLE OF ty_ctxelem WITH DEFAULT KEY
3 TY_NSBINDING Private See coding 20050112 BEGIN OF ty_nsbinding, nsuri TYPE string, nsprefix TYPE char10, END OF ty_nsbinding
4 TY_NSBIND_TAB Private See coding 20050112 ty_nsbind_tab TYPE HASHED TABLE OF ty_nsbinding WITH UNIQUE KEY nsuri
5 TY_STRING_TAB Private See coding 20050112 ty_string_tab TYPE STANDARD TABLE OF string WITH DEFAULT KEY
Method Signatures

Method ADD_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MSGID Call by reference Type reference (TYPE) SYMSGID 'SWF_GP_DEF' Nachrichtenklasse 20050202
2 Importing MSGNO Call by reference Type reference (TYPE) SYMSGNO Nachrichtennummer 20050202
3 Importing MSGTY Call by reference Type reference (TYPE) SYMSGTY 'S' Nachrichtentyp 20050202
4 Importing MSGV1 Call by reference Type reference (TYPE) ANY 20050202
5 Importing MSGV2 Call by reference Type reference (TYPE) ANY 20050202
6 Importing MSGV3 Call by reference Type reference (TYPE) ANY 20050202
7 Importing MSGV4 Call by reference Type reference (TYPE) ANY 20050202

Method ADD_MESSAGE on class CL_SWF_GP_CONTEXT_GENERATE has no exception.

Method ADD_NAMESPACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_NSURI Call by reference Type reference (TYPE) STRING 20050113
2 Returning RE_NSPREFIX Value transfer Type reference (TYPE) STRING 20050113

Method ADD_NAMESPACE on class CL_SWF_GP_CONTEXT_GENERATE has no exception.

Method CHECK_INIT_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE IF_IXML_NODE 20050602
2 Returning RE_INITNODE Value transfer Object reference (TYPE REF TO) IF_IXML_NODE Bound - Initialiseirungswerte vorhanden 20050602

Method CHECK_INIT_VALUES on class CL_SWF_GP_CONTEXT_GENERATE has no exception.

Method DELETE_ALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_OBJNAME Call by reference Type reference (TYPE) STRING Name der generierten Objekte 20050112
2 Importing IR_CONTAINER Call by reference Object reference (TYPE REF TO) IF_SWF_CNT_CONTAINER Containerinstanz eines GP-Kontextes 20050112
# Exception Resumable Description Created on
1 CX_SWF_GP_DEF Guided Procedures Definition Exception 20050112

Method DELETE_CLASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CLASSNAME Call by reference Type reference (TYPE) CLASSNAME Name der zu löschenden Klasse 20050112
# Exception Resumable Description Created on
1 CX_SWF_GP_DEF Guided Procedures Definition Exception 20050112

Method DELETE_ST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DELINITONLY Call by reference Type reference (TYPE) XFELD SPACE 'X' - Nur Initialisierungstransformation löschen 20050112
2 Importing IM_STNAME Call by reference Type reference (TYPE) CLASSNAME Name der zu löschenden Transformation 20050112
# Exception Resumable Description Created on
1 CX_SWF_GP_DEF Guided Procedures Definition Exception 20050112

Method GENERATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FORCE Value transfer Type reference (TYPE) XFELD SPACE 'X' - Erzwingen einer Neugenerierung bei Redeployment 20050114
2 Changing IR_CONTAINER Call by reference Object reference (TYPE REF TO) IF_SWF_CNT_CONTAINER Container - Implementierung einer 'Collection' 20050112
3 Importing IR_DEPLOYMENT Call by reference Object reference (TYPE REF TO) IF_SWF_GP_DEPLOYMENT Deployment eines GP Prozesses 20050203
4 Importing IR_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE Erster XML Knoten der Kontextdefinition 20050112
# Exception Resumable Description Created on
1 CX_SWF_GP_DEF Guided Procedures Definition Exception 20050112

Method GENERATE_CLASS Signature

Method GENERATE_CLASS on class CL_SWF_GP_CONTEXT_GENERATE has no parameter.
# Exception Resumable Description Created on
1 CX_SWF_GP_DEF Guided Procedures Definition Exception 20050112

Method GENERATE_COMPNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_CTXELEM Call by reference Type reference (TYPE) TY_CTXELEM Context element 20050114
2 Importing IR_CONTAINER Call by reference Object reference (TYPE REF TO) IF_SWF_CNT_CONTAINER Context Container 20050117

Method GENERATE_COMPNAME on class CL_SWF_GP_CONTEXT_GENERATE has no exception.

Method GENERATE_CONTAINER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing IR_CONTAINER Call by reference Object reference (TYPE REF TO) IF_SWF_CNT_CONTAINER Container - Implementierung einer 'Collection' 20050112
2 Importing IR_INITNODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE IF_IXML_NODE 20050602
# Exception Resumable Description Created on
1 CX_SWF_GP_DEF Guided Procedures Definition Exception 20050112

Method GENERATE_ST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_INITNODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE XML-Knoten: Initialisierungswerte 20050602
# Exception Resumable Description Created on
1 CX_SWF_GP_DEF Guided Procedures Definition Exception 20050112

Method GENERATE_TYPENAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EX_TYPENAME Value transfer Type reference (TYPE) DOMNAME Feldname 20050112
2 Importing IM_CTXELEM Call by reference Type reference (TYPE) TY_CTXELEM Context element 20050112
3 Importing IM_TYPENAME Call by reference Type reference (TYPE) STRING Name of Complex Type from XML 20050112

Method GENERATE_TYPENAME on class CL_SWF_GP_CONTEXT_GENERATE has no exception.

Method GET_CONTEXT_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_NODE Value transfer Object reference (TYPE REF TO) IF_IXML_NODE IF_IXML_NODE 20050203
# Exception Resumable Description Created on
1 CX_SWF_GP_DEF Guided Procedures Definition Exception 20050203

Method GET_GENERATED_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_CONTAINER Call by reference Object reference (TYPE REF TO) IF_SWF_CNT_CONTAINER GP Container 20050112
2 Returning RE_OBJNAME Value transfer Type reference (TYPE) STRING Name der generierten Objekte 20050112

Method GET_GENERATED_OBJECTS on class CL_SWF_GP_CONTEXT_GENERATE has no exception.

Method GET_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_MSG Value transfer Type reference (TYPE) SWD_TERROR WF: Tabelle für Fehler beim Prüfen einer Workflow-Definition 20050202

Method GET_MESSAGES on class CL_SWF_GP_CONTEXT_GENERATE has no exception.

Method GET_OBJNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_DEPLOYMENT Call by reference Object reference (TYPE REF TO) IF_SWF_GP_DEPLOYMENT Deployment eines GP Prozesses 20050203

Method GET_OBJNAME on class CL_SWF_GP_CONTEXT_GENERATE has no exception.

Method GET_PARENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_PARENT Value transfer Object reference (TYPE REF TO) CL_SWF_GP_CONTEXT_GENERATE Container Generation Services for Guided Procedures 20050112

Method GET_PARENT on class CL_SWF_GP_CONTEXT_GENERATE has no exception.

Method GET_PROCESS_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DEPLOYMENT_ID Call by reference Type reference (TYPE) SWFGPDEPID ID eines GP Deployment-Laufs 20050204
2 Returning RE_GENOBJ Value transfer Type reference (TYPE) SWFGPGENOBJTAB Tabelle mit Namen generierter Objekte 20050201

Method GET_PROCESS_OBJECTS on class CL_SWF_GP_CONTEXT_GENERATE has no exception.

Method MAP_EXPRESSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LABELTAB Call by reference Type reference (TYPE) SWFGPLABELTAB Zu übersetzender Ausdruck (zerlegt in Tabellenform) 20050112
2 Returning RE_EXPRESSION Value transfer Type reference (TYPE) STRING Übersetzter Ausdruck 20050112
# Exception Resumable Description Created on
1 CX_SWF_GP_DEF Guided Procedures Definition Exception 20050112

Method MAP_XSD_TO_DDIC_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_XSD Call by reference Type reference (TYPE) STRING 20050112
2 Importing IR_NSCTXT Call by reference Object reference (TYPE REF TO) IF_IXML_NAMESPACE_CONTEXT IF_IXML_NAMESPACE_CONTEXT 20050112
3 Returning RE_DDIC Value transfer Type reference (TYPE) DOMNAME DDIC Type 20050112

Method MAP_XSD_TO_DDIC_TYPE on class CL_SWF_GP_CONTEXT_GENERATE has no exception.

Method PARSE_DEFINITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_CONTAINER Call by reference Object reference (TYPE REF TO) IF_SWF_CNT_CONTAINER Context Container 20050117
2 Importing IR_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE First XML node of context definition 20050112
# Exception Resumable Description Created on
1 CX_SWF_GP_DEF Guided Procedures Definition Exception 20050112

Method SET_PARENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PARENT Call by reference Object reference (TYPE REF TO) CL_SWF_GP_CONTEXT_GENERATE Container Generation Services for Guided Procedures 20050112

Method SET_PARENT on class CL_SWF_GP_CONTEXT_GENERATE has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 700