Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8545

Re: Portfolio item - hiding tabs

$
0
0

Hi,

 

 

Do you mean the customer tab  beside tabs ... 'Documents and Notes' & 'Miscellaneous'  .

 

 

If yes,  the core what you need to do is at the right place to call the  remove_mainview method.

E.g. using an post-exit at  webdynpro component INM_APPCC_PPM_OBJECTS, method PROCESS_VIEWSERVICES.

 

 

iv_mainview_id  = 'MAINVIEW_7'   (For customer tab).

 

 

 

 

        TRY.

            CALL METHOD io_oif->remove_mainview

              EXPORTING

                iv_variant_id  = lv_variant_id

                iv_mainview_id = lv_view.

          CATCH cx_fpm_floorplan .

        ENDTRY.

 

 

 

In order to determine, for which item type should this method be called. You can use the

 

structure MS_CURRENT_CONTEXT of 

wd_this->mr_session_state, which contains the object of currently process object, e.g. item. So you get the item type.

 

Kind regards,

Zhenbo

 

 

 

 


Viewing all articles
Browse latest Browse all 8545

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>