乐趣区

关于sap:使用代码获得一个SAP-CRM-Business-Object的所有附件数据

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 的原创文章,请关注公众号 ” 汪子熙 ”:

退出移动版