CL_CHTMLB_CONFIG_TAB_EXCEL_EXP 表格导出EXCEL实现类
CL_CHTMLB_XML_PROVIDER XML处理类
CL_CRM_DOCUMENTS KW Explorer in CRM
CL_HTTP_UTILITY HTTP Framework (iHTTP) HTTP Utilities
CL_THTMLB_UTIL
属性包括系统用到的图标ID,例如GC_ICON_CLOSE等
CL_CHTMLB_CONFIG_TAB_EXCEL_EXP
在WEB界面,将结果导出到EXCEL文件时调用的类
1. CL_CRM_UIU_MKT_OBJ_MAPPER :Mapping BOR - UI Object Type
静态方法:SHOW_BOR_OBJECT_IN_UI Show BOR object in UI
2. CL_CRM_WEB_UTILITY :CRM Web Utilities
静态方法: CREATE_URL 构建URL连接字符串
3. CL_BSP_UTILITY :Business Server Pages (BSP) Utility Class
4. CL_EXITHANDLER :BADI 出口跟踪
5. CL_THTMLB_UTIL :Contain utility methods commonly used between tags
给按钮加图标: ls_button-type = cl_thtmlb_util=>gc_icon_add.
ls_button-text = ‘新建‘.
ls_button-on_click = ‘INSERT‘.
在html页面给按钮加图标
<%
lv_icon_url = CL_THTMLB_UTIL=>GET_ICON_URL( ‘edit.gif‘ ).
%>
<thtmlb:button id="CHANGE"
onClick="CHANGE"
enabled="<%= controller->to_detail %>"
iconSrc = "<%= lv_icon_url %>"
tooltip = "<%=OTR(crm_ic_appl/Change)%>" />
6. cl_crm_erms_catego_as_default
读取事件分类
7. CL_ACTION_EXECUTE
通过action可以拷贝单据 badi定义:EXEC_METHODCALL_PPF
8. CL_CRM_IC_SERVICES IC
Singleton to access services
9. CL_BSP_RUNTIME Business
Server Pages (BSP) Runtime
10. 几个常用字符串处理类
CL_ABAP_CHAR_UTILITIES
CL_ABAP_STRING_UTILITIES
属性HORIZONTAL_TAB
TAB符号
属性CR_LF 换行符号
11. CL_ABAP_LIST_UTILITIES
Utilities for ABAP Lists
12.
IF_ICCMP_GLOBAL_CONTROLLER_CON IC的全局对象接口。
13.CL_CRM_UIU_BT_NAVIGATE
CRM UIU: FollowUp navigation 动态导航
12.
CL_CRM_UI_DATA_CONTEXT_SRV Data context access utility
GDC -
global data context
读出当前确认的客户。在control类中执行方法读出,参考类CL_ICCMP_BT_INRHISTSEARCH_IMPL的方法SET_ACCOUNT(在组件ICCMP_BT_INR)
DATA: lr_gdc TYPE REF TO if_crm_ui_data_context.
DATA: lr_entity TYPE REF TO if_bol_bo_property_access.
DATA: lv_bp_number TYPE string.
DATA: lr_query TYPE REF TO if_bol_bo_property_access.
lr_gdc = cl_crm_ui_data_context_srv=>get_instance( me ).
lr_entity = lr_gdc->get_entity( name = if_iccmp_global_data_cont_con=>gdc_currentcustomer ).
IF lr_entity IS NOT BOUND.
RETURN.
ENDIF.
lv_bp_number = lr_entity->get_property_as_string( iv_attr_name = ‘BP_NUMBER‘ )."#EC NOTEXT
也可以用这个方法
lr_gdc->get_data_attribute( EXPORTING
iv_name = if_crm_ic_fw_global_data_cont=>mv_display_company
IMPORTING
e_value = lv_caller_display_company ).
给全局对象中写入值
lv_bdc = cl_crm_ui_data_context_srv=>get_instance( me ).
lr_clipboard = cl_crm_ui_bol_clipboard_srv=>get_instance( ).
bp_entity = typed_context->customers->collection_wrapper->get_current( ).
lv_bdc->set_entity( name = cl_crm_ic_bp_constants=>gc_gdc_currentcustomer
value = bp_entity ).
12.
cl_crm_ui_bol_clipboard_srv Clipboard service class
剪贴板服务类