Technical Articles
Information Retrieval for Custom Business Objects
Imagine the following scenario. An employee inquires to see all the data that the company stores about her or him. One potential location for storing data is a Custom Business Object and Custom Business Objects are fully integrated with the Information Retrieval Framework which is used to extract the information. As a data privacy specialist, you can easily find all the Custom Business Object instances that contain data related to a specific business partner. In the following example the Custom Business Object has an association to the business partner Workforce Person.
Figure 1: Custom Business Object with association
Before getting started
You must have the following roles assigned to your user:
Process Step | Business Role | Business Catalog |
Defining the Custom Business Object purpose | SAP_BR_BPC_EXPERT | SAP_CA_BC_IC_LND (End to End Implementation Experience – Implementation Cockpit) |
Data collection | SAP_BR_DATA_PRIVACY_SPECIALIST |
|
Defining the Custom Business Object purpose
A purpose defines the range of tables that are searched in the information retrieval process. It contains a link to an Identity Lifecycle Management (ILM) object which in turn references one or more tables. To retrieve the data in Custom Business Objects, the purpose must have the predelivered ILM object SCBO_ILM_OBJECT assigned.
- Open the Manage Your Solution app. Then click Configure Your Solution.
- Search for Rule Generator and open the entry with that item name.
- Click Configure on the next screen in the configuration step line Define Purpose.
- Click New Entries to create a new Purpose ID.
- Select the newly created purpose and double click Assign ILM Objects to Purpose.
- Enter SCBO_ILM_OBJECT as the ILM Object and click Save.
Data collection
To perform the search two apps must be used.
- Open the app Start Data Collection to execute the data collection. Make sure to click Refresh Purposes to see your newly created purpose.
- The app Process Data Collection Results will show the search results. There is a row for every found Custom Business Object instance. The row description has the following format: <Custom Business Object ID>: <Node Name> – <Keys separated by space>.
Figure 2: Data Collection Results
Now you have an overview of all the data related to a specific business partner that is stored in Custom Business Objects.
Further reading
If you want to know more about the topics in this blog post, please have a look at the following links.
Custom Business Objects | https://developers.sap.com/group.abap-extensibiliy-cbo-cce-ccl.html |
Information Retrieval | https://help.sap.com/viewer/55a7cb346519450cb9e6d21c1ecd6ec1/1908.500/en-US/6e7c4b9ff5a1403babfa78bbb469d7b0.html |
Hi Yannick,
thumps up for the great blog!
I have one question. Unfortunately, I can’t find the predelivered ILM object “SCBO_ILM_OBJECT”. For me it is not existing. Do you have an idea why? I would really appreciate your help.
Best regards,
Martin Bäuml
Hi Martin,
Sorry for the late reply. After step 5: "Select the newly created purpose and double click Assign ILM Objects to Purpose." have you tried to perform a search for the ILM object in the value help dialog?
Best regards,
Yannick