Error BC30198 ')' Expected
I'm trying to perform a series of calculations in SSDT 12 and the first I thought would be extremely basic. It works as an expression in a textbox but when I try the same thing in a variable I get an error. I'm trying to do "85 - used percentage".
Used Percentage is a field returned from a query and 85 is a fixed value.
=85-(Fields!UsedPercent.Value, "DataSet1")
It needs to be in a variable because I then need to perform another calculation on it before I can use it as the result in a column. I'll then have to do the same thing a few more times with different data. The error I'm getting for the above is that a closing
bracket is expected ')'.
I hope this is enough information
Thanks in advance
Adam
You need to provide how you want to aggregate the value.
For example:
=85-SUM(Fields!UsedPercent.Value, "DataSet1")
Or, drop the group name from the parens:
=85-(Fields!UsedPercent.Value)
Similar Messages
-
Help with error message: Expected end of line but got identifier
The following is a calculated applescript step in a Filemaker script. It tells iCal to go to the date of an iCal event that the script has previously created from Filemaker. The code below keeps generating an error message: "Expected end of line but got identifier." Note: "ACTIVITY::Date" below is Filemaker's way of indicating the file name (ACTIVITY) and the field in question (date). Help appreciated.
"tell application \" iCal\" ¶
activate ¶
switch view to month view ¶
set theDate to date \"" & ACTIVITY::Date & "\" ¶
view calendar at theDate ¶
end tell"It's not clear exactly what you're aiming for here, so it's not easy to tell you how to fix it.
At first glance I'd say you're missing a quote symbol or two, but even then it doesn't make a lot of sense without more context - for example, 'ACTIVITY::Date' isn't valid as an AppleScript variable name (you can't have a : in a variable name), and your code isn't within a Filemaker block, so it doesn't appear to relate to Filemaker, either.
In either case the only thing that looks remotely valid to me would be:
set theDate to date "\"" & ACTIVITY::date & "\""
but without knowing the context of ACTIVITY::Date it's impossible to tell if this is valid, or how it differs from:
set theDate to date ACTIVITY::Date
(i.e., why the quotes are needed at all) -
EIC Error *nty_is_active* is undefined & Error: Object expected
Hello,
Installation Product Version ECC 6.0
We´re implemented Employee Interaction Center (EIC).EH 4 SP2
Component version: EHP 4 for SAP ERP 6.0 /7.0.
We have already installed the component EIC in the system and activated some services in SICF and Activation of Business functions in EIC in Transaction SFW5.
The problem is that when i launch the transactino "HREIC" the web explorer 7.0, launch an error about some configuration object:
ERROR:
Line: 301
Char: 9
Error nty_is_active is undefined
Code:0
Line: 295
Char: 9
Error: Object expected
Code:0
Could you recomend me also some configuration guide with all the details that i have to configurate to EIC, please?
Thanks so much for your help!
Edited by: llello gomez on Jun 3, 2009 5:01 PMHi Ilello,
You said you activated "some" services via SICF. Please make sure they are all activated as below and see SAP Note 1176990:
ICF services must be activated via transaction SICF:
/sap/bc/bsp/sap/hreic_vp,
/sap/bc/bsp/sap/ic_base,
/sap/bc/bsp/sap/hreic_rt_rep_vp,
/sap/bc/notify,
/sap/bc/bsp/sap/sam_notifying,
/sap/bc/bsp/sap/sam_sess_queue,
/sap/bc/bsp/sap/hrrcf_btf_edit.
/sap/bc/bsp/sap/crm_bm
We are in the middle of configuration of the EIC now. Many parts to put together but we hope the final product will meet our expectations.
Paul
Edited by: Paul Davidson on Jun 4, 2009 11:03 AM -
Microsoft JScript Runtime Error, Line: 0, Error: Object Expected?
Hi,
I just got a new computer and I have Java 2 Runtime Environment SE v 1.4.2. I keep having problems with it. It says, "Microsoft JScript Runtime Error, Line:0, Error: Object Expected. I have no idea what to do or what is actually causing this. It shows up randomly when I have been using "Dell Jukebox by musicmatch" or even when I'm surfing. Can someone please help me fix the problem?
"Jay"Hi,
I just got a new computer and I have Java 2 Runtime
Environment SE v 1.4.2. I keep having problems with
it. It says, "Microsoft JScript Runtime Error, Line:0,
Error: Object Expected. I have no idea what to do or
what is actually causing this. This is not a java err. It is a scripting error.
It shows up randomly
when I have been using "Dell Jukebox by musicmatch" or
even when I'm surfing. Can someone please help me fix
the problem?
"Jay" Someone can certainly help you - contact the website's webmaster & send them the err. They wrote it; they have to fix it. -
hi, im getting an error message, "expected identifier" and another one, "expected expression" when i try a c program in xcode
You have errors in your C code. If you want anyone to be able to help you, you need to post the code. You also should tell us the version of Xcode you're using and the type of Xcode project you created for the C program.
-
Error - '.' expected - while database insert thru JSP & javabeans & JDBC
I get the following error when i try to compile the below mentioned code in JDEVELOPER 10.1.2
Error : '.' expected
===================
have error in my code. I am trying to do a simple database insert program using javabeans and jsp. I get a value to be inserted in database through the jsp page in a text box and would like to be inserted into database using beans The connection to database and mysql query are in java file.
Here is the code.
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ page language="Java" import="java.sql.*" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
<html>
<head>
</head>
<body>
<form name="form1" action="beancode" method="POST">
Emp ID: <input type="text" name ="emplid"> <br><br><br>
<input type = "submit" value="Submit">
<jsp:useBean id="sampl" class="beancode" scope="page">
<jsp:setProperty name="sampl" property="*"/>
</jsp:useBean>
</form>
</body>
</html>
I know i might have made a mistake here in using the bean. Here is the java code which does the insert part.
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
* @author Trainees
public class beancode
private String employid;
private Connection con = null;
private ResultSet rs = null;
private PreparedStatement st = null;
/** Creates a new instance of beancode */
public beancode()
try
Class.forName("org.gjt.mm.mysql.Driver");
Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/sample?user=user&password=password");
catch(Exception e)
System.out.println(e.getMessage());
public void setemployid(String empid)
employid = empid;
public String getemployid()
return (employid);
public void insert()
try
String s1="insert into samp values('"+employid+"')";
st = con.prepareStatement(s1);
st.executeUpdate();
st.clearParameters();
st.close();
catch(Exception m)
}It's pretty hard to spot any errors the way it's currently formatted. But, you're trying to call the beancode when submitting your form, but the beancode isn't a servlet. Try to find a working example, run it, and then change it to implement your requirements.
The following example shows you have to use the jstl sql tags: http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jsps/jstlsql.html. If you want to do an insert when a user submits a form, you need 2 pages. The first will contain your form, the second will insert the record.
(once you've got that running, look for some examples using an mvc framework, and how to use bind variables with jdbc) -
(error:type expected) help!!!,please!!!
i have a program i am working on, but the compiler tells me i
have a "error:type expected" here is the line of code:
System.out.println("descending order sort"); it says i need a
"type" right where the first parenthesis is. If someone could help
me it would be great.Black Prince, why don't you sign on with a new ID - for the NEXT time you're stuck with your code (people probably know this one too well, so you've blown it on this - though) try 'javaranch' as the second best, to my knowledge java forum on the planet for this one.
- I think you've blown it as the romantic Black_Prince, but at least now you've learned how to behave. See you in the the next (java forum) life then and ...
... keep at it, java really is fun! -
Error: object expected in WAD-javascript
hi all,
i have written a .js file which i am using in WAD templates.
there are certain functions which , when i move to the .js file i get the error: object expected.
if i keep those functions in the template i do not get ne error.
i just can't figure out why it is happening.
please help
Godhulii guess after moving to file in the MIME repository, you have properly linked it. if you still get this error it may be that server cache is causing problem.
you can invalidate the server cache from SMICM transaction. (this you may have to do it every time you change the .js file and reload it to MIME repository)
also check this thread for clearing cache
How to clear Cache in SAP BW
Regards
Raja
Message was edited by: Durairaj Athavan Raja -
ERROR: Function expected
Does any one of you know what does it mean?
I've created a report in CR 10 earlier. After that i just migrate the CR 10 report to Crystal 11 using Crystal 11 client. And it was running well in the client.
Also I exported the report into BO XI R2 enterprise server. But it is throwing the following error while trying to launch the report from BO InfoView.
ERROR: Function expected
Pls. let me know what this issue means?
Thanks
ViswaHi,
Thanks for your reply.
When checked under Report>>Formula Workshop i found some Repository custome functions and i've no rights to delete those functions! And those functions are not used in the report too...
The complete error text is : ERROR: Function expected only.
I'm wondering why this is happening under InfoView only not in Crystal client!
Pls. let me know
Thanks
Viswa -
A Runtime Error Has Occured Do you wish to Debug? Line 90 Error: Object Expected
A Runtime Error Has Occured Do you wish to Debug? Line 90
Error: Object Expected
This error is recieved when trying to open "The Fan" video
news Page from Comcast, This error appears and when you select yes
or no, the page comes up to install Adobe Flash Player, however
even after installing it, the error still appears when attempting
again, even after restart, this does not occur on Firefox, only
IEAlso I am on Windows Vista
-
How do I fix my PDF so I don't get the error message: "expected an array object"?
When I try to delete certain pages from my PDF file (which is larger than 3,000 pages), I get an error message that states "expected an array object." I am unable to delete these pages. How can I fix this problem?
It looks like the original PDF file is damaged in some ways. Have you tried creating a new file from the existing file to see if it works? The quickest way to create a new file is to print the existing file to a PDF file. OK you lose some quality but this is just a test to see if there is anything else wrong with the Acrobat setup or with the document itself.
-
XML parsing error, whitespace expected
I'm seeing this "XML parsing" error in the SSRS Logs once in a while and I don't know what is causing it. The weird thing is that the report doesn't get this error everytime, most of the time it will work. I originally thought that
it might be the data that is being returned but I don't know if this is the case. Usually when a user gets an error, they'll just run it again later and it'll work the 2nd time. I looked at the report parameters in the ExecutionLogStorage table and the same
parameters are passed in each time.
Does anyone have any ideas of where I can look to get to the bottom of this one? Any help is appreciated.
The actual error from the logs is below:
processing!ReportServer_0-26!fdc!05/08/2014-13:33:12:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset 'DataSet1'. ---> System.Data.SqlClient.SqlException: XML parsing: line 1, character 121, whitespace expected
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.ReportingServices.DataExtensions.SqlCommandWrapperExtension.ExecuteReader(CommandBehavior behavior)
at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.RunEmbeddedQuery(Boolean& readerExtensionsSupported, Boolean& readerFieldProperties, List`1 queryParams, Object[] paramValues)
Thanks,
-SongHi Song,
Sorry for the delay.
I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
Thank you for your understanding and support.
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Error when expecting "receive" from partnerLink
Hi,
I keep getting this error after invoking a partnerlink (invoke) and expecting its response (receive). Here is the bpel snippet and the error:
<invoke name="InvocarAgencyAsync" partnerLink="AgencyPartner" operation="SubmitTransaction" portType="ns1:AgencyServiceSoap" inputVariable="agencyAsyncIn"/>
<receive name="RecibeRespuesta" partnerLink="GovTalkPartner" operation="SubmitTransactionResponse" portType="wsdlNS:GovTalkServicePortType" variable="respuestaAsync"/>
=======
ERROR
=======
couldn't process the event com.sun.jbi.engine.bpel.core.bpel.engine.impl.InComingEventKeyImpl@f7b8fc
Failed to process In Only Message messageExchangeId: 1150816737984-7043771
In only request: SE reported a transmission errorThis is just a guess: For asynchronous message exchange such as you appear to be using, you must declare a correlation set (or correlation sets) to allow the WS-BPEL engine to associate the received message with the process instance that sent the request. Are you doing that?
-
Javascript error: object expected
hai..
i used two javascript show(),hide(id) methods for particular page items... i had called those methods from the templates bcoz im passing some id from the template that is needed in the page level javascripts...
now my problem is for some i didnt not implemented those methods hide(id) & show() bcoz it is not needed for me in that page , but its showing me error saying 'Object Expected' .. how can i overcome this problem...
do i need to override the method in each n every page... is there any alternate solution for this...
anooHello,
>> but its showing me error saying 'Object Expected' .. how can i overcome this problem...
Another option is to condition these show/hide functions. You can use something like this:
if ($x(‘id’)){
hide(‘id’);
}That will prevent the functions from running if the element ID ‘id’ is not rendered on the page.
Regards,
Arie.
Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefits us all. -
When calling method error .class expected
First the method I'm calling.
public void ExeSqlStmt(String sqlStmt, String columnNames[], String connectString, String userName, String password,int numColumns)
This compiles clean. The code that calls the method is giving me fits with expecting .class, expecting ), can not resolve symble and unexpected type.
The offending line is near the bottom of the code.
Thanks,
-Rob
package jdba;
* Execute the sql statement
// java imports
import java.util.Vector;
import java.awt.event.*;
import java.awt.Toolkit;
import java.awt.Container;
import java.awt.BorderLayout;
import java.awt.Color;
import javax.swing.JScrollPane;
import javax.swing.ScrollPaneConstants;
import javax.swing.JTable;
import javax.swing.JPanel;
import javax.swing.JFrame;
import javax.swing.JLabel;
// sql imports
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.sql.PreparedStatement;
import java.sql.Connection;
import java.sql.DriverManager;
public class SqlUtil extends JPanel
Connection conn; // database connection object
Statement stmt; // statement object
ResultSet rslt; // result set object
// create someplace to put dat
Vector data; // = new Vector();
Vector columns; // = new Vector();
Vector colHeads; // = new Vector();
public SqlUtil()
// setup panel
JPanel sqlPanel = new JPanel(false);
sqlPanel.setLayout(new BorderLayout());
setBackground(Color.white);
setForeground(Color.black);
public void ExeSqlStmt(String sqlStmt, String columnNames[], String connectString, String userName, String password,int numColumns)
data = new Vector();
columns = new Vector();
colHeads = new Vector();
try
// connect to database
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection(connectString, userName, password);
// select data into object
stmt = conn.createStatement();
rslt = stmt.executeQuery(sqlStmt);
while (rslt.next())
columns = new Vector();
for ( int i=0; i<numColumns; i++ )
colHeads.addElement(columnNames); // column heads
columns.addElement(rslt.getObject(i+1)); // get the Object at i+1
} // end for
data.addElement(columns);
// create the table
JTable table = new JTable(data,colHeads);
// add table to scroll pane
int v = ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
int h = ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
JScrollPane jsp = new JScrollPane(table,v,h);
// Add scroll pane to content pane
add(jsp, BorderLayout.CENTER);
// close the result set and close the statement
rslt.close();
stmt.close();
} catch (SQLException ex)
String msg = "SQL error: "+ex.toString();
} catch (Exception ex)
String msg = "Error: "+ex.toString();
} // end constructor
} // end SqlUtil class
// then we have the code that is calling and getting the errors
package jdba;
// java imports
import java.util.Vector;
import java.awt.event.*;
import java.awt.Toolkit;
import java.awt.Container;
import java.awt.BorderLayout;
import java.awt.Color;
import javax.swing.JScrollPane;
import javax.swing.ScrollPaneConstants;
import javax.swing.JTable;
import javax.swing.JPanel;
import javax.swing.JFrame;
import javax.swing.JLabel;
// sql imports
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.sql.PreparedStatement;
import java.sql.Connection;
import java.sql.DriverManager;
// rollback contention
public class RollbackContention extends JPanel
Connection conn; // database connection object
Statement stmt; // statement object
ResultSet rslt; // result set object
//private vars
private String userName = "[cut]";
private String password = "[cut]";
private String sid = "rob";
private String port = "1521";
private String server = "[cut]";
private String connectString = "jdbc:oracle:thin:@"+server+":"+port+":"+sid;
private int numCols = 3;
private String sqlStmt = null;
private String prompt = null;
private String colNames[] = {"name","waits","gets"};
// constructor
public RollbackContention()
SqlUtil exeStmt = new SqlUtil();
sqlStmt = "select name, waits, gets";
sqlStmt = sqlStmt + " from v$rollstat, v$rollname";
sqlStmt = sqlStmt + " where v$rollstat.usn = v$rollname.usn";
// here is the offending line.
exeStmt.exeSqlStmt(sqlStmt, colNames[], connectString, userName, password, 3);
// loop through and display the rollback segmentsIn your call your referencing the array as colNames[] - it should be colNames (no []'s )
exeStmt.exeSqlStmt(sqlStmt, colNames, connectString, userName, password, 3);
Maybe you are looking for
-
Simple ques.: how to open new empty editor file in Xcode 4.0?
I use Xcode 4.0 as an editor for stand-alone C++ programs. In earlier versions, I would just open a new empty file (cmd-shift-N, I think; the new file option, which was just cmd-N, gave me something else) and start typing. But in v. 4.0, I haven't
-
Hello All, We are facing a strange problem in simple abap program. Following is the program . PROGRAM DEMO_ELEMENTARY_DATA_OBJECTS. DATA NCK1(40) type c . NCK1 = THE. WRITE NCK1. When we try to check the program system throws error message stati
-
Dynpro: event handling on input field in custom control?
Hello, can I put an input/output Field in Custom Control? I have seen this (DD_ADD_FORM_INPUT) but i dont need a Form. What i want to do is: Double Click Event handling on the input field in the custom control. Thank you?
-
Installing photoshop using creative cloud and it comes up with error code 50
installing photoshop using creative cloud and it comes up with error code 50, what is this?
-
Error 10035 occurred at cwdaq: The specified attribute is not relevant
Not sure what board this is supposed to go under since there isn't one for the PCI-6023E or the diagnostics utility. I have a PCI-6023E card (several in fact) that we use. I have ran several through the online diagnostics utility and they most of th