cancel
Showing results for 
Search instead for 
Did you mean: 

Tab strip vs navigating screens for Performance

Former Member
0 Kudos

Hi All,

We are developing an application where we have multiple blocks of UI elements grouped as a certain screen. To have a better performance which option do we go for

1) Tab strip with a lot of UI elements each each tab strip container

2) Navgating across screens using a menu of buttons.

Your input is much appreciated.

Regards

Sunil Kumar.

Accepted Solutions (0)

Answers (2)

Answers (2)

ChrisPaine
Active Contributor
0 Kudos

Hi,

I'd suggest using the FPM OIF layout.

This will allow you the flexibility of using different in the same application and standardises your applications look and feel with that of SAP standard applications.

Have a look at the demo application - FPM_DEMO_OIF_ADMIN_ADVANCED

From a performance viewpoint also - the FPM can be useful as it can be easier to control the initalisation of all the UI elements and data within the tabs. (which is the only performance issue you'd be looking at with tabs vs screens.) From a user perspective tabs are preferable, more intuitive and more in line with current web based application user experiences.

Hope this helps.

Chris

Former Member
0 Kudos

Hi Sunil,

Another option will be to use View Switch.

We have used this and it looks good.

DATA: wd_container TYPE REF TO cl_wd_uielement_container,

wd_ctx_panel TYPE REF TO cl_wd_contextual_panel,

wd_view_switch TYPE REF TO cl_wd_view_switch.

IF first_time = abap_true.

wd_container ?= view->get_element( 'CTXPANEL_TC' ).

wd_ctx_panel = cl_wd_contextual_panel=>new_contextual_panel(

width = '170'

).

cl_wd_matrix_head_data=>new_matrix_head_data( element = wd_ctx_panel ).

wd_container->add_child( the_child = wd_ctx_panel index = 1 ) ." index = 1 ).

wd_view_switch = cl_wd_view_switch=>new_view_switch(

bind_item_source = 'VIEW_SWITCH'

bind_item_text = 'VIEW_SWITCH.TEXT'

bind_item_enabled = 'VIEW_SWITCH.ENABLED'

on_select = 'ON_VIEW_SWITCH'

).

wd_ctx_panel->add_item( wd_view_switch ).

ENDIF.

'CTXPANEL_TC' is TransparentContainer in view. and the view switch will be generated at run time.

VIEW_SWITCH is the node in context with 2 attributes.

Write this cod in WDDOMODIFYVIEW and try this.

Performance is good with this.

Regards

Arvind