Skip to Content

If you want to know more technical detail, please find my blog list here.

For more detail about CRM content management, please go to my wiki page CRM Content Management.

History:

Content Management(CM) was introduced in basis release 6.10 and implemented in CRM 3.0. Before CM was used, CRM applications was using the Business Document Service (BDS) or Generic Object Services (GOS) to implement Document management requirement. BDS was used in most applications like Business partners, products, product catalogues, solution database, campaigns. GOS was only used in the One Order objects like activities and opportunities. All BDS applications changed to CM in 3.0, the One Order objects only in 3.1.

 

A document in CM consists of several objects. The most important two are so called “logical info object” (LOIO) and a “physical info object” (PHIO). A LOIO as a logical folder or bracket which holds PHIOs together, while a PHIO represents the content of a specific version of a document. Let’s use the word edit in the real world as example. If one works on a Word document and changes the document over time, each saved version would be represented by a PHIO. The LOIO would be the word document itself. This is much like if one looks at SE38 in ABAP: The program name is the LOIO and each transported version of the code is the PHIO.

Let’s see an example. I have a product ZCM_DEMO with guid 0090FA0D8DC21ED395FD7C687F99BFF7, BOR type = BUS1178.

I create one attachment for it:

/wp-content/uploads/2013/11/clipboard1_333514.png

Go to table SKWG_BREL, input product guid 0090FA0D8DC21ED395FD7C687F99BFF7, and we see two entries belonging to this product. The first entry indicates a folder instance which is actually a logical container to hold all attachments for the given product. 

 

/wp-content/uploads/2013/11/clipboard2_333542.png

The content of column INSTID_B has naming convention as <type: F(older) or L(ogical object)><Logical object type name><guid>.

The guid in the first row can be found in table CRM_FOLDER:

/wp-content/uploads/2013/11/clipboard3_333543.png

The guid 0090FA0D8DC21ED395FD830F8DD9DFFF in the second row can be found in table BDSLOIO22, together with the name of attachment.

 

/wp-content/uploads/2013/11/clipboard4_333544.png

You are asking how I get to know the name of table BDSLOIO22? If one application wants to use CM to store document, it should have its dedicated class for physical object and logical object, or use the default one CRM_L_DOC. The relationship between application and its class is maintained in tcode DMWB:

/wp-content/uploads/2013/11/clipboard5_333545.png

in table BDSPHIO22, by specifying logical information object ID, we can get all phyiscal object lists.

/wp-content/uploads/2013/11/clipboard6_333546.png

once you get phyical object id 0090FA0D8DC21ED395FD830F8DD9FFFF, you can find the respective entries in table BDSCONT22.

/wp-content/uploads/2013/11/clipboard7_333547.png

The real content of attachment is stored in a claster way, so you cannot see its detail in SE16.

/wp-content/uploads/2013/11/clipboard8_333548.png

How do I know the database table name BDSCONT22?

1. Get the storage category BDS_DB22 by physical class name.

/wp-content/uploads/2013/11/clipboard9_333549.png

2. execute function module SCMS_SDOKSTRE_LIST to get all lists of database table. Then you can find the table name BDSCONT22 for your storage category BDS_DB22.

/wp-content/uploads/2013/11/clipboard10_333550.png

To report this post you need to login first.

3 Comments

You must be Logged on to comment or reply to a post.

  1. Katarina Kratochvilova

    Hello,

    Thank you for the article, the information helped me a lot.

    Just one additional question: what is the BDS table, which links specific OBJECT_ID (specific product, or businss partner number… etc) and a BDS attachment?

    I’m searching everwhere, but this information I can’t find.

    Thank you in advance!

    (0) 

Leave a Reply