Problem when press CANCEL button
Hello Everyone,
I have created the block which having the LOV and this is the mandatory field. There are two buttons placed on this block canvas "OK" and "Cancel".
This new block is calling from main block, if user don't want to choose LOV item and he simply click on "Cancel" button then control should transfer to main block. But when user press the "Cancel" button automatically control transfers to "On-Commit" trigger.
On cancel button i have written GO_BLOCK('BLOCK_NAME'); but it does not works.
Please suggest the way how i can close the block.
Regards,
JAK
JAK,
It sounds like you have not terminated further processing in the form. Try adding 'RAISE Form_Trigger_Failure;' after your GO_BLOCK(); call. This should ensure no further processing is done after you navigate to the specified block.
Hope this helps.
Craig...
Similar Messages
-
Skip validation when clicking cancel button in Applications panel
Validation skipping can be done by making 'immediete' property to 'true'. But in fnd ApplicationsPanel, cancel button don't have an 'immediete' property. Only revert button has that property. So how can I skip validation when the cancel button is pressed?
Hi Shaik,
<li> You need to set Function type E to Application toolbar button.
<li> Go to PF Status of the screen -> Click on application toolbar->Double click on button->It takes you to Function attributes Popup->There , u will see Function code after that Function type. Select or give type to E.
<li> Write this piece of code in PAI.
PROCESS BEFORE OUTPUT.
MODULE status_2200.
PROCESS AFTER INPUT.
MODULE skip_mandatory AT EXIT-COMMAND.
*& Module SKIP_MANDATORY INPUT
MODULE skip_mandatory INPUT.
IF sy-ucomm = 'TEST'.
LEAVE TO SCREEN 2000.
ENDIF.
ENDMODULE. " SKIP_MANDATORY INPUT
I hope that it solves your problem.
Thanks
Venkat.O -
How to stay back on same section of a report after pressing cancel button
Hi,
How we can stay back on a same section of a report page when I press Cancel button or Apply Changes button from linked Data Entry Form. For instance if I have a 200 rows in a report and I scroll down to 80th row and press Edit button when called a data entry form. Now when I press Cancel it again re-load the report from the start of the page.
Any idea!
Thanks
SabahatHi Sajid,
Thanks for reply.
I have used RETURN statement like below.
SUBMIT RFWT0010 WITH vendor = 'X'
WITH i_lifnr IN i_lifnr
WITH i_bukrs IN i_kunnr
WITH test = 'X'
AND RETURN.
The output of RFWT0010 is displayed. but on pressing "back" button on toolbar, the flow is coming back from RFWT0010 to calling report. I want that On pressing ENTER button of keyboard. The flow should come back to calling report.
Regards,
Ratnesh -
Macbook pro not opening when press power button
my mac book pro not opening when press power button even battery is full.
I already tried with the Battery in and without but no luck. I'm sure it's not that kind of problem unfortunally
-
Submiting requests when pressing a button.
I have a button that when pressed should fire an HTMLDB After Submit process and just after the process has finished, it should trigger a javaScript function to call a pop-up page.I've tried to do that in three different ways:
1)Using the button optional URL redirect, and as the URL target I send first the request to run the After submit process and then the request to open the pop-up window.
The problem with that solution is that the pop-up window opens before the
process is completed, which is an inconvinience for me.
2)Running the After submit process when pressing the button and running an after processing braching to call the javaScript function. It didn't work as HTMLDB redirect the application to an error page saying that no branch is specified...
3)Inside the After submit process after a call to a procedure that resolves the logic of the process I've tried to call the pop-up using webtoolkit's tag htp.p as follows:
htp.init;
htp.p('<script language = "javascript">');
htp.p('callMyPopup2("480",'+l_aux+');');
htp.p('alert("entre");');
htp.p('</script>');
But it didn't work neither.
The HTMLDB version I'm using is 1.5.0.00.33. Is there a way to accomplish that when pressing a button a process is ran and just after its execution is finished call a javascript function that opens a pop-up page?
Thanks in advance.
Best Regards.
Larissa.Vikas,
The question is interesting. I remember trying something similar without success and would be interested in an answer. I could imagine the following situation:
1. I start a process that runs a procedure which fills in a table with values
2. after the process is completed a pop-up window opens and runs a report on that table...
This could be practical since a user that started the procedure doesn't have to wait for it to complete in order to click another button to see the result. This is just one possible example.
Denes Kubicek -
My mini ipod appears off and not respond to any commands when pressed the buttons to reset, apple logo appeared and then the apple support site and it shuts down. already tried all the steps, but none worked, and when I plug it into my computer it does not appear in the iTunes bar. what do I do?
If MacKeeper corrupted the Recovery partition then even I underestimated its potential for damage. Garbage "cleaning" apps will cause misery but I have not found that the Recovery partition to have been affected by using MacKeeper or anything like it. I doubt that it did so, but I have learned not to underestimate the potential for such things to result in system corruption.
Before concluding your Mac has a hardware failure, try booting OS X Internet Recovery by holding command option r on startup (three fingers). That will force your iMac to bypass the Recovery partition altogether, and convey the ability to create a new one.
An Internet connection will be required (wired or wireless).
At the Mac OS X Utilities screen, select Disk Utility. Select your startup volume (usually named "Macintosh HD") and click the Repair Disk button. Describe any errors it reports in red. If Disk Utility reports "The volume Macintosh HD appears to be OK" in green then you can be reasonably (though not completely) assured your hard disk is in good working order.
Assuming the HD remains usable you can then use Disk Utility to erase it. Reinstall OS X, restore your essential software and other files, and don't reinstall the junk. -
How to when press the button and can change the value in the table?
this is my code so far with a table and a button..how can i make it when press the button and the data in table change..
* SimpleTableDemo.java is a 1.4 application that requires no other files.
import java.awt.BorderLayout;
import java.awt.Button;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
public class SimpleTableDemo extends JPanel {
private boolean DEBUG = false;
private JPanel button;
private JButton enter;
public SimpleTableDemo() {
super(new BorderLayout());
//button.setBackground(Color.pink);
//setForeground(Color.pink);
String[] columnNames = {"First Name",
"Last Name",
"Sport",
"# of Years",
"Vegetarian"};
Object[][] data = {
{"Mary", "Campione",
"Snowboarding", new Integer(5), new Boolean(false)},
{"Alison", "Huml",
"Rowing", new Integer(3), new Boolean(true)},
{"Kathy", "Walrath",
"Knitting", new Integer(2), new Boolean(false)},
{"Sharon", "Zakhour",
"Speed reading", new Integer(20), new Boolean(true)},
{"Philip", "Milne",
"Pool", new Integer(10), new Boolean(false)}
final JTable table = new JTable(data, columnNames);
table.setPreferredScrollableViewportSize(new Dimension(500, 70));
if (DEBUG) {
table.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
printDebugData(table);
//Create the scroll pane and add the table to it.
JScrollPane scrollPane = new JScrollPane(table);
enter = new JButton("Press me");
//Add the scroll pane to this panel.
buildButton();
add(scrollPane, BorderLayout.NORTH);
add(button, BorderLayout.CENTER);
private void buildButton(){
button = new JPanel();
button.add(enter);
private void printDebugData(JTable table) {
int numRows = table.getRowCount();
int numCols = table.getColumnCount();
javax.swing.table.TableModel model = table.getModel();
System.out.println("Value of data: ");
for (int i=0; i < numRows; i++) {
System.out.print(" row " + i + ":");
for (int j=0; j < numCols; j++) {
System.out.print(" " + model.getValueAt(i, j));
System.out.println();
System.out.println("--------------------------");
* Create the GUI and show it. For thread safety,
* this method should be invoked from the
* event-dispatching thread.
private static void createAndShowGUI() {
//Make sure we have nice window decorations.
JFrame.setDefaultLookAndFeelDecorated(true);
//Create and set up the window.
JFrame frame = new JFrame("SimpleTableDemo");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
//Create and set up the content pane.
SimpleTableDemo newContentPane = new SimpleTableDemo();
newContentPane.setOpaque(true); //content panes must be opaque
frame.setContentPane(newContentPane);
//Display the window.
frame.pack();
frame.setVisible(true);
public static void main(String[] args) {
//Schedule a job for the event-dispatching thread:
//creating and showing this application's GUI.
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
createAndShowGUI();
}Cross-post:
http://forum.java.sun.com/thread.jspa?threadID=676105 -
This error does not occur with any of my other programs employing this printer when pressing properties button. The complete error message I get is as follows:
'''DELL PRINTER A940 PROPERTIES'''
Function address 0x0 caused a protection fault (exception code 0xc0000005). The application property sheet page(s) may not function properly.
|OK|Perform the suggestions mentioned in the following articles:
* [[Firefox prints incorrectly#w_reset-firefox-printer-setting|Reset Firefox Printer Setting]]
* http://kb.mozillazine.org/Problems_printing_web_pages
Check and tell if its working. -
My i pad hang on with information of icloud back up with informtion of "this ipad hasn't been backed up in three weeks. backups happen when this pad is plugged in, locked and connected to wifi" and doesn't close when press ok button and still hangon. I am not able to switched off also. How to remove popoup note and entering into ipad applications.
Hold down the sleep and home keys for about 20 seconds or so and see if it reboots.
-
How to say that variable == null if pressed cancel button.
Hi! I have code line in jspx page:
#{viewScope.myParamSusceptibToCrackingKi == null ? SusceptibToCrackingKi.myParamInitialValue : viewScope.myParamSusceptibToCrackingKi}How can I say that myParamSusceptibToCrackingKi == null (nothing) if I press cancel Button in form, or press refresh button in browser?
Best regards, Hope You help, Debuger!Hi, Timo! To better Understand:
In jspx page I have some inputText fields:
<af:inputText id="CropTypeKiExplain"
value="#{viewScope.myParamCropTypeKi == null ? CropTypeKi.myParamInitialValue : viewScope.myParamCropTypeKi}"
changed="#{changedFlagsMap['CropTypeKiSkaidr']}"
partialTriggers="CropTypeKi" readOnly="true"
contentStyle="color:Gray;"
rendered="#{skaidrojumaApskate.radit != '5'}"/>
<af:inputText id="VirusDiseaStatKiExplain"
value="#{viewScope.myParamVirusDiseaStatKi == null ? VirusDiseaStatKi.myParamInitialValue : viewScope.myParamVirusDiseaStatKi}"
changed="#{changedFlagsMap['VirusDiseaStatKiSkaidr']}"
partialTriggers="VirusDiseaStatKi"
readOnly="true" contentStyle="color:Gray;"
rendered="#{skaidrojumaApskate.radit != '5'}"/>variables: myParamCropTypeKi and myParamVirusDiseaStatKi have some value. But I want that if I press button in my form, they will be empty. Where to put code?
And what code I need to write to say that? Mabe I can write: #{viewScope.myParamCropTypeKi is null} and #{viewScope.myParamVirusDiseaStatKi is null} . But where?
Best regards, Debuger -
Acrobat 9 (CS4) Freezes when pressing 'Print' button
Hi all,
I am having a problem with Acrobat Pro 9.0.0 in that when I go to print (with any setting/printer etc) selected, the dialog freezes after pressing the 'Print' button. Therefore I must force-quit to start Acrobat again.
I have tried trashing the preferences, removing Acrobat 9 altogether & re-installing and nothing seems to be helping.
I have also tried all sorts of different PDF files both created by myself as well as random PDF's from elsewhere.
What also seems to happen is that the blue 'Print' button pulses while waiting to be pressed and then when pressed goes blue and stops pulsing and that is where it stays frozen.
Please let me know if you need any more information or details of the configuration I am using.
ps. I have Acrobat Professional 8.1.3 also installed which works fine including printing.
Regards,
RossHi Mike,
I do have some startup items;
EyeTV Helper
AdobeResourcesSynchroni
I Love Stars
GrowlHelperApp
NikePlusUtil
EEvent Manager
EPSON Scanner Monitor
I don't have any haxies on anything.
I made a new user account and tried to replicate the problem but it seems to work fine when logged in as a different user which leads me to think it is a preference in my current user>library
Ross -
In File Dialog, when click Cancel button, it prompts error and VI exits
Does anyone can give me an idea on how to solve this problem? When the user click on the Cancel button in the File Dialog box, it prompts out error and says "Operation canceled by user". How can I handle this error?
I got the same error when I click on the Cancel button when the system prompts me for replacing an existing file. Btw, how can I stop the system from prompting me to replace an existing file? Thankssss.....Hi,
A similiar topic was discussed here
http://forums.ni.com/ni/board/message?board.id=170&message.id=151316#M151316
Hope it helps -
ESS Leave Request - Portal Runtime Error when the "Cancel" button is hit
We have configured the Leave Request application, created a custom workflow, created security roles, and we are now testing in our quality environment.
We are encountering a very strange "Portal runtime error" which we cannot resolve - When you come into the Leave Request application, and then, without completing the request, just hit the "Cancel" button, the runtime error is generated.
We have run a trace of authorizations and everything has come up clean. Everything is configured, and there are no problems actually creating, approving and posting requests.
Any ideas?Hi,
please check whether the user is authorized to cancel the request.
and take a look at this WS12300111
Regards
Manohar -
Error when pressing the buttons in ALV
Hi all,
I have written a report using ALV by using FM REUSE_ALV_GRID_DISPLAY
layout-coltab_fieldname = 'FARBE'.
layout-f2code = 'DISPLAY'.
layout-zebra = 'X'.
layout-box_fieldname = 'BOX'.
event_exit-ucomm = '&XP1'.
event_exit-before = 'X'.
APPEND event_exit.
variant-report = repid.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = check_flag
I_CALLBACK_PROGRAM = repid
I_STRUCTURE_NAME = 'ITAB'
is_layout = layout
it_fieldcat = fieldcat
it_excluding = excluding
it_special_groups = gruppen[]
it_sort = sorttab[]
it_filter = filttab[]
i_save = 'X'
is_variant = variant
it_events = events[]
TABLES
T_OUTTAB = ITAB
EXCEPTIONS
program_error = 1
OTHERS = 2.
The ALV grid is shown successfully after executing the program. But when I press the button like 'Print Preview', 'SpreadSheet' which are provided by the ALV. I got the following error:
Assignment error: Overwriting a protected field.
What happened?
Error in ABAP application program.
The current ABAP program "SAPLSLVC_FULLSCREEN" had to be terminated because one of the statements could not be executed.
This is probably due to an error in the ABAP program.
Any one has idea how to solve it? Thanks!Gundam,
I feel the problem is in line in BOLD.
excluding[] must be an Internal Table.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = check_flag
I_CALLBACK_PROGRAM = repid
I_STRUCTURE_NAME = 'ITAB'
is_layout = layout
it_fieldcat = fieldcat
<b>it_excluding = excluding[ ]</b>
it_special_groups = gruppen[]
it_sort = sorttab[]
it_filter = filttab[]
i_save = 'X'
is_variant = variant
it_events = events[]
TABLES
T_OUTTAB = ITAB
EXCEPTIONS
program_error = 1
OTHERS = 2.
Please have a check and let me know.
Thanks
Kam -
Error in any ServiceImpl when pressing save button
In our application after pressing the save button we are getting the following error on screen:
"com.nbd.demeter.model.service.AbonnementenServiceImpl".
This error can occur in any screen (any ServiceImpl). We do not get this error every time when the save button is pressed, but it happens more and more.
This problem blocking normal use of the application.
The first time this happened was after installing a new EAR-file, but untill now we are not able to determine what causes it.
Anyone got an idea??Can you tell us what the OC4J log says? There must be more logging if you got such an error. Perhaps you should try to enable ADF BC logging by setting -Djbo.debugoutput=true as run parameter (tools - properties - Run/Debug - Edit - Launch Settings - Java Options).
Regards,
Evert-Jan de Bruin
JHeadstart Team
Maybe you are looking for
-
Applications Folder won't stay in Icon View
In the Applications Folder I want to have my icons arranged in a certain way at a certain size and always open in that view, but they never stay that way after I switch my mac back on. I have tried everything: 1. Ticking "Always open in icon view". T
-
I updated my itunes, and now it won't launch.
i click on the itunes shortcut on my desktop, or the button in my programs list, and it just makes the hourglass thing for like two seconds, and then nothing happens. so in otherwords, itunes doesn't open, i've tried uninstalling it and re-installing
-
Panther or Tiger for a PowerBook G4?
I am installing a new HD in my "old" PowerBook-G4 and I am considering running it with Panther instead of Tiger. This is because while recently using Tiger and running CPU intensive activities (videos or in Safari), the computer would get very hot, t
-
Windows AAMEE-created installer files install, then uninstall all products
I am trying to use AAMEE 3.1 to create CS6 installer files that will be used in creating a Windows 7 image. Every version of the installer file that I have tried does not work. In every case, the product(s) is installed and then subsequently uninsta
-
Report Builder 2.0 - Filtering multiple values with LIKE command
Hi, I'm trying to use multiple values for a LIKE command in the Tablix Properties-Filters area. I thought this would be easy, and it may yet prove to be easy yet I'm banging my head against the wall at the moment. I have created a new filter with: Ex