SAP ABAP实用技巧介绍系列之如何创建Maintenance view
Created by Jerry Wang, last modified on Apr 18, 2014
1. Create a database table with type C( Customizing table ):
field 如下:
點(diǎn)擊icon創(chuàng)建foreign key:
選擇yes:
在自動生成的proposal window里選copy:
最后生成foreign key如下:
2. 使用transaction SE11創(chuàng)建一個maintenance view, 將step1創(chuàng)建的configuration table維護(hù)進(jìn)去:
點(diǎn)Relationships button:
在popup里選擇前兩張表,點(diǎn)copy:
save之后重復(fù)操作,再把comc_fr_obj_famt和comc_pr_type_t兩張text table也加進(jìn)來:
最后結(jié)果如下圖所示:
給view 添加一個新的view field,類型為R ( read only ):
最后的view fields如下圖所示:
按照需求指定正確的maintenance status:
3. Utilites->Table Maintenance Generator
維護(hù)function group name,然后Generated Objects->Create:
在status bar看到成功generate的message:
4. 使用SM30測試:
總結(jié)
以上是生活随笔為你收集整理的SAP ABAP实用技巧介绍系列之如何创建Maintenance view的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: SAP ABAP实用技巧介绍系列之反模式
- 下一篇: letsgo耿鬼配招