SAP ABAP Class CL_STW_MTH_ITM_CREATE_BASE (Create New Activity)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-STW (Application Component) Social Media ABAP Integration Library
     S_STW_OL_CLB_METHODS (Package) Collaboration Method Impl. for StreamWork (comp. mode)
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_CLB_METHOD_PROCESS Collaboration: Callback Methods for the Process Layer 20111110
Properties
Class CL_STW_MTH_ITM_CREATE_BASE  
Short Description Create New Activity    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_STW_OL_CLB_METHODS   Collaboration Method Impl. for StreamWork (comp. mode) 
Created 20111110   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 IF_STW_ACTIVITY Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_CLB_METHOD_PROCESS Collaboration: Callback Methods for the Process Layer 20111110
Friends
Class CL_STW_MTH_ITM_CREATE_BASE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MS_CREATE_ITEM_DATA Instance attribute Protected Type reference (TYPE) TS_CREATE_ITEM_DATA 20111110
2 MT_ATTACHMENT Instance attribute Protected Type reference (TYPE) TT_ATTACHMENT 20111110
3 MV_ACTIVITY_ID Instance attribute Protected Type reference (TYPE) IF_STW_ACTIVITY=>TV_ACTIVITY_ID 20111111
4 MV_ITEM_ID Instance attribute Protected Type reference (TYPE) IF_STW_ITEM=>TV_ITEM_ID 20111110
Methods
# Method Level Visibility Method type Description Created on
1 GET_ITEM_ID Instance method Public Method Get ID of Item 20111110
2 MERGE_GENERIC_DATA Static method Public Method Simple Tranformation helper to Merge the Detail XML 20111110
3 SET_ACTIVITY_ID Instance method Public Method Set Activity Id 20111111
4 SET_ATTACHMENT Instance method Public Method Set Mulitpart Data Attachments (files) 20111130
5 SET_ITEM_DATA Instance method Public Method Set General Item Data 20111130
Events
Class CL_STW_MTH_ITM_CREATE_BASE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_ATTACHMENT Public See coding 20111110 BEGIN OF ts_attachment, part_name TYPE string, filename TYPE string, content_type TYPE string , file TYPE xstring, END OF ts_attachment
2 TS_CREATE_ITEM_DATA Public See coding 20111110 BEGIN OF ts_create_item_data, item_type TYPE if_stw_item=>tv_item_type, activity_id TYPE stw_activity_id, name TYPE if_stw_item=>tv_item_name, description TYPE if_stw_item=>tv_item_description, item_detail_xml TYPE if_stw_item=>tv_item_detail_xml, END OF ts_create_item_data
3 TT_ATTACHMENT Public See coding 20111110 tt_attachment TYPE TABLE OF ts_attachment WITH DEFAULT KEY
Method Signatures

Method GET_ITEM_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_ITEM_ID Value transfer Type reference (TYPE) IF_STW_ITEM=>TV_ITEM_ID 20111110

Method GET_ITEM_ID on class CL_STW_MTH_ITM_CREATE_BASE has no exception.

Method MERGE_GENERIC_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ITEM_DETAIL_XML Call by reference Object reference (TYPE REF TO) IF_SXML_READER 20111110
2 Importing IO_XML_WRITER Call by reference Object reference (TYPE REF TO) IF_SXML_WRITER 20111110
# Exception Resumable Description Created on
1 CX_SXML_PARSE_ERROR SXML Parsing Error 20111207

Method SET_ACTIVITY_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACTIVITY_ID Call by reference Type reference (TYPE) IF_STW_ACTIVITY=>TV_ACTIVITY_ID 20111111

Method SET_ACTIVITY_ID on class CL_STW_MTH_ITM_CREATE_BASE has no exception.

Method SET_ATTACHMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ATTACHMENT Call by reference Type reference (TYPE) TT_ATTACHMENT 20111130

Method SET_ATTACHMENT on class CL_STW_MTH_ITM_CREATE_BASE has no exception.

Method SET_ITEM_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ITEM_DATA Call by reference Type reference (TYPE) TS_CREATE_ITEM_DATA 20111130

Method SET_ITEM_DATA on class CL_STW_MTH_ITM_CREATE_BASE has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 732