Quantcast
Channel: SCN : Blog List - SAP Solution Manager
Viewing all articles
Browse latest Browse all 337

How to Update SM_CRM Search Criteria to Report based on the value of a Custom Field

$
0
0

In this blog, I will show how to report in CRM_UI (SM_CRM) based on a new custom UI field created in AET. This is using SolMan 7.1 SP 11.

 

The requirement was to add a new field to the Request for Change (ZMCR) UI and allow the new field reportable in the Search Criteria.

 

To add the new custom UI field, I followed the steps in this post, so I won’t go into those details.

http://scn.sap.com/people/tzanko.stefanov2/blog/2008/11/18/application-enhancement-tool-creating-and-reusing-custom-fields-with-crm-70-part-1-of-2

 

The requirement was to enable the new custom field to appear in the Search Criteria in SM_CRM here...

1a.jpg

 

Tcode SM_CRM.  Confirm you have Configuration mode checked and select SAVE....

2a.jpg

 

Select Change Request Management -> Requests for Change...

2b.jpg

 

On the Search screen, select Show Configurable Areas…

  4a.jpg

 

Highlight the Search Criteria section and select…

4b.jpg

 

If a Z Configuration Area does not already exist for the selected area, create one…

5a.jpg

 

 

Select the Component Name to copy and COPY…

6a.jpg

 

Confirm you are maintaining the Z business role.

Change the Usage, Type, and Subtype to <DEFAULT>. Select CONTINUE.

12.jpg

 

 

 

Select the newly created Configuration Area.

Locate the custom field that you want to show in the Search Criteria in the list of Available Search Criteria.

13.jpg

 

7.jpg

8.jpg

 

9.jpg

91.jpg

...error “500 SAP Internal Server Error - Exception condition “PROBLEM_WITH_QUERY raised” appeared…

 

92.jpg

 

In my case, I found that this error was caused by the enhancement generation not entirely completing when the custom field was added.  The new field was not found in table CRMC_REPDY.

 

To resolve this error, in tcode AXTSHOW, I needed to manual re-generate the enhancement.

 

Before re-generating, the high level was green, but the Appends and other objects were not active. I selected Generate Enhancement to complete this step.

93.jpg

 

 

After re-generating,  the new field was successful….

94.jpg

 

 

This caused the field entry to be created in table CRMC_REPDY…

95.jpg

 

 

Now, new field is reportable in SM_CRM…

96.jpg


Viewing all articles
Browse latest Browse all 337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>