How to disable Commit button declaratively (11g)
Hello,
I have a commit button (wired up to the Commit DataControl operation of an application module).
It is in a toolbar.
After I press commit, it never becomes disabled, even though I have ChangeEventPolicy set to ppr on the Iterator that the Commit Binding points to as shown on the Page Data Binding Definition editor.
How can I get the button to disable? Setting any of the other UI components as a partialTrigger doesn't do anything, because--I'm guessing here--none of them change during a commit.
Edited by: lili5058 on Feb 26, 2009 12:12 PM
Drop a setactionListener on the button put from value as #{true} and to value as #{processScope.disablebtn} and put the disable condition on button as #{processScope.disablebtn==true}.
regards
Edited by: user4508710 on Feb 27, 2009 3:21 AM
Similar Messages
-
How to disable hold button in purchase order creation.
hi
how to disable hold button in purchase order creation.Select single * from VBAK where clause
---It fetches single record from the database, based on the condition you specified in the where clause.
Where as select * from VBAK up to 1 row
---Fetches first record if the condition specified in the where clause is satisfied, otherwise it doesn't fetch any record -
How to disable save button on selection screen (1000) run from other report
Hi Experts,
Can any one let me know how to disable save button on selection screen (1000) run from other report.
Say I am running from report R1 which submits report R2, but the save button should be disabled on
report R2(selection screen 100).
Thanks in advance.
Regards
RP.Hi RPReddy16 ,
Try this:
DATA :BEGIN OF t_extab occurs 0,
fcode like rsmpe-func,
END OF t_extab.
REFRESH T_EXTAB.
MOVE 'SAVE' TO T_EXTAB-FCODE.
APPEND T_EXTAB.
CLEAR T_EXTAB.
SET PF-STATUS 'STATUS' EXCLUDING T_EXTAB.
Regards,
José -
How to disable Setting button in Tools - Options - Advanced - Network from windows registry?
Dear support,
Now, my office use Firefox as default browser to access WebServer. And there are some policy that users must use ProxyServer. I do not want user change proxy setting in Firefox. How to disable Setting button in Tools - Options - Advanced - Network from windows registry?
Thank you.
TrekyYou can not use the Windows registry to disable items in Firefox. This link shows how to lock down Firefox proxy settings, change the values to suit your needs:
http://www.stbernard.com/ip5kb/iPrism/WhatsNew/50SupportFiles/SupportFiles/IP0460.htm
One minor variation, in step 4 instead of adding that line to all-js, you can create a file called ''local-settings.js'' containing the line shown and save the file in the same folder as all.js -
How to disable Setting button in Tools - Options - Advanced - Network..i've read an article that solved this problem..but thats problem contains web adress that couldn't be opened..any other solution???
thanks before
best regard
-ariansyah-You can disable or remove that button, but that won't prevent users from making the changes on the about:config page directly.<br />
You can lock the related network.proxy prefs if you do not want users to change the connection settings.
See:
*http://kb.mozillazine.org/Locking_preferences
* http://kb.mozillazine.org/network.proxy.type
* http://kb.mozillazine.org/network.proxy.%28protocol%29
* http://kb.mozillazine.org/network.proxy.%28protocol%29_port -
How to disable the button in application toolbar in report pgm
Can anyone help with How to disable the button in application toolbar in report pgm
Hi,
You can use it_excluding to disable button on the tool bar.You have to find the function code for the required button and append that function code to the it_excluding .The optional IMPORTING parameter IT_EXCLUDING is an internal table. It is only needed if the caller uses the list tool standard interface but wants to deactivate interface functions which he or she does not need.You can have your defined pf-status using I_CALLBACK_PF_STATUS_SET.
SAMPLE PROGRAM
tables spfli.
type-pools: slis.
DATA W_FCODE TYPE SLIS_EXTAB-FCODE.
data: t_spfli TYPE SPFLI OCCURS 0 WITH HEADER LINE.
select * from spfli into table t_spfli.
data : t_excluding TYPE SLIS_T_EXTAB .
W_fcode = '&OUP'.
append w_fcode to t_excluding.
W_fcode = '&ODN'.
append w_fcode to t_excluding.
call function 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_STRUCTURE_NAME = 'SPFLI'
IS_LAYOUT =
IT_FIELDCAT =
IT_EXCLUDING = T_EXCLUDING
tables
t_outtab = T_SPFLI
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
http://help.sap.com/saphelp_nw2004s/helpdata/en/99/49b844d61911d2b469006094192fe3/frameset.htm
Regards,
Priyanka. -
How To Disable Delete Button on AR Customer Search
hi Guru,
How to Disable the Delete Button of AR Customer Search Form.Hi;
Duplicate post, please make post once
How To Disable update Button on AR Customer
Regard
Helios -
Hy Experts,
I am a Basis guy and I want to know how to disable a button from any screen.
Basically I have to Disable a button "Save as Completed" from the screen of t.code MIR7.
Is there any way to hide it. If it is then please let me know, I will be thankful to you.Dear Aplesh,
Check this:
It will give you the description along with screen-shots.
http://husnie.wordpress.com/
Regards,
Rakesh -
How to disable X button on internet explorer(IE)
hi ,
can u please tell me how to disable close button of IE ,if possible send java script code
thanqSo you want to annoy your users, eh? You've already annoyed us here, since this is a Java forum, not an ECMAScipt forum. What do you want to do for an encore?
-
How to disable maximize button of the java.awt.Window ????
How to disable maximize button of the java.awt.Window !!!!
Help neededHow to spam the forum with the same fuqin question. Please get lost.
-
How to disable minimize button(icon) of jframe
how to disable minimize button(icon) of jframe
HELP!
I need to do a similar thing. Along with a couple other things.
I was able to control some windows thru a unix window manager like I would for Motif (the use the window name of AWTapp or AWTdialog are recognized when doing xwininfo) That is all I can seem to get. Nothing changes this.
Does anyone know how?
Anyway. mwmDecorations and mwmFunctions settings appear to allow setting of some of the windows. But I need control 100%of the time.
I need to disable the CLOSE button in all java windows or find a way that the window manager event can get back to the java application. Currently it is not recognized.
In some windows I need other items disabled such as SIZE & MAXIMIZE. -
How to disable Print button on WebDynpro ABAP ALV
In WebDynpro ABAP, a standard menu appears around the ALV, that has a PRINT button and an EXPORT button.
Is there anyway to disable those buttons????
Thanks
JohnHi John,
Check the interface if_salv_wd_std_functions. It contains methods which are used to hide the standard ALV toolbar buttons.
Also refer : Removing "print version" button in alv
How to hide Print and Filter option from dynamic ALV -
How to disable size button in a JINternalFrame
how to disable the middle button in a JInternalFrame
the one between iconify button and close button
thanxBy reading the JInternalFrame API you will find what you need.
-
How to disable print button in outoput screen from vf03
hi,
i have a requirement to display error message and, disable the print and print preview button.
below its the step,
1)vf03
2)key in document type
3)select output type
4)if there's error, display error message and disable print and print preview button.
what i have done was
1) i've put the error message in my 1st part of code,
*determine discount
it_zmas-discount = it_zmas-gross_value - zkwert.
MODIFY it_zmas.
ELSE.
MESSAGE ID 'Z0' TYPE 'S' NUMBER '999' WITH 'Please maintain cust pricing grp 34 for ' wa_zmas-matnr.
p_proc_screen = 'X'.
ENDIF.
CLEAR zknumh.
2)then i set itcpo-tdpreview = ' ' to display my print button after display the error message
CLEAR itcpo.
MOVE-CORRESPONDING nast TO itcpo.
itcpo-tdcover = nast-tdocover.
itcpo-tddest = nast-ldest.
itcpo-tddataset = nast-dsnam.
itcpo-tdsuffix1 = nast-dsuf1.
itcpo-tdsuffix2 = nast-dsuf2.
itcpo-tdimmed = nast-dimme.
itcpo-tddelete = nast-delet.
itcpo-tdcopies = nast-anzal.
itcpo-tdprogram = sy-repid.
IF us_screen NE space
AND p_var EQ space.
itcpo-tdpreview = 'X'.
itcpo-tdnoprint = 'X'.
ELSE.
itcpo-tdpreview = ' '.
ENDIF.
CASE nast-nacha.
WHEN '1'.
xdevice = 'PRINTER'.
itcpo-tdnewid = 'X'.
itcpo-tdgetotf = 'X'.
WHEN '2'.
xdevice = 'TELEFAX'.
itcpo-tdtelenum = nast-telfx.
itcpo-tdteleland = us_country.
itcpo-tdsenddate = nast-vsdat.
itcpo-tdsendtime = nast-vsura.
WHEN '3'.
xdevice = 'TELETEX'.
itcpo-tdtelenum = nast-teltx.
itcpo-tdteleland = us_country.
itcpo-tdsenddate = nast-vsdat.
itcpo-tdsendtime = nast-vsura.
3) my last problem its, i am not sure how to disable the print button.i need to show an error message for my invoice via vf03 when error occur when user click print or print preview button. however with my code above, i am only able to display the error message and disable the print preview.
could anyone guide me how do i disable my print button? really appreciate your help.
regards,
swInstead of disabling the print buttons, you can restrict creating the actual output message for a specific output type.
You can achieve it by creating the Output Requirement in transaction VOFM. You need to assign this requirement to your Output type. In this Requirement you can check all your conditions. If they all validation pass through than and than create the Output.
Regards,
Naimesh Patel -
How ti disable enter button in selection screen.
Hi,
Developed a report and when execute the Tx code first i get selection screen and when inputs are given in selection screen and hit enter it will direct to module pool screen.. here after giving inputs in selection screen,ENTER and F8 button are working but i want to disable ENTER button ....
Regards,
Venkat.Hi venkat,
I am also fasing same problem plz help me how to call form in start-of-selection please help me with any sample as soon as possible,
Regards
sridevi.V
Maybe you are looking for
-
How can I detect spyware or keylogger programs directly installed on my computer?
Hello, I have a serious problem. My ex had physical access to my MacBook Air and I believe he installed either spyware or a key logger program directly on my computer, as he had administrative access. It could be a program like WebWatcher or Spector
-
Adobe Photoshop CC Reverted to Trial Mode?
Hello: My Photoshop subscription has reverted to Trial Mode. What can I do to fix this? I have a photoshoot that I need to finish processing, and it needs to be done today. I tried customer support chat, but they basically hung up on me because they
-
about %75 of the time, when I start up the nano, no music plays...I checked all the dumb stuff like mute and hold, yada yada....and the only way to solve the problem has been to turn off then on....I shouldnt have to reset a $200 product in the first
-
Disk Utility: Extremely slow read phase during permissions repair
Shortly (but not immediately) after I upgraded from 10.3.9 to 10.5.6, repair permissions began taking a ridiculously long time to complete. Looking at the DU log, I see the read phase is the problem: DU spends over 2 hours on this, then performs the
-
hi i have proberm with my wi-fi in my Iphone 4s i did update my certifcate on my laptop seen then i cant use my wi-fi on my Iphone