Hiding tabs on xRPM
Morning
I am trying to hide certain fields in a tab on the portal in order to segregate functions on the RPM portal.
One ABAP guy wrote a program which only hides the whole tab and therefore does not meet the requirement.
Hi,
You can manage the fields behaviour (diplay or not, read-only or update mode...) in the field control, based on conditions (authorizations or custom conditions, see SAP Note 947936).
Go to: SAP reference IMG -> collaboration projects -> global enhancement to field elements -> set-up field control.
I advise to copy the standard one (0SAP) into a custom FC, and then make the necessary changes.
To hide a complete tab, you can use the Business AD-In: DPR_DETAIL_TAB_CTRL
Go to: SAP reference IMG -> collaboration projects -> structure -> BADI: hide tab pages.
BR
Matthias
Similar Messages
-
Problem hiding Tabs in Tabstrip of My Trips and Expenses WD ABAP iView
Hi,
My requirement is to hide the thet tabs ALL MY Trips,All my Travel REquest,All my travel Plans,Pending expense report from the tabstrip ALl my Expense report in Travel and Expense Application.
I have gone through the thread and the sap note mentioned in
Re: Problem hiding Tabs in Tabstrip of My Trips and Expenses WD ABAP iView
My problem is tabs that has to be deleted /hidden does not present in the Development system, but exist in the QA or the prd system.
So how to implement the note when data is not present in the dev system and only exist in the QA/PRD system.
Pleas eprovide me your valuable inputs.
Thanks in advance.
PoojaImplemneted the note and problem is solved.
-
Hiding Tabs in PCUI application on Runtime
Hi.
I'm looking forward to hide a tab in a PCUI application during Runtime but i'm getting the following bahiviour:
Let's assume i have 20 tabs and i don't want the TAB 15 to be displayed. I've used the method CHECK_ACTIVE_TABSTRIP in TAB 1 in order to delete from the list TAB 15 and "great" -
> that works ! :-D but..... as soon as i switch to TAB 2, TAB 15 is displayed again !!!!! does it mean that i have to redefine such method in all the MAC's and place my code for hiding the tab ?????? isn't there a BADI or kind of ? that doesn't make sence to me.
Thanks.
Armando Rodriguez.This is how it works in PC-UI...
You can implement the logic in one method and call this in all MAC's...
Enjoy....
Raj -
Good Afternoon All,
Currently we are implementing SAP projects 4.5 and we have a requirement as below.
Al Planners and project administrators should able to see the u201CStructureu201D, but u201CResource Manageru201D should not able to see.
Is there any way that we can hide or remove a particular object /Tab for a particular user group, but should available to the planners and administrators, can this be achieve via custom authorisation object with any BADI enhancement, could you please share some information if any one done this before?
Regards
GoliHello Goli,
Yes your requirement can be met. It requires,
1. Custom authorization check
2. Hiding of the tab based on 1.
Custom Auth Check your basis / security person should be able to help you create a Custom Auth object against the planner, project admin and resource manager roles. You can check for authorization using this custom object.
Use a development to hide the tab based on the above solution from Zhenbo. Hiding the structure Tab In cProjects you can hide your cProjects structure tab in 2 ways using the SPRO or using a BADI.
Hope this helps! -
Hello,
I have a project set up where books are shown as tabs in the header (assuming hidden is set to false). Now I'm implementing a scenario that should force the user to do certain things, and as such a set of tabs (all except the one that is currently active) should be hidden if a set of conditions are true.
In short: I want to set the hidden field of books to true/false in runtime.
So far, I thought I would solve it by using a Session Property Set and Visitor Entitlements:
- Created a Session Property Set in the datasync project with a boolean property named forceUpdate
- Added line to JSP code that would set that property via a form bean variable:
*<profile:setProperty propertySet="SessionPropertySet" propertyName="forceUpdate" value="${pageFlow.formBean.forceUpdate}"/>*
- Created a visitor role called force_update in the Portal Administration Console with a role expression condition referring to the forceUpdate property
- Added the force_update role to book in question
However, this is not working. I suspect it might be that the line in my JSP code is flawed. Also, this is rather cumbersome - is there any easier way of accomplishing this? I also tried using BookPresentationContext without any luck (return null).
Thanks,
OlaI solved this using BookBackingContext - something like this:
BookBackingContext parent = BookBackingContext.getBookBackingContext(ScopedServletUtils.getOuterRequest(request)).getParentBookBackingContext();
BookBackingContext book = parent.getBookBackingContextRecursive("book_label");
book.setHidden(true);
It worked. The key here was using the outer request instead of the default (scoped) one as well as retrieving the parent BookBackingContext before looking up the books that I wanted to hide.
I ended up having to do this both in my page flow as well as in my backing file's preRender() method. I had to do this for two reasons:
- The conditions for hiding books are found in my page flow's begin() method, which is executed after my backing file's preRender() method
- Only doing this in my begin() method was not sufficient as I cannot be sure it is called when the book/page is loaded (e.g. refresh), in which case the books are all visible again
Can I get away with calling my hide/show-method() in only one place here, either in my page flow or in my backing file?
Cheers,
Ola -
Problems with merging/hiding tabs with multigroup in PC-UI view
Hi,
I am customizing the Products PCUI Application using a ztest view. When i copy selected events within a tab page group to another view ztest, i am not able to see the selected tab for the customized view. One of the events within the tab page group that i am copying to has a Multi Group.
Here's the scenario under the Distribution Chains Tab in Products
The Tab page group has the following events
View Sequence Event Description Multigroup
1 PRD_SALES Sales Data
2 PRD_STEXT Sales Texts
7 CST_100000000000001 Sales and Distribution CST_100000000000001_MULT
Per my requirement, I need to hide only the Sales Text tab in the customized view ZTEST. To satify the requirement, I copied only the events PRD_SALES and CST_100000000000001 into ZTEST view. After the modifications, i see only the Sales Data tab in ZTEST though i have copied the other event CST_100000000000001 also in ZTEST.
I also tried removing the multi group CST_100000000000001_MULT which was under the event CST_100000000000001 while copying. In this case, i am able to see the tab Sales and Distribution , but when i click on that tab nothing happens.
We are having similar issues with applications that are involved with multi group.
How do i resolve such issues involving multi groups? When i checked the multigroup CST_100000000000001_MULT , it had the "Event No Reuse" box checked meaning Event Not Reusable in Other Multigroups. Could it be the reason?
Any insight or alternative for this issue is greatly appreciated.
Thanks
SwamiHi Swami,
Were u able to solve this issue.???
I'm facing a similar kind of issue.
Regards,
Shiny -
Hiding tabs in Solution Directory?
Has anyone been able to hide tabs in the Solution Directory? Tab display is straightforward for projects, but I also need to control tab display in the Solution Directory.
Thanks!
LoriHi,
Although the solar transactions and the solution directory looks very similar, they're completely different transactions and are completely differently coded. As far as i know there is no way to manage the tabs display as you can manage in the solar_project_admin transaction for the projects.
Kind regards,
Fabricius -
Hi,
This is in reference to note 1405902. In the note it is explained how to hide tabs based on the user roles (portal roles). As we are using NBC (for HTML) I would like to understand how to hide tabs based on the roles. The only roles I see relevant to rpm are sap_xrpm_administrator and sap_xrpm_user.
regards,
swamiHi Swami,
the menues for NWBC (both NWBC for Desktop and NWBC for HTML) are defined in the PFCG role SAP_BPR_PPM. Open transaction PFCG, open role SAP_BPR_PPM, then go to to tab "Menu". There, you can adapt the menu structure.
Kind regards,
Florian
PS: Please don't forget to award points -
I have a Tabbed form. Currently people choose which tab they want and then it's populated with the particular data from main form. I would like to hide the tabs and make push buttons to call the particular Tab and then hide it again when they push the submit button and go back to the main form. I've been trying several methods, none seem to be working for me. Any suggestions??
Thanks
stevenHi sushmita,
Thanks for ur reply.
The solution which you have given i have already tried but not working.
my requirement is like MGR or HR can initiate the process.
if only MGR intiates the process the solution which u have given will work.
but here i have a diff scenario.i have created separate process for HR also but im not able
to see that process on the process list.
so i have to use only one process and resolve this.whatever im writing validation is working
only when MGR initiates the process but fails when HR initiates.
Hope u got my point.any suggestions will be helpful.
Thanks,
santosh -
Renaming & hiding tab page in project builder.
How can i rename the cust. enhancement tab page to Artist tab page in project builder cj20n. and how can i hide the tab long text in project builder?
hi all my prob got resolved through screen painter
-
Completely hiding tab and content in TabNavigator
Hi All,
Does anyone know how to hide a tab in TabNavigator? I want the tab in the tab bar to dissappear so that you cannot see, click, nor view the tab or associated page.
I have tried visibility="false", getting rid of the dataProvider cell that corresponds with the tab (this only affects data obviously and not the view), and extending the tabNavigator component (but not successful).
My setup is:
<vo:TabNavigator id="mainTabNavigator4Components" selectedIndex="{model.selectedComponentIndex}">
<mx:Repeater id="rp" dataProvider="{model.components}">
<mx:Canvas label="{rp.currentItem.team}">
Thanks for any input everyone.
Regards,
JosephThe basic idea is to loop through the Tab Navigator's children, use the getTabAt() method to return the Tab as a button, then show/hide the button using the visible property:
private function disableSomeTabs():void{
//Called by a tab navigator's creation complete event.
// This Tab Navigator's id is "Mytn".
//Hide a Tab with a certain name ('My Hidden Tab').
var i:int;
for (i = 0; i < Mytn.numChildren; i++){
var dispObj:Button = Mytn.getTabAt(i);
if (dispObj.label == 'My Hidden Tab'){
dispObj.visible = false; -
Is it possible to hide tabs of a transaction using authorization concept...
Or do we need to make ABAP change for the tcode.
Edited by: Hussain Sehorewala on Mar 19, 2008 5:05 PMI agree with you that one needs to manage the complexity of a system (including a specific installation of a system and a security concept for it). There is no doubt about that for me.
SAP is a large and complex eco-system, most (if not all) of which can be influenced by security (not only authorizations), so if anybody tells you that it is easy, then they will likely also tell you tales of big fish which got away... and other marketing fables...
Here is also a thread with some comments which might interest you: Z and Y transactions
And here is a Blog which might interest you: /people/jim.spath/blog/2008/02/29/beware-of-geeks-baring-grifts
And for more specific examples, here is "the big pond": https://forums.sdn.sap.com/search.jspa?threadID=&q=authorizationfortabs&objID=&dateRange=all&numResults=15&rankBy=10001
Kind regards and good luck with the fishing
Julius -
How do i hide url WITHOUT hiding tabs in fullscreen mode (F11)?
Title says it all. I want a fullscreen mode that works exactly like it did in Firefox 4.0.
There are some hacky things you can do with the toolbar area in full screen mode. I worked on one recently to keep the Bookmarks Toolbar displayed. Hopefully someone can work out the rules for the tab bar.
That other thread: [https://support.mozilla.org/en-US/questions/956050 How do I show the bookmarks toolbar while in fullscreen on Firefox 20? In older versions you could edit the userChrome.css file. Does that still exist?] -
I want to hide Sales Team, Approvals Tab in Oracle quote screen. Tried disabling from Menu but it does not work. Any ideas ?
Hi,
1. Create a context attribute of type Visibility found in (com.sap.webdynpro.uielementdefinitions).
2. Bind this attribute to the visibility property of the tabs which u want to hide.
3. Write the following code to make the UI element visible / hidden / none.
wdContext().currentContextElement().set<VisibilityAttribute>(WDVisibility.NONE / BLANK / VISIBLE);
Regards,
Poojith MV -
Hiding tabbed panes-should be enabled only on certain event
Hi,
I desperately need help. I'm still new to swings and thus need help.I'm writing an swing application where i have tabbed panes just like a tree i.e
main1,main2
under main1 have have another set of tabbed panes. Now i have to enable only the first pane and inside that pane there is a button which should enable the other pane and so forth. I just cannot figure how i should go about doing it. Any help is appreciated.
ashahI tried doing that the new problem that i came across is that -
here is the sample of the code. This is on the similar lines like i have written the code
import javax.swing.*;
import javax.swing.event.*;
import java.awt.*;
import java.awt.event.*;
public class tabbedPaneDemo extends JPanel
JTabbedPane tabbedPane = new JTabbedPane();
JPanel panel1 = new JPanel();
JPanel mainPanel1 = new JPanel();
public tabbedPaneDemo()
Component panel1 = makePanel1();
tabbedPane.addTab("Panel1", panel1);
tabbedPane.setSelectedIndex(0);
setLayout(new GridLayout(1, 1));
add(tabbedPane);
Component makePanel1()
JButton next = new JButton("Next");
buttonListener listener = new buttonListener();
next.addActionListener(listener);
mainPanel1.add(next);
return mainPanel1;
class buttonListener implements ActionListener
public void actionPerformed(ActionEvent e)
if(e.getSource() == "Next")
tabbedPane.removeTabAt(0);
tabbedPane.addTab("Panel2",null,makePanel2());
tabbedPane.setSelectedIndex(0);
JButton next1 = new JButton("Next1");
buttonListener listener = new buttonListener();
next1.addActionListener(listener);
panel1.add(next1);
if(e.getSource() == "Next1")
tabbedPane.setEnabledAt(0,false);
tabbedPane.addTab("Panel3",null,makePanel3());
tabbedPane.setSelectedIndex(1);
Component makePanel2()
return panel1;
Component makePanel3()
JPanel mainPanel = new JPanel();
return mainPanel;
public static void main(String args[])
tabbedPaneDemo demo = new tabbedPaneDemo();
JPanel p = new JPanel(new BorderLayout());
p.add(demo,BorderLayout.NORTH);
JFrame frame1 = new JFrame("TabbedPaneDemo");
frame1.addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent e)
System.exit(0);
frame1.getContentPane().add(p, BorderLayout.CENTER);
frame1.setSize(400, 125);
frame1.setVisible(true);
I know there is a very simple mistake that i'm making but i can't figure where.
Maybe you are looking for
-
Installing Windows 7 with boot camp as whole partition on 2nd internal hard drive
Hi all, I am unsure what is the recent changes with Apple boot camp. But when I used boot camp utilitiy on my Mac Pro (Mid 2010) to install windows 7 64 bits. It would not install and created a whole lot of problems. After I initialise the process to
-
[PX6-300D] Access permissions problem with shares
Hello, Let me explain the problems. When i try to connect one share to PC by mapping network device everything is normal - we have access to the storage and so on, but when i try to simply type the \\address\share in explorer i'm receiving "\\address
-
Show the Static Filter in the print page header
Our customer need the static filter on the head of each printing page. Now i can display the static filter once on the page using: <object> <param name="OWNER" value="SAP_BW"/> <param name="CMD" value="GET_ITEM"/> <param na
-
Hello, I have to add a trusted certificate authority to XP machines to allow use of mail via OWA. There is a domain, but there are too remote machines which are not in the domain (and it's on them I'm experiencing the problem). Domain sysdmin sent me
-
Wireless re-design recommendation
Hi, We have a wireless network setup and would like to expand it. Currently we have wireless in the HQ only - 4402 controllers (2) and 1142 APs. We have over 90 branches and would like to provide wireless to them as well. Some offices are large (20-3