on 02-28-2011 4:54 PM
Hi All,
I am trying to pass Duration and Duration units query Paramters from Html page to Query Template , but it is not taking those values. I am passing as given below
qobj.setStartDate("02/18/2011 06:57:59");
qobj.setEndDate("02/19/2011 06:57:59");
qobj.setDuration(6);
qobj.setDurationUnits('M');
can any body tell what was my mistake.
Duration and DurationUnits are only relevant when either the StartDate and/or EndDate are blank (or when using the Time parameter).
If you would like your request to be the last 6 minutes then set your Start and End dates to a blank string. The server will timestamp the EndDate as 'now' on the server and the StartDate will be 6 minutes prior.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your inquiry would benefit from more explicit details like what form of applet are you addressing in your javascript? If you modify the script to use .setEndDate(""); then the duration/units would go into effect from the provided StartDate.
You will also need to call document.APPLETNAME.updateChart(true); or document.APPLETNAME.updateGrid(true); in order for the new time based properties to impact the query. Also make sure that no TimePeriod or other higher priority time engine parameters are blocking your specific request.
http://help.sap.com/saphelp_mii121/helpdata/en/45/344a4476b74002e10000000a155369/frameset.htm
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.