Why Webdynpro framework is throwing error in this testcase
Hi All,
In my requirement i'm using the WTGXXX(for Discount field) in Webdynpro ABAP.
If I validate the entries there is a standard check performed by the webdynpro framework when entries other than the numercie fields are given.
This is a webdypro ALV.
For Ex:
when the discount is given as (9-33) it is throwing the error that "The entered value can only contain numerical characters" but it is not throwing any error for (9-(9/22)) or (9-(42)) instead it is calculating the values which is a good feature. But why, (9-33) this case is not handled.
I tried to keep the value in duegging it is working fine.
Before any event gets trigerred for the above cases the value is calculated by the framweork by defalut.
Some times some cases are handled sometimes not.
I'm unable to get this behavior of the framework.
For the first time (9-3*3) calcuation is throwing error from the 2nd time onwards this is giving the correct output. When I load the view for the first time and do this check then error is thrown, second time when the other calcuations are done and again do this calcaulation then this error is not shown instaead it is giving me 0 which is the result.
This case applies to the cases where the expressions result in 0 (defalut values)
One mroe test case for this is - (9-9).
Eventhough the user knows the result of these expresions, these are throwing errors.
How to handle this.
I tired handling this with own DE/Domanin CURR 15 but for the 1st time this error is theon 2nd time on wards the reuslt is shown correct.
Isn't a special case.
When I bound the table again with INITIAL data then again the erorr is thrown for that case.
ie I have one RESET button where i will bind the table again with the INITIAL table entries then agian the error is thrown for (9-3*3).
Is there any SAPNOTE applied or Exceptions to this. Please let me know.
Please replicate the same in Webdynpro Java also and share the reasons.
Currently I'm doing this by taking the string only to avoid these erorrs in case of Zero.
Regards,
Lekha.
Hi
Use another forum for Webdynpro questions: Web Dynpro ABAP
BR, Sergei
Similar Messages
-
package hall;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.*;
/** Simple servlet that reads three parameters from the form data.
* Part of tutorial on servlets and JSP that appears at
* http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/
* 1999 Marty Hall; may be freely used or adapted.
public class ThreeParams extends HttpServlet {
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html");
PrintWriter out = response.getWriter();
String title = "Reading Three Request Parameters";
out.println(ServletUtilities.headWithTitle(title) +
"<BODY>\n" +
"<H1 ALIGN=CENTER>" + title + "</H1>\n" +
"<UL>\n" +
" <LI>param1: "
+ request.getParameter("param1") + "\n" +
" <LI>param2: "
+ request.getParameter("param2") + "\n" +
" <LI>param3: "
+ request.getParameter("param3") + "\n" +
"</UL>\n" +
"</BODY></HTML>");
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
doGet(request, response);
the error is something like,
ThreeParams.java:20:cannot find symbol
symbol: variable ServletUtilities
location:class hall.ThreeParams
out.println(ServletUtilities.headWithTitile(title) +
^
something like that, i do know that the package hall could be the problem, but where can i find that package and where do i put it. thank you. and about this program(that i saw in http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/), well, i really need it as a reference, that is why i need to work on this one. once again, thank you...hi :-)
put your ThreeParams in the folder hall :-)
to resolve the issue in package,
but for ServletUtilities, im not sure where they got that,
i dont see in any part of the code that import or create an instance
for ServletUtilities :-( better to check the code for typo error
or contact the author regarding ServletUtilities.
regards, -
ODI Beep throws error - is this normal?
Hello,
Sometimes ODIBeep throws this error:
ODI-1226: Step zakoncz dzialanie fails after 1 attempt(s).
ODI-1241: Oracle Data Integrator tool execution fails.
Caused By: java.lang.InternalError: Can't connect to X11 window server using 'eB-ETL1.puw:10.0' as the value of the DISPLAY variable.
My server don't have X installed and this step is executed by agent. Why OdiBeep wants to use X server? Is this normal? Also, sometimes this error is thrown, sometimes does not. Can I prevent this error or I should rather to avoid using OdiBeep?yasar11732 wrote:
Ohh, I just realized something. My slim.log file keeps spamming:
Failed to open VDPAU backend libvdpau_nvidia.so: paylaşımlı nesne dosyası açılamıyor: Böyle bir dosya ya da dizin yok
"paylaşımlı nesne dosyası açılamıyor: Böyle bir dosya ya da dizin yok" ==> "Shared object cannot be opened. No such file or directory"
This might have happened after power shortage. My computer started acting weird since. What might be causing this?
Flashplayer. -
Why am I getting an error in this Select statement ?
Any reason why this SQL string does not work on Oracle ?
SELECT * From kestjori.vatnshaed_web WHERE TIEINS = '1' AND TIDTIM BETWEEN To_Date('01.01.2000') AND To_Date('27.10.2000');
TIEINS is of the datatype NUMBER(3)
TIDTIM is of the datatype DATE
I am getting this error :
SQLException: [ORACLE][ODBC Oracle Driver][Oracle OCI] ORA-00911: invalid character
With thanks in advance,
Oskar Jenssoni think there is one exact problem in sql and other is optional.
1. u write field
TIEINS is of the datatype NUMBER(3)
but in query in where part u write
where TIEINS = '1'
so problem is of data type.
second optional problem can be removed by given date format in to_Date() function.
like To_Date('27.10.2000','dd.mm.yyyy')
i hope it will help u
bye
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Oskar Jensson ([email protected]):
Any reason why this SQL string does not work on Oracle ?
SELECT * From kestjori.vatnshaed_web WHERE TIEINS = '1' AND TIDTIM BETWEEN To_Date('01.01.2000') AND To_Date('27.10.2000');
TIEINS is of the datatype NUMBER(3)
TIDTIM is of the datatype DATE
I am getting this error :
SQLException: [ORACLE][ODBC Oracle Driver][Oracle OCI] ORA-00911: invalid character
With thanks in advance,
Oskar Jensson<HR></BLOCKQUOTE>
null -
Why 'wrong number of parameters' error in this call to a stored procedure?
A stored procedure exists that inserts a new record and returns the newly generated record ID. This stored procedure is called from a WinForms application but at the ExecuteNonQuery time an exception is thrown indicating that the wrong number of parameters
has been supplied. If I take out the one parameter that is marked as ParameterDirection.Output then the ExecuteNonQuery does not throw an exception.
CREATE PROCEDURE [dbo].[API_InsertIntoManu]
@Name nvarchar(50),
@Description nvarchar(2000)
AS
SET NOCOUNT ON
INSERT INTO Manu (
[Name],
[Description]
VALUES (
@Name,
@Description
SELECT SCOPE_IDENTITY() As InsertedID
END
GO
The C# code that calls the above SP looks like this:
using (SqlConnection conn = new SqlConnection( "<snipped>" ))
using (SqlCommand cmd = new SqlCommand( "[dbo].[API_InsertIntoManu]", conn ))
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.Add( Name, SqlDbType.NVarChar, 50 ).Value = "some name";
cmd.Parameters.Add( Title, SqlDbType.NVarChar, 200 ).Value = "some title";
// This parameter is supposed to receive the new row's ID but instead triggers a 'wrong number of args' exception.
cmd.Parameters.Add( "InsertedID",SqlDbType.Int ).Direction = ParameterDirection.Output;
conn.Open();
// This is where the exception gets thrown.
cmd.ExecuteNonQuery();
iReturn = (int)cmd.Parameters[InsertedID].Value;
Richard Lewis HaggardIn you sp the size of Title var is 2000 and not 200, correct this:
cmd.Parameters.Add( "@Title", SqlDbType.NVarChar, 200 ).Value
Fouad Roumieh -
I have iTunes running on my Windows8 desktop for some while with no problems. Yesterday I purchased a song, deleted a free game app. and upgraded to the most current version of iTunes. This morning I could not pull up iTunes, so I retored my iTunes to a setting two (2) days ago. Now, as soon as I try to start iTunes I get a message stating: This version of iTunes has not been correctly localized for this language. Please run the Enclish version OK. So I hit the OK button and nothing happens. Please help.
Hi there GloriaNM,
You may want to try removing and reinstalling iTunes as an initial troubleshooting step. Take a look at the article below for more information.
Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
http://support.apple.com/kb/ht1923
-Griff W. -
Dialog box throws error "This content cannot be displayed in a frame"
I have disconnected a SP2010 db and re-connected to a new SP2013 farm. The visual upgrade is not yet done and decided to continue with sp2010 UI for now. In SP2013, I get the following error when I click "Add new item" in a list and "New
user" in a SP Group. Any dialog simply throws error.
This content cannot be displayed in a frame.
To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame.
I have also added "<WebPartPages:AllowFraming runat="server" />" and <meta http-equiv="X-Frame-Options" content="allow">
to the master page but no luck.
Your assistance wil be appreciated.
ThanksHi,
This error is generally specific to Internet Explorer and has two possible causes. The most likely explanation is that your browser has unusual browser security settings. I would recommend you try
resetting your security settings to defaults (varies by version but all essentially the same). You may also have to turn off
Protected Mode which is enabled by default on some systems. If you’re seeing this error (or a version of it) outside Internet Explorer, you may have a server-level setting that is preventing your content from being framed.
Reference:https://social.technet.microsoft.com/Forums/exchange/en-US/1460c5a5-6242-4402-9f6b-bc581bf56478/content-cannot-be-displayed-in-a-frame-when-trying-to-add-item?forum=sharepointgeneral
Thanks,
Eric
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Eric Tao
TechNet Community Support -
Deployejb and ejbdescriptor throws error
I tried to deploy the ejb application to database using oracle
tool deployejb at DOS prompt,, like this
deployejb -republish -temp H:/myprojects/temp -user system -
password aabbcc -service %ORACLE_SERVICE% -verbose -descriptor
My8iEJB.ejb -generated My8iEJBClient.jar My8iEJB.jar
where ORACLE_SERVICE = sess_iiop://ventas.ideas:1521:vtas
this throws error like this
Unable to initialize threads : cannot find class java/lang/Thread
And tried ejbdescriptor like this
ejbdescriptor -parse My8iEJB.txt My8iEJB.ejb
this throws error like this
Class not found : deI tried to deploy the ejb application to database using oracle
tool deployejb at DOS prompt,, like this
deployejb -republish -temp H:/myprojects/temp -user system -
password aabbcc -service %ORACLE_SERVICE% -verbose -descriptor
My8iEJB.ejb -generated My8iEJBClient.jar My8iEJB.jar
where ORACLE_SERVICE = sess_iiop://ventas.ideas:1521:vtas
this throws error like this
Unable to initialize threads : cannot find class java/lang/Thread
And tried ejbdescriptor like this
ejbdescriptor -parse My8iEJB.txt My8iEJB.ejb
this throws error like this
Class not found : de -
SharePoint Designer: throwing error while open my sharepoint web applicaiton
When i try to open web application in sharepoint designer. I can't able to open it throw error like this
An Error occured accessing your Microsoft sharepoint foundation site files. Authors - if authoring against a web server, please contact the webmaster for this server's web site. WebMaster - please see the server's application event log for more detailsThis error occurs if you try to use a reverse proxy to rewrite the response body contents for a SharePoint site as well. We were attempting to inject a Google analytics tracking javascript in the body of all responses. The code never did show up
successfully and this error message resulted as well. We eventually discovered a web solution out on Codeplex that allows you to add the Google analytics tracking script. This article hinted at the root cause:
http://support.microsoft.com/kb/329362/en-us -
Why is the statement "if (fn_vec.length == 0)" throwing error "RangeError: Error #1125: The index 0 is out of range 0."?
fn_vec is a Vector.<Function>, and it's not null. It's length is in fact zero.
This makes no sense.Hi yu.wei.qian.07,
the problem with the second block of code is that you are
enumerating through the children of the canvas using their index
number. The problem with this is that you are removing children
from the canvas. When you remove a child from a parent object the
index is recalculated and ultimately the number of children for
that parent object is reduced by 1. Since you are starting at zero
and going forward through the loop index you are reaching the last
child index about half way through the loop. A way that would
probably work to fix this would be to loop backwards through the
children (ie start at the last index and loop back to index 0).
I hope this helps. -
In iCal - I keep getting the error message “ This calendar was created by Mail” and it will not accept any input; why..??
use Disk Utility and Verify Permisions then fix and Verify Disk and fix, this should fix it.
-
I'm trying to update my iphone 3GS to the 4.3.4 version and I am getting the error message "This version of itunes (version 9.1.1) is the current version. How do I update my PHONE and why is an itunes update being confused for my iphone?
You need iTunes 10.0 or greater to update your phone...iTunes isn't confused at all. If you're on a Mac, you'll need OS X 10.5.8 or greater to update iTunes to 10.0 or greater.
-
When I do initial set up with creative cloud set up it wont run a send error message "installer failed to initialize" comes up. Why and how can I get passed this?
Error "Installer Failed to Initialize" | Install desktop application | Windows
-
I can't connect my ipad to PC. iTunes doesn't recognise it. In turn I receive an error that this connection can't be established as a returning fault from ipad. why that happens??
The returning message is: "iTunes could not connect to the iPad because an invalid response was received from the device''
-
Why there is a error in this query ?
why there is a error in this query ?
declare
v_exist pls_integer;
v_search varchar2(255) := '175';
v_sql varchar2(255);
begin
for s in
(select table_name, column_name
from user_tab_columns
where data_type like '%CHAR%'
order by table_name, column_name)
loop
v_sql := 'select count(*) from '||s.table_name||
' where instr('||s.column_name||',' || CHR(39)|| v_search|| CHR(39) ||') > 0';
execute immediate v_sql into v_exist;
if v_exist > 0 then
dbms_output.put_line(s.table_name||'.'||s.column_name||' matches the string.');
end if;
end loop;
end;
Error:
The following error has occurred:
ORA-00933: SQL command not properly ended
ORA-06512: at line 14
Edited by: user575089 on Dec 23, 2009 4:14 AM
Edited by: user575089 on Dec 23, 2009 4:14 AMSee, Right now i am in schema and see below :
set serveroutput on;
declare
v_exist pls_integer;
v_search varchar2(255) := 'SCOTT';
v_sql varchar2(255);
begin
for s in
(select '"'||table_name||'"' table_name,'"'||column_name||'"' column_name
from user_tab_columns
where data_type like '%CHAR%'
and table_name not like '%$%'
order by table_name, column_name)
loop
v_sql := 'select count(*) from '||s.table_name||' where instr('||s.column_name||',' || CHR(39)|| v_search|| CHR(39)||') > 0';
--dbms_output.put_line(v_sql);
--execute immediate v_sql;
execute immediate v_sql into v_exist;
if v_exist > 0 then
dbms_output.put_line(s.table_name||'.'||s.column_name||' matches the string.');
end if;
end loop;
end;
"EMP"."ENAME" matches the string.
"EXCEPTIONS"."OWNER" matches the string.
"FLOW_TABLE"."OBJECT_OWNER" matches the string.
"MYEMP"."ENAME" matches the string.
PL/SQL procedure successfully completed.
I am getting output; that i search "SCOTT" word in my search string.
Maybe you are looking for
-
Rmic skeletoton stub creation problem with packages
Hi, I was able run a RMI app without the package but when I try to introduce packaging(mindful of Classpath issues) it gives me the an error. My server directory is called server1 which is located under my home directory.All my server files i.e MHTas
-
Problem in Production order confirmation
Dear Experts. I m regularly processing production order process, but suddenly i cant able to do the same. My scenario is, created the Production order and while confirming the same i am getting error as MAKE 103 AND THEN 105 Kindly solve my problem.
-
How do I export audio only?
I have audio that needs cleaning up beyond what I know how to do and I want to send it off to a friend... the FCP Library is around 133GB so I'd like to just send the audio. How can I do that? Using version 10.1.4 Thanks.
-
I am using LR 1.1 and PS CS3. In LR preferences this is grayed out "Edit in adobe photoshop (not found)". How can I point LR in the right direction so it can find PS. I tried un-installing & re-installing LR and no help.
-
Try to lauch AE and get an error saying "this version of AE can't run on the current version of MacOS" (I'm running 10.9.1). The CC app says AE is up to date, yet Version is 12.0. Searching your site reveals that 12.2.1 is the current version, but th