Subscribe_to_button_event:-- How to disable Yes button??
Dear Experts,
I have created a modal pop-up window (create_popup_to_confirm) to show 2 buttons "Yes" and "No". When user clicks "Yes", the program will call a method which will do some processing.
I have successfully use the "subscribe_to_button_event" function to create 2 events for each button "Yes" and "No".
My query is:
When user clicks on "Yes" button, the button will be enabled for user to click again and again, until the background processing completes and window close. How do i disable the Yes button when the processing is running, so user knows that a background process is running? ...there is also no "hourglass" appearing so user might click on the Yes button again and again. ANy idea? Thanks,
Zul
Edited by: Mohamed Ali Zulzaili on Sep 3, 2008 11:10 AM
Thanks for the reply!
My abap and basis support package is level 15:
SAP_ABA SAPKA70015
SAP_BASIS SAPKB70015
I tried login to OSS and search for anything under "popup" and "subscribe_to_button_event" but could not find any bugs reported.
May i know whats your support level? Thx
Btw, im using webdyppro ABAP and not Java, so any issue u think?
zul
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. -
Hi,
I would like to disable Yes button inside an Alert box. Is
this possible?
Thanks in advance.See the FB3 help sys on "Alert". You can specify args for
what buttons appear when the show() method is called:
public static function show(text:String = "", title:String =
"", flags:uint = 0x4, parent:Sprite = null, closeHandler:Function =
null, iconClass:Class = null, defaultButtonFlag:uint = 0x4):Alert
Parameters
text:String (default = "") — Text string that appears
in the Alert control. This text is centered in the alert dialog
box.
title:String (default = "") — Text string that appears
in the title bar. This text is left justified.
flags:uint (default = 0x4) — Which buttons to place in
the Alert control. Valid values are Alert.OK, Alert.CANCEL,
Alert.YES, and Alert.NO. The default value is Alert.OK. Use the
bitwise OR operator to display more than one button. For example,
passing (Alert.YES | Alert.NO) displays Yes and No buttons.
Regardless of the order that you specify buttons, they always
appear in the following order from left to right: OK, Yes, No,
Cancel. -
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
Maybe you are looking for
-
External Monitor - MacBook - Intel GMA 945
Hey guys, I've run into a problem running Windows Vista Ultimate on my 1st gen Macbook with Intel GMA 945 chipset. I have upgraded to Leopard. Running a Mini-DVI to DVI converter and connecting to my LCD does not work any longer. * I have run the ext
-
'Structured' error handling and reentrancy
The parentheses in the subject are due to the fact that I'm not using the Structured Error Handler reference library, but have rolled my own to do something similar but in the manner I want it to. I don't actually use the SEH (haven't even got it ins
-
Problem using Tuxedo from different network
We are using Tuxedo (7.1) with Clarify eFrontOffice. We are trying to access Tuxedo from a different network. We have a NAT address and opened the port for WSL (48800) and also a range (specified in the ubbconfig and compiled) specified for the WSH.
-
Intel Mac locking up multiple times a day.
No response to mouse buttons or Command Option Escape. Requires reboot. Resetting SMC did not correct. I am running Mac OS version 10.5.8, build 9L31a on the 2GHz Intel Core Duo. According to the Software Update no update is needed. I suspected some
-
WCC - Systemproperties.exe issue after installation
Hi All, I install fresh copy of WCC and wold like to make some configuration in systemproperties.exe for standalone apps (e.g. Batchloader etc.). I set new password for user 'sysadmin'. when I trying to open systemproperties.exe it fail to start with