日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

IBASE hierarchy structure and related API

發布時間:2023/12/19 编程问答 43 豆豆
生活随笔 收集整理的這篇文章主要介紹了 IBASE hierarchy structure and related API 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Created by Jerry Wang, last modified on Apr 11, 2014

IBASE 13835包含了一個first level component:

?

?

?

component ID為13836:

?

?

?

component 13836又包含了一個level 2 的component 13837:

?

?

?

可以通過下面的report 用API來讀取一個IBASE的hierarchy structure.輸入IBASE ID:

?

?

?

輸入:

?

?

?

也可以在GENIL_BOL_BROWSER里通過Relation FirstLevelComponent 拿到level1的component 13836,?

?

?

?

再用SubLevelComponent拿到level2 component 13837:

?

?

?

PARAMETERS:?id?TYPE?ibib-ibase?OBLIGATORY?DEFAULT?'13835'.

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.

ENDLOOP.

總結

以上是生活随笔為你收集整理的IBASE hierarchy structure and related API的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。