Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

problem with search criteria

Hello experts!

I have added the field "objective" which correspond with the field "golas" in the activities panel (for task and interaction), now I want to search a task or a interaction by this field (using it as a search criteria) , but when I try to select it, this fiel is not in the available search criteria, I don´t understand it because is a standar field, how can I solve my problem by customizing without any code??

Thank you

Former Member

Dear bitabita:

OK, I think now is more clear your request.

Behind the node BTQACT, you have a structure called CRMST_QUERY_ACT_BTIL. On this structure you don't have the field OBJECTIVE, that's why you don't see it in the context.

You can create CI_EEW_BUS2000126_SEARCH, and inside this structure you can add the Field OBJECTIVE. Activate.

Now you should have on the context your field. But then you have to assign it to the design layer to see it on your view configuration. To do that, SPRO / Customer Relationship Management / UI Framework / UI Framework Definition / Design Layer / Copy SAP Design Objects.

Select Object Type BT126_APPT, double click in the folder Design Object (left pane).

Select Design Object BTQACT_AC and press "Copy from SAP" (or Go to Copies if you already copied it). The system will show Change View "Design Object": Details.

Double click on Design Folder (left pane)

Click on New Entries.

On attribute name inform OBJECTIVE

On Object inform BTQAct

On Attribute inform OBJECTIVE

On Field Label inform the label you want.

Save changes.

Then go to the view, the node and your attribute, right click and Assign to design layer. Inform data.

Go to your view configuration and add your field to the search criterias.

At this point you should be able to see your field in the view.

After that, you should implement the coding for the search criteria. You can do it in BADI CRM_BADI_RF_Q1O_SEARCH...

Hope this helps.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question