Skip to Content
0

how to make a standard tab default in custom screen

Nov 01, 2016 at 04:40 PM

19

avatar image
Former Member


I am working on SAP PPM (portfolio and project management) domain . In Project Management screen we have added a custom tab Project Details(this is custom webdynpro component attached to stand. Using spro config.) with some custom fields and buttons.in sap ppm when we click on initiative screen by default General information tab is defaulted My requirement is to default custom long text tab in the same screen.

Component configuration in FPM OIF component : RPM_INITIATIVE_DETAILS_OIF if see application configuration it has been configured to INM_APPCC_PPM_OBJECTS webdynpro component

So to make custom long text tab as default we have written post exit method to override_event_oif of component INM_APPCC_PPM_OBJECTS

code written:

DATA:
lo_event_params TYPE REF TO if_fpm_parameter,
lr_event TYPE REF TO cl_fpm_event,
lo_fpm TYPE REF TO if_fpm.
CASE io_oif->mo_event->mv_event_id.
WHEN 'FPM_START'.
CREATE OBJECT lo_event_params TYPE cl_fpm_parameter.
lo_event_params->set_value(
EXPORTING
iv_key = if_fpm_constants=>gc_event_param-view_id
iv_value = 'OVERVIEW' ).” IS THE MAIN VIEW ID
lo_event_params->set_value(
EXPORTING
iv_key = if_fpm_constants=>gc_event_param-subview_id
iv_value = 'VI_LTF' ).” IS THE SUB VIEW ID
CREATE OBJECT lr_event
EXPORTING
iv_event_id = cl_fpm_event=>gc_event_view_switch
io_event_data = lo_event_params.
lo_fpm = cl_fpm_factory=>get_instance( ).
lo_fpm->raise_event( lr_event ).
End Case.
But still we are not able to make custom long text tab as default.

So can anyone please help me out in the above issue.

Thanks in advance...

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers