wui->常用函数

用户相关函数  用户的新建、修改密码等
BAPI_USER*
 
函数:TEXT_SPLIT  截取字符串处理Splits text into specified length plus rest (cf.: SPLIT)
函数组:SCMS_CONV  各种数据类型之间的转换
 
字符编码转换函数SCP_TRANSLATE_CHARS    类cl_abap_conv_obj
函数可检测字符串是否包含中文字符SCP_CHECK_CHARSET_OF_STRING
发邮件 SO_NEW_DOCUMENT_ATT_SEND_API1
 
CRM_IOBJECT_SAVE_IOITF_EC 
HRHAP_DOC_CONVERT_SMF_TO_PDF Smartfor转pdf
 
构建url链接
  * Create URL for UI
  lv_url = cl_crm_web_utility=>create_url( iv_path     = cv_path
                                           iv_absolute = abap_true
                                           iv_query    = lv_query  ).
开发类:SMART 关于smartform相关的功能
 
  • CRM Transaction的Status:
  • CRM_STATUS_CHANGE_FOR_ACTIV_OW。最常用的一个Function,它既可以执行指定的Business Transaction(T-CODE: BS33,或查看Report: CRM_STATUS_CON)去更改订单的状态,也往往仅用做检查是否允许执行指定的Transaction;
  • CRM_STATUS_CHECK。检查订单的状态;
  • CRM_STATUS_SET_INTERN_OW。修改订单的系统状态;  
 
ADDRESS_INTO_PRINTFORM   获取地址描述,格式化输出
ORDER ”订单相关函数
CRM_ORDER_API  订单处理函数组
CRM_ORDERADM*    "订单相关函数
CRM_ORDER_READ
CRM_ORDER_CHANGE_STATUS
CRM_CUSTOMER_H_READ_OB
CRM_ORDER_ENQUEUE    订单锁,队列
CRM_STATUS_CHANGE_EXTERN_OW    设置订单状态
CRM_ORDER_SAVE                 订单保存
 
CRM_LINK_GET_OW              "
 
BAPI_SLSTRANSACT_CREATEMULTI " Create salse Order
 
BAPI_BUSPROCESSND_CHANGEDIALOG Change sales order in dialog
BAPI_BUSPROCESSND_CHANGEMULTI  Change sales orders [implementation]
BAPI_BUSPROCESSND_CREATEMULTI  Generate sales orders [implementation]
BAPI_BUSPROCESSND_DELETEMULTI  Delete and save sales orders [implementation]
BAPI_BUSPROCESSND_DISPLAY      Change sales order in dialog
BAPI_BUSPROCESSND_F4_AUTHORITY BAPI F4 Authorization Check for Transactions
BAPI_BUSPROCESSND_GETAPPLLOG   Read log for sales orders [implementation]
BAPI_BUSPROCESSND_GETCONTEXT   Read environment of a transaction
BAPI_BUSPROCESSND_GETDETAILMUL Read Sales Orders [Implementation]
BAPI_BUSPROCESSND_GETLIST      Get list one order
BAPI_BUSPROCESSND_PROCSETTINGS Set Process Settings
BAPI_BUSPROCESSND_READCUSTOMIZ Read Transaction Customizing
BAPI_BUSPROCESSND_SAVE         Save and install sales orders [implementation]
 

CRM_BUPA_ACTIVITY_CREATE    "根据客户创建活动
CRM_ORDER_READ              "单据全部信息
 
BAPI_ACTIVITYCRM_CHANGEMULTI   Change Activities
BAPI_ACTIVITYCRM_CHANGEWDIALOG Change of an Activity in Dialog
BAPI_ACTIVITYCRM_CREATEMULTI   Create Activities
BAPI_ACTIVITYCRM_DELETEMULTI   Delete and Save Activities
BAPI_ACTIVITYCRM_GETDETAILLIGH
BAPI_ACTIVITYCRM_GETDETAILMULT Read Activities
BAPI_ACTIVITYCRM_READARCHIVE
BAPI_ACTIVITYCRM_READCUSTOMIZ
BAPI_ACTIVITYCRM_SAVE          Save and Initialize Activities
 

BAPI_BUPA_RELATIONSHIPS_GET      "读取业务伙伴类型等信息
BAPI_BUPR_RELATIONSHIP_CHANGE    "修改
BAPI_BUPR_RELATIONSHIP_CREATE    "创建
BAPI_BUPR_RELATIONSHIP_DELETE     "删除
BAPI_BUPR_RELATIONSHIP_GET       ”  获取两个BP 号码的关系
BAPI_BUPR_RELATIONSHIP_REMOVE    " 删除 两个BP 号码的关系
BAPI_BUPA_FRG0040_GETDETAIL      "读取BP的分类信息
 
BAPI_BUPA_SEARCH           Search Business Partner
 
CRM_WAP_BP_CREATE                 ”Create business partner
 
BUPA_NUMBERS_GET                   "获取BP 信息
 
COM_PARTNER_CONVERT_GUID_TO_NO    ”获取BP 信息
BUP_PARTNER_GET                    " 获取BP 信息
BUPA_PARTNER_CONTACT_SEARCH       ”搜索BP 信息
BUP_PARTNER_DESCRIPTION_GET        "BP描述
BP_CENTRALPERSON_GET               "根据BP号查找用户名          "重要
BAPI_BUPA_GET_EMPLOYEE_FROM_BP
BAPI_BUPA_GET_NUMBERS   Read Business Partner Numbers
BBPU_GET_ORGSTRUCTURE_OF_USER     "根据用户名查找BP号
 
CRM_ORDER_READ   
 
 CRM_ORDERADM_H_READ_OB
 
CRM_ORDERADM_I_READ_MULTI_OB
 
CRM_DOC_FLOW_DELETE_EC
 

转载于:https://www.cnblogs.com/sap-vip/p/5591188.html

你可能感兴趣的:(wui->常用函数)