Calendar month dates in horizontal line
Is there anyway to show calendar month dates in horizontal line?
First line will have dates and then second line will have day i.e Sat, Sun, Mon.......
1 2 3 4 5 6 7 8 9 ........31
orion_123 wrote:
Is there anyway to show calendar month dates in horizontal line?
First line will have dates and then second line will have day i.e Sat, Sun, Mon.......
1 2 3 4 5 6 7 8 9 ........31You can do all sorts of things if you put your mind to it... e.g.
SQL> break on month skip 1
SQL> set linesize 200
SQL> set pagesize 2000
SQL> column month format a20
SQL> column week format a4
SQL> with req as (select '&Required_Year_YYYY' as yr from dual)
2 ,offset as (select case when to_char(trunc(to_date(yr,'YYYY'),'YYYY'),'IW') in ('52','53') then 1 else 0 end as offset from req)
3 select lpad( Month, 20-(20-length(month))/2 ) month,
4 '('||week||')' as week, "Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"
5 from (
6 select to_char(dt,'fmMonth YYYY') month,
7 case when to_char(dt, 'mm') = '12' and to_char(dt,'iw') = '01' and offset = 0 then '53'
8 when to_char(dt, 'mm') = '12' and to_char(dt,'iw') = '01' and offset = 1 then '54'
9 when to_char(dt, 'mm') = '01' and to_char(dt,'iw') in ('52','53') then '1'
10 else to_char(to_number(to_char(dt,'iw'))+offset) end as week,
11 max(decode(to_char(dt,'d'),'1',lpad(to_char(dt,'fmdd'),2))) "Mo",
12 max(decode(to_char(dt,'d'),'2',lpad(to_char(dt,'fmdd'),2))) "Tu",
13 max(decode(to_char(dt,'d'),'3',lpad(to_char(dt,'fmdd'),2))) "We",
14 max(decode(to_char(dt,'d'),'4',lpad(to_char(dt,'fmdd'),2))) "Th",
15 max(decode(to_char(dt,'d'),'5',lpad(to_char(dt,'fmdd'),2))) "Fr",
16 max(decode(to_char(dt,'d'),'6',lpad(to_char(dt,'fmdd'),2))) "Sa",
17 max(decode(to_char(dt,'d'),'7',lpad(to_char(dt,'fmdd'),2))) "Su"
18 from ( select trunc(to_date(req.yr,'YYYY'),'y')-1+rownum dt
19 from all_objects, req
20 where rownum <= add_months(trunc(to_date(req.yr,'YYYY'),'y'),12) - trunc(to_date(req.yr,'YYYY'),'y') )
21 ,offset
22 group by to_char(dt,'fmMonth YYYY'), case when to_char(dt, 'mm') = '12' and to_char(dt,'iw') = '01' and offset = 0 then '53'
23 when to_char(dt, 'mm') = '12' and to_char(dt,'iw') = '01' and offset = 1 then '54'
24 when to_char(dt, 'mm') = '01' and to_char(dt,'iw') in ('52','53') then '1'
25 else to_char(to_number(to_char(dt,'iw'))+offset) end
26 ) x
27 order by to_date( month, 'Month YYYY' ), to_number(x.week)
28 /
Enter value for required_year_yyyy: 2012
old 1: with req as (select '&Required_Year_YYYY' as yr from dual)
new 1: with req as (select '2012' as yr from dual)
MONTH WEEK Mo Tu We Th Fr Sa Su
January 2012 (1) 1
(2) 2 3 4 5 6 7 8
(3) 9 10 11 12 13 14 15
(4) 16 17 18 19 20 21 22
(5) 23 24 25 26 27 28 29
(6) 30 31
February 2012 (6) 1 2 3 4 5
(7) 6 7 8 9 10 11 12
(8) 13 14 15 16 17 18 19
(9) 20 21 22 23 24 25 26
(10) 27 28 29
March 2012 (10) 1 2 3 4
(11) 5 6 7 8 9 10 11
(12) 12 13 14 15 16 17 18
(13) 19 20 21 22 23 24 25
(14) 26 27 28 29 30 31
April 2012 (14) 1
(15) 2 3 4 5 6 7 8
(16) 9 10 11 12 13 14 15
(17) 16 17 18 19 20 21 22
(18) 23 24 25 26 27 28 29
(19) 30
May 2012 (19) 1 2 3 4 5 6
(20) 7 8 9 10 11 12 13
(21) 14 15 16 17 18 19 20
(22) 21 22 23 24 25 26 27
(23) 28 29 30 31
June 2012 (23) 1 2 3
(24) 4 5 6 7 8 9 10
(25) 11 12 13 14 15 16 17
(26) 18 19 20 21 22 23 24
(27) 25 26 27 28 29 30
July 2012 (27) 1
(28) 2 3 4 5 6 7 8
(29) 9 10 11 12 13 14 15
(30) 16 17 18 19 20 21 22
(31) 23 24 25 26 27 28 29
(32) 30 31
August 2012 (32) 1 2 3 4 5
(33) 6 7 8 9 10 11 12
(34) 13 14 15 16 17 18 19
(35) 20 21 22 23 24 25 26
(36) 27 28 29 30 31
September 2012 (36) 1 2
(37) 3 4 5 6 7 8 9
(38) 10 11 12 13 14 15 16
(39) 17 18 19 20 21 22 23
(40) 24 25 26 27 28 29 30
October 2012 (41) 1 2 3 4 5 6 7
(42) 8 9 10 11 12 13 14
(43) 15 16 17 18 19 20 21
(44) 22 23 24 25 26 27 28
(45) 29 30 31
November 2012 (45) 1 2 3 4
(46) 5 6 7 8 9 10 11
(47) 12 13 14 15 16 17 18
(48) 19 20 21 22 23 24 25
(49) 26 27 28 29 30
December 2012 (49) 1 2
(50) 3 4 5 6 7 8 9
(51) 10 11 12 13 14 15 16
(52) 17 18 19 20 21 22 23
(53) 24 25 26 27 28 29 30
(54) 31
64 rows selected.
SQL>That's just an example, but yes, of course you can do it. Oracle provides excellent DATE functionality.
Similar Messages
-
Line chart to plot count of 2 date fields against calendar month
Post Author: springle
CA Forum: Charts and Graphs
I would like to create a line chart with 2 lines. I would like the x axis to be a calendar month. I would like the y axis to be the count of a date field for that month. I would like 2 lines, one the the count of applications recieved in a month and the other to be the number of shipments in a month. I can make a chart to plot one or the other but not both on one chart.So in summary I want of a count of date1 and a count of date2 by calendar month in one line chart.Thanks in advance,ScottPost Author: springle
CA Forum: Charts and Graphs
Thanks for the reply but I am afraid this does not solve my problem. Your proposal make the month count of Date1 records in the fields and the count of Date2 in the month of date1 I am try to graph...In the month of Jan: 56 apps and 49 deliveriesIn the month of Feb: 76 apps and 79 deliveriesIn the month of Feb: 86 apps and 69 deliveriesThe change on date cannot be either app date or del date. It needs to be independent from a calendar timeline. Scott -
FM to get previous fiscal month/year and calendar month/year for a date.
Hi All,
I am having a requirement to extract some data based on either the previous fiscal month/year or the previous calendar month/year. There is no company code input to find the fiscal/calendar month/year.
At selection screen, user can select either fiscal or calendar selection.
Based on the selection, the data will be extracted.
For the system date, we need to calculate previous fiscal month/year or previous calendar month/year and populate the calculated data back to the selection-screen.
Can you one of you please suggest an FM to find previous fiscal month/year and previous calendar month/year.
Thanks in Advance,
Regards
GowthamiHi Gowthami,
You can use following function module to calculate previous / next day or month or year.
call function '/SAPHT/DRM_CALC_DATE'
exporting
date = sy-datum
days =
months =
sign = '-'
years =
importing
calc_date = .
Here, you can give '-' to sign, if you want previous day / month / year.
Here, you can give '+' to sign, if you want next day / month / year.
And depending upon your requirement, you can pass suitable value to days / month / year.
e.g. To calcualte last month,
call function '/SAPHT/DRM_CALC_DATE'
exporting
date = sy-datum
days =
months = 1
sign = '-'
years =
importing
calc_date = wv_prev_month.
so it will give '23-01-2008' . Then convert it in the required format as per your requirement using string function concatenate.
Hope this help you.
Regards,
Anil -
Is there a way to repeat an activity in the calendar monthly on the same day, i.e., the 2nd Wednesday of each month? ( I can repeat on the date but not the day of the month.)
Not with the stock calendars app.
-
Customer Exit for Calendar Month based on the day (system Date)
Hello,
I need help in creating a customer exit for Calendar month without the user input. The logic is as follows:
For the BEx variable created with customer exit option and no user input:
If the day on the system date falls in between 1 to 14 take the calendar year/month value as previous month.
If the day on the system date falls in between 15 through 31 then take the calendar year/month as current month.
eg if report is run on March 24th2009 the calendar year/month variable should be calculated as 03/2009 (March 2009)
if the report is run on March 1st2009 the calendar year/month should be calculated as 02/2009 (Feb 2009).
The code should be effective when run in the first 15 days of Jan when the previous month would contain the previous year as well.
Thank You
SrishtiThanks Shanthi. I am trying to incorporate the logic when the query is run in beginning of Jan when the year should be the previous year.Following is the code.please let me know if it would work. Is there a way I can test it as well?
CASE I_VNAM.
WHEN 'ZCURCALMON'.
IF i_step = 2.
data: mm(2),
dd(2),
yy(4),
FM(6).
if sy-datum+4(2) EQ 1.
sy-datum(4) = sy-datum(4) - 1.
else.
sy-datum(4) = sy-datum(4).
endif.
if sy-datum+6(2) LE 15.
mm = sy-datum+4(2) - 1.
concatenate sy-datum(4) mm into FM.
else.
concatenate sy-datum(4) sy-datum+4(2) into FM.
endif.
l_s_range-low = FM.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
append l_s_range to e_t_range.
Endif.
ENDCASE.
Thanks
Srishti -
Line graph, How do graph month only on Horizontal axis?
I'm trying to graph year trends by month on the horizontal axis. However, it keeps breaking up the months by adding the year, so I have three separate line trends. How do I fix this?
Hi,
You should move to the production version of JDeveloper 11g that was just released:
http://www.oracle.com/technology/products/jdev/index.html
However I have a answers for your questions:
1. Setting time tick labels to hours: This should work by setting continuousTimeAxisInterval="CTAI_HOUR" on the advanced graph tag.
Here's the tagdoc for that attribute.
continuousTimeAxisInterval
Specifies the interval along a continuous time axis only if you want to override the value that the graph calculates automatically. Valid values are as follows:
* CTAI_AUTOMATIC - (Default) Graph calculates the interval automatically.
* CTAI_YEAR - Sets the interval to years.
* CTAI_MONTH - Sets the interval to months.
* CTAI_DAY - Sets the interval to days.
* CTAI_HOUR - Sets the interval to hours.
* CTAI_MINUTE - Sets the interval to minutes.
* CTAI_SECOND - Sets the interval to seconds.
2. Vertical gridlines can be set by using the o1Axis tag and setting the tickStyle. This should change all o1Axis ticks to gridlines. For different lineStyles, you can also use the lineStyle attribute.
<dvt:graph>
<dvt:o1MajorTick tickStyle="GS_GRID"/>
</dvt:graph>
Hope this helps
Katia -
Please help me to resolve a problem with my iPod touch. It has horizontal line at the bottom of the screen and screen starts blinking after 3 minutes of use. It's so frustrating as I bought just 4 months ago and didn't even think tha apple products have such defects.
All electical producs have defects. Apple products are not immune.
To rule out a software problem try:
- A reset. Nothing will be lost.
Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Restore from backup
- Restore to factory defaults/new iPod
- If still problem make an appointment at the Genius Bar of an Apple store. If the iPod is defective you will walk out with a replacment. -
Start date End date of the current Calendar month
Hi All,
How can we get the Start date of the Current Calendar month and the End date of the current Calendar month , when we given certain date in the selection screen.
For Eg : In the Selection screen if I give date as Todays date 04042008, we should be getting the Start date of the month as 01042008 and End date of the month as 31042008.
Any pointers will be much appreciated.
Regards
Rohini.Hi,
Please refer the code below:
CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
EXPORTING
i_gjahr = sp_gjahr
* i_monmit = gp_monat
i_periv = 'K4'
i_poper = sp_monat
IMPORTING
e_date = gv_firstday
EXCEPTIONS
input_false = 1
t009_notfound = 2
t009b_notfound = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
"Last day of the period
CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
EXPORTING
i_gjahr = sp_gjahr
* I_MONMIT = gp_monat
i_periv = 'K4'
i_poper = sp_monat
IMPORTING
e_date = gv_lastday
EXCEPTIONS
input_false = 1
t009_notfound = 2
t009b_notfound = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Thanks,
Sriram Ponna. -
Oracle Dates (calendar months or 30-day months)
hi guys,
how would we distinguish if oracle will pick up calendar months or a specific 30-day months?
is add_months(sysdate, n) will use n calendar months (either it will hit a 30-day, 31-day or 28-day month) or a specific 30-day month calculation?
thanksthanks for all the responses! iam really having some confusions re oracle dates.
last thing, if i add_months for today's daye, 11/21/2007 what would i get here:
add_months(sysdate, 3)
a. Feb 21st -- the date at the beginning of the fourth calendar month from Nov 21
b. Feb 20th -- the date at the end of the third calendar month from Nov 21
c. Feb 18th -- the date that is 90 days after Nov 21
thanks again -
GUI of a calendar (monthly)
I tried to built a GUI for a Kalender but i need explanation with comments to understand the code. Can someone help me?
I work with this code, it is form this forum (post at the end of line):
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.*;
import java.text.*;
public class MightyMouse1
static class SimpleCalendar
extends JPanel
private static final String[] sDays=
new DateFormatSymbols().getWeekdays();
private static int sStartDay= 0;
static {
for (int i= 0; i< sDays.length; i++)
if (sDays.length() <= 0)
sStartDay++;
private static final int[] sMonthDays=
{31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
private Calendar mDate;
private int mCellWidth= 1;
private int mCellHeight= 1;
private int mStartDay;
private int mDaysInMonth;
public SimpleCalendar()
mDate= Calendar.getInstance();
addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
hitTest(e.getPoint());
e.consume();
public void setDate(Date date)
mDate.setTime(date);
repaint();
public Date getDate() { return mDate.getTime(); }
public Dimension getPreferredSize() { return getMinimumSize(); }
public Dimension getMinimumSize() { return new Dimension(180,180); }
public void paint(Graphics g)
g.clearRect(0, 0, getSize().width, getSize().height);
doMonth(g);
private void hitTest(Point p)
int cellX, cellY, dom;
cellX= (int) p.x / mCellWidth;
cellY= (int) p.y / mCellHeight;
if (cellY != 0) { // not the days title bar
dom= cellX+1+((cellY-1)*7)-mStartDay;
if (dom > 0 && dom <= mDaysInMonth) {
mDate.set(Calendar.DAY_OF_MONTH, dom);
setDate(mDate.getTime());
private boolean leapYear(int year)
if ((year % 400) == 0)
return(true);
if ((year > 1582) && ((year % 100) == 0))
return(false);
if ((year % 4) == 0)
return(true);
return(false);
private void drawMonth(Graphics g, int startDay, int days, boolean special)
mStartDay= startDay;
mDaysInMonth= days;
mCellWidth= getSize().width / 7;
mCellHeight= getSize().height / 7;
int day= mDate.get(Calendar.DAY_OF_MONTH);
FontMetrics metrics= g.getFontMetrics();
// Draw the days of the week (M, T, W ...) on the top line
for (int col= 0, x= 0, y= 0; col < 7; col++) {
String s= String.valueOf(sDays[col+sStartDay].charAt(0));
// Make (x,y) the top left of the cell
x= col * mCellWidth;
y= 0;
// Make (x,y) the center of the cell
x= x + (mCellWidth/2);
y= y + (mCellHeight/2);
// Move (x,y) to accomodate the text
x= x - (metrics.stringWidth(s)/2);
y= y + (metrics.getAscent()/2);
g.setColor(Color.blue);
g.drawString(s, x, y);
// Draw the days of the month starting one line down
for (int i= 1, row= 1, col= startDay, x= 0, y= 0; i <= days; i++) {
if (special && (i == 5))
i += 10; // skip 10 days (Oct 5-14) in October, 1582
String s= "" + i;
// Make (x,y) the top left of the cell
x= col * mCellWidth;
y= row * mCellHeight;
if (i == day) {
g.setColor(new Color(255,255,200));
g.fillRect(x, y, mCellWidth, mCellHeight);
// Make (x,y) the center of the cell
x= x + (mCellWidth/2);
y= y + (mCellHeight/2);
// Move (x,y) to accomodate the text
x= x - (metrics.stringWidth(s)/2);
y= y + (metrics.getAscent()/2);
g.setColor(Color.black);
g.drawString(s, x, y);
col++;
if (col > 6) {
col= 0;
row++;
private void doMonth(Graphics g)
int month= mDate.get(Calendar.MONTH);
int year= mDate.get(Calendar.YEAR);
int daysInMonth;
int startOfMonth;
int y= year - 1;
boolean leap= leapYear(year);
boolean special= ((year == 1582) && (month == 9));
boolean pre= ((year < 1582) || ((year == 1582) && (month <= 9)));
if (pre)
startOfMonth = 6 + y + (y/4);
else
startOfMonth = 1 + y + (y/4) - (y/100) + (y/400);
if (leap && month == 1)
daysInMonth= 29;
else
daysInMonth= sMonthDays[month];
for (int i = 0; i < month; i++)
startOfMonth += sMonthDays[i];
drawMonth(g, startOfMonth % 7, daysInMonth, special);
static class FancyCalendar
extends JPanel
private static final String[] sMonths=
new DateFormatSymbols().getMonths();
private JComboBox mComboMonths;
private JComboBox mComboYears;
private JLabel mLabel;
private SimpleCalendar mCalendar;
private int mSelectedMonth;
private int mSelectedYear;
private Dimension mMinimumSize;
private int mFirstYear;
private int mLastYear;
private Date mDate;
private boolean mShowTime;
public FancyCalendar() { this(-10, 10); }
public FancyCalendar(int firstYear, int lastYear)
mFirstYear= firstYear;
mLastYear= lastYear;
adjustYears();
setLayout(new BorderLayout(2,2));
mCalendar= new SimpleCalendar();
add(mCalendar, BorderLayout.CENTER);
setupCombos();
setDate(mCalendar.getDate());
public void setDate(Date date)
mDate= date;
mCalendar.setDate(date);
Calendar cal= Calendar.getInstance();
cal.setTime(date);
mSelectedMonth= date.getMonth();
mSelectedYear= cal.get(Calendar.YEAR);
mComboYears.setSelectedIndex(mSelectedYear-mFirstYear);
mComboMonths.setSelectedIndex(mSelectedMonth);
public Date getDate() { return mDate; }
public Dimension getPreferredSize() { return getMinimumSize(); }
public Dimension getMinimumSize() { return mMinimumSize; }
private void adjustYears()
Date today= new Date();
if (mFirstYear < 0 && mFirstYear >= -50)
mFirstYear= 1900+ today.getYear() +mFirstYear;
if (mLastYear > 0 && mLastYear <= 50)
mLastYear= 1900+ today.getYear() +mLastYear;
if (mFirstYear < 1900)
mFirstYear= 1900;
private void setupCombos()
mMinimumSize= new Dimension(170,180);
JPanel p= new JPanel();
mComboMonths= new JComboBox(sMonths);
mComboYears= new JComboBox();
p.add(mComboMonths);
p.add(mComboYears);
add(p, BorderLayout.NORTH);
for(int i= mFirstYear; i<= mLastYear; i++)
mComboYears.addItem(""+i);
mComboMonths.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e)
if(mComboMonths.getSelectedIndex() != mSelectedMonth) {
mSelectedMonth= mComboMonths.getSelectedIndex();
Calendar cal= Calendar.getInstance();
cal.setTime(getDate());
cal.set(Calendar.MONTH, mSelectedMonth);
setDate(cal.getTime());
mComboYears.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e)
int y= mComboYears.getSelectedIndex() +mFirstYear;
if((y > 0) && (y != mSelectedYear)) {
mSelectedYear= y;
Calendar cal= Calendar.getInstance();
cal.setTime(getDate());
cal.set(Calendar.YEAR, mSelectedYear);
setDate(cal.getTime());
// If date was feb 29 and new year is not leap,
// then the month will have moved on one, so re-set
// the combo box
mComboMonths.setSelectedIndex(
cal.get(Calendar.MONTH));
public static void main(String[] argv)
JFrame frame= new JFrame();
frame.getContentPane().add(new FancyCalendar());
frame.pack();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
It is from the forum here:
http://forum.java.sun.com/thread.jspa?forumID=31&threadID=
This post:
[Dukes Earned 470] dchsw
Posts:449
Registered: 9/1/98
Re: Developing a calendar
Nov 6, 2003 6:37 AM (reply 3 of 6)> I tried to built a GUI for a Kalender but i need explanation with comments to understand the code.
http://java.sun.com/docs/books/tutorial/java/index.html
http://java.sun.com/docs/books/tutorial/uiswing/
Let us know if you have a specific question.
~ -
Dynamic update of calendar month in titles
Hi,
I'm running a YTD report. When I open the report, I have the calendar/month button defaultet to the previous month (e.g.03/2005). If I select another month e.g.11/2004. I need to calculate YTD current year for selected month 11/2004, YTD previous year e.g. 11/2003, total previous year e.g. 2003, Variance and update the columns with the months e.g.YTD112004, YTD112003, TY2003, VAriance%. How do I translate the month, I selected to the columns title and values? Could you please explain the entire process?
Thx,
RamonaHello all ,
I am new in BW, in learning stage, working on devlopment server 3.0,I have created the generic extracter view with vbrk, vbrp data ,While uploding the data from PSA to cube system gives the error the sid is not found for perticule type of Unit,
so i wanted to delete the complete record in Transfer rule , How can i do with the coding .
system soding in unit as follows :
FORM INVERT_UNIT
USING I_RT_CHAVL_CS TYPE RSARC_RT_CHAVL
I_THX_SELECTION_CS TYPE RSARC_THX_SELCS
CHANGING C_T_SELECTION TYPE SBIWA_T_SELECT
E_EXACT TYPE RS_BOOL.
$$ begin of inverse routine - insert your code only below this line-
DATA:
L_S_SELECTION LIKE LINE OF C_T_SELECTION.
An empty selection means all values
CLEAR C_T_SELECTION.
Selection of all values may be not exact
E_EXACT = RS_C_FALSE.
$$ end of inverse routine - insert your code only before this line -
ENDFORM.
Regards,
Milind -
Horizontal lines across screen on hp beats touchscreen laptop
I bought this lap top less than 6 months ago.It is the HP special edition beats touch screen lap top.After owning it for about two weeks a green horizonal thn line apeared on my screen.I didn't drop it and the line wasn't really bothering me so I ignored it.Then a couple of weeks later I took it on a trip with me, in a padded laptop backpack. I got another hoiontal line.I am now up to five horizontal lines with a fiveish month old laptop.It has now become annoying and gets in the way when I'm trying to read things on the laptop.Is this a problem with the computer graphics or the screen?What can I do?
If you purchased your MBA from Apple you may within 14 days from the date of purchase return the unit for an exchange or a refund. I would seriously consider that option.
Ciao. -
Hi experts,
What is the cause if there is a missing calendar month in my query e.g.
Month Value
1 123
2 123
3 123
4 123
5 123
6 123
8
9
10
11
12
As you can see, I cant see the month of July. Initially I thought it is because the data havent been loaded into BW yet, but then August-December data are also havent been loaded into BW but they still appear in my report.
How can I insert the missing month ie July into the report?
Appreciate your help.
Points will be rewarded.Hi AHP,
I cant help but to express my utmost admiration on your knowledge in BW
You're right, I have access to the query now and I found out that Aug-Dec have some values in other columns. That why it appears in the query.
After changing the Display Zero (from previously Suppress Zero), July row still wont appears. I suspect there is no data for that particular month. However, as I dont have access to RSA1, LISTCUBE, and RSRV, I can only imagine that is being the case.
Now, the user wanted to add July row to the query, (assuming) even though there is no data available for that month. How can this be accomplished? My understanding is that, we can only do this if we add a new line in SAP R/3 (Month = July) with zero value and extract that line into SAP BW. -
I7 MBP 8.2 AMD 6750M 2011 Crashes, Red Horizontal Lines, won't boots
Crash, horizontal red lines, won't boot, SMC PRAM reset, failed boots, successful boot cycles:
For about a week, I have been struggling with crashes, followed by red horizontal lines on the screen, and inability to boot into multi-user mode. It will boot into single user mode, with red stripes on black background. To get it to boot again I "shutdown -h now" from single user mode, SMC reset, PRAM reset 3 times, and attempt boots with <command> R two to three times unsuccessfully. Then, if I am lucky, when I do a boot into single-user mode (power, <command> S), it boots into single user mode with a black background and no stripes, then I "exit" to boot. If I am unlucky, the black screen will have red stripes or red snow in single-user mode. After several crashes, I also have to remove my hard drive, and do a disk repair and permission repair, while connected to a different mac, or format and restore ML. (I have two backups of my personal data.) The failed multi-user boots are terminated by grey or black screens of death, accompanied by heat and the fands running fast. The fans also run in single user mode without processor load if they red stripes are on the screen. A successful multi-user boot is cool without fans running. I didn't have any crashing problems before switching to ML recently.
Memtest fails in multi-user mode (but not single-user mode):
Running memtest on 8GB RAM in multi-user mode fails at a single address on the most significant byte (with 1 bit difference). However, memtest does not show a failure in single-user mode, nor with only a single 4GB module in multi-user mode.
Increased stability with gfxCardStatus and Flash unininstall:
Using gfxCardStatus Integrated Only mode, and uninstalling Flash, seems to help. However, I do get crashes or inability to wake up display which seems to be associated with processes like (google Chrome renderer) which forces gfxCardStatus out of "Integrated Only" mode. http://gfx.io/switching.html
Future plans:
I am in Mexico where RAM is outrageously expensive. So I will order RAM from the USA and try new 16 GB RAM because it is cheaper part swap than the logic board. It makes sense to try the cheap stuff first. I would rather switch to Linux and continue my bioinformatics work than pay and wait to replace the i7 logic board which warranty expired a few months ago. I refuse to hit it with a heatgun to reflow the BGA solder on the GPU. I really need the i7 data processing throughput I paid for.
Suggestions?
Does anyone understand the ambiguous memtest results?I tested if my computer would hang, if I don't use the Mountain Lion GUI. I didn't log in on the GUI. I used ssh from my Mac Mini, to launch scripts while heavily load the i7 CPU while not logged on to the GUI. I woke up the screen a few time successfully. However Dec 30, early in the morning, the screen remained black and the login screen would not appear pressing a key. My ssh sessions were still working and I could continue to run scripts and load all the CPU cores verified by "top" on the command line. However, I could not ssh to my MacBook Pro!
ssh [email protected]
ssh: Could not resolve hostname hanalei.local: nodename nor servname provided, or not known
(Previously established SSH sessions continued to work, but new ones could not be started.)
I ran memtest afteward 4 times without failure while I went to sleep.
Looking at the console log, something killed authentication, which I assume disabled the ability to ssh into my MacBook Pro.
Dec 30 02:26:00 hanalei com.apple.launchd[1] (com.apple.coreservices.appleid.authentication[318]) <Notice>: Exited: Killed: 9
There were also lots of GPU restarts.
Dec 29 22:23:41 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
syslog -C | grep Killed
Dec 29 13:48:54 hanalei com.apple.launchd.peruser.503[137] (com.apple.mdworker.shared.04000000-0000-0000-0000-000000000000[295]) <Notice>: Exited: Killed: 9
Dec 29 15:27:59 hanalei com.apple.launchd.peruser.503[150] (com.apple.talagent[170]) <Notice>: Exited: Killed: 9
Dec 29 16:58:42 hanalei com.apple.launchd[1] (com.apple.metadata.mds.scan[294]) <Notice>: Exited: Killed: 9
Dec 30 02:26:00 hanalei com.apple.launchd[1] (com.apple.coreservices.appleid.authentication[318]) <Notice>: Exited: Killed: 9
Dec 30 02:26:01 hanalei com.apple.launchd[1] (com.apple.audio.SandboxHelper[210]) <Notice>: Exited: Killed: 9
Dec 30 02:26:01 hanalei com.apple.launchd[1] (com.apple.xpcd.CA000000-0000-0000-0000-000000000000[209]) <Notice>: Exited: Killed: 9
Dec 30 02:26:02 hanalei com.apple.launchd[1] (com.apple.xpcd.F7010000-0000-0000-0000-000000000000[186]) <Notice>: Exited: Killed: 9
Dec 30 02:26:02 hanalei com.apple.launchd.peruser.503[140] (com.apple.tccd[153]) <Notice>: Exited: Killed: 9
Dec 30 02:26:43 hanalei com.apple.launchd.peruser.503[140] (com.apple.cfprefsd.xpc.agent[148]) <Notice>: Exited: Killed: 9
Dec 30 02:26:44 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[31]) <Notice>: Exited: Killed: 9
Dec 30 02:29:35 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[14574]) <Notice>: Exited: Killed: 9
Dec 30 02:29:48 hanalei com.apple.launchd.peruser.503[140] (com.apple.cfprefsd.xpc.agent[14579]) <Notice>: Exited: Killed: 9
Dec 30 02:29:49 hanalei com.apple.launchd.peruser.503[140] (com.apple.distnoted.xpc.agent[144]) <Notice>: Exited: Killed: 9
Dec 30 02:29:50 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[14591]) <Notice>: Exited: Killed: 9
Dec 30 02:29:51 hanalei com.apple.launchd[1] (com.apple.cfprefsd.xpc.daemon[21]) <Notice>: Exited: Killed: 9
Dec 30 02:30:01 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[14595]) <Notice>: Exited: Killed: 9
Dec 30 02:30:14 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[14601]) <Notice>: Exited: Killed: 9
Dec 30 02:30:14 hanalei com.apple.launchd[1] (com.apple.cfprefsd.xpc.daemon[14598]) <Notice>: Exited: Killed: 9
Dec 30 02:30:38 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[14602]) <Notice>: Exited: Killed: 9
Dec 30 02:31:27 hanalei com.apple.launchd[1] (com.apple.cfprefsd.xpc.daemon[14611]) <Notice>: Exited: Killed: 9
Dec 30 03:15:05 hanalei com.apple.launchd.peruser.503[14604] (com.apple.cfprefsd.xpc.agent[14610]) <Notice>: Exited: Killed: 9
Dec 30 03:26:42 hanalei com.apple.launchd[1] (com.apple.cfprefsd.xpc.daemon[14615]) <Notice>: Exited: Killed: 9
Dec 30 03:26:43 hanalei com.apple.launchd.peruser.503[14604] (com.apple.distnoted.xpc.agent[14608]) <Notice>: Exited: Killed: 9
Dec 30 03:26:43 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[14606]) <Notice>: Exited: Killed: 9
Dec 30 03:46:06 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[14684]) <Notice>: Exited: Killed: 9
Dec 30 04:26:44 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[14690]) <Notice>: Exited: Killed: 9
Dec 30 04:26:45 hanalei com.apple.launchd[1] (com.apple.cfprefsd.xpc.daemon[14685]) <Notice>: Exited: Killed: 9
Dec 30 04:42:03 hanalei com.apple.launchd[1] (com.apple.cfprefsd.xpc.daemon[14699]) <Notice>: Exited: Killed: 9
Dec 30 04:55:58 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[14698]) <Notice>: Exited: Killed: 9
syslog -C
Dec 29 11:05:40 localhost com.apple.launchd[1] <Notice>: *** launchd[1] has started up. ***
Dec 29 11:05:40 localhost com.apple.launchd[1] <Notice>: *** Shutdown logging is enabled. ***
Dec 29 11:06:29 localhost com.apple.launchd[1] (com.apple.automountd) <Warning>: Unknown key for boolean: NSSupportsSuddenTermination
Dec 29 11:06:34 hanalei com.apple.launchd[1] (com.apple.bsd.dirhelper) <Notice>: Throttling respawn: Will start in 10 seconds
Dec 29 11:07:43 hanalei com.apple.launchd.peruser.503[209] (com.apple.gamed) <Warning>: Ignored this key: UserName
Dec 29 11:07:43 hanalei com.apple.launchd.peruser.503[209] (com.apple.gamed) <Warning>: Ignored this key: GroupName
Dec 29 11:07:43 hanalei.local distnoted[213] <Warning>: # distnote server agent absolute time: 124.947278009 civil time: Sat Dec 29 11:07:43 2012 pid: 213 uid: 503 root: no
Dec 29 11:08:43 hanalei com.apple.launchd.peruser.503[209] (com.apple.afpstat-qfa[299]) <Notice>: Job failed to exec(3). Setting up event to tell us when to try again: 2: No such file or directory
Dec 29 11:08:43 hanalei com.apple.launchd.peruser.503[209] (com.apple.afpstat-qfa[299]) <Notice>: Job failed to exec(3) for weird reason: 2
Dec 29 11:08:43 hanalei com.apple.launchd.peruser.503[209] (com.apple.mrt.uiagent[293]) <Error>: Exited with code: 255
Dec 29 11:09:03 hanalei com.apple.launchd.peruser.503[209] <Error>: Bug: 12C60: launchd + 112364 [7DCC9489-2DF5-3807-83FA-EF5666EE8078]: 0x1
--- last message repeated 5 times ---
Dec 29 13:17:09 localhost com.apple.launchd[1] <Notice>: *** launchd[1] has started up. ***
Dec 29 13:17:09 localhost com.apple.launchd[1] <Notice>: *** Shutdown logging is enabled. ***
Dec 29 13:17:38 localhost com.apple.launchd[1] (com.apple.automountd) <Warning>: Unknown key for boolean: NSSupportsSuddenTermination
Dec 29 13:18:40 hanalei com.apple.launchd.peruser.503[137] (com.apple.gamed) <Warning>: Ignored this key: UserName
Dec 29 13:18:40 hanalei com.apple.launchd.peruser.503[137] (com.apple.gamed) <Warning>: Ignored this key: GroupName
Dec 29 13:18:40 hanalei.local distnoted[141] <Warning>: # distnote server agent absolute time: 95.663712636 civil time: Sat Dec 29 13:18:40 2012 pid: 141 uid: 503 root: no
Dec 29 13:18:50 hanalei com.apple.launchd.peruser.503[137] <Error>: Bug: 12C60: launchd + 112364 [7DCC9489-2DF5-3807-83FA-EF5666EE8078]: 0x1
--- last message repeated 5 times ---
Dec 29 13:18:53 hanalei com.apple.launchd.peruser.503[137] (com.apple.afpstat-qfa[267]) <Notice>: Job failed to exec(3). Setting up event to tell us when to try again: 2: No such file or directory
Dec 29 13:18:53 hanalei com.apple.launchd.peruser.503[137] (com.apple.afpstat-qfa[267]) <Notice>: Job failed to exec(3) for weird reason: 2
Dec 29 13:18:53 hanalei com.apple.launchd.peruser.503[137] (com.apple.mrt.uiagent[261]) <Error>: Exited with code: 255
Dec 29 13:39:25 hanalei com.apple.launchd.peruser.503[137] (com.apple.NetworkDiagnostics[388]) <Warning>: Check-in of Mach service failed. Already active: com.apple.NetworkDiagnostic.agent
Dec 29 13:42:21 hanalei.local spindump[403] <Notice>: Saved hang report for Mail version 6.2 (1499) to /Library/Logs/DiagnosticReports/Mail_2012-12-29-134221_hanalei.hang
Dec 29 13:48:54 hanalei com.apple.launchd.peruser.503[137] ([0x0-0x16016].com.apple.AppleSpell[277]) <Notice>: Exited: Terminated: 15
Dec 29 13:48:54 hanalei com.apple.launchd.peruser.503[137] (com.apple.mdworker.shared.04000000-0000-0000-0000-000000000000[295]) <Notice>: Exited: Killed: 9
Dec 29 14:29:38 localhost com.apple.launchd[1] <Notice>: *** launchd[1] has started up. ***
Dec 29 14:29:38 localhost com.apple.launchd[1] <Notice>: *** Shutdown logging is enabled. ***
Dec 29 14:29:49 localhost com.apple.launchd[1] (com.apple.automountd) <Warning>: Unknown key for boolean: NSSupportsSuddenTermination
Dec 29 14:32:05 hanalei.local distnoted[118] <Warning>: # distnote server agent absolute time: 155.593274130 civil time: Sat Dec 29 14:32:05 2012 pid: 118 uid: 503 root: no
Dec 29 15:21:29 localhost com.apple.launchd[1] <Notice>: *** launchd[1] has started up. ***
Dec 29 15:21:29 localhost com.apple.launchd[1] <Notice>: *** Shutdown logging is enabled. ***
Dec 29 15:21:40 localhost com.apple.launchd[1] (com.apple.automountd) <Warning>: Unknown key for boolean: NSSupportsSuddenTermination
Dec 29 15:22:23 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 15:22:28 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 4 seconds
Dec 29 15:22:33 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 15:22:34 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 8 seconds
Dec 29 15:22:40 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 2 seconds
Dec 29 15:22:43 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 15:22:46 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 6 seconds
Dec 29 15:22:53 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 15:22:58 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 4 seconds
--- last message repeated 6 times ---
Dec 29 15:23:04 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 15:23:20 hanalei com.apple.launchd.peruser.503[150] (com.apple.gamed) <Warning>: Ignored this key: UserName
Dec 29 15:23:20 hanalei com.apple.launchd.peruser.503[150] (com.apple.gamed) <Warning>: Ignored this key: GroupName
Dec 29 15:23:20 hanalei.local distnoted[154] <Warning>: # distnote server agent absolute time: 114.027753124 civil time: Sat Dec 29 15:23:20 2012 pid: 154 uid: 503 root: no
Dec 29 15:23:28 hanalei com.apple.launchd.peruser.503[150] <Error>: Bug: 12C60: launchd + 112364 [7DCC9489-2DF5-3807-83FA-EF5666EE8078]: 0x1
--- last message repeated 5 times ---
Dec 29 15:23:33 hanalei com.apple.launchd.peruser.503[150] (com.apple.afpstat-qfa[285]) <Notice>: Job failed to exec(3). Setting up event to tell us when to try again: 2: No such file or directory
Dec 29 15:23:33 hanalei com.apple.launchd.peruser.503[150] (com.apple.afpstat-qfa[285]) <Notice>: Job failed to exec(3) for weird reason: 2
Dec 29 15:23:33 hanalei com.apple.launchd.peruser.503[150] (com.apple.mrt.uiagent[278]) <Error>: Exited with code: 255
Dec 29 15:23:46 hanalei com.apple.launchd.peruser.503[150] (com.apple.NetworkDiagnostics[297]) <Warning>: Check-in of Mach service failed. Already active: com.apple.NetworkDiagnostic.agent
Dec 29 15:25:53 hanalei com.apple.launchd.peruser.503[150] (com.apple.NetworkDiagnostics[335]) <Warning>: Check-in of Mach service failed. Already active: com.apple.NetworkDiagnostic.agent
Dec 29 15:27:59 hanalei com.apple.launchd.peruser.503[150] (com.apple.talagent[170]) <Notice>: Exited: Killed: 9
Dec 29 15:35:00 hanalei com.apple.launchd.peruser.503[150] (com.apple.gamed) <Warning>: Ignored this key: UserName
Dec 29 15:35:00 hanalei com.apple.launchd.peruser.503[150] (com.apple.gamed) <Warning>: Ignored this key: GroupName
Dec 29 15:35:27 hanalei com.apple.launchd.peruser.503[150] <Error>: Bug: 12C60: launchd + 112364 [7DCC9489-2DF5-3807-83FA-EF5666EE8078]: 0x1
--- last message repeated 2 times ---
Dec 29 15:35:27 hanalei com.apple.launchd.peruser.503[150] (com.apple.afpstat-qfa[482]) <Notice>: Job failed to exec(3). Setting up event to tell us when to try again: 2: No such file or directory
Dec 29 15:35:27 hanalei com.apple.launchd.peruser.503[150] (com.apple.afpstat-qfa[482]) <Notice>: Job failed to exec(3) for weird reason: 2
Dec 29 15:35:28 hanalei com.apple.launchd.peruser.503[150] <Error>: Bug: 12C60: launchd + 112364 [7DCC9489-2DF5-3807-83FA-EF5666EE8078]: 0x1
--- last message repeated 3 times ---
Dec 29 15:35:28 hanalei com.apple.launchd.peruser.503[150] (com.apple.mrt.uiagent[475]) <Error>: Exited with code: 255
Dec 29 15:35:46 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 4 seconds
Dec 29 15:35:51 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 15:35:52 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 8 seconds
Dec 29 15:35:58 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 2 seconds
--- last message repeated 1 time ---
Dec 29 15:45:55 localhost com.apple.launchd[1] <Notice>: *** launchd[1] has started up. ***
Dec 29 15:45:55 localhost com.apple.launchd[1] <Notice>: *** Shutdown logging is enabled. ***
Dec 29 15:46:06 localhost com.apple.launchd[1] (com.apple.automountd) <Warning>: Unknown key for boolean: NSSupportsSuddenTermination
Dec 29 15:48:21 hanalei.local distnoted[147] <Warning>: # distnote server agent absolute time: 149.513792853 civil time: Sat Dec 29 15:48:21 2012 pid: 147 uid: 503 root: no
Dec 29 16:42:52 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 16:42:57 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 4 seconds
Dec 29 16:43:02 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 16:43:03 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 8 seconds
--- last message repeated 1 time ---
Dec 29 16:43:09 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 2 seconds
Dec 29 16:43:12 hanalei com.apple.launchd.peruser.503[144] (com.apple.gamed) <Warning>: Ignored this key: UserName
Dec 29 16:43:12 hanalei com.apple.launchd.peruser.503[144] (com.apple.gamed) <Warning>: Ignored this key: GroupName
Dec 29 16:43:24 hanalei com.apple.launchd.peruser.503[144] <Error>: Bug: 12C60: launchd + 112364 [7DCC9489-2DF5-3807-83FA-EF5666EE8078]: 0x1
--- last message repeated 5 times ---
Dec 29 16:44:12 hanalei com.apple.launchd.peruser.503[144] (com.apple.afpstat-qfa[311]) <Notice>: Job failed to exec(3). Setting up event to tell us when to try again: 2: No such file or directory
Dec 29 16:44:12 hanalei com.apple.launchd.peruser.503[144] (com.apple.afpstat-qfa[311]) <Notice>: Job failed to exec(3) for weird reason: 2
Dec 29 16:44:12 hanalei com.apple.launchd.peruser.503[144] (com.apple.mrt.uiagent[304]) <Error>: Exited with code: 255
Dec 29 16:44:29 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 4 seconds
Dec 29 16:44:34 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 16:44:35 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 8 seconds
Dec 29 16:44:41 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 2 seconds
--- last message repeated 1 time ---
Dec 29 16:55:35 localhost com.apple.launchd[1] <Notice>: *** launchd[1] has started up. ***
Dec 29 16:55:35 localhost com.apple.launchd[1] <Notice>: *** Shutdown logging is enabled. ***
Dec 29 16:55:45 localhost com.apple.launchd[1] (com.apple.automountd) <Warning>: Unknown key for boolean: NSSupportsSuddenTermination
Dec 29 16:56:21 hanalei com.apple.launchd.peruser.503[140] (com.apple.gamed) <Warning>: Ignored this key: UserName
Dec 29 16:56:21 hanalei com.apple.launchd.peruser.503[140] (com.apple.gamed) <Warning>: Ignored this key: GroupName
Dec 29 16:56:21 hanalei.local distnoted[144] <Warning>: # distnote server agent absolute time: 47.520354484 civil time: Sat Dec 29 16:56:21 2012 pid: 144 uid: 503 root: no
Dec 29 16:57:09 hanalei com.apple.launchd.peruser.503[140] <Error>: Bug: 12C60: launchd + 112364 [7DCC9489-2DF5-3807-83FA-EF5666EE8078]: 0x1
--- last message repeated 4 times ---
Dec 29 16:57:14 hanalei com.apple.launchd.peruser.503[140] (com.apple.afpstat-qfa[272]) <Notice>: Job failed to exec(3). Setting up event to tell us when to try again: 2: No such file or directory
Dec 29 16:57:14 hanalei com.apple.launchd.peruser.503[140] (com.apple.afpstat-qfa[272]) <Notice>: Job failed to exec(3) for weird reason: 2
Dec 29 16:57:15 hanalei com.apple.launchd.peruser.503[140] <Error>: Bug: 12C60: launchd + 112364 [7DCC9489-2DF5-3807-83FA-EF5666EE8078]: 0x1
Dec 29 16:57:15 hanalei com.apple.launchd.peruser.503[140] (com.apple.mrt.uiagent[265]) <Error>: Exited with code: 255
Dec 29 16:58:42 hanalei com.apple.launchd.peruser.503[140] ([0x0-0x19019].com.apple.AppleSpell[289]) <Notice>: Exited: Terminated: 15
Dec 29 16:58:42 hanalei com.apple.launchd[1] (com.apple.metadata.mds.scan[294]) <Notice>: Exited: Killed: 9
Dec 29 16:59:35 hanalei com.apple.launchd.peruser.503[140] <Error>: Bug: 12C60: launchd + 112364 [7DCC9489-2DF5-3807-83FA-EF5666EE8078]: 0x1
--- last message repeated 2 times ---
Dec 29 19:13:33 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 19:13:38 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 4 seconds
Dec 29 19:13:43 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 19:13:44 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 8 seconds
--- last message repeated 1 time ---
Dec 29 19:13:50 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 2 seconds
Dec 29 20:14:05 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 20:14:10 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 4 seconds
Dec 29 20:14:15 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 20:14:16 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 8 seconds
--- last message repeated 2 times ---
Dec 29 20:14:22 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 2 seconds
Dec 29 21:16:12 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 21:16:17 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 4 seconds
Dec 29 21:16:22 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 21:16:23 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 8 seconds
--- last message repeated 1 time ---
Dec 29 21:16:29 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 2 seconds
Dec 29 22:23:41 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 22:23:46 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 4 seconds
Dec 29 22:23:51 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 22:23:52 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 8 seconds
--- last message repeated 2 times ---
Dec 29 22:23:58 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 2 seconds
Dec 29 22:24:56 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 22:25:01 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 4 seconds
Dec 29 22:25:06 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 22:25:07 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 8 seconds
--- last message repeated 1 time ---
Dec 29 22:25:13 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 2 seconds
Dec 29 22:26:11 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 22:26:16 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 4 seconds
Dec 29 22:26:21 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 22:26:22 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 8 seconds
--- last message repeated 2 times ---
Dec 29 22:26:28 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 2 seconds
Dec 29 22:27:26 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 22:27:31 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 4 seconds
Dec 29 22:27:36 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 22:27:37 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 8 seconds
--- last message repeated 1 time ---
Dec 29 22:27:43 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 2 seconds
Dec 29 22:28:42 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 22:28:46 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 4 seconds
Dec 29 22:28:52 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 22:28:52 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 8 seconds
--- last message repeated 1 time ---
Dec 29 22:28:59 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 2 seconds
Dec 29 22:29:57 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 22:30:01 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 4 seconds
Dec 29 22:30:07 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 22:30:07 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 8 seconds
--- last message repeated 1 time ---
Dec 29 22:30:13 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 2 seconds
Dec 29 22:31:12 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 22:31:16 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 4 seconds
Dec 29 22:31:22 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 22:31:22 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 8 seconds
--- last message repeated 1 time ---
Dec 29 22:31:29 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 2 seconds
Dec 29 22:32:27 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 22:32:32 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 4 seconds
Dec 29 22:32:37 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 22:32:38 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 8 seconds
--- last message repeated 1 time ---
Dec 29 22:32:44 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 2 seconds
Dec 29 22:33:42 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 22:33:47 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 4 seconds
Dec 29 22:33:52 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 22:33:53 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 8 seconds
--- last message repeated 1 time ---
Dec 29 22:33:59 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 2 seconds
Dec 29 23:17:28 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 23:17:33 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 4 seconds
Dec 29 23:17:38 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 9 seconds
Dec 29 23:17:39 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 8 seconds
--- last message repeated 1 time ---
Dec 29 23:17:45 hanalei com.apple.launchd[1] (com.apple.DumpGPURestart) <Notice>: Throttling respawn: Will start in 2 seconds
Dec 30 02:24:01 hanalei com.apple.launchd.peruser.503[140] <Error>: Bug: 12C60: launchd + 112364 [7DCC9489-2DF5-3807-83FA-EF5666EE8078]: 0x1
Dec 30 02:26:00 hanalei com.apple.launchd[1] (com.apple.coreservices.appleid.authentication[318]) <Notice>: Exited: Killed: 9
Dec 30 02:26:01 hanalei com.apple.launchd[1] (com.apple.audio.SandboxHelper[210]) <Notice>: Exited: Killed: 9
Dec 30 02:26:01 hanalei com.apple.launchd[1] (com.apple.xpcd.CA000000-0000-0000-0000-000000000000[209]) <Notice>: Exited: Killed: 9
Dec 30 02:26:02 hanalei com.apple.launchd[1] (com.apple.xpcd.F7010000-0000-0000-0000-000000000000[186]) <Notice>: Exited: Killed: 9
Dec 30 02:26:02 hanalei com.apple.launchd.peruser.503[140] (com.apple.tccd[153]) <Notice>: Exited: Killed: 9
Dec 30 02:26:43 hanalei com.apple.launchd.peruser.503[140] (com.apple.cfprefsd.xpc.agent[148]) <Notice>: Exited: Killed: 9
Dec 30 02:26:44 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[31]) <Notice>: Exited: Killed: 9
Dec 30 02:29:35 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[14574]) <Notice>: Exited: Killed: 9
Dec 30 02:29:48 hanalei com.apple.launchd.peruser.503[140] (com.apple.cfprefsd.xpc.agent[14579]) <Notice>: Exited: Killed: 9
Dec 30 02:29:49 hanalei com.apple.launchd.peruser.503[140] (com.apple.distnoted.xpc.agent[144]) <Notice>: Exited: Killed: 9
Dec 30 02:29:50 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[14591]) <Notice>: Exited: Killed: 9
Dec 30 02:29:51 hanalei com.apple.launchd[1] (com.apple.cfprefsd.xpc.daemon[21]) <Notice>: Exited: Killed: 9
Dec 30 02:30:01 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[14595]) <Notice>: Exited: Killed: 9
Dec 30 02:30:14 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[14601]) <Notice>: Exited: Killed: 9
Dec 30 02:30:14 hanalei com.apple.launchd[1] (com.apple.cfprefsd.xpc.daemon[14598]) <Notice>: Exited: Killed: 9
Dec 30 02:30:38 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[14602]) <Notice>: Exited: Killed: 9
Dec 30 02:30:39 hanalei.local distnoted[14608] <Warning>: # distnote server agent absolute time: 18252.455382446 civil time: Sun Dec 30 02:30:39 2012 pid: 14608 uid: 503 root: no
Dec 30 02:31:27 hanalei com.apple.launchd[1] (com.apple.cfprefsd.xpc.daemon[14611]) <Notice>: Exited: Killed: 9
Dec 30 03:15:05 hanalei com.apple.launchd.peruser.503[14604] (com.apple.cfprefsd.xpc.agent[14610]) <Notice>: Exited: Killed: 9
Dec 30 03:26:42 hanalei com.apple.launchd[1] (com.apple.cfprefsd.xpc.daemon[14615]) <Notice>: Exited: Killed: 9
Dec 30 03:26:43 hanalei com.apple.launchd.peruser.503[14604] (com.apple.distnoted.xpc.agent[14608]) <Notice>: Exited: Killed: 9
Dec 30 03:26:43 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[14606]) <Notice>: Exited: Killed: 9
Dec 30 03:46:06 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[14684]) <Notice>: Exited: Killed: 9
Dec 30 04:26:44 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[14690]) <Notice>: Exited: Killed: 9
Dec 30 04:26:45 hanalei com.apple.launchd[1] (com.apple.cfprefsd.xpc.daemon[14685]) <Notice>: Exited: Killed: 9
Dec 30 04:42:03 hanalei com.apple.launchd[1] (com.apple.cfprefsd.xpc.daemon[14699]) <Notice>: Exited: Killed: 9
Dec 30 04:55:58 hanalei com.apple.launchd[1] (com.apple.sleepservicesd[14698]) <Notice>: Exited: Killed: 9
Dec 30 10:00:37 hanalei.local distnoted[14778] <Warning>: # distnote server agent absolute time: 45252.245296175 civil time: Sun Dec 30 10:00:37 2012 pid: 14778 uid: 503 root: no -
As described in the SAP Library I want to use the following JavaScript function to call up a calendar:
<A href="Javascript:SAPBWSetFilterByCalendar('KPM',null,'0CALDAY','20041117');">Filter Calday</A>
When I click on my link I get a Runtime Error.
Line: 1
Error: 'Items' is undefined
Can anyone please tell me what I'm doing wrong?Hi,
Take a look at this code. This is to restrict a data provider by Month selection with dropdown box. This is an fully working code.
<HTML>
<!-- BW data source object tags -->
<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="SET_DATA_PROVIDER"/>
<param name="NAME" value="DP2"/>
<param name="QUERY" value="WORKSHOP_DYNAMIC_CONTROL"/>
<param name="INFOCUBE" value="0D_SD_C03"/>
DATA_PROVIDER: DP2
</object>
<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="SET_DATA_PROVIDER"/>
<param name="NAME" value="DP1"/>
<param name="QUERY" value="WORKSHOP_CALMONTH_DROPDOWN"/>
<param name="INFOCUBE" value="0D_SD_C03"/>
<param name="FILTER_IOBJNM" value="0CALMONTH"/>
<param name="FILTER_VALUE" value="200401"/>
DATA_PROVIDER: DP1
</object>
<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="SET_PROPERTIES"/>
<param name="TEMPLATE_ID" value="ZOJM_DDBOX_HOW_TO_CODE_ALONG"/>
TEMPLATE PROPERTIES
</object>
<SCRIPT type='text/javascript'>
function chavl_int_to_ext_convert(intformat, iobjnm) {
if (iobjnm== '0CALMONTH') {
var date_format = SAPBWGetProperty('DATE_FORMAT');
switch (date_format) {
case 1:
return intformat.substring(4,6) + '.' + intformat.substring(0,4);
case 2:
return intformat.substring(4,6) + '/' + intformat.substring(0,4);
case 3:
return intformat.substring(4,6) + '-' + intformat.substring(0,4);
case 4:
return intformat.substring(0,4) + '.' + intformat.substring(4,6);
case 5:
return intformat.substring(0,4) + '/' + intformat.substring(4,6);
case 6:
return intformat.substring(0,4) + '-' + intformat.substring(4,6);
function setVariable(value) {
// ignore the '#' and "!ALL" values
if (value == '000000' || value == '!ALL')
alert("Please select a valid month.");
else {
url = SAP_BW_URL_Get() + "&CMD=PROCESS_VARIABLES&SUBCMD=VAR_SUBMIT&VAR_NAME_1=ZMONTH&VAR_VALUE_EXT_1=" ;
url = url + chavl_int_to_ext_convert(value,'0CALMONTH');
SAPBWOpenURL(url);
function chavl_ext_to_int_convert(extformat, iobjnm) {
if (iobjnm== '0CALMONTH') {
var date_format = SAPBWGetProperty('DATE_FORMAT');
// possible values DATE_FORMAT: Date format (1: DD.MM.YYYY, 2: MM/DD/YYYY, 3: MM-DD-YYYY,
// 4: YYYY.MM.DD, 5: YYYY/MM/DD, 6: YYYY-MM-DD)
if (date_format < '4')
return extformat.substring(3,7) + extformat.substring(0,2);
else
return extformat.substring(0,4) + extformat.substring(5,7);
function set_dd_box() {
//retrieve the value of the text element ZMONTH
ddvalue = document.getElementById('varvalue').innerHTML;
// convert the external representation to the internal representation
// needed for selecting a value in the dropdown box
ddvalue_int = chavl_ext_to_int_convert(ddvalue,'0CALMONTH');
// using the document object model (DOM), get the number of values
// in the dropdown box, loop through the entries and compare the retrieved
// value against the dropdown box contents. If there is a match, set the value
// as the 'selected' value
for (i=0; i< document.frmState.calmonth.options.length; i++) {
if (document.frmState.calmonth.options<i>.value == ddvalue_int)
document.frmState.calmonth.selectedIndex = i;
</SCRIPT>
</HEAD>
<BODY>
<P>
<form name="frmState">
<b> Calendar month/year:</b> <select name="calmonth" class="SAPBexDdl" onchange="setVariable(options[selectedIndex].value);">
<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="DROPDOWNBOX_1"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_DDOWN"/>
<param name="DATA_PROVIDER" value="DP1"/>
<param name="GENERATE_CAPTION" value=""/>
<param name="IOBJNM" value="0CALMONTH"/>
<param name="BOOKED_VALUES" value=""/>
<param name="SHOW_LABEL" value=""/>
<param name="ONLY_VALUES" value="X"/>
<param name="NO_REMOVE_FILTER" value="X"/>
ITEM: DROPDOWNBOX_1
</object>
</select>
</form>
</P>
<P><object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="TABLE_1"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
<param name="DATA_PROVIDER" value="DP2"/>
ITEM: TABLE_1
</object></P>
<P id="varvalue" style="DISPLAY: none; VISIBILITY: hidden"><object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="TEXTELEMENTS_1"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
2004 SAP LABS, LLC AND SAP AG 9 <param name="DATA_PROVIDER" value="DP2"/>
<param name="GENERATE_CAPTION" value=""/>
<param name="ELEMENT_TYPE_1" value="VARIABLE_KEY"/>
<param name="ELEMENT_NAME_1" value="ZMONTH"/>
<param name="ONLY_VALUES" value="X"/>
ITEM: TEXTELEMENTS_1
</object></P>
<script>
<!--
set_dd_box();
-->
</script>
</BODY>
</HTML>
Assign points if this helps
arun
Maybe you are looking for
-
Samba and Solaris, access slow via XP
Hi everyone, I've new to solaris and I've installed 10, update 5. I've configured samba (very badly I believe) so that I can access my solaris box from my XP 64 computer. Both are on a local network (connected via a Belkin router) and in the same wor
-
While working in Firefox is there a way to open a new window with one site when the home setting on Firefox has multiple websites?
-
Problem using IMAQ Array to Color Image vi
I am doing some pixel manipulation & while going from an image to an Image Pixels (U64) array using IMAQ Color Image to Array VI I cannot see the image once it is modified. I am... 1) converting the image to the 64 bit pixel data using IMAQ ColorImag
-
My Ipad continues to sound off a loud trumpet fanfare periodically without reason. Is this a significant malware? If so, can I find it and delete it?
-
I am trying to close a dialog window when a boolean variable in another class changes to false. I use JOptionPane inside of an instance of Dialog. I have tried using hide(), dispose(), and setVisible(false). The problem is that the dialog window does