OModel Data and List BindItems message
I have an sap.m.List that I aggregate with data from an oModel. But I am coming back with this message that I see from SMP 2.3 logs because my List is empty; I've validated that the query is correct and does return data when I run this same query from Chrome.
The error message from SMP 2.3 logs:
The request URI is not valid. The segment 'ApplicationServiceSet' refers to an entity set and not to a single entity
When run through the browser this is the result:
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"xml:base="http://MyService_SRV/">
<script id="tinyhippos-injected"/>
<id>
http://mydomain/MyService_SRV/ApplicationServiceSet(fld='0007',fld2='0007',fld3='65')
</id>
<title type="text">
ApplicationServiceSet(fld='0007',fld2='0007',fld3='65')
</title>
<updated>2014-06-05T13:39:15Z</updated>
<category term="MyService_SRV.ApplicationServiceSet" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
<link href="ApplicationServiceSet(fld='0007',fld2='0007',fld3='65')" rel="self" title="applicationid"/>
<content type="application/xml">
<m:properties>
<d:fld1>0004</d:fld1>
<d:fld2>0007</d:fld2>
<d:fld3>My Loc</d:fld3>
</m:properties>
</content>
</entry>
My binding to my List is this:
.....var omodel = sap.ui.model.odata.ODataModel(serviceURL, false, username, pwd);
var oCore = sap.ui.getCore().setModel(omodel);
myList.bindItems({
path: /ApplicationServiceSet,
template: mytemplate,
filters: [f1, f2, f3]
I have this same setup on another application that uses this exact code but calling a different OData Model and that is working fine. The difference is that the model on the other application is a list of fld3, in this case is a list of materials base on location and date.
In this issue, the user searches specifically for material#, location and date so I expect only one result. I was thinking that the code should work I just need to change the sPath, field names are even the same. Only difference is that this List, though aggregated, should still work. However, I get the above message of "refers to an entity set and not a single entity"......
So not sure if there's a different way of implementing how a record is returned when it comes to using the API or if this is something on the BAPI end?
Any help is greatly appreciated. Thanks.
J
Thanks Jamie. I do have my filters defined and for testing, I have hard coded the values. There's a few more info I should have added.
1. I have the same application using the same code for another service which works fine. Since the query is essentially the same, I just needed to change the URL to point to the right service and the correct sPath
2. We are going through SMP 2.3 to get to Gateway so the alias or the end point is: http://mydomain:port/com.my.applicationID
3. I used RESTcClient to test the end point directly to GW and it is fine. I don't think this is an SMP issue, but I'm not sure.
Thanks for the reply
Similar Messages
-
As of version 31, why is there still no Thunderbird option to QUICKLY insert current date and time in message that you are writing?
Literally have seen this very-much-needed -- and used -- option "promised" for three years now, and even if there's only one or two formats that could be used, at least the option is there.
It seems only way is to link a Macro and tool to Thunderbird and do it that way.
Joe Rotello
[email protected]
Skype: joerotelloWhere was it promised? A quick search of Bugzilla didn't find a functionality request bug report for it.
I assume you're aware that Mozilla stopped development about 2 years ago (just adds security/stability fixes and provides infrastructure) and all new features and bug fixes are now added by the community. They seem pretty tied up with bug fixes and reworking some hard to maintain components such as the MIME support.
Have you tried the Timestamp add-on at https://addons.mozilla.org/en-us/thunderbird/addon/timestamp/ ? The version at AMO doesn't support versions later than 2.0 so you'd need to do something like install the disable add-on compatibility checks add-on at https://addons.mozilla.org/en-us/thunderbird/addon/checkcompatibility/?src=ss, and ignore the warning message about Timestamp not being compatible. However, the author has a version at http://extensions.sanjer.nl/?page=tb_ts that supposedly supports up to Thunderbird 11.9.x so it should be "compatible by default as it supports version 5 or later and is not a binary add-on like Lightning or Enigmail.
"For Thunderbird use the context menu (right click popup) in the compose window, Ctrl+Shift+T or "Options | Insert timestamp" to inserts the date/time into a message" -
I cannot seem to get Messages on my iMac to work at all. Never had any app crash on opening. Cant get to a menu of any kind to do anything with it as it crashes on opening. help? Dont know if Mountain Lion later this summer will fix or not?
Hi,
Could you tell me a few things please ?
Were you using iChat before ?
After Downloading and Installing the first time did you restart your computer like it said ?
When you downloaded it again did you Uninstall it first from the Messages Menu (Back to iChat) ?
Each time Apple have released a new OS the iChat application has also had a new version.
Lion had iChat 6. Messages Beta is called version 6.1 (it also shows as iChat in several places).
It is likely that the non beta version will be a new numbered version.
At this point try this one thing.
Open the Applications/Utilities folder and find Activity Monitor and launch it
In the list of apps and items running find IMAgent (it will not have an icon as it is a system side support app for FaceTime and ichat/Messages).
Select it then use the Quit button top left
Confirm Force Quit.
It will restart and appear near the top of the list again.
Will Messages launch now ?
9:15 PM Friday; June 8, 2012
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
iMac 2.5Ghz 5i 2011 (Lion 10.7.4)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.7.4),
"Limit the Logs to the Bits above Binary Images." No, Seriously -
How to view Date and Time in messages app?
How do I display the date & time of every individual message, in "Messages" app [Version 8.0 (4226)] for OS X (10.9.4)
It seems to sort messages sent within a few minutes of each other as conversations, and only inserts a timestamp every 5 or 6 messages....I need to see the date & time of each one.
I know you can do this on the iPhone by pulling the screen to the left, so the data is there..., but I cannot figure out how to view it on my iMac.
Thanks!Hi,
Mouse over the text or Pic that was sent.
That little boxed time stamp will appear (It may be a yellow box in a Mavericks boot)
9:13 pm Saturday; August 9, 2014
iMac 2.5Ghz i5 2011 (Mavericks 10.9)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
Couple of iPhones and an iPad -
Error in Displaying date and Time in Message - Nok...
Hi,
I have brought a new Nokia 5130 Xpressmusic last month. Now i am facing a problem when i received the message. In the message detail of any message of my inbox the time displayed is 7 to 8 hrs ago the time when i received the message.
For Example
If some body send me a message at 1:00 PM the message detail will show the time 9:00 AM approx....
Any body help me on this....
~Ujjwalmake sure that your time and date settings are correct
for time make sure you have correct time zone - use local or your specific time zone if you prefer
also see if you have automatic time update on or off, if it is on turn it off or if you are using local time you can have it on. see if this helps your issue any
You know what I love about you the most, the fact that you are not me ! In love with technology and all that it can offer. Join me in discovery.... -
I have a problem with my iCal, when I use my caldav account, I can only see my own calendar on my MBA, on my co-workers MBP it works fine with both my account and his. My co-worker can't see other calendars than his own when he uses iCal on my laptop.
We can reproduce this problem on his computer by setting Location to Automatic rather than Amsterdam, then after deleting iCal's cache files, the caldav account and setting the Location back to Amsterdam solves the problem for him.
It does not solve the problem for me (or several other co-workers). We've been looking at this for a few weeks, and we can not find any clear pattern why certain machines have this problem and others don't.
All machines (both affected and unaffected) are running Mac OS 10.7.2 with iCal 5.0.1
I've spoken to Apple support over the phone (in the Netherlands), unfortunately, they couldn't help with this.
So far we've tried numerous location and language settings, but on affected machines nothing appears to solve the delegation problem (which we assume to be connected to the error messages iCal generates)
Starting iCal yeilds the following error messages in /var/log/system.log:
Jan 5 11:31:05 dhcp-91 [0x0-0x58f58f].com.apple.iCal[23884]: line 1,1: expecting FREQUENCE, found 'BYDAY' as token type 5
Jan 5 11:31:05 dhcp-91 iCal[23884]: iCalendar recurrence failure BYDAY=-1SU;FREQ=YEARLY;BYMONTH=3
line 1,6: unexpected char: '='
Jan 5 11:31:05 dhcp-91 [0x0-0x58f58f].com.apple.iCal[23884]: line 1,1: expecting FREQUENCE, found 'BYDAY' as token type 5
Jan 5 11:31:05 dhcp-91 iCal[23884]: iCalendar recurrence failure BYDAY=-1SU;FREQ=YEARLY;BYMONTH=10
line 1,6: unexpected char: '='
Jan 5 11:31:05 dhcp-91 iCal[23884]: Unexpected EOF, returning last token as fallback
Jan 5 11:31:05 dhcp-91 iCal[23884]: VTIMEZONE does not match System Time Zone (Europe/Amsterdam) for 20100105T000000 to 20120105T000000: (
"interval: 2001-01-01 01:00:00 +0100, offset: 3600"
) != (
"interval: 2010-03-28 03:00:00 +0200, offset: 7200",
"interval: 2010-10-31 02:00:00 +0100, offset: 3600",
"interval: 2011-03-27 03:00:00 +0200, offset: 7200",
"interval: 2011-10-30 02:00:00 +0100, offset: 3600"
BEGIN:VTIMEZONE
X-LIC-LOCATION:Europe/Amsterdam
TZID:Europe/Amsterdam
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZNAME:CEST
TZOFFSETTO:+0200
DTSTART:19700329T020000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZNAME:CET
TZOFFSETTO:+0100
DTSTART:19701025T030000
END:STANDARD
END:VTIMEZONE
Jan 5 11:31:05 dhcp-91 [0x0-0x58f58f].com.apple.iCal[23884]: line 1,1: expecting FREQUENCE, found 'BYDAY' as token type 5
Jan 5 11:31:05 dhcp-91 iCal[23884]: iCalendar recurrence failure BYDAY=-1SU;FREQ=YEARLY;BYMONTH=3
line 1,6: unexpected char: '='
Jan 5 11:31:05 dhcp-91 [0x0-0x58f58f].com.apple.iCal[23884]: line 1,1: expecting FREQUENCE, found 'BYDAY' as token type 5
Jan 5 11:31:05 dhcp-91 iCal[23884]: iCalendar recurrence failure BYDAY=-1SU;FREQ=YEARLY;BYMONTH=10
line 1,6: unexpected char: '='
Jan 5 11:31:05 dhcp-91 iCal[23884]: Unexpected EOF, returning last token as fallback
Jan 5 11:31:05 dhcp-91 iCal[23884]: VTIMEZONE does not match System Time Zone (Europe/Amsterdam) for 20100105T000000 to 20120105T000000: (
"interval: 2001-01-01 01:00:00 +0100, offset: 3600"
) != (
"interval: 2010-03-28 03:00:00 +0200, offset: 7200",
"interval: 2010-10-31 02:00:00 +0100, offset: 3600",
"interval: 2011-03-27 03:00:00 +0200, offset: 7200",
"interval: 2011-10-30 02:00:00 +0100, offset: 3600"
BEGIN:VTIMEZONE
X-LIC-LOCATION:Europe/Amsterdam
TZID:Europe/Amsterdam
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZNAME:CEST
TZOFFSETTO:+0200
DTSTART:19700329T020000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZNAME:CET
TZOFFSETTO:+0100
DTSTART:19701025T030000
END:STANDARD
END:VTIMEZONE
And when I close iCal I get:
Jan 5 11:33:25 dhcp-91 [0x0-0x592592].com.apple.iCal[23894]: token mismatch: 4 != 5I'm seeing the same thing, and I can't even find where OS X stores calendars on disk anymore...
-
Validate the Date and display the message
Hi,
Deposit Date:[yyyy/MM/dd]
<td>
<t:inputCalendar id="dtTo" required="false" value="#{processApplication.depositDate}"
renderAsPopup="true" popupTodayString="today" popupWeekString="week"
renderPopupButtonAsImage="true" popupDateFormat="yyyy/MM/dd" size="12"
maxlength="10" forceId="true" popupButtonStyleClass="calendar"
title="YYYY/MM/DD" popupButtonImageUrl="../../images/calendar.gif">
<f:convertDateTime type="date" pattern="yyyy/MM/dd" /></t:inputCalendar>
</td>
<td ><h:message for="dtTo" /></font></td> Incase, when the user selects a date that is way back into the future or some date that is in 1900 ...I want to display a confirm dialog box saying " Are you sure of the date selected ? " .
If yes..go ahead..if no give him another chance to select the date..
I tried with having onclick in *<t:inputCalendar>* but it is not getting fired.
Even if it gets fired, how can I check the condition that the Date entered is not the CurrentDate?
Is there anyother better way to achieve this?
Any help is appreciated.
Thanks.<t:inputCalendar id="dtTo" required="false"
value="#{processApplication.depositDate}" onchange="validatePastDate();"
renderAsPopup="true" popupTodayString="today" popupWeekString="week"
renderPopupButtonAsImage="true" popupDateFormat="yyyy/MM/dd" size="12"
maxlength="10" forceId="true" popupButtonStyleClass="calendar"
title="YYYY/MM/DD" popupButtonImageUrl="../../images/calendar.gif">
<f:convertDateTime type="date" pattern="yyyy/MM/dd" /></t:inputCalendar>
function validatePastDate() {
var ob = document.getElementById('form1:dtTo'); //not sure what you there
When I looked in the view source of the page...it is using id="dtTo" as its id.
Thanks. -
Date Parameters and List of Values (error message date format cannot be nul
I'm new to BI Publisher. I began with a simple report that has 4 parameters. The parameters are center code, sales date, customer number, and job number. I am trying to create a list of values on my customer number based on the center code and sales date entered by the user. My query for my LOV is:
select customer_nbr
from ticket
where center_cd = :center
and trunc(trans_date) = :salesDate
salesDate is defined as a date parameter with a format of MM-dd-yy. It's default value is 04-10-07.
When I attempt to view my report after adding the LOV, I receive the error:
Date format can not be null.
What am I doing wrong? Also, I would like the salesDate to default to the current date. I have tried using sysdate as the default value. This isn't working. The salesDate defualts to null when it is set to sysdate."Date - allows the user to enter a date as a parameter. Note that the data type must also be "Date" and the format must be Java date format."
Page 4-9, Adding Parameters and Lists of Values
Oracle® Business Intelligence Publisher
Report Designer's Guide
Release 10.1.3.4
Part No. E12187-01 -
i have erased my all phone contact list and then the message comes that it will be deleted with in an hour. but now my phone is not starting and only the apple logo appears on the screen. what should i do now..!
That number is for an apple server in the UK that is used for iMessage activation. A hidden SMS is snet to that number when you turn iMessage on and is used to verify your phone number. I suggest you turn iMessage off. In settings/phone turn on dial assist. Check with your carrier to see if you can send an international SMS as you end that possibility to activate iMessage. Rest your phone (Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for device to restart (no data will be lost).) then turn iMessage back on.
-
No Auto-Update for To Do list, session message and toast message
After LC ES Server hardening, we noticed that auto-update is not working for To Do list, session message and new task notification toast message. Before server hardening, all of them are still working fine.
Does anyone know why auto-update is not working after server hardening? Is there any specific port numbers which need to be enabled/opened to solve this issue?
FYI, we also noticed that some RemoteEventClient error messages occur many times in jboss server.log file as the following:
--- LOG QUOTE START ---
2008-01-10 15:26:16,086 INFO [STDOUT]
GMS: address is neptune:[MULTIPLE VARIOUS PORT NO]
2008-01-10 15:26:19,398 INFO [com.adobe.livecycle.remoteevents.client.RemoteEventClient] Client JGroup initialization failed to connect to service JGroup. Service JGroup initialization may not be complete, retrying...
2008-01-10 15:26:20,414 INFO [com.adobe.livecycle.remoteevents.client.RemoteEventClient] com.adobe.livecycle.remoteevents.client.RemoteEventClient$RemoteEventReceiver using JGroups config UDP(bind_addr=10.77.250.248;mcast_addr=238.42.102.134;mcast_port=42707;ip_ttl=8):PING(tim eout=3000;num_initial_members=6):FD(timeout=3000):VERIFY_SUSPECT(timeout=1500):pbcast.NAKA CK(gc_lag=10;retransmit_timeout=600,1200,2400,4800):UNICAST(timeout=600,1200,2400,4800):pb cast.STABLE(desired_avg_gossip=10000):FRAG:pbcast.GMS(join_timeout=5000;join_retry_timeout =2000;shun=true;print_local_addr=true):VIEW_ENFORCER
2008-01-10 15:28:21,216 INFO [STDOUT]
GMS: address is neptune:3874
2008-01-10 15:28:24,528 ERROR [com.adobe.livecycle.remoteevents.client.RemoteEventClient] Client JGroup initialization failed to connect to service JGroup. Maximum retries exceeded.
2008-01-10 15:28:24,528 INFO [STDOUT] Jan 10, 2008 3:28:24 PM com.adobe.workspace.events.RemoteEventClientLifeCycle$RemoteEventInitThread run
SEVERE: null
com.adobe.livecycle.remoteevents.client.RemoteEventConnectionFailedException
at com.adobe.livecycle.remoteevents.client.RemoteEventClient$RemoteEventReceiver.<init>(Remo teEventClient.java:213)
at com.adobe.livecycle.remoteevents.client.RemoteEventClient$RemoteEventReceiver.getReceiver (RemoteEventClient.java:159)
at com.adobe.livecycle.remoteevents.client.RemoteEventClient.<init>(RemoteEventClient.java:3 61)
at com.adobe.workspace.events.RemoteEventClientLifeCycle$RemoteEventInitThread.run(RemoteEve ntClientLifeCycle.java:65)
at java.lang.Thread.run(Thread.java:595)
--- LOG QUOTE END ---JGroups is an open source project that allows processes to send messages to one another. LiveCycle data services uses it for its messaging implementation (basically it configures the server to multicast messages to all the listening clients...even in a clustered environment across different LAN/WAN).
In most cases the default configuration will work fine, the problem is that if you are running a firewall on the server (or your local machine...i.e. windows firewall) the ports that JGroups uses for its communications can be blocked. In a local environment its easy enough to disable windows firewall and bounce your server to get things working.
In a production environment you need to open the ports that JGroups is using. These settings are in the Global Administration settings (as mentioned by WorkspaceUser above). If you export it and look at the JChannelConnectionProperties you'll see the ports its using and you can set your firewall to allow communication to those ports.
Bryan -
Why date and time do not show as links in some email message in 4s?
why date and time do not show as links in some email message in 4s?
To add it back, tap the Edit button at the top of the list of mailboxes and select the missing email account so that it has a tick against it (you can also change their order in the list by dragging the parallel line icon to an account's right), tapping Done should then get it to show in the list
-
Pick list date must be between order date and cancellation date
Hi all
A client gets this error:
Pick list date must be between order date and cancellation date Message[173-89]
The date is between that range.
What else could be the reason for it.
ThanksHi
Since the message you received is very user friendly - date must be between....
I guess you have two situation
1.Either operation is incorrect
- Create a similar scenario in your test environment
-Are you receiving same error
-Test with only one item so far
-Check what is the result
2 . You probably need to upgrade your patch level
It might be coming from Application error
Hope this helpls
Bishal -
The hard disc of my laptop has crashed and i lost all the data. Now I want to take back up of my I phone and transfer contacts , messages and music etc back into my laptop , how can I do that. Also let me know how I can transfer the contacts into Windows contacts from I phone. Pl help
Your content will only be where you put it. It has always been very basic to always maintain a backup copy of your computer.
You can transfer itunes purchases from your iphone: File>Device>Transfer purchases.
You can import your pics taken with the iphone as you would with any digital camera.
You can e-mail the other pics to yourself, they will never be of the original quality.
You can out a unique contact and calendar entry on the computer. You should get the option to merge the data when you sync. -
Hope someone can help. I have tried to find the best way to do this and can't seem to make sense of anything. I'm using an Access 2013 Database and I have a report that is based on a query. I've created a Report Criteria Form. I
need the user to be able to select multiple items in a list box and also to enter a Begin Date and End Date. I then need my report to return only the records that meet all selected criteria. It works fine with a ComboBox and 1 selection but can't
get it to work with a List Box so they can select multiple items. Any help is greatly appreciated while I still have hair left.The query should return all records.
Let's say you have the following controls on your report criteria form:
txtStart: text box, formatted as a date.
txtEnd: text box, formatted as a date.
lbxMulti: multi-select list box.
cmdOpenReport: command button used to open the report.
The text boxes are used to filter the date/time field DateField, and the list box to filter the number field SomeField.
The report to be opened is rptReport.
The On Click event procedure for the command button could look like this:
Private Sub cmdOpenReport_Click()
Dim strWhere As String
Dim strIn As String
Dim varItm As Variant
On Error GoTo ErrHandler
If Not IsNull(Me.txtStart) Then
strWhere = strWhere & " AND [DateField]>=#" & Format(Me.txtStart, "yyyy-mm-dd") & "#"
End If
If Not IsNull(Me.txtEnd) Then
strWhere = strWhere & " AND [DateField]<=#" & Format(Me.txtEnd, "yyyy-mm-dd") & "#"
End If
For Each varItm In Me.lbxMulti.ItemsSelected
strIn = strIn & "," & Me.lbxMulti.ItemData(varItm)
Next varItm
If strIn <> "" Then
' Remove initial comma
strIn = Mid(strIn, 2)
strWhere = strWhere & " AND [SomeField] In (" & strWhere & ")"
End If
If strWhere <> "" Then
' Remove initial " AND "
strWhere = Mid(strWhere, 6)
End If
DoCmd.OpenReport ReportName:="rptMyReport", View:=acViewPreview, WhereCondition:=strWhere
Exit Sub
ErrHandler:
If Err = 2501 Then
' Report cancelled - ignore
Else
MsgBox Err.Description, vbExclamation
End If
End Sub
If SomeField is a text field instead of a number field, change the line
strIn = strIn & "," & Me.lbxMulti.ItemData(varItm)
to
strIn = strIn & "," & Chr(34) & Me.lbxMulti.ItemData(varItm) & Chr(34)
Regards, Hans Vogelaar (http://www.eileenslounge.com) -
How do i see a list of the apps that have been downloaded and the dates and times and amounts? Tried to follow the on-line thing but i want to compare what has been downloaded with my visa bill. HELP!!
See this -> http://support.apple.com/kb/HT2727
Maybe you are looking for
-
What are the units of "Width" and "Height" of a Shape?
What are the units of "Width" and "Height" properties of a Shape when programming? Something odd like points or twips or tweedles or nibbles? http://www.ransen.com Cad and Graphics software
-
Using FPGA program to collect data for long time without 'gap'
Our data collection system has a NI-PCIe 7852R card. We want to collect data at up to 10 KHz for up to 10 to 30 minutes. The data amount is too large so we have to separated them into multiple Array and save in multiple files. We do not want to loose
-
I have Windows xp home, and need a new motherboard. p/n ez472ua #aba
-
To add custom container in actionscript
i have written a code in which i am finding difficulty in getting child in vertically..by pressing add new button clck New Filter class and den add new... please check the code..:- <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:fx="http
-
If i have downloaded pages for both my macbook and my iPhone - would it be possible to edit a document on my mac, go out, and continue from where i left off on my mac on my iphone?