BUG:Pressing Enter in Form gives no data found
Hello,
The accept procedure which is the generic
handler for the forms needs to know the form
id, and other parameter that are set by the
doevent javascript function, invoked when a button is clicked. Instead of clicking the button(s), if user presses enter, the accept procedure will not know which form to instantiate as a result it throws a no data found error.
Possible solution:
1. Adding javascript to cancel keypress by using the keypress event. Does not work.
2. Form level javascript to detect keypresses. For this you need to allow us to access the <HEAD></HEAD> in the form. We need to add javascvript which detects the type of browser and modifies the keypress detection accordingly.
there are a couple of more ways
Hi SYR,
Pick Slip report gives you out put as NO DATA FOUND, is basically, bcos there has not been any picking of the item, reason may be,
1. Qty avaialble wont be reservable and transactable
Check in Inventory> On handqty > click availibility tab
And see whether the item is available to transact & reserve.
If you have enought qty thn you shld be able to pick release tht item.
2. Check which sub inventory are you using while pick release, is it the same as where the item is kept.
Try this out.
This may help.
Thanks
Manoj
Similar Messages
-
Suppress the enter-query mode when no-data-found after execute a query.
HI,
Greetings of the day, Can any one suggest me that how to Suppress the enter-query mode when no-data-found after execute a query on the form by a button.
whenever i execute query on form and result is no data found then form :system.mode is still in enter-query mode.
i want that if result is no data found then form comes back it initial state.
i will thank full of him who will help me..
Thanks in Advance..Put this in your Key-ExeQry trigger:Execute_Query;
If Get_block_property(:System.current_block,query_hits)=0 then
Exit_form; --this cancels the Enter-Query mode; Does not exit the form.
End if;You may want to trap and prevent the "FRM-40353: Query cancelled" message, and change the "FRM-40301: Query caused no records to be retrieved. Re-Enter" message. To do that, you need an On-Message form-level trigger:Declare
Msg_Code Number := MESSAGE_CODE;
MSG Varchar2(150) := SUBSTR(' '||MESSAGE_TYPE||'-'
||TO_CHAR(Msg_Code)||': '||MESSAGE_TEXT,1,150);
BEGIN
If Msg_Code=40301 then
-- 40301: Query caused no records to be retrieved. Re-Enter
Message(' NO RECORDS FOUND',No_acknowledge);
Elsif Msg_Code=40353 then -- Query cancelled.
null;
Else
MESSAGE(MSG,NO_ACKNOWLEDGE);
End if;
End; -
Worksheet imported to Portlet gives No Data Found
I’m having a problem on being able to import a Discoverer worksheet within a portlet. I build the worksheet in Discoverer and am able to successfully generate results. However after importing into Portal and attempting to run a query I get no data found from the query. I’m also using a simple parameter form that has 5 values. One of the values is a parameter used in a condition that must match with a column in the database that is made up of a character and a number, i.e. A1, A2, etc. Whenever I attempt to generate the report without the use of this particular parameter, the report appears even though it is not the true result that I want. I realize that this description is rather generic but if anyone has run into the same issue it would be helpful to know what the problem was. I.e. having a worksheet give correct results in Discoverer Plus but not getting the expected results when imported to a portlet perhaps with using a simple parameter form.
I’m using Discoverer Plus 10.1.2.1 and Portal Builder (i.e. Application Server 10.1.2).
Thanks,
KenHi SYR,
Pick Slip report gives you out put as NO DATA FOUND, is basically, bcos there has not been any picking of the item, reason may be,
1. Qty avaialble wont be reservable and transactable
Check in Inventory> On handqty > click availibility tab
And see whether the item is available to transact & reserve.
If you have enought qty thn you shld be able to pick release tht item.
2. Check which sub inventory are you using while pick release, is it the same as where the item is kept.
Try this out.
This may help.
Thanks
Manoj -
Pick Slip report gives 'No Data Found' output
Hi All,
Problem Statement:
Iam unable to generate Pick release report, the shipping
lines status is "ready to release" and we have a available quantity for the shipment.
Step1 : Create a Order.
Step2 : Save and Book the Order.
Step3 : Pick Release the Order.
Step4 : Go To " View My Requests".
Step5 : Select the Request Id " Pick Slip Report "
Step6 : Click on Output.
Result " No Data Found.
Thanks in Advance
SYRHi SYR,
Pick Slip report gives you out put as NO DATA FOUND, is basically, bcos there has not been any picking of the item, reason may be,
1. Qty avaialble wont be reservable and transactable
Check in Inventory> On handqty > click availibility tab
And see whether the item is available to transact & reserve.
If you have enought qty thn you shld be able to pick release tht item.
2. Check which sub inventory are you using while pick release, is it the same as where the item is kept.
Try this out.
This may help.
Thanks
Manoj -
Load csv to Oracle gives 'No data Found ' Error
Hi,
i am using the steps mentioned in
http://oraexplorer.com/2007/11/apex-to-upload-text-file-and-write-into
to load data from CSV to apex.But it is giving me no data found at
v_data_array := wwv_flow_utilities.string_to_table (v_line);
Has anyone faced this issue.if so please do help me with this.
Thanks,
CKLPHi,
i am using the steps mentioned in
http://oraexplorer.com/2007/11/apex-to-upload-text-file-and-write-into
to load data from CSV to apex.But it is giving me no data found at
v_data_array := wwv_flow_utilities.string_to_table (v_line);
Has anyone faced this issue.if so please do help me with this.
Thanks,
CKLP -
The problem is very simple,
I have several forms on my site such as the 'quick enquiry'
form on the home page about half way down.
http://www.party-invitation.co.uk/index.htm
The user enters name- Works Fine
user enters email address- Works Fine
User enters a question- This is were the problem occurs when
the users presses the Enter key. This seems to bring up a message
that says Invalid Input.
Does anyone know how i can allow people to use the Enter key
in my forms to skip lines without causing this error message?
Any help would be appreciated.
Feel free to use the form to test it out.
Thanks.
Here is my php code for the form.
<?
function checkOK($field)
if (eregi("\r",$field) || eregi("\n",$field)){
die("Invalid Input!");
$Name=$_POST['Name'];
checkOK($Name);
$Email=$_POST['Email'];
checkOK($Email);
$Question=$_POST['Question'];
checkOK($Question);
$to="[email protected]";
$message="
A Quick Enquiry has been submitted from
www.Party-Invitation.co.uk
Here are the details:
Name: $Name
Email: $Email
Question: $Question
if(mail($to,"Quick Enquiry: $Email $Name" ,$message,"From:
$email\n")) {
echo "";
} else {
echo; "There was a problem sending the mail. Please check
that you filled in the form correctly.";
?>.oO(stuckinthesystem)
> Here is my php code for the form.
> <?
This should be <?php for portability reasons. Short open
tags are an
optional feature and can be disabled.
> function checkOK($field)
> {
> if (eregi("\r",$field) || eregi("\n",$field)){
The old ereg_* functions should not be used anymore. Better
would be
something like
if (preg_match("/[\n\r]/", $field)) {...}
> $Name=$_POST['Name'];
> checkOK($Name);
> $Email=$_POST['Email'];
> checkOK($Email);
> $Question=$_POST['Question'];
> checkOK($Question);
The last check causes the error if the user enters multiple
lines in the
text area. You can remove that check, because line breaks in
the email
body are safe.
> if(mail($to,"Quick Enquiry: $Email $Name"
,$message,"From: $email\n")) {
> echo "";
There's a typo in the last parameter. Variable names in PHP
are
case-sensitive, so $Email != $email. You should set
error_reporting to
E_ALL in your php.ini, so PHP will let you know about such
errors.
Micha -
Disable sending HTML-Form when pressing Enter from Web Transaction
Hi,
I have a web transaction and the corresponding HTML Template.
In the template I have a form with input fields and a submit button.
<FORM METHOD="post" ACTION="`wgateurl()`">
<TD><INPUT TYPE="text" NAME="GWA_HEAD-PROFIT_CENTER" VALUE="`GWA_HEAD-PROFIT_CENTER`></TD>
<TD><INPUT TYPE="submit" NAME="~okcode=APPR" VALUE="`#approve`"></TD>
</FORM>
My problem:
When entering a value in the input fields and pressing enter the form is submitted.
Is it possible to disable this way of submitting? I wan't only submit when clicking on the submit button.
Could Javascript be a solution? But I don't want to check if all input fields are filled with onSubmit. Is there another way?
Thanks for your help!Hi Chris,
your link is not available now.
Could you please explain how to fix this issue?
Thanks in advance.
GB -
ORA-01403: no data found on LOGICAL STANDBY database
Hi ,
Logical Standby issue :
Oracle 10.2.0.2 enterprise edition .
M Working on LOGICAL Standby since 1 yrs but still i havent got this ......................................
I m getting countinuously no data foud errror on logical standby database .
I found the table causing the proble(db_logstdby_events) and skipped that table and instanciated table using bwlow package:
exec dbms_logstdby.instantiate_table (.......................................
but when i start apply process on logical standby it again give no data found for new table :
Even i tried to instantiate the table using EXPORT/IMPORT during down time but the same facing same problem .
As much as i known abt the error that is :
table1
id
10
20
30
Now if sql apply process on logical standby tries to performe the update transaction(for example) as belows
update table1 set id=100 where id=50;
above query will not be completed cos it will never find the values 50 which is not in table .Thts why this error comming ..
Now my worry is ... no users dare to change/make such changes on Logical standby .So if there is no changes in tables then sqll apply should get all the values to be needded for an update ......
watingggg guyssss/......Troubleshooting ORA-1403 errors with Flashback Transaction
In the event that the SQL Apply engine errors out with an ORA-1403, it may be possible to utilize flashback transaction on the standby database to reconstruct the missing data. This is reliant upon the undo_retention parameter specified on the standby database instance.
ORA-1403: No Data Found
Under normal circumstances the ORA-1403 error should not be seen in a Logical Standby environment. The error occurs when data in a SQL Apply managed table is modified directly on the standby database, and then the same data is modified on the primary database.
When the modified data is updated on the primary database and received by the SQL Apply engine, the SQL Apply engine verifies the original version of the data is present on the standby database before updating the record. When this verification fails, an ORA-1403: No Data Found error is thrown by Oracle Data Guard: SQL Apply.
The initial error
When the SQL Apply engine verification fails, the error thrown by the SQL Apply engine is reported in the alert log of the logical standby database as well as a record being inserted into the DBA_LOGSTDBY_EVENTS view. The information in the alert log is truncated, while the error is reported in it's entirety in the database view.
LOGSTDBY stmt: update "SCOTT"."MASTER"
set
"NAME" = 'john'
where
"PK" = 1 and
"NAME" = 'andrew' and
ROWID = 'AAAAAAAAEAAAAAPAAA'
LOGSTDBY status: ORA-01403: no data found
LOGSTDBY PID 1006, oracle@staco03 (P004)
LOGSTDBY XID 0x0006.00e.00000417, Thread 1, RBA 0x02dd.00002221.10
The Investigation
The first step is to analyze the historical data of the table that threw the error. This can be achieved using the VERSIONS clause of the SELECT statement.
SQL> select versions_xid
, versions_startscn
, versions_endscn
, versions_operation
, pk
, name
from scott.master
versions between scn minvalue and maxvalue
where pk = 1
order by nvl(versions_startscn,0);
VERSIONS_XID VERSIONS_STARTSCN VERSIONS_ENDSCN V PK NAME
03001900EE070000 3492279 3492290 I 1 andrew
02000D00E4070000 3492290 D 1 andrew
Depending upon the amount of undo retention that the database is configured to retain (undo_retention) and the activity on the table, the information returned might be extensive and the versions between syntax might need to be changed to restrict the amount of information returned.
From the information returned, it can be seen that the record was first inserted at scn 3492279 and then was deleted at scn 3492290 as part of transaction ID 02000D00E4070000. Using the transaction ID, the database should be queried to find the scope of the transaction. This is achieved by querying the flashback_transaction_query view.
SQL> select operation
, undo_sql
from flashback_transaction_query
where xid = hextoraw('02000D00E4070000');
OPERATION UNDO_SQL
DELETE insert into "SCOTT"."MASTER"("PK","NAME") values
('1','andrew');
BEGIN
Note that there is always one row returned representing the start of the transaction. In this transaction, only one row was deleted in the master table. The undo_sql column when executed will restore the original data into the table.
SQL> insert into "SCOTT"."MASTER"("PK","NAME") values ('1','andrew');
SQL> commit;
The SQL Apply engine may now be restarted and the transaction will be applied to the standby database.
SQL> alter database start logical standby apply; -
Strange behavior when pressing ENTER in a form page
Hi there
Please go to the address:
http://apex.oracle.com/pls/otn/f?p=20104:4
If you click the Create button, enter anything in the Name field and press ENTER while in the field, you will be taken back to the main page, the message Action Processed will be displayed, but no data will be inserted. If you click on the Create button though, it works fine.
Have anyone seen this? Any explanation for it? How to fix it? I could not find any reason for this behavior (the Name field is NOT an always submit page when enter pressed field type).
(btw the two pages are very simple, based on wizards without any customisation)
Thanks
Luisi guess, trying the input form, the input text field for Name is an item 'textfield submit on enter'. But what happens is that when enter is pressed no additionally submit information is send, which is the case with buttons. Buttons call the doSubmit('<BUTTONNAME>') javascript function on click, allowing the process to run when thee are set conditionally.
Carl's answer by setting the process unconditional will also result this action will take place when another buton (without direct redirect) will fire this.).
So additionally when multple buttons and processes some new javascript kan be used to do the right submit on Enter. Example:
In Page header, or shared javascript import file create a JS function submitOnEnter
function submitOnEnter(submit,e){
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;
else return true;
if (keycode == 13){
doSubmit(submit);
return false;
}else{
return true;
Then with you're item you define the js-event onKeyPress to call the function submitOnEnter
onkeypress="javascript:return submitOnEnter('CREATE',event);" -
How to submit a form by pressing enter key
Hi,
I'm having a problem..............i have a form having text field and a button created using struts html tags..........when user enters the value and presses the button then the value is being taken...........
but if the user enters the data and just presses enter key the form refreshaes but value is not submitted.............
the button is created using <html:submit >tag.............can any one pls help me out with this???????????<script language="JavaScript">
<!--
var isNav, isIE
if (parseInt(navigator.appVersion) >= 4) {
if (navigator.appName == "Netscape")
isNav = true
else
isIE = true
function showKeyValue(evt) {
var keyValue
if (isNav)
keyValue = evt.which
else
keyValue = window.event.keyCode
/*status = keyValue*/
if (keyValue == 13) {
javascript:validateForm();
return false
</script>
in the field call this method
onKeyPress="showKeyValue(event)" -
Hi urgent pls suggest when i press enter the data disappears...
hi
i have develop,ed a module pool for table maintianece
in which there are theree fields
customer number name email id
now when i dont press enter at first field ie customer number after entering all data
and save the data is saved properly for all three fields
but if after e ntering the customer number i press enter and then enter name and email id
and save the data for email is not saved and also if i just press enter again the data in email id column which i entered disappears
can anyone suggest reason and solution for it
regards
Arorahi
here is my code
PROCESS BEFORE OUTPUT.
LOOP WITH CONTROL TABLE_ZCUST_EM_CREATE."AT T_ZCUST_EM_CREATE
MODULE STATUS_0200.
ENDLOOP.
*Process after input
PROCESS AFTER INPUT.
MODULE CANCEL_200 AT EXIT-COMMAND.
LOOP WITH CONTROL TABLE_ZCUST_EM_CREATE ."AT T_zcust_em_CREATE ." .".
MODULE USER_COMMAND_0200.
CHAIN.
FIELD t_ZCUST_EM_create-ship_to .
MODULE set_field_validation ON CHAIN-REQUEST.
ENDCHAIN.
MODULE USER_COMMAND_0200.
ENDLOOP.
here ship_to is customer number
ship_to_name is name
and email id is email id field
pls suggest on this code also if u want i can give code for the module validation and user commarnd 2000
as below
MODULE STATUS_0200 OUTPUT.
w_lines_200 = sy-loopc.
*Reading table t_zcust_em_create for screen 200.
read table t_zcust_em_create
index table_zcust_em_create-current_line.
*Refreshing The Internal table 't_zcust_em_temp'
refresh:t_zcust_em_temp.
ENDMODULE.
MODULE set_field_validation INPUT.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = t_zcust_em_create-ship_to
IMPORTING
OUTPUT = t_zcust_em_create-ship_to.
select single kunnr from kna1 into v_kunnr
where kunnr = t_zcust_em_create-ship_to.
if sy-subrc = 0.
select single name1 from kna1 into t_zcust_em_create-ship_to_name
where kunnr = t_zcust_em_create-ship_to.
else.
t_gui1-fcode = 'BACK'.
append t_gui1.
t_gui1-fcode = 'EXIT'.
append t_gui1.
t_gui1-fcode = 'SAVE'.
append t_gui1.
SET PF-STATUS 'AIMS_200' excluding t_gui1.
message E002 with t_zcust_em_create-ship_to.
endif. "kna1
ENDMODULE. " set_field_validation INPUT
MODULE USER_COMMAND_0200 INPUT.
*Setting it for select/deselect entries
move:t_zcust_em_create to t_zcust_em_create_sel.
append t_zcust_em_create_sel.
clear:t_zcust_em_create_sel.
*Getting internal table t_zcust_em_create with control
read table t_zcust_em_create
with key ship_to = t_zcust_em_create-ship_to.
*Getting internal table for create entries: screen-200
if sy-subrc ne 0 and t_zcust_em_create-ship_to ne space .
append t_zcust_em_create .
move:t_zcust_em_create to t_zcust_em_create_tmp.
append t_zcust_em_create_tmp .
clear:t_zcust_em_create_tmp ,
t_zcust_em_create .
endif.
clear:t_cols.
*Getting the value of w_fill_200.
describe table t_zcust_em_create lines w_fill_200.
ENDMODULE. " USER_COMMAND_0200 INPUT
PLEASE SUGGEST
REGARDS
ARORA
module read_table_value_0200. -
Data getting deleted from screen fields when I Press Enter
Hi Folks,
I have a serious Issue need to resolve it urgently. I have created a subscreen in PS Module
Prog: SAPLXCN1(Subscreen)
Screen: 0600.
Enhancement: CNEX0006.
I have created a screen and populated the data via search helps, when I fill all the custom fields with values and press enter my data is getting deleted please give me quick solutiojn.
Thanks & Regards,
Ramcharan.Hi RAM,
Check the Code where you are writning , (PBO or PAI)
After that check the sy-ucomm for Enter and write your code accordingly,,.
Thanks & regards,
Dileep.C -
Love Firefox but it's annoying that if I'm using a search engine (I use lots of subscription legal search databases), when I press the back button all the data I entered in the search boxes has disappeared. I'm sure Firefox didn't use to do that?
Please do the following.<br><br>
#Click the Firefox button, go to '''Options '''| '''Options''' | '''Privacy'''.<br><br>
#In the dropdown menu at the top, change it to "'''Use custom settings for history'''"<br><br>
#Checkmark the option: "'''Remember Search and Form history'''".<br><br>
#Remove the checkmark from: "'''Clear history when Firefox closes'''". -
Pressing Enter Button Gives a Blank Page while Cursor is in Text Field
Hi,
I have a problem on my jsp page that there is a text filed (input type="text") and a button (input type="button") to submit the page.
When page loads the cursor blinks in the text field, and at the same moment if i hit the enter button of my keyboard it gives a blank page.
Here the button on page does not clicked by this enter button, no script calls neither the page submitted to the given url.
Kindly suggest what is going wrong.
Thanks in Advance
Rajiv K.I'd come across this issue a while back: [http://tipsandtricks.nogoodatcoding.com/2007/07/html-single-text-field-submit-caveat.html]; when there is only a single text field in a form, then pressing enter causes a submit with the text-field as the initiator. The submit button isn't invoked. This means any onsubmit actions will not be called. A simple way out is to put in a dummy text field in the form and set it's display to none (using CSS/styling)
-
PROBLEM to give condition in ADF table column and on pressing enter
Hi,
1st problem:
========
I have 1 ADF input text ,
<af:inputText id="testinp"
contentStyle="width:200px"
value="#{adfobj.input1}"
/>
say user is trying to enter any value , immediately if user presses "ENTER KEY" inside input text only i should invoke managed bean method
say,
Test.java
======
public void getData(){
2) im trying to display an ADF table,
ADFStandardsLeftMenu=in faces config this name points to "ADFStandardsLeftMenu.java" bean
mostCommonAgencySelectedList=of type arraylist which is present inside this bean
this list obj holds 1 "StandardURLData.java" bean object
accreditedagencyStdSelectedList.add(new StandardURLData("test col"));
public class StandardURLData{
private String stdName;
public StandardURLData(String stdName){
this.stdName=stdName;
<af:table value="#{ADFStandardsLeftMenu.mostCommonAgencySelectedList}"
id="t1" width="100%" var="stdURL"
emptyText="<html><b><font color='red'><center>No Records Found</center></font></center></b></html>"
inlineStyle="height:500px;">
<af:column sortable="false" headerText="STANDARD NAME" align="start" id="c1" width="220px"
inlineStyle="font-weight:bold;">
<af:goLink text="#{stdURL.stdName}"
id="sub_pt_gl1"
destination="#{stdURL.viewerLink}"/>
</af:column>
<af:column sortable="false" headerText="FILE NAME" align="start" id="c3" width="220px">
<af:goLink text="#{stdURL.fileName}"
id="sub_pt_gl3"
destination="#{stdURL.viewerLink}"/>
<af:outputText value="#{stdURL.fileName}"/>
</af:column>
</af:table>
im able to print all the values......
but i want to include 1 condition in go link,
like ,
if "fileName" value (2nd column data) is null or "" (string in StandardURLData bean)
i should not give hyperlink in 1st column "stdName" column
i.e.
(text: stdname should not come in hyperlink)
<af:goLink text="#{stdURL.stdName}"
id="sub_pt_gl1"
destination="#{stdURL.viewerLink}"/>
could anyone tell me how to give these conditions in adf table.
in managed bean even if we check it will be prob while generating cols in table
thanks in adv
regards,
sandeepHi,
If u know the employees who can change the values in other boxes, then follow the below procedure,
In PBO,
if employees can change, (EMP = '....')
loop at screen.
if screen-name = 'Name for the input field'.
screen-input = 1 .
modify screen.
endloop.
else.
loop at screen.
if screen-name = 'Name for the input field'.
screen-input = 0 .
modify screen.
endloop.
endif .
If u r not still clear, Mention ur problem with example
Regards,
Prem Karthick
Maybe you are looking for
-
Error while starting Managed server in cluster
We have 2 Boxes (Box A and Box B), Box A is having Admin and Managed Servers. When i start the Managed server from Admin console of the Remote M/C (the node manager is running on Box B), the following exception occurs.
-
Help - InDesign CS3 crashes on updating/relinking placed InDesign files
I'm using InDesing CS3 5.0.4 and I have a problem that if I try to update/relink a link which is a placed InDesign file in my document it will crash my InDesign, then when I restart my InDesign it will update/relink with no problem. I've searched aro
-
Configuring computer restarts after software update deployment deadlines
I am currently testing in my environment and running pilot deployments at different sites and the way I am doing it is I create deadlines for my test workstations at each site on the Friday following Patch Tuesday at 6PM along with a restart. The pro
-
Non-controllable device/ audio video still out of sync?
importing dv tape with time code breaks. i was told that by setting "non-controllable device" that fc would ignore time code and import without sync problems. is this possible ? thanks to you guys who helped me on my previous post.
-
for anyone interested, I have just completed my first HD to DV conversion. Here are the results: G5 1.8 Ghz, OSX 10.3.9, 2GB of Ram Imovie HD 5.0.2 IDVD 5.01 Imovie lenght 58 minutes Imovie file size 50 GB IDVD file size 1.9GB IDVD processing time 15