cancel
Showing results for 
Search instead for 
Did you mean: 

Employee Interaction center

abhishekjain
Participant
0 Kudos

Hi Experts,

I want to modify one of the View in the component HREIC_VP.

Can anyone please provide me some inputs about how i can add new attribute and corresponding processing logic for

the standard VIEW "ActivitySearchQueryViewSimple ".

Accepted Solutions (0)

Answers (1)

Answers (1)

saumya_govil
Active Contributor
0 Kudos

Hi Abhishek,

Check if the field to be added already exists in the view context node. If yes, then just add it to the configuration. The field would be visible on UI.

If not, you need to add the field to the BOL structure. Do the following:

1. Go to the component in BSP_WD_CMPWB t-code.

2. Go to the context node class of the view.

3. Go to 'Attributes' tab and check the value for BASE_ENTITY_NAME attribute. This is the name of the BOL entity to be modified.

4. Now go to the 'BOL Model Browser' and open the BASE_ENTITY_NAME selected.

5. Go to its Attribute Structure.

6. Click on button 'Append Structure' on the top right corner to add new field to the context node.

7. Add the field details and save and activate the structure.

8. Refersh the component and check that the new field would be visible in the context node.

9. Add this new field ot the view configuration. The field would become visible on the Web UI.

Hope this helps!

Regards,

Saumya

abhishekjain
Participant
0 Kudos

Hi,

I have done till step 7.

When i try to add the Attribute to Context node using Wizard then it gives me an error message

" View not copied with wizard; processing not possible ".

Can you please help me on this?

sreemsft
Contributor
0 Kudos

Hi,

Did you copy the standard view + controller into a custom application?

Check the [Link|; for Cookbooks.

Thanks,

Sreekanth

abhishekjain
Participant
0 Kudos

Hi,

I have copied standard view + controller into a custom BSP.

In new BSP i have 2 elements,

Controller = ActivitySearchQueryViewSimple.do(Copy of std) and controller class ZCL_HREIC_ACTIVITYSEARC_IMPL_VP (copy of CL_HREIC_ACTIVITYSEARC_IMPL_VP)

View = ActivitySearchQueryViewSimple.htm (Copy of std).

I have also assigned it to the "Custiomer specific adjustments" in SPRO and set the new

controleer to be replaced by old controller as mentioned below

BSP Replace controleer BSP Replacement controleer

HREIC_VP ActivitySearchQueryViewSimple.do ZHREIC_VP ActivitySearchQueryViewSimple.do

But its still not visible on EIC.

saumya_govil
Active Contributor
0 Kudos

Hi Abhishek,

You need not create the attribute in the context node using wizard.

After adding it to the BOL append structure it would automatically get added to the context node.

It would appear by the same name as there in append structure.

Just refresh the page and check in the context node for the attribute.

Regards,

Saumya

abhishekjain
Participant
0 Kudos

Hi Saumya,

Attributes are not getting displayed.

There are around 80 attributes in the structure but in the context node onlt 10 are being displayed.

Do you know if there is any way to add the attributes.