cancel
Showing results for 
Search instead for 
Did you mean: 

how to make a default tab in initiative screen of sap ppm

Former Member
0 Kudos

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:

  1. DATA:
  2. lo_event_params TYPE REF TO if_fpm_parameter,
  3. lr_event TYPE REF TO cl_fpm_event,
  4. lo_fpm TYPE REF TO if_fpm.
  5. CASE io_oif->mo_event->mv_event_id.
  6. WHEN 'FPM_START'.
  7. CREATE OBJECT lo_event_params TYPE cl_fpm_parameter.
  8. lo_event_params->set_value(
  9. EXPORTING
  10. iv_key = if_fpm_constants=>gc_event_param-view_id
  11. iv_value = 'OVERVIEW' ).” IS THE MAIN VIEW ID
  12. lo_event_params->set_value(
  13. EXPORTING
  14. iv_key = if_fpm_constants=>gc_event_param-subview_id
  15. iv_value = 'VI_LTF' ).” IS THE SUB VIEW ID
  16. CREATE OBJECT lr_event
  17. EXPORTING
  18. iv_event_id = cl_fpm_event=>gc_event_view_switch
  19. io_event_data = lo_event_params.
  20. lo_fpm = cl_fpm_factory=>get_instance( ).
  21. lo_fpm->raise_event( lr_event ).
  22. 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...

Accepted Solutions (0)

Answers (1)

Answers (1)

francesco_pezzoli
Active Participant
0 Kudos

Hello Anand,

I think you should be able to achieve this by changing the sequence of the tabs in the relevant Component Configuration.

You can have a look at this old SCN thread for some information concerning how to use the configuration to change tab sequence:

https://archive.sap.com/discussions/thread/3681939

With regard to the initiative screen, the standard configuration would be Component Configuration RPM_INITIATIVE_DETAILS_OIF with Variant IPO_EDIT.

Best regards
Francesco