cancel
Showing results for 
Search instead for 
Did you mean: 

How to create new view in WebUI for Product

Former Member
0 Kudos

Hello,

We want to create a new view (Z) based on the fields of the BOL object and show it in the WebUI. Is there any step by step explanation how to do it?

Thanks in advance,

Sergey Kozyrev

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Heloo Sergey,

In component that you will create the view, you can use the wizard. It's too simple. You create the view using the bol object as the model.

Best regards,

Caíque Escaler

former_member206299
Contributor
0 Kudos

Hi,

Can you explain in detail the procedure to create a new view in an existing component.

Regards,

Sijo..

Former Member
0 Kudos

Hi Sijo,

The following would be the steps to integrate a z component to a std component:

1. Create the view that you would like to integrate with the standard component in a separate z component and design its configuration

2. Add the view in the Component Interface of runtime repository editor. Executing the z component directly must display the view without any errors

3. In the standard component, add the z component in Component Usage of runtime repository editor

4. In the standard component, add the custom component view in Viewsets->Viewarea->View (overview page view) of runtime repository editor

5. Now the view would be there in the available views of the overview page. Move it to the list of visible view on the right side

6. Execute the std component through Web UI and the view should appear

7. Make sure the Web UI uses the same role config key as that of the overview page in which you have added the view

former_member206299
Contributor
0 Kudos

Hi Sangeetha,

Thanks for ur reply...

How can u call a custom controller method in a newly created view.

Regards,

Sijo

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sergey,

According to my knowledge, the steps you are doing are enough.

Check whether the Configuration (Business Role) for you which added the view and the one you see on UI are same. Do an F2 and check the Config Key and all the other values match with the configuration you did in UI Configuration tool.

Still, check whether your view is present the list of views under overview page.

Keep a breakpoint in the Overview page IMPL class and check the values in attribute ME->VIEW_AREA.

This contains all the views that are displayed.

Regards,

Masood Imrani S.

former_member206299
Contributor
0 Kudos

Hi masood ,

Can you mention link which has the step by step explanation to create a view under a component.

Regards,

Sijo.

Former Member
0 Kudos

Hello Caíque,

We created the view with the wizard in the component PRD01OV - the component that includes the overview view of the Product. Then we added the created view to the OverviewPage of the PRD01OV/MaterialOV ViewSet. Then in the configuration of the MaterialOV we drop our view to the Displayed Assignment Blocks but it's still not visible.

Is there any detailed explanation how to add the view? Maybe we missed something?

Thanks in advance,

Sergey Kozyrev

Former Member
0 Kudos

Hi Sergey,

There is a button called "Reset to default" try to press this button. The steps that you mentioned are corrects.

Holpe this helps! Keep me infomed.

Regards,

Caíque Escaler