Created by Jerry Wang on Sep 17, 2014

CRM系统有如下hierarchy的IBASE:

使用下列report 打印所有的component:

*&---------------------------------------------------------------------*

*& Report  ZIBASE_READ_STRUCTURE

*&

*&---------------------------------------------------------------------*

*&

*&

*&---------------------------------------------------------------------*

REPORT zibase_read_structure.

PARAMETERS: id TYPE ibib-ibase OBLIGATORY DEFAULT '112455'.

DATA: ls_header      TYPE ibap_head1,

lt_struc_tab   TYPE ibap_struc1_tab,

ls_line        LIKE LINE OF lt_struc_tab,

ls_comp        TYPE ibap_dat1,

ls_comp_detail TYPE ibap_comp2.

ls_header-ibase = id.

CALL FUNCTION 'CRM_IBASE_GET_DETAIL'

EXPORTING

i_ibase_head      = ls_header

IMPORTING

e_struc_ibase_tab = lt_struc_tab

EXCEPTIONS

not_specified     = 1

doesnt_exist      = 2

no_authority      = 3.

CHECK sy-subrc = 0.

LOOP AT lt_struc_tab INTO ls_line.

WRITE: / 'Component ID: ' , ls_line-instance COLOR COL_NEGATIVE.

ls_comp-ibase = id.

ls_comp-instance = ls_line-instance.

CALL FUNCTION 'CRM_IBASE_COMP_GET_DETAIL'

EXPORTING

i_comp        = ls_comp

IMPORTING

e_comp_det    = ls_comp_detail

EXCEPTIONS

not_specified = 1

doesnt_exist  = 2

no_authority  = 3.

WRITE: / 'Component Description:' , ls_comp_detail-descr COLOR COL_POSITIVE,

'Object ID: ', ls_comp_detail-object_id COLOR COL_GROUP.

WRITE: / 'Component guid: ' , ls_comp_detail-guid_comp COLOR COL_KEY,

'component guidc: ' , ls_comp_detail-guid_compc COLOR COL_HEADING.

ENDLOOP.

IBASE category 01 component hierarchy相关推荐

  1. SAP IBASE Category 01和03的区别

    Created by Jerry Wang, last modified on Sep 09, 2014 01: 用于描述一个物体和其component的从属关系,这种从属关系从常识上来说是1:N的, ...

  2. SAP IBASE category 01 download

    Created by Jerry Wang, last modified on Sep 18, 2014

  3. 使用category 01同时下载3个hierarchy equipment

    Created by Jerry Wang, last modified on Sep 06, 2014 ERP创建三个equipment ZJERRY0905D1,  ZJERRY0905D2 和 ...

  4. Error message IBase category does not exist in table T371A

    Created by Jerry Wang on Aug 06, 2014 在使用request download从ERP同步equipment 数据到CRM时,SMW01里遇到如下错误: IBase ...

  5. IBASE category 设置为01的情况下 IBASE自动创建情况

    Created by Jerry Wang, last modified on Sep 06, 2014

  6. Why IBASE category 03 is filtered out in creation

    Created by Jerry Wang, last modified on Sep 06, 2015 创建IBASE时,发现category 03没有出现在列表中: debug发现数据源来自lt_ ...

  7. IBASE category 03 parent relationship remove

    Created by Jerry Wang, last modified on Sep 08, 2014 ERP内有三个拥有层级关系的equipment: 现将D2和D3的parent - child ...

  8. IBASE category 03 download

    Created by Jerry Wang, last modified on Sep 18, 2014

  9. 使用SAT研究IBASE hierarchy读取性能

    Created by Jerry Wang on Mar 06, 2014 1. transaction code SAT,创建一个新的variant例如ZJERRY, 确保Aggregation为N ...

最新文章

  1. C# winform版 nbtstat
  2. 笔记-项目沟通管理-规划沟通管理
  3. zookeeper在Dubbo中的作用
  4. mysql的骚操作:自增长的字段同时插入到另一个字段
  5. linux多线程 pthread用法
  6. 计算机专业开学要带电脑吗,大学新生刚开学需要带电脑吗
  7. SQL 必知必会·笔记3过滤数据
  8. 解决安装YouCompleteMe与Vim版本不兼容问题
  9. php获取远程图片模拟post,file上传到指定服务器
  10. 定位CPU高问题三把斧
  11. ANSYS 15 直接优化分析
  12. QNX系统上用Berkeley Packet Filter直接进行原始数据的收发
  13. 基于AVL-CRUISE 2014电动汽车建模与仿真之建模(一)
  14. 笔记_KMeans聚类
  15. 贤鱼的刷题日常(数据结构栈学习)--P1175 表达式的转换--题目详解
  16. Thompson Sampling(汤普森采样)
  17. linux修改显示日期格式,centos面板日期格式调整
  18. 如何在未越狱的iOS 设备上安装 ipa
  19. 使用synergy/barrier服务端和客户端连接不上的问题
  20. 纵浪大化中 不喜亦不惧 应尽便须尽 无复独多虑

热门文章

  1. QT信号与槽机制需要注意的问题
  2. pyecharts学习(part2)--pyecharts Line
  3. 第三次学JAVA再学不好就吃翔(part117)--单例设计模式
  4. 探索Julia(part2)--关于IDE
  5. 知识点实用梳理:点对点协议(PPP)、广播信道多址访问、SMTP与POP3、RS232C、协议与端口号
  6. 最简单的 ABAP XSLT 程序的一个例子
  7. SAP 电商云 Accelerator 和 Spartacus UI 的工作机制差异
  8. 如何给 SAP Fiori Elements 应用的字段添加 value help
  9. 如何在 SAP BTP 上 手动执行 workflow
  10. SAP Cloud Application Programming CatalogService 默认的路径