Hide the button

Helllo all,
How can i hide the EXPORT button in the DocumentViewerRN? This export button is populated when the RUN button is clicked in that region. So i need to make this EXPORT button visible on the button press of the RUN button.
Note: This DocumentViewerRN is a seeded region i'm importing in my page to display my pdf output.
Thanks a lot for help in advance.
Kumar

Hi Gaurav,
I did like you specified. Below is the code i have implemented extending the controller class of the documentviewerRN but still its not hiding the EXPORT button.
public class xxxDocumentViewerCO extends oracle.apps.xdo.oa.common.webui.DocumentViewerCO
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OASubmitButtonBean exportbutton = (OASubmitButtonBean)webBean.findIndexedChildRecursive("Export");
exportbutton.setRendered(false);
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
if(pageContext.getParameter("Go")!=null)
pageContext.forwardImmediatelyToCurrentPage(null,true,null);
Please advice
Edited by: user539616 on Mar 18, 2011 9:26 AM

Similar Messages

  • How can hide the buttons based on condition

    Dear all
    I have to hide the button based on condition
    When I open the third page directly I want to hide that button
    When I open the third page via first and second page I need to visible that button
    I pass spell parameter from first to second and second to third
    In third page I get the value using pagecontext
    I write the code in third page co
    If I go directly third page it is null
    If I go to third page via first the value is Y
    If(“Y”.equals(pmode))
    OASubmitButtonBean btn =( OASubmitButtonBean )webBean.findChildRecursive(“<id>”);
    If(!btn=null)
    btn.setrendered(true);
    else
    btn.setrendered(false);
    but the button is not hiding
    Regards
    Sreekanth

    Hi Srikanth,
    I have modified ur method:
    OASubmitButtonBean btn =( OASubmitButtonBean )webBean.findChildRecursive(“<id>”);
    If(btn !=null)
         If(“Y”.equals(pmode))
         btn.setrendered(true);
         else
              btn.setrendered(false);
    Thanks,
    'Kumar
    Edited by: Kumar Kovela on Aug 3, 2009 5:53 AM

  • How to hide the buttons based on some conditions

    Dear all
    Good morning
    i have three pages
    when ever user directly go to third page i want to hide the button "backtofirstpage"//button name
    when user go to third page via first page i mean first page i want to visible the button "backtofirstpage"/button name
    what is the procedure
    at least hiding is not posible at least disable/enable
    Regards
    Sreekanth

    Hi,
    In the if condtion read the value of parameter [[You need to send it from first page]] and get it in process Request Method of controller of third Page and based upon it set the render property of that button & in the else condition set the render property to false.
    You need to create a PVO & also create a Boolean attribute.
    Set the render property in Property window like ${oa.xxPVO1.setRender} -- ${oa.viewInstanceName.viewAttributeName}.
    Read more in dev guide & search through the forums.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How can we disable/Hide the buttons at items tab in header level Gen tab?

    Hi,
    How can i disable/Hide the buttons(Delete,insert...) in item details of general tab of Order Header?
    I am not able to do it with screen varients.
    Please let me know your views.
    Points will be given.
    Thanks,
    Adi.

    Hi,
    How can i disable/Hide the buttons(Delete,insert...) in item details of general tab of Order Header?
    I am not able to do it with screen varients.
    Please let me know your views.
    Points will be given.
    Thanks,
    Adi.

  • Hide the Button Next / Previous in Main Steps on GAF.

    Hello Friends,
    I have to develop one application using GAF.
    In this applicaion there is no INITIAL Screen.
    application directly start with Main Step but Application doesn't have Button Next and Previous like standard GAF application.?
    How to Hide the Button Next / Previous and change the name of Button?

    Hello Julia,
    You are absolutely correct.
    But the thing is, first screen of my application only have the button 'Start' and also roadmap is displayed.
    But in standard GAF application,
    if i configured my window as Inital Screen then button Start will come, but raod map will not come.
    if i configured my window as Main Step then Road Map will come with Button 'Previous; and 'Next'. but Button Start will not come.
    either I can add the Button 'Start' in Main Step or change the name of Button 'Next' to 'Start'.
    But button 'Previous' nothing make sense, so i have to hide this button.
    my 'Start' button will act as Button 'Next'.
    but how can i hide the button 'Previous' and change the name of button 'Next'.
    could you please suggest me shall i develop this application using GAF or simply use the Roadmap UI element in my web dynpro abap application?
    Thanks
    Edited by: Chandraprakash Sulakhe on Apr 6, 2009 11:34 AM
    Edited by: Chandraprakash Sulakhe on Apr 6, 2009 11:42 AM

  • How to hide the button flyout which is present in a listview?

    Hi,
    I am developing a windows store app.
    In my app I have created a listview , this listview contains some buttons also , for these buttons I have added flyouts , These flyouts contains close button .
    My problem is when I click on close button I want to hide the flyout .
    How to do this ?
    any help..
    thanks.....
    Suresh.M

    Flyout.Hide is what you want to call.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • How to hide the button in ESS service PZ01?

    Hi ESS experts,
    In the 'Who's Who' service, when we got a person after search, there is a button 'Org Structure Chart' for the person. Since we didn't setting up the chart, it won't show anything. Do you know where can I hide this button? I haven't found it in the IMG 'Who's Who' configuration.
    Thanks a lot.
    Best regards,
    Johnson

    Hello Om,
    Thanks for the reply. Actually we don't ant to give the personalise option to the users therefore don't want to use the CTRLSHIFTRight Mouse Click for hiding buttons..
    if there is some personalize option valid for the entire portal ,then we can go for it.
    Looking forward to your reply.

  • How to hide the "EXIT" button on the ESS Personal inf. iViews

    Hello,
        We are using SAP ECC 6.0 + SAP EP 7.0 + ESS 1.0 (latest Releases).
        In the ESS iViews (Java WD) for Personal information (Adresse, Bank, Family, etc. there is the Button "Exit"..
      Does any have any Idea where and how to hide this "Exit" Button in the iView/Java-WD?
    Many Thanks,
    Nazih

    Hi Chris,
      thanks for your reply.
      If you mean to hide the button using the iView/WD Personalisation by rightclick on the iView in PCD and then Review, well yes i know this and i have tried this already before and we were able to hide some not required input fields in the Webdynpro, but we were not able to find and to hide the "EXIT" Button using the personalisation..!!?? you know why?
    Why to hide the Exit button, i will tell you why, in the iView for maintainig the ESS Personal Information -> e.g. Adresse --> Edit Adresse View (Roadmap view No. 2) --> when User click on the Exit Button --> This will open new browser Window with ESS... ---> This second Browser Window (Pop up) would confuse the User, since he already have an opened window, so the Customer mean why open new window, since the user can simply click the Button Back and so his data are also saved..
    How can we manage to control the behaviour of the Button, so the iView is closed safety without that new Pop-up windows are opened...
    Many Thanks,
    Nazih

  • Can we hide the 'Create Contract' button in SOCO ?

    Hi SRM Gurus,
    I'm currently working with SRM_SERVER 500(SAPKIBKS09) release, and I want to know if it's possible to easly hide the "Create Contract" button in Sourcing Cockpit (SOCO) work area.
    Thx - Rafi.

    Hi,
      Just right click on the ITS screen ,say view source and locate the corresponding ITS template and ITS service for your SOCO screen.
      Then go in SE80 and in the relevant template ,locate the code for that "CREATE" button.There you can modify the code to hide the button.
    HTH.
    BR,
    Disha.
    Pls reward points for helpful answers.

  • Hide the characteristics grouping buttons depending on the sales order type

    Hi Gurus,
    I am trying to find a way to hide a characteristics grouping button (CU50) whenever a certain sales order type is issued.
    A condition was created that states that a certain characteristic will be invisible for the user depending on the sales order type chosen for that case. The characteristic is located inside a char. grouping button.
    I would like to know id there is a way to hide the button while the characteristic is hidden as well, just to avoid showing a button which is empty.
    If It is of any help, here is the condition created to turn the char invisible:
    $SELF.INVISIBLE = 'N01017_E'.
    *if not $self.N01017_E specified
    Thanks in advance.
    Kind regards.

    Hi!
    Sounds like you need a line-triggered output (with a message, which displays all lines of the order).
    Do you have problems to create a new output type?
    Regards,
    Christian

  • How to disable and hide the menu items of 'copy From' button of Goods Recei

    hi expert,
    I am new in SAP B1. so please help me.
    Q:How to disable and hide the menu items of 'copy From' button of Goods Receipt PO form?
    Regards
    sanoj

    Hi Sanoj,
    Try This.....
    If pVal.FormType = "143" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_ACTIVATE And pVal.BeforeAction = False Then
                oform = sbo_application.Forms.GetFormByTypeAndCount(pVal.FormType, "1")
                Dim oitem As SAPbouiCOM.Item
                oitem = oform.Items.Item("10000330")
                'To Disable the button
                oitem.Enabled = False
                'To hide the button
                'oitem.Visible = False
            End If
    Thanks
    Shafi
    Edited by: shafi_sunshine on Sep 15, 2011 7:35 AM

  • Hide tthe buttons in workflow inboox

    Hi All,
    I have developed a custom workflow.
    I need to hide the button  CANCEL AND KEEP WORK ITEM INBOX  in workitem(USER DECISSION).
    Could any one help me on this.
    Thank you,
    Harsha

    i don't know when i posted this question.
    Please remind me.
    Thanks
    Harsha P

  • Hide Setting button in CRM 2013

    Hi, 
    I have a requirement where the user should not be able to change his time zone. 
    Is there any way where i can hide the button(snapshot below) from users
    using security role or remove it completely.
    If its possible, which time zone it defaults to?
    Any help on this is much appreciated.
    Kruthi Hegde

    Hi,
        You can reduce the rights for all the users to have read on "User Settings" entity under Business Management tab in security role. but do not give them write and create rights. It is not a good idea to hide the button as
    users should always be able to see these settings. Users take the organisation timezone which is set up at the time of setting up the organisation.
    Hope this helps.
    Minal Dahiya
    blog : http://minaldahiya.blogspot.com.au/
    If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

  • How to hide some buttons like CREATE PURCHASE ORDER, COPY, EDIT from POWL?

    In SRM 7 ECS we need to hide some buttons like CREATE PURCHASE ORDER, COPY, EDIT from POWL"s. We can do some manipulation via security but we need to make a few buttons invisible without security. Appreciate any advice. Thanks.

    Hi Ashwanin
    To make read only
    Below are the steps to Hide the buttons in POWL table
    1. if you want to Gray out the Buttons
        IMG > SRM SERVER> Cross Application Basic Settings --> Extensions and Field Control. There you will find a node to control   Actions. based on the object type choose your option and make it as read only
    To Make invisible
    1.If you want to  make invisible  the button .
    IMG > SRM SERVER> Cross Application Basic Settings --> Powl and Advance Search - > Adjust powl layout ,search criteria and push button (OR) t-code :   /SAPSRM/POWL_CUST
    2.choose the POWL type for the POWl table
    3.click on Action node , you will find all the acction assigned for the POWL table ,delete the entry which you want to make invsible and save it
    4 .Now run the report POWL_D01 and provide powl type in the selection criteria and deleate the catche quries
    Regards
    chinnaiya P
    Edited by: chinnaiya pandiyan on Jun 27, 2011 3:12 PM

  • Disable/Hide the Refresh Button in Child report

    Hi All,
    Our Environment is BOXI-R2;
    We have a Master Report calling a Child Report (based on Open Document);
    Our requirement is to hide the" Refresh Button "in the child report Layout
    we tried using "hideRefresh=true"
    but the child report is not responding to the above clause
    Help us in this,
    if this is a BUG in XI R2, let us know the Service Pack details
    Thanks

    Joe , Thanks for your Inputs..
    our master report has the aggregated Measure , when the user clicks on this , it has to open a child report (with paramters from master report).
    We are aware of customizing "viewer.js " file (under BO install home) with "refreshDocIcon = null".
    But is this the only solution to hide the refresh button in the child report ?
    SInce its already a PRODUCTION environment, our customer won't allow to change the standard settings of the product.
    Thanks

Maybe you are looking for

  • Sign on .... again

    Why all of the sudden, am I having to sign on every time I start Itunes? There should be a way to store the password? Using windows xp.

  • List of customer report based on account group - T.Code

    Dear Guru's            I need list of customer report based on account group in standard SAP if it there please update th T.Code as earl as possible. regards, bhanu

  • Photoshop Elements 8 quits

    On my MacPro OSX 10.7.4 Photoshop Elements 8 quits when attempting to use "help". Why?

  • Lion OS X keeps crashing and restarting my computer

    I have a 15" Mac Book Pro with 4 GB ram and a 2.66 GHz processor. Occasionally when i'm not plugged into a power source, my mac shuts down in the middle of work, whether it's light browsing or if I have a lot of programs running at once, and when I s

  • Windows 7, one computer, one library, multiple users

    I installed iTunes 10.0.1 (64 bit) on a new computer running Windows 7. 1. I copied my old iTunes library from an old computer. 2. In iTunes, I changed my iTunes media folder location to C:\users\public\music\itunes\itunes media 3. I selected th copi