首页 > 其他 > 详细

使用代码获得一个SAP CRM Business Object的所有附件数据

时间:2020-08-06 12:39:17      阅读:67      评论:0      收藏:0      [点我收藏+]

Suppose we have the following product with 5 attachments:

技术分享图片

First we get its guid 00163EA71FFC1ED1A5BB4940F3F30AA7 from table COMM_PRODUCT:

技术分享图片

And then call CL_CRM_DOCUMENTS=>GET_INFO with the following input:

技术分享图片

We get five logical object instances, which works as we expected.

The number of physical object instances is greater than the one of logical objects, which means one or more attachments have multiple versions.

技术分享图片

Looking into the internal table PHIOLOIOS, we can know that the logical object 00163EA720041EE39FCB974DB07F092D has totally three versions.

技术分享图片

and by looking into the exporting parameter IOS_PROPERTIES_RESULT, we can know its name by checking the respective PROPERTIES:

技术分享图片
技术分享图片

We can double check this in UI:

技术分享图片

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
技术分享图片

使用代码获得一个SAP CRM Business Object的所有附件数据

原文:https://www.cnblogs.com/sap-jerry/p/13445332.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!