cancel
Showing results for 
Search instead for 
Did you mean: 

Hide Accounting Tab in CProjects

Former Member
0 Kudos

Hi All,

I want to hide the "Accounting" Tab in CProjects, depending on user authorizations.

I tried to realize it with BADI "DPR_DETAIL_TAB_CTRL".

Unfortunately in this BADI I can only hide tabs on detail level e.g.

tabs for tasks, phase etc.

But how can I hide tabs on a higher level like the "Accounting" Tab?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

former_member214272
Contributor
0 Kudos

Hi Hnas,

Have you try this

Cproject ---> Basic settings --> Define Initial View for Cproject.

here you can Restrict the user to view the project as per there role or authorization.

thanks

sunil

Former Member
0 Kudos

Hi sunil,

you are right, from there I can hide almost every tab, except of the "Accounting" tab.

There is not an entry for the Accouting view in Customizing.

former_member201206
Active Contributor
0 Kudos

Hi Hans ,

You can try with the Badi DPR_DETAIL_TAB_CONTROL, it can hide the Tab dynmically.

See the example codes for details:

...

  • Sets a detail tab Private (invisible) or Changeable (visible)

  • Do not use Mandatory or ReadOnly

  • Example: Set Document Tab invisible (Private) for Project

CASE cs_property-association.

WHEN cl_dpr_api_co=>sc_association_documents.

CASE lv_object_type.

WHEN cl_dpr_co=>sc_ot_project.

cs_property-property = cl_dpr_fc_property=>sc_private. "Private: No

Kind regards,

Zhenbo

Answers (0)