cancel
Showing results for 
Search instead for 
Did you mean: 

Lock capacity planning views

Former Member
0 Kudos

Hi,

     We are in SAP PPM 6.0.  Is there a way we could lock the capacity planning views based on certain conditions ( item status changes from 'x' to 'y').? We tried the implicit enhancement spot in the method IS_VIEW_READ_ONLY of class /RPM/CL_FIN_CAP_PLANNING_API but it did not work (it did work in PPM 5.0). We have gone through few threads related to this in the forum but they did not help. Any pointers to this is highly appreciated.

thanks.

Accepted Solutions (1)

Accepted Solutions (1)

judith_gabriel
Contributor
0 Kudos

Dear Anantharam,

I think the cap/fin-view should be displayed, but it should not be possible to maintain a value. Is this
correct? In this case the fin/cap-view should be handled as it is "integrated".

You can try to change the parameter "item_process" (I - integrated, M - manual) in table et_fin_views in class /RPM/CL_CONFIGURATION, method GET_FINANCIAL_VIEW_TYPES (GET_CAP_VIEW_TYPES) - when it is called from

/RPM/CL_FIN_CAP_PLANNING_API
GET_FIN_VIEWTYPES

41     CALL METHOD /rpm/cl_configuration=>get_financial_view_types
       EXPORTING
         iv_item_detail_guid = lv_item_detail_guid
         iv_object_type      = is_context-object_type
         iv_language         = iv_language
         iv_item_class       = lv_item_class
         iv_portfolio_type   = iv_portfolio_type
         iv_portfolio_guid = is_context-portfolio_guid
       IMPORTING
         et_fin_views        = et_fin_views.

GET_CAP_VIEWTYPES

    CALL METHOD /rpm/cl_configuration=>get_capacity_view_types

      EXPORTING

        iv_item_detail_guid = lv_item_detail_guid

        iv_object_type      = is_context-object_type

        iv_language         = iv_language

        iv_item_class       = lv_item_class

        iv_portfolio_type   = iv_portfolio_type

        iv_portfolio_guid   = is_context-portfolio_guid

      IMPORTING

        et_cap_views        = et_cap_views.

Best regards,
Judith

Answers (0)