Problem faced when using calculated field as filter
Iam using an Oracle External Data Source.The external table contains a timestamp field and I add this to my data object.The year,month etc. functions work well on this field and results appear on list views.But when I try to generate a filter for this field and display the view I get errors.
SQLSYNTAXERROREXCEPTION_REPORTSERVER_STREAMINGLIST_INITIALIZE
Exception Message ORA-00904: "MONTH": invalid identifier
So,I tried out with the call center data object found in bam samples.This had a datetime field.Filters on calculated fields work fine here.
Is the former problem due to timestamp datatype or external datasource or anything else?
Thanks,
Raghuram
Answer to following questions will help me narrow down the problem:
1. Which version of BAM are you on - 10g or 11g?
2. What condition are you using in filter i.e. "is equal to", "is less than equal to", "is like"...etc?
3. In which format is the timestamp data being given in the filter? (by format, I mean mm-dd-yy HH:MM:SS etc)
4. Can you give the exact datatype of the DB in which this timestamp data is stored?
Similar Messages
-
Problems faced when using xsl:include and extension functions
I am Working in XML and XSLT using Oracle's XML Parser V2.
Previously i had worked in Microsoft technology using MSXMLParser.
I am facing some problems in XSLT. They are as below...
1. Using <xsl-include href="Somexsl.xsl">
the oraclexmlparser processor is giving the error : XSL-1002: Error while processing include XSL file (no protocol: Submenu.xsl).
* Can u tell me why i am getting this error, and what is the fix for this.
The same case with <xsl:import> too.
2. In case i have to write some functions in the previous WD of xsl i used these statements
<?xml version='1.0'?>
<!DOCTYPE PageRoot SYSTEM "../../Common/dtd/PageNavBar.dtd">
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/TR/WD-xsl"
xmlns:html="http://www.w3.org/TR/REC-html40"
result-ns="">
<xsl:script xmlns:xsl="uri:xsl"><![CDATA[
var strWebContentPath = "/SurSITE/Content/";
var strWebImagePath = "/SurSITE/sursitegraphics/";
function IncScript()
return "<script language='javascript' src='/SurSITE/Includes/avalidations.js'></script>";
]]>
</xsl:script>
To call the function i used this
<xsl:eval no-entities='true'> IncScript();</xsl:eval>
* Can u tell me how do i do this now, i tried with the code above using the current name space (<xsl:stylesheet version="1.1"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" />)
Please use the example given above.
I will be very greatfull to u if u can give me some suggestion or help for the above said problems.
Thanking you and eagerly waiting for your reply(s).
nullThe current version is "1.0" not "1.1"
You haven't included the code for what your <xsl:include>
statement looks like, which seems to be what it's complaining
about...
XSLT 1.0 has no <xsl:eval>, this is a microsoft specific tag
from a pre-XSLT-1.0 version.
XSLT 1.0 has no <xsl:script> element either. -
Problems faced when using JSTL
Hi all,
I am a beginner in using JSTL 1.1 tag library in my web application and I got problems when I was dealing with it. The problem is, how can I pass the form bean parameter value (e.g. ArrayList) into the core tag? What should I do before defining the <c:forEach/> and the attributes I should defined inside the tag? I am confused with them. Could anyone have suggestions? Please do shout. Many thanks!
VanJSTL works with JSF only in particular circumstances. Those are some guides about this topic:
http://jsffaq.com/Wiki.jsp?page=DoJSTLAndJSFCanBeUsedTogether
http://jsffaq.com/Wiki.jsp?page=IsItPossibleToUseJSTLsCForEachWithFacesContext
http://jsffaq.com/Wiki.jsp?page=IsItPossibleToUseJSTLsConditionalTagsWithFacesContext
Sergey : http://jsfTutorials.net -
Highlight loss when using adjustment brush & graduated filter.
Hi
I'm using Lightroom 2.2 on a Mac.
Is anyone else having the same problem? :
When using the graduated filter or adjustment brush on an image it seems to cause some of the top end highlights to burnout, which is rather frustrating as it is usually when I am trying to rein them in a little.
It seems to happen automatically even when not working directly on those areas and I cannot pull them back with the localised adjustment tools themselves.
Any thoughts would be most welcome.
Thanks
GrahamHi Eric
Thanks for your reply
I've had another look at it... whenever I have a negative exposure setting on the brush or gradient and apply it anywhere in the image it seems to affect the top end highlights throughout the image even if they haven't been clicked on.
It's just a small change but it is frustrating to lose highlight detail when you've worked hard to capture it in camera!
Look forward to hearing from you.
Graham -
Using Calculated Field in Multi Value Field
In Siebel Application
Sales Order---> List
There is a field call "Sales Rep" which displays an "USERID" of Order Sales Team Mvg Applet.
But We want to display the Last Name and First Name (combined).We got the first and last name using calculated field (Active Full name).
When I try to get the full name, the system display the name based on the "Primary position", if I step out of the particular row and come back again
Is there any way to display the full name without step out any rows for Sales Rep fieldYour description is a little confusing. For performance reasons it is always best to set the use primary join on multi value links. This means that when multi value fields are displayed in applets they always show the primary by default. If you want to display something other than the primary what is your rational behind this and why not make the record you want to display the primary?
Message was edited by:
Richard@AXA -
i am trying to cut and paste from a program, IEP DIRECT, and normally on my PC I have no problems; however, when using my MAC the formatting gets all mixed up
If you refer to this
https://www.iepdirect.com/iepdotnet/hub/index.html
then they have an issue with mac version.
At a first glance, their website is optimized for Windows only, it displays badly in Safari, perhaps it would be better in Firefox or other browser. -
Just downloaded photoshop cc on my pc, when using the camera raw filter noticed there are no descriptions for the sliders! Very difficult to edit photos. Already checked preferences. Anyone else have this issue?
They should be labeled....
-
Problems occured when using BAPI_INSPECTIONPLAN_CREATE
hi,guys!
please help!
problems occurred when using BAPI_INSPECTIONPLAN_CREATE to create inspection plans.
problems as belows:
This inspection point completion is not possible for task list type Q;
Consistency check not successful when creating operation;
Inspection characteristic cannot be uniquely assigned to one operation.Hi Alex,
There must be some data issue.
Just try to create the Inspection plan without BAPI i.e. using the transaction for the data you have and see whats happening.
Regards,
Atish -
Software shuts down when using the lightning effects filter. Help!
Software shuts down when using the lightning effects filter. Help!
Have you done a Forum search yet?
Is your GPU driver up to date?
What are your version of Photoshop, OS and GPU anyway? -
Problem with Math In Calculated Fields
I am calculating a group incident rate for data returned from
a query. The formula is Number of cases multiplied by 200000
divided by number of hours worked. Cases in my report is the
calculated field: calc.CaseSum (the sum of cases for the group)
Hours is calc.SumHours (the sum of hours for the group). The actual
values for these variables (for the first group are 48 and 29427171
respectively. When I create the following calculated field called
rate using the formula: (calc.CaseSum * 200000) / calc.SumHours,
Cold Fusion Generates a Runtime Error:
Invalid ColdFusion expression in report. If the expression is
a string, ensure that it is within quotes. Error: (calc.CaseSum *
200000) / calc.SumHours is not a valid ColdFusion expression.
If I use the constant value "29427171" as the divisor, the
report works albeit only for the first group. Any ideas; is this a
bug, or am I misusing the product?
Addition: I forgot to mention I am using CF8. Also this
formula worked fine as a Report Total before I introduced grouping
and modified the calculated fields to reset on the change of a
group.Sorry, I've been on another project for awhile. This problem
will certainly be a "show stopper" for me if I cannot resolve it.
As I mentioned in my original post, I used a constant in the
formula in lieu of the variable and the calculation worked. This
would suggest that CF does not have a problem with a large number.
In spite of that reasoning, I tried Tony's suggested (thanks
by the way!) with the identical outcome, only difference is the new
formula is displayed in the error message.
Tony, you also suggested that I set the variables using
CFSET... How would I do this within the report writer environment.
I had tried a similar approach: to perform half the calculation
i.e. that within the parenthesis, and assign that value to a
separate "calculated field: and then perform the rest of the
calculation on that variable with the same outcome.
I think that I may be dealing with a CF bug here, I'd like to
find a workaround... I've noticed that CF8 has a new patch, perhaps
after I apply it, I may be able to get this thing to work. I'm on
another project right now so it will be a few days before I can
test this theory, I report the result.
Should this fail, and no one can come up with a workaround, I
will report this to Adobe. -
Answers - would like to use calculated field's name, not expression
Hi Everyone,
I'am trying to make several calculated fields in a single query in Answers. Each field references the previous one, and the expression of the first one is already 5 rows long.
Now I reference it in the second calculated field by using "Edit Formula" -> "Column" -> 'Colum name'.
My problem is, that it puts the expression of the previous field, not it's name. I have to use it for almost 10 times in this single expression, so -although it works fine- it is totally unreadable, and very hard to debug for example.
And after all, I should use this field again, in several next calculated fields.
Does anyobody have an idea, how to make calculated fields having only the name of referenced other fields in it?
The repo is set for ad hoc reporting also, so using session variables which need to be set in Administrator Tool, is not an option.
Thanks for help in advance.
Tom
Message was edited by:
user608765Hi Venkat,
thanks for the response. It would work, no doubt, in this special case, the problem is, that users use the repo for ad-hoc reporting aswell (and they don't have access to repo administration of course), so one can count on it, that there would be a new request of this kind every day to change the repo with customized user variables. I would like to avoid this of course.
Having the name of a referenced field in a new expression would be a simple solution. Is it possible, that it can't be done?
Tom -
When is a message considered as received when using Near Field Communication?
Hi there!
I'm using Near Field Communication(NFC) in my app(it's a game) and I just want to send very simple messages so the regular NFC tap suffices.
I've read the documentation and went through the proximity sample and I understand what I've to do to make this work, so no problems so far.
The thing I'm struggeling with is the following: I would like to send a message using NFC to a particular player in my game.
Two players are connected to each other and only those two should be supposed to be able to send messages to each other using NFC.
These messages do not contain any secret information so I can use the "Windows." format as tag to subscribe to and send messages with.
I came up with the idea to subscribe for a tag that's basically your userId and publish messages with a tag that consists out of your opponents user_id. All of that works fine the thing is, I use the MessageTransmitedHandler and MessageReceivedHandler, the
one is raised when you've succesfully transmited the message and the other one when you've received a message.
These callback functions make sure that you only send a message once and receive it once by using the StopPublishingMessage and StopSubscribingForMessage functions. And here's the catch, I only want to call these functions if you actually "consume"
the message you receive! And stop publishing a message when the correct opponent received it.(This is to make sure that if multiple users are in the same room for example that only the one's related to each other can tap each other's devices).
Right now the callback function will always stop publishing the message, or subscribing to a message even if you tapped the wrong user.
I'm not 100% sure but I do believe this is because the callback function is called no matter if the other device really "consumed' the message.
So my question is, is there a way to determine if the opposing side actually "consumed' the message? If there's no built in function for this(which I think there isn't after I went through the documentation) do you guys have any idea how I could achieve
the behaviour I want?
I hope my message isn't too confusing, if it's feel free to indicate that and I'll try to clarify those parts.
Thanks in advance!
My best regards
JanProximity is a great way for users on tow devices to share your app experience and data. You can establish a connection between two peer apps at one time as I know. This quickstart describe it in detail,
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh465205.aspx. If one user want to communicate with a third user, his app need to connect to that one first.
If I'm not mistaken this sets up a WiFi or Bleutooth connection, I'm not really looking for that since the message I wish to send is really really short and NFC is perfect for it. It seems like a hassle to me to set up such a peer to peer connection just to
be able to identify if the message has been received by the correct user. -
Error when using Calculation Area or AutoSum
Why do I get an error when trying to use AutoSum? It says "Object reference not set to an instance of an object". I can't use it all. Nor can I manually create a calculation in the Calculation Area at the bottom of a PowerPivot worksheet.
I am able to build a calculation directly in Excel from the PowerPivot->Calculated Fields menu option. But not from within PowerPivot.
Martina WhiteHi Martina,
This sounds very much like a bug.
Check that you have installed the latest updates for Office/Excel
If you're using Excel 2010, check that you have the latest version of the Power Pivot add-in: http://office.microsoft.com/en-ca/excel/download-powerpivot-HA101959985.aspx
Try a repair on your Power Pivot add-in installation (Excel 2010)
Try a repair on your Office/Excel installation (Excel 2010/2013)
If none of these things resolve the issue, or you've already tried them, you could report the bug here https://connect.microsoft.com.
Regards,
Michael
Please remember to mark a post that answers your question as an answer...If a post doesn't answer your question but you've found it helpful, please remember to vote it as helpful :)
Website: nimblelearn.com, Blog:
nimblelearn.com/blog, Twitter:
@nimblelearn -
Strange problem crystal report & used-defined field
I've a user-defined field in the table OCLG
this field is alphanumeric linked to a user-defined table
I've read this field in crystal report
(at the moment is enough the code)
when I do the preview in crystal report there is not problem
but when I do the preview in SAP B1 I don't see any value
what could it be the cause?
thanksI created it with the follow tool:
"Tools\Customisation Tools\User-Defined Fields-Management"
These are the field characteristics:
type: alphanumeric
lenght: 50
structure: regular
set linked table: <a user-defined table>
I also did the test to create a rpt with the only table OCLG and 2 field
- ClgCode
- U_Incaricato
the problem remains the same -
Problem encountered when using RKD_WORD_WRAP
Hi all,
I have encountered a problem when using RKD_WORD_WRAP. The problem is that the paragraph is not being formatted nicely when i try to printout in Smartforms.
Eg is that I want to format this paragraph;
"Text Conversion: Convert Text Formats
The function module CONVERT_TEXT provides the
following format conversion options:"
However, when I output it out, the text was being displayed like this;
"Text Conversion: Convert Text Formats
The function module CONVERT_TEXT provides
the
following format conversion options:"
The problem is that even though after the "the" word, although that line still has some spaces, thecorresponsing words just wont get concatenate to the 2nd line (as seen above).
Is there any way to fix this?? Or is there a standard value to be use for the outputlens parameter so that the above situation will not occurs??Check the below program and output :
report ztest_ytt.
data input type string.
data SWASTRTAB like SWASTRTAB occurs 0 with header line.
start-of-selection.
input = 'The function module SWA_STRING_SPLIT that you have said is not
working successfully. It is still giving me the same problem where it is
appending a new line where there is still enough space for the word on
the current line'.
CALL FUNCTION 'SWA_STRING_SPLIT'
EXPORTING
INPUT_STRING = input
MAX_COMPONENT_LENGTH = 100
TERMINATING_SEPARATORS =
OPENING_SEPARATORS =
TABLES
STRING_COMPONENTS = SWASTRTAB
EXCEPTIONS
MAX_COMPONENT_LENGTH_INVALID = 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.
loop at SWASTRTAB.
write:/ SWASTRTAB-STR.
endloop.
This is output :
The function module SWA_STRING_SPLIT that you have said is not working successfully. It is still
giving me the same problem where it is appending a new line where there is still enough space for
the word on the current line
Suppose you want to print 100 charcters in each line .. upto 95 charcters you have words perfectly the next will start at 97th ,so here word is <b>' Function'</b>
so this word will not fit into that line since you have 4 charcters,Function word is containg 8 charcters,this word will come in next line.
Check the program and give what ever input and see the results.
Thanks
Seshu
Maybe you are looking for
-
Issue with modplsql module in Oracle App server
Hello all, We are facing problems with one of our application screens which throws Page Not Found error. When we do a look up in error logs of apache , the following is displayed - [Mon Dec 18 12:01:22 2006] [error] [client 10.13.1.137] [ecid: 116644
-
Soft proofing bug on my computer
I find that if I soft proof an image and create the soft proof copy that if I change paper types the display will change but the info display still shows the original paper that was selected. Not a big deal, because I can look at the panel and see wh
-
Short DUMP: EXSORT_NOT_ENOUGH_MEMORY
Hello everyone, Our user is running some reports using Transaction IQ09- Display Material Serial Number List, and its going to the dump by giving error message as "STORAGE_PARAMETERS_WRONG_SET" or "TSV_TNEW_PAGE_ALLOC_FAILED" or EXSORT_NOT_ENOUGH_MEM
-
Business Connector - where to download?
Hello, I know that the Business Connector is not the latest integration technology. Nevertheless I would like to test it with our MiniSAP system. But all the download-links I found are no longer valid. I tried of course also service.sap.com/connector
-
Hi while trying to execute CHECKDB in Db13 i was getting the following error message My Operating system is windows 2003 database oracle 10g already referred to notes 952080, 134592 and subsequent notes E:\ORACLE\NPE\ORIGLOGA\CNTRL\CNTRLNPE.DBF