How to hide exit button on overview view of adress iview.
Hello Gurus,
Can anybody suggest me how to hide the exit button on overview page of address iview?
Thanks,
Sha
Hi
1) If you want the exit button to be hided u can use the following code in doModify as we know this doModify will be called each time the action is performed so when we use this code exit button will be hided all the time.
Button btn_ui= (button) view.getElement("Button_ID");
btn_ui.setVisible(WDVisibility.NONE);
2) if you want to hide only on specific time then better to use the value attribute of type com.sap.ide.webdynpro.uielementdefinitions.Visibility then bind this to exit button's property--> visibility and in your code wherever required set the visibility.
Ex: value attribute name : va_Exit_Visible
type : com.sap.ide.webdynpro.uielementdefinitions.Visibility
wdContext.currentContextElement().setVa_Exit_Visible(WDVisibility.NONE);
Regards
Prasad.
Similar Messages
-
How to capture the Subtype value in Overview view of Address iview
Hello Experts,
Below is wdDomodify function of Overview of Address iview.
TO create bizcards create overview function of FcPersInfo is called.
Here I want to send fieldinfo1 as the parameter to that fnction if the subtype is permanent office. can any one please give me a hint how to proceed on this.
//@@end
public static void wdDoModifyView(IPrivateBizCardsView wdThis, IPrivateBizCardsView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
//@@begin wdDoModifyView
BizcardFieldInfo[] fieldInfo;
BizcardFieldInfo[] fieldInfo1;
Date defaultBegda = wdContext.currentContextElement().getDefault_Begda();
String bizcardField1 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField1");
String bizcardField2 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField2");
String bizcardField3 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField3");
String BizcardField3 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField3"); // House #
String BizcardField4 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField4"); // City
String BizcardField5 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField5"); // State
String BizcardField6 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText("BizcardField6"); // Zip Code
String BizcardField7 = wdThis.wdGetAPI().getComponent().getTextAccessor().getText
fieldInfo = new BizcardFieldInfo[] { new BizcardFieldInfo(bizcardField1, "Stras"),
new BizcardFieldInfo(bizcardField2, "Ort01"),
new BizcardFieldInfo(bizcardField3, "Telnr"),
fieldInfo1 = new BizcardFieldInfo[] {
new BizcardFieldInfo(BizcardField3, "Stras"), // House #
new BizcardFieldInfo(BizcardField4, "Ort01"), // City
new BizcardFieldInfo(BizcardField5, "State"), // State
new BizcardFieldInfo(BizcardField6, "Pstlz"), // Zip Code
new BizcardFieldInfo(BizcardField7, "Land1") };
wdThis.wdGetFcPersInfoInterface().CreateOverview(
wdThis.wdGetContext().nodeInfotypeList(),
view,
fieldInfo, "Anssa");
Thanks,
BoilerHello Bolier !!
Were you able to do the same ? " capture the Subtype value in Overview view of Address iview"
Since I am in similar soup , I would like your help on that matter .If this can be done we can identify and control the delete button for the subtype (2 & 1)
Please suggest !! -
How to hide "Resfresh" button in top yellow bar of guided procedures?
Hi Folks
I would like to remove the "Refresh" button in the top yellow bar of an guided procedures workitem. You get to this yellow bar when you click on an uwl workitem which is associated with guided procedures view. Does anybody know how to hide this button?
Thanks a lot for helping!!
Kind regards
BettinaDear Bettina,
this will be a feature of NetWeaver CE 7.2.
Until then it simply is not possible.
There is one workaround, you can use the SingleTask view of a Process Instance, which however will show ONLY the action itself, without the Process Title, or the Ctx Panel or the Phase Navigator.
If this works for you, I can guide you how to achieve it.
Regards,
George. -
How can I exit from full-screen View?
On the View menu, I clicked "Full screen View", but then I couldn't find any way back to normal view. I had to Force-Quit Firefox to escape.
How do you exit from Full Screen View?
(I tried Esc, Ctrl-C, and many other key combinations)
Thanks, PeterRTry F11.
-
How to hide ribbon from all item view for particular user group
hi friends
how to hide ribbon from all item view of particular list for specific user group.
using OOB functionality or javascript.Hello,
Use this codeplex tool to hide ribbon to user group:
http://spribbonvisibility.codeplex.com/
If you don't want to use above tool then you have to add SPSecuritytrimming in "Rajiv Kumar" code for filtering based on user group permission.
http://www.topsharepoint.com/hide-the-ribbon-from-anonymous-users
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
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,
NazihHi 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 -
How to hide gui buttons in selection screen
In Selection screen how to hide buttons like back, exit,cancel buttons.
can any one help.Hi,
Create a new GUI Status for your program.. put whatever button you require for it..
In the AT SELECTION-SCREEN OUTPUT event..
SET pf-status xxx.
Regards,
Anand -
How to hide refresh button in crviewer?
Hi,
I want to hide refresh button when view the crystal report in webi, but don't know how to do that
Pls give me some advice,thanks~Hi Julian,
I tried, but the fresh button is still there. Just when click this button,it says you have no right to refresh the report.
i guess if we want to hide the refresh button,we may edit the viewer.js in Crystal reports web application folder,but not sure and don't know how to do that, pls help me~ -
How to hide 'layout button' on ALV toolbar
Hi,
I have an ALV and it has standard toolbar, now i want to hide 'Layout button' from the toolbar based on specific condition e.g when flag = 1.
How to do that.
Thanks,If you are using the REUSE function, you can use the "EXCLUDING" parameter, and pass the FCODE for "Change Layout" to this table. This will remove the icon from the toolbar. Here is an example.
REPORT rich_0001 .
* Global ALV Data Declarations
TYPE-POOLS: slis.
* Internal Tables
DATA: BEGIN OF ialv OCCURS 0,
test1(10) TYPE c,
test2(10) TYPE c,
END OF ialv.
DATA: xfc TYPE slis_fieldcat_alv.
DATA: ifc TYPE slis_t_fieldcat_alv.
DATA: iexcluding TYPE slis_t_extab.
DATA: xexcluding LIKE LINE OF iexcluding.
PARAMETERS: p_hide TYPE c DEFAULT 'X'.
START-OF-SELECTION.
REFRESH iexcluding.
* If the user wants to hide the change layout icon, then add to IEXCUDING
IF p_hide = 'X'.
xexcluding-fcode = '&OL0'.
APPEND xexcluding TO iexcluding.
ENDIF.
REFRESH ifc.
xfc-reptext_ddic = 'Test1'.
xfc-fieldname = 'TEST1'.
xfc-outputlen = '10'.
APPEND xfc TO ifc.
xfc-reptext_ddic = 'Test2'.
xfc-fieldname = 'TEST2'.
xfc-outputlen = '10'.
APPEND xfc TO ifc.
* Call ABAP List Viewer (ALV)
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
it_excluding = iexcluding
it_fieldcat = ifc
TABLES
t_outtab = ialv.
Regards,
Rich Heilman -
How to hide the field from the view in the webdynpro application?
Hi Gurus,
I got a requirement where in which ,default layout has the field name Time.......To......... which is (2 input box ) and one lable assigned to the container.........
Now my requirement is to hide this field from the layout for all cases of leave......(all types of leave)....
I got a few inputs from forum that we can achieve this by implementing the following steps..........
Create In context => Value attribute => Say Visibility
Go to its properties
Select com.sap.ide.webdynpro.uielementdefinitions.Visibility
In View Layout
Select UI Element Set Visible property to this context variable Visibility.
In wdDoModifyView() You can set this property to false
wdContext.currentContextElement().setVisibility(false);
Can you people tell me where to create the value attribute........
In the view context or in the component context...........
and field that am talking about is assign to the container you want me to assign this context variable property to all ......Like to input box ,label and the container..........
Please calrify this ASAP...........
Thanks in Advance,
DharaniHi Manoj......
Hi Murutuza,
As per your guidelines I have created the value attribute in View context (which has the field..... which needs to be hide)inside the value node say FieldVisibility.......and attribute name OldTimeDuration......and I set this value with uidefeneitions Visibility .......
and I bind this vaule with the field property visible(Time.......To..........)which I need to hide...........
Now in the view implementation tab ..........I have coded in the doinit method(since my requirement to hide the field from the layout in all cases).........
wdContext.currentFieldVisibilityElement().setOldTimeDuration(WDVisibility.NONE);
But if I deploy the application and see still am getting the same field dispalying in the screen.........
I even tried putting this code in wdmodifyview method.........same results........
Kindly tell me how to hide the field permenantly from the screen............(without any conditions.)
Thanks in Advance,
Dharani -
How to Hide advance button in input list of values Popup
I am using input List Of Values component to select value from search Pop up, in that popup i need only basic search only , i am unable to hide advance button... plase tell me how to hide this advance option
I haven't tried this, but check
How to remove basic/advanced button in inputListOfValues search dialog
This does not have complete solution, but might give you some lead. -
How to hide default buttons on WD selection screen
Hi Experts,
Is there a way to hide default buttons ( Cancel, Check, Reset, Copy ) on web dynpro selection screen ??
Please let me know how can I achieve this..
Thanks in advance !
AnandBy selection screen do you mean the select-options reusable component? If so, then there is an API of the component that you can call to disable these fields. Use the SET_GLOBAL_OPTIONS method of the select-options API to acomplish this:
data: l_ref_cmp_usage type ref to if_wd_component_usage.
l_ref_cmp_usage = wd_this->wd_cpuse_select_options( ).
if l_ref_cmp_usage->has_active_component( ) is initial.
l_ref_cmp_usage->create_component( ).
endif.
wd_this->lv_wd_select_options =
wd_this->wd_cpifc_select_options( ).
* init the select screen
wd_this->lv_sel_handler =
wd_this->lv_wd_select_options->init_selection_screen( ).
wd_this->lv_sel_handler->set_global_options(
EXPORTING
* i_display_btn_cancel = ABAP_TRUE " Displays "Cancel" Button
* i_display_btn_check = ABAP_TRUE " Displays "Check" Button
* i_display_btn_reset = ABAP_TRUE " Displays "Reset" Button
i_display_btn_execute = abap_false " Displays "Apply" Button -
How to hide reset button in af-query panel in ADF
Hello All,
i am using Jdeveloper version- 11.1.2.0.38.60.17 ,i am facing problem with hiding reset button in "af-Query panel".
kindly suggest me how to hide it. it's urgent.
Thanks & Regards
AbhijeetPS
Edited by: 967068 on Oct 23, 2012 12:39 PMHello All
I have solved this problem.
Go to Query panel properties inspector and set Display mode = simple
and drag an af- command button outside of the query panel.
<af:commandButton text="Search" id="cb6" actionListener="#{bindings.Execute.execute}"/>
Thanks
AbhijeetPS
Edited by: AbhijeetPS on Oct 23, 2012 6:38 PM -
How to hide 'Search' button from Search GUIBB?
Hi All,
I know we can configure search GUIBB to hide 'Search' button and 'Clear' button. But I have to dynamically control this property. Is there any solution to implement it?
Thanks,As always, you are such a reliable source of help! :-)
That robots.txt you mentioned...do what with that? I mean, how does that tell it "dont index the images"? For that matter, there are tons of pages on the server I don't want being indexed yet either because they are half baked for later development.
Thanks!
Create the file, and upload it to the root directory. It's as simple as that. But you'll have to read the details on the google hits to see the exact syntax of the exclusions.
Now - here's why this is happening....
Somewhere, google has found a link to this URL -
http://bluehippotravel.com/photos/destinations/TH/
The bluehippotravel host has NOT disabled directory browsing. When you browse to that URL, instead of getting a FORBIDDEN message like you should, you get a page listing the contents of that directory. Google is indexing that page. Ask your host to turn off directory browsing for that folder. -
How to hide a button...
hi,
i am using follwing code for creating a button in a jsp page
<html:submit property="action"><bean:message key = "cra.save"/></html:submit> ...Now i have two button & i want to disable /hide another button
untill the first button is clicked. when the first button is clicked i want afterthat second button should enable.
i dont able to understand how to do that in jdeveloper..can anyone please suggest me anything...its very much urgent..Have a boolean flag in the bean.. and refer it in the disabled section of the commandButton2
<af:commandButton id="cb1" partialSubmit="true" actionListener="#{Bean.action}">
<af:commandButton id="cb2" disabled="#{Bean.value}" >
in the bean have the code as
private boolean value; //have getter and setter
public void action(ActionEvent actionEvent){
setValue(false); // call setter of value. and set false
Maybe you are looking for
-
Huge issue with battery and overheating in iOS 6.1.1 iPhone 4S and ipad new iOS 6.1 what I can do , I am very sorry for update from 5.1.1 it was the best My wife have iPhone 4 and ipad new is not updated it working good and my devices after update wo
-
Use message server as load balancing instead of web dispacher for XI in HA
Hi all! We are currently upgrading a cluster XI installation from 3.0 to 7.0. The idea is: Now: 1 node (central instance) 1 node (database) Future: 1 node (central instance) 1 n
-
I can't print a test page to HP Designjet 450 C. Communications problem.
1. Product Name and Number: HP DESIGNJET 450C A0 2. Operating System: Windows XP 3. Error message: none 4. Any changes made to your system before the issue occurred: Not that I can remember. The main board was changed some years ago (about 4) . S
-
In the 'Open with' Right click options - why do some apps show several times?
Notably, Evernote and Pixelmator (both downloaded from the Mac App Store) It's hardly the biggest problem I know - but it does look rather messy. Anoyone know a way to fix this? Thanks in advance!
-
Switch off availibilty check in transaction COHV
Hi All, I want to Switch off availibilty check in transaction COHV while converting planned order tp production order. Can any one know procedure? Thanks,