Capture Report in Mail
Hi All,
I m having an report in the table i need to capture that report in a mail(via)button click.
Using which term i can refer that report in my codings. In my search i got the below, but i couldnt understand
javascript:gReport.dialog2('SHOW_DOWNLOAD'); timeoutID = setTimeout('gReport.email.show()',1000);How to refer the report in my mail codings inorder to get it as a mail. Im using a classical report
Regards,
Mini
Hi friends,
Currently, i have an HTML mail process like the below and through this process i can able to send it as an HTML email via APEX by capturing the text item field, but along with this i need to capture one report too, for that how i need to refer the report in my HTML email.
I got a clue of referring the report by giving a value in the Static ID of the report. And how i can able to refer that value with this #REPORT_STATIC_ID#
This is my HTML codings, that is currently working only for the text items
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Webdings;
panose-1:5 3 1 2 1 5 9 6 7 3;}
@font-face
{font-family:"Monotype Corsiva";
panose-1:3 1 1 1 1 2 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026">
<o:colormru v:ext="edit" colors="#c9c400" />
<o:colormenu v:ext="edit" fillcolor="none [3214]" />
</o:shapedefaults></xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head>
<body bgcolor="#EEECE1" lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p>
<div>
<p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:black'><h1>ITS-ISSUES</h1>
<div align=center><table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0 width="90%" style='width:90.0%'><tr><td style='background:#CCBBAA;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
<p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:black'>Defect #&P7_ISSUE_ID.</span></b><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:black'><o:p></o:p></span></p></td><td style='background:#330066;padding:2.25pt 2.25pt 2.25pt 2.25pt'><p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:#FEF9E9'>&P7_ISSUE_SUMMARY.</span></b>
<p class=MsoNormal><b></td>
<thead><tr><th id=></th><th id=></th></tr></thead>
<tr>
<td>Description</td>
<td>&P7_ISSUE_DESCRIPTION.</td>
</tr>
<td>Project</td>
<td>&P7_RELATED_PROJECT.</td>
</tr>
<td>Identified By</td>
<td>&P7_IDENTIFIED_BY.</td>
</tr>
<td>Identified Date</td>
<td>&P7_IDENTIFIED_DATE.</td>
</tr>
</tr>
<td>Assigned to</td>
<td>&P7_ASSIGNED_TO.</td>
</tr>
</tr>
<td>Status</td>
<td>&P7_STATUS.</td>
</tr>
</tr>
<td>Priority</td>
<td>&P7_PRIORITY.</td>
</tr>
</span></b><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:black'><o:p></o:p></span></p>
</table>
</div>
<p class=MsoNormal><span lang=EN-IN style='font-size:7.5pt;font-family:"Tahoma","sans-serif";color:green'>In an effort to save on paper usage, please do not print off this email unless absolutely necessary</span><span lang=EN-IN style='font-size:12.0pt;font-family:"Times New Roman","serif";color:gray'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>Need Some Assistance, in need
Regards,
Mini
Similar Messages
-
Error to send a report via mail with BI Publisher
Hello,
I am working with BIP 10.1.3.4 over Windows Server 2003 Standard Edition, and I would like to send a report via mail.
I added one Email server navigation via Admin>Delivery Configuration > Email with the server name and host.
Then Send report via Email, got error.
oracle.apps.xdo.service.delivery.DeliveryException: oracle.apps.xdo.delivery.DeliveryException: smtp
at oracle.apps.xdo.service.delivery.impl.DeliveryServiceImpl.deliverToEmail(DeliveryServiceImpl.java:228)
at oracle.apps.xdo.servlet.scheduler.XDOJob.deliver(XDOJob.java:1190)
at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:478)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: oracle.apps.xdo.delivery.DeliveryException: smtp
at oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler.submitRequest(Unknown Source)
at oracle.apps.xdo.delivery.AbstractDeliveryRequest.submit(Unknown Source)
at oracle.apps.xdo.service.delivery.impl.DeliveryServiceImpl.deliverToEmail(DeliveryServiceImpl.java:222)
... 4 more
Caused by: javax.mail.NoSuchProviderException: smtp
at javax.mail.Session.getService(Session.java:764)
at javax.mail.Session.getTransport(Session.java:689)
at javax.mail.Session.getTransport(Session.java:632)
at javax.mail.Session.getTransport(Session.java:612)
... 7 more
I have followed this SR, and I applied the solution, but it isn't solved the issue (ID: 1072742.1)
https://support.oracle.com/CSP/ui/flash.html#tab=KBHome%28page=KBHome&id=%28%29%29,%28page=KBNavigator&id=%28from=BOOKMARK&viewingMode=1143&bmDocTitle=BI%20Publisher%20With%20JDE%20Fails%20To%20Send%20Email,%20Error:%20javax.mail.NoSuchProviderException:&bmDocID=1072742.1&bmDocType=PROBLEM&bmDocDsrc=KB%29%29
Regards,
Mónica.Hi Christian.
You could put the lines of your list in a table of type SOLISTI1 and then use the function module SO_NEW_DOCUMENT_SEND_API1 to send the content of this table. You have to fill the table RECEIVERS with the address you want to send the report to.
Hope that helps,
Timo. -
Hello Experts,
Could you please provide me steps to achive following.
I have one report by "Sales Representative". I want to send report in mail to individual sales representative by for his performance only.
In short I want to derive multiple report from this single report in background & send mail to individual person.
Hope I am able to word my question.
Please let me know if you have any question & reply ASAP.
I am working on 3.5 SP 14.
Regards,
SuneelHello All,
To be more clear.
I have a report where "sales rep" is in the row.
I want to breack this single report into multiple report based on "sales rep" & send mail to individual sales rep.
Thanks & Regards,
Suneel -
Automating Generation of reports and mailing it.
Hi,
How do I automate generation of reports and mail it through the Oracle Server. The messaging system being implemented out here is Lotus Domino Server 4.6
Regards,
Alka Mishra.Can you tell me more how to create store procedure UTL_HTTP or give me example and why I need to create a DB table with a DB trigger and give example too.
can I send to Internet email (if I have email address) or Unix mail only?
Thank you very much
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by The Oracle Reports team:
Assuming you are using Developer 1.6.1 or later and version 7.3 or later of Oracle database
1. set up the Reports server for web reporting (see whitepaper on configuring reports server available on otn for more info, and of course the doc).
2. Write a set of stored procedures that use UTL_HTTP to send an HTTP request to the Reports server. You can specify all the parameters to run a report on the URL (incl. running and mailling a report).
3. Create a DB table with a DB trigger that call the pacakged procedure you just wrote. Now every time a row is inserted (for example) into the table, a report can be run and the output mailed.
This will be made much easier/simpler in Reports 7 - but that is a way off.
Regards
The Oracle Reports Team http://technet.oracle.com <HR></BLOCKQUOTE>
null -
Capturing reports into Designer 6.0
Well, I am trying to capture reports into Designer 6.0, and keep getting warning
CGEN-02518 WARNING : Parse error, SQL statement cannot be parsed and will be ignored. The same SQL statement has been compiled n number of times and report is running fine. Anyone have any idea ?BO reports cannot be imported into an R/3 system.
I am not sure if I understand your question correctly though. What kind of reports (WebI, Crystal etc) are you talking about? Do you want that your R/3 users will be able to view the report from SAP GUI?
Regards,
Stratos -
Exchange 2013 delivery reports for mail enabled public folder
How can I get delivery reports for mail enabled public folders? Would I search the related public folder mailbox?
Hi,
When you track messages using Delivery Reports, you can only choose user mailbox when you select mailbox to search. Under the option "Mailbox to search", there is no mail-enabled public folder listed there for you to select from
the address book.
But you can search messages sent to or received from mail-enabled public folder.
Track messages with delivery reports
http://technet.microsoft.com/en-GB/library/jj150554(v=exchg.150).aspx
Best regards,
If you have feedback for TechNet Subscriber Support, contact
[email protected]
Belinda Ma
TechNet Community Support -
Receiving undelivered email reports from mailer daemon
Hi,
I use Mac Mail 5.1, which is linked to my hotmail email account and for the past 24 hours I've been receiving "undelivered email reports from Mailer Daemon" but it appears that, even when I send the same message from my yahoo accout, the problem still persists. Any assisstance would be appreciated.
Thanks.Those reports come from the server at the message destination. For whatever reason, the mail couldn't be delivered. It's not a problem with your Mac.
-
How to send reports through mail in 11g
Hi,
How can we send reports through mails in 11g, please send me the steps,
ThanksHi,
Please refer the below links.
http://satyaobieesolutions.blogspot.in/2012/06/agent-mail-configuration-for-obiee-11g.html
http://satyaobieesolutions.blogspot.in/2012/06/obiee-11g-agent-mail-configuration-step.html
Hope this help's
Thanks,
Satya
Edited by: Satya Ranki Reddy on Jun 10, 2012 11:50 AM -
Generating PDF Report and Mailing from APEX through DBMS_SCHEDULER job
Hi,
We have a requirement to generate pdf reports and mail them from our apex app through a DBMS_SCHEDULER job. The DBMS_SCHEDULER job calls a PL/SQL procedure which has the logic for calling the APEX_UTIL.GET_PRINT_DOCUMENT API (Function Signature 3) passing the application_id, the report_query_name and the report_layout_name to generate the pdf report output. The APEX_UTIL.GET_PRINT_DOCUMENT call is returning NULL when called from the DBMS_SCHEDULER job (It doesn't throw any exception as well!). But the same procedure when called from an APEX App Page Process that is invoked on an event like a Button click, the API returns the PDF report output.
I am also setting the APEX workspace security_group_id at the beginning of the PL/SQL procedure as follows:
l_workspace_id := apex_util.find_security_group_id (p_workspace => 'MY_WORKSPACE');
apex_util.set_security_group_id (p_security_group_id => l_workspace_id);
Any idea on what might be going wrong? Any alternative ways to generate the report output in the PL/SQL procedure?
Thanks & Regards,
Sujesh K KI was able to do a workaround for this issue by rebooting the DB.
As per ID 579281.1, this is a bug in 11.1.0.6 and we need to upgrade the version to 11.1.0.7 or apply a one -off patch.
Thanks,
Arun -
Postqueue: fatal: Queue report unavailable - mail system is down
I'm not sure what I did but for some reason my mail system is down. I do PHP development on my mac and have changed nothing.. all of a sudden my app stopped sending mail. So I went to check the mail queue using "mailq" and I get: *postqueue: fatal: Queue report unavailable - mail system is down* I know that the mail is working because it works on other developers machines on the project. Anyone have any idea what happened?
Here is my postconf -n:
alias_maps = hash:/etc/aliases,hash:/var/mailman/data/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debugpeerlevel = 2
delaywarningtime = 6h
disablevrfycommand = yes
enableserveroptions = yes
html_directory = no
inet_interfaces = localhost
localrecipientmaps =
luser_relay = quarantine
mail_owner = _postfix
mailboxsizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
maximalqueuelifetime = 2d
messagesizelimit = 52428800
mydestination = $myhostname,localhost.$mydomain,localhost,oneday.at,tilley.server,mxr.at
mydomain = mxr.at
mydomain_fallback = localhost
myhostname = mxr.at
mynetworks = 127.0.0.0/8,192.168.1.0/24
newaliases_path = /usr/bin/newaliases
ownerrequestspecial = no
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = _postdrop
smtpdclientrestrictions = permitsaslauthenticated, permit_mynetworks, rejectrblclient zen.spamhaus.org, permit
smtpddatarestrictions = permit_mynetworks, rejectunauthpipelining, permit
smtpdenforcetls = no
smtpdhelorequired = yes
smtpdhelorestrictions = permitsaslauthenticated, permit_mynetworks, checkheloaccess hash:/etc/postfix/helo_access, rejectnon_fqdnhostname, rejectinvalidhostname, permit
smtpdpw_server_securityoptions = cram-md5
smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
smtpdsasl_authenable = yes
smtpdsenderrestrictions = permitsaslauthenticated, permit_mynetworks, rejectnon_fqdnsender, permit
smtpdtls_certfile = /etc/certificates/Default.crt
smtpdtls_keyfile = /etc/certificates/Default.key
smtpdtlsloglevel = 0
smtpduse_pwserver = yes
smtpdusetls = yes
unknownlocal_recipient_rejectcode = 550 -
Problem when sending report to mail ID's in BIP
Dear All,
We are using BIP 10.1.3.3.1.
I generated some reports .
I configured SMTP server and i can aable to send my reports to users ID's
also.
But i have to send my reports to 10 users(one ID is having 30 characters
length).
while i am giving the ID's in
TO: (it is taking up to 80 characters ie 2 ID's and 20 chars)
For that what i have to do?
My plans are
1)Grouping the 10 ID's
But there no permition for grouping in my company.
Then i left it.
2)Tring to increase the length of that 80 chars to >300.
for that i checked the tables which are created while installing the
schedular schema.
i found the table names as follows
Qrtz_blob_trigger
Qrtz_calender
Qrtz_cron_trigger
Qrtz_fired_trigger
Qrtz_job_trigger
Qrtz_scheduler_state
Qrtz_simple_trigger
Qrtz_locks
Qrtz_paused_trigger_grps
Qrtz_trigger
Qrtz_ trigger_listener
MY doubt is
1)that length inf is in which table
2)which field name
3)if i change that length is there any impact on other tables
It is veryyyyy Argent.
Plz any body help me .
Regards
Subbu..Hi,
If you are using 6i,
Run the report in "batch" mode. This will not bring up the send mail dialog.
For multiple email id's, you can give destype=mail desname=[email protected],[email protected],..etc. or use distribution.
In 9i, the standard SMPT protocol is used. Hence you will not get this problem.
You can see example "Bursting and Distributing"
http://otn.oracle.com/docs/products/reports/htdocs/doc_library/getstart/examples/Distribution/index.html
Thanks,
Siva B -
OPEN PO CAPTURE REPORT.
hello experts,
I have to design a report to capture the open po's based on the assumption that if any one changes the netprice manually compared to contract pricing
if anyone gimme some sample code or some directions to design... that would be really helpful for me
Please some one help me ..
SIRIHi,
see the sample code and try to change as per your requirement:
REPORT ZMM_PO_DETAILS message-Id yb
NO STANDARD PAGE HEADING
LINE-COUNT 60(1)
LINE-SIZE 230.
TABLES: lfa1, " Vendor Master
t161, " PO Doc Types
t024, " Purchase Groups
ekko. " PO Header
T Y P E S D E C L A R A T I O N S
Purchase Orders Main Structure
TYPES: BEGIN OF s_po,
ebeln TYPE ebeln, " PO No.
ebelp TYPE ebelp, " PO Item
bstyp TYPE bstyp, " PO Category
bukrs TYPE bukrs, " Company Code
bsart TYPE bbsrt, " PO Type
lifnr TYPE lifnr, " Vendor No
ekgrp TYPE bkgrp, " Purchase Group
waers TYPE waers, " Currency
bedat TYPE etbdt, " PO Date
txz01 TYPE txz01, " Material Text
werks TYPE ewerk, " Plant
lgort TYPE lgort_d, " Storage Location
matkl TYPE matkl, " Material Group
menge TYPE bamng, " PR Quantity
meins TYPE bamei, " UOM
bprme TYPE bbprm, " Price Unit
netpr TYPE netpr, " Net price
peinh TYPE peinh, " Price Unit UOM
pstyp TYPE pstyp, " Item Category
knttp TYPE knttp, " Account Assignment Category
END OF s_po.
Purchase Orders History Structure
TYPES: BEGIN OF s_account,
ebeln TYPE ebeln, " PO No.
ebelp TYPE ebelp, " PO Item
gjahr TYPE mjahr, " Fiscal Year
belnr TYPE mblnr, " PO Invoice No
menge TYPE menge_d, " PR Quantity
wrbtr TYPE wrbtr, " Price in Local Currency
dmbtr TYPE dmbtr, " Price in Foreign Currency
waers TYPE waers, " Currency
shkzg TYPE shkzg, " Dr/Cr Indicator
END OF s_account.
Purchase Orders History Structure(Item Sum)
TYPES: BEGIN OF s_inv_sum,
ebeln TYPE ebeln, " PO No.
ebelp TYPE ebelp, " PO Item
menge TYPE menge_d, " PR Quantity
wrbtr TYPE wrbtr, " Price in Foreign Currency
waers TYPE waers, " Currency
END OF s_inv_sum.
Purchase Orders Main Structure
TYPES: BEGIN OF s_rep,
lifnr TYPE lifnr, " Vendor No
ebeln TYPE ebeln, " PO No.
ebelp TYPE ebelp, " PO Item
bstyp TYPE bstyp, " PO Category
bsart TYPE bbsrt, " PO Type
ekgrp TYPE bkgrp, " Purchase Group
waers TYPE waers, " Currency
bedat TYPE etbdt, " PO Date
txz01 TYPE txz01, " Material Text
werks TYPE ewerk, " Plant
lgort TYPE lgort_d, " Storage Location
matkl TYPE matkl, " Material Group
menge TYPE bamng, " PR Quantity
meins TYPE bamei, " UOM
bprme TYPE bbprm, " Price Unit
netpr TYPE netpr, " Net price
peinh TYPE peinh, " Price Unit UOM
pstyp TYPE pstyp, " Item Category
knttp TYPE knttp, " Account Assignment Category
name1 TYPE name1, " Plant
orewr TYPE netpr, " To be Invoiced Price
curr TYPE waers, " Inv Doc Currency
END OF s_rep.
D A T A D E C L A R A T I O N S
DATA: gv_title1 TYPE sylisel, " Report title
gv_dial. " Color flag
C O N S T A N T S D E C L A R A T I O N S
CONSTANTS: c_x VALUE 'X', " Flag X
c_h VALUE 'H', " Debit
c_vgabe TYPE vgabe VALUE '2'. " Transaction Type
I N T E R N A L T A B L E S D E C L A R A T I O N S
DATA: i_po TYPE STANDARD TABLE OF s_po WITH HEADER LINE,
" Purchase Order
i_inv TYPE STANDARD TABLE OF s_inv_sum WITH HEADER LINE,
" PO Invoice Values
i_rep TYPE STANDARD TABLE OF s_rep WITH HEADER LINE,
" PO Invoice Values
i_ekbe TYPE STANDARD TABLE OF s_account WITH HEADER LINE.
" PO Invoice Values
S E L E C T I O N S C R E E N *
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_lifnr FOR lfa1-lifnr MATCHCODE OBJECT kred,
s_ebeln FOR ekko-ebeln MATCHCODE OBJECT mekk,
s_bsart FOR t161-bsart,
s_ekgrp FOR t024-ekgrp,
s_bedat FOR ekko-bedat.
SELECTION-SCREEN END OF BLOCK b1.
I N I T I A L I Z A T I O N *
INITIALIZATION.
A T S E L E C T I O N - S C R E E N *
AT SELECTION-SCREEN.
Validate the screen fields
PERFORM validate_screen.
S T A R T - O F - S E L E C T I O N *
START-OF-SELECTION.
Fetch main data
PERFORM fetch_data.
T O P - O F - P A G E *
TOP-OF-PAGE.
Header of the List
PERFORM header.
E N D - O F - P A G E *
Footer
END-OF-PAGE.
ULINE.
E N D - O F - S E L E C T I O N *
END-OF-SELECTION.
Display the Report Output data
PERFORM display_data.
At Line-Selection
AT LINE-SELECTION.
When double clicked on EBELN display the details of Purchase Doc
PERFORM line_sel.
*& Form validate_screen
Validation of Selection Screen fields
FORM validate_screen .
Validation of Vendor Number
CLEAR lfa1-lifnr.
IF NOT s_lifnr[] IS INITIAL.
SELECT lifnr UP TO 1 ROWS
INTO lfa1-lifnr
FROM lfa1
WHERE lifnr IN s_lifnr.
ENDSELECT.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Invalid Vendor'(002).
ENDIF.
ENDIF.
Validation of PO Number
CLEAR ekko-ebeln.
IF NOT s_ebeln[] IS INITIAL.
SELECT ebeln UP TO 1 ROWS
INTO ekko-ebeln
FROM ekko
WHERE ebeln IN s_ebeln.
ENDSELECT.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Invalid Document Number'(003).
ENDIF.
ENDIF.
Validation of PO Document Type
CLEAR t161-bsart.
IF NOT s_bsart[] IS INITIAL.
SELECT bsart UP TO 1 ROWS
INTO t161-bsart
FROM t161
WHERE bsart IN s_bsart.
ENDSELECT.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Invalid Purchase Document Type'(004).
ENDIF.
ENDIF.
Validation of Purchasing Group
CLEAR t024-ekgrp.
IF NOT s_ekgrp[] IS INITIAL.
SELECT ekgrp UP TO 1 ROWS
INTO t024-ekgrp
FROM t024
WHERE ekgrp IN s_ekgrp.
ENDSELECT.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Invalid Purchasing Group'(005).
ENDIF.
ENDIF.
ENDFORM. " validate_screen
*& Form fetch_data
Fetching the PO related data from Database Tables
FORM fetch_data .
CLEAR i_po.
REFRESH i_po.
SELECT a~ebeln " PO No.
b~ebelp " PO Item
a~bstyp " PO Category
a~bukrs " Company Code
a~bsart " PO Type
a~lifnr " Vendor No
a~ekgrp " Purchase Group
a~waers " Currency
a~bedat " PO Date
b~txz01 " Material Text
b~werks " Plant
b~lgort " Storage Location
b~matkl " Material Group
b~menge " PR Quantity
b~meins " UOM
b~bprme " Price Unit
b~netpr " Net price
b~peinh " Price Unit UOM
b~pstyp " Item Category
b~knttp " Account Assignment Category
INTO TABLE i_po
FROM ekko AS a JOIN ekpo AS b
ON a~ebeln = b~ebeln
WHERE a~ebeln IN s_ebeln AND
a~lifnr IN s_lifnr AND
a~ekgrp IN s_ekgrp AND
a~bsart IN s_bsart AND
a~bedat IN s_bedat.
SORT i_po BY ebeln ebelp.
IF NOT i_po[] IS INITIAL.
Fetch the PO History/Invoice Details from EKBE Table
CLEAR i_ekbe.
REFRESH i_ekbe.
SELECT ebeln " PO No.
ebelp " PO Item
gjahr " Fiscal Year
belnr " PO Invoice No
menge " PR Quantity
wrbtr " Price in Local Currency
dmbtr " Price in Foreign Currency
waers " Currency
shkzg " Dr/Cr Indicator
INTO TABLE i_ekbe
FROM ekbe
FOR ALL ENTRIES IN i_po
WHERE ebeln = i_po-ebeln AND
ebelp = i_po-ebelp AND
vgabe = c_vgabe.
IF sy-subrc = 0.
SORT i_ekbe BY ebeln ebelp.
LOOP AT i_ekbe.
IF i_ekbe-shkzg = c_h.
i_ekbe-wrbtr = i_ekbe-wrbtr * -1.
ENDIF.
MODIFY i_ekbe.
ENDLOOP.
Sum up the Item wise Invoice totals
LOOP AT i_ekbe.
AT END OF ebelp.
READ TABLE i_ekbe INDEX sy-tabix.
SUM.
MOVE-CORRESPONDING i_ekbe TO i_inv.
APPEND i_inv.
ENDAT.
CLEAR i_inv.
ENDLOOP.
SORT i_inv BY ebeln ebelp.
ENDIF.
ENDIF.
Move the Vendor Name and Invoice Values to I_rep Internal Table
LOOP AT i_po.
MOVE-CORRESPONDING i_po TO i_rep.
CLEAR i_inv.
READ TABLE i_inv WITH KEY ebeln = i_po-ebeln
ebelp = i_po-ebelp.
IF sy-subrc = 0.
i_rep-orewr = ( i_po-menge - i_inv-menge ) * i_po-netpr.
i_rep-curr = i_inv-waers.
ELSE.
i_rep-orewr = i_po-menge * i_po-netpr.
i_rep-curr = i_po-waers.
ENDIF.
Get the Vendor Name
CLEAR lfa1-name1.
SELECT SINGLE name1 FROM lfa1 INTO lfa1-name1
WHERE lifnr = i_po-lifnr.
IF sy-subrc = 0.
i_rep-name1 = lfa1-name1.
ENDIF.
APPEND i_rep.
CLEAR i_rep.
ENDLOOP.
SORT i_rep BY lifnr ebeln ebelp.
DELETE i_rep WHERE orewr LE 0.
ENDFORM. " fetch_data
*& Form display_data
Display the Report Output data
FORM display_data .
DATA: lv_flag, " New Flag
lv_rec TYPE i. " No of Records
CLEAR lv_rec.
IF i_rep[] IS INITIAL.
MESSAGE e000 WITH 'No Data found'(022).
ELSE.
LOOP AT i_rep.
Toggle Color
PERFORM toggle_color.
IF lv_flag <> space.
NEW-LINE.
ENDIF.
At New Purchase Document
AT NEW ebeln.
WRITE:/1 sy-vline, 2(10) i_rep-ebeln INTENSIFIED OFF.
lv_flag = c_x.
lv_rec = lv_rec + 1.
ENDAT.
WRITE: 1 sy-vline,
12 sy-vline,13(4) i_rep-bsart,
17 sy-vline,18(10) i_rep-lifnr,
28 sy-vline,29(35) i_rep-name1,
64 sy-vline,65(4) i_rep-ekgrp,
69 sy-vline,70(10) i_rep-bedat,
80 sy-vline,81(5) i_rep-ebelp,
86 sy-vline,87(40) i_rep-txz01,
127 sy-vline,128(9) i_rep-matkl,
137 sy-vline,138(1) i_rep-pstyp,
139 sy-vline,140(1) i_rep-knttp,
141 sy-vline,142(4) i_rep-werks,
146 sy-vline,147(4) i_rep-lgort,
151 sy-vline,152(13) i_rep-menge UNIT i_rep-meins,
165 sy-vline,166(3) i_rep-meins,
169 sy-vline,170(15) i_rep-netpr CURRENCY i_rep-waers,
185 sy-vline,186(4) i_rep-waers,
190 sy-vline,191(5) i_rep-peinh,
196 sy-vline,197(4) i_rep-bprme,
201 sy-vline,202(15) i_rep-orewr CURRENCY i_rep-curr,
217 sy-vline,218(4) i_rep-curr,
222 sy-vline,223(7) i_rep-bstyp centered,
230 sy-vline.
NEW-LINE.
hide: i_rep-ebeln.
ENDLOOP.
ULINE.
FORMAT COLOR OFF.
WRITE : /2 'Total Number of Purchasing Documents:'(025) COLOR 3,
lv_rec COLOR 3.
ENDIF.
ENDFORM. " display_data
*& Form header
Write the Report Header
FORM header .
FORMAT RESET.
header
WRITE:/1(230) 'LIST OF PURCHASE DOCUMENTS PER VENDOR'(006) CENTERED.
SKIP.
FORMAT COLOR COL_HEADING.
ULINE.
WRITE:/1 sy-vline,2(10) 'Pur.Doc.No'(006) CENTERED,
12 sy-vline,13(4) 'Type'(007),
17 sy-vline,18(10) 'Vendor'(008) CENTERED,
28 sy-vline,29(35) 'Name'(009) CENTERED,
64 sy-vline,65(4) 'PGrp'(010) CENTERED,
69 sy-vline,70(10) 'Doc.Date'(012) CENTERED,
80 sy-vline,81(5) 'Item'(011),
86 sy-vline,87(40) 'Material Short Text'(024) CENTERED,
127 sy-vline,128(9) 'Mat.Group'(013),
137 sy-vline,138(1) 'I',
139 sy-vline,140(1) 'A',
141 sy-vline,142(4) 'Plnt'(014),
146 sy-vline,147(4) 'SLoc'(015),
151 sy-vline,152(13) 'Quantity'(016) CENTERED,
165 sy-vline,166(3) 'UoM'(017),
169 sy-vline,170(15) 'Net Value'(018) CENTERED,
185 sy-vline,186(4) 'Curr'(019),
190 sy-vline,191(5) 'Per'(020),
196 sy-vline,197(4) 'Unit'(021),
201 sy-vline,202(15) 'To be Invoiced'(023) CENTERED,
217 sy-vline,218(4) 'Curr'(019),
222 sy-vline,223(7) 'Doc.Cat'(026),
230 sy-vline.
ULINE.
ENDFORM. " header
*& Form toggle_color
This routine alters the color of the records in the list
FORM toggle_color.
IF gv_dial = space.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
gv_dial = c_x.
ELSE.
FORMAT COLOR 1 INTENSIFIED OFF.
CLEAR gv_dial.
ENDIF.
ENDFORM. " toggle_color
*& Form LINE_SEL
*When double clicked on EBELN field display the details of Purchase Doc
FORM line_sel.
CASE sy-lsind.
WHEN '1'.
DATA: lv_field(20),
lv_value(10),
lv_bstyp like i_rep-bstyp.
clear: lv_bstyp,lv_value, lv_field.
GET CURSOR FIELD lv_field VALUE lv_value.
IF lv_field = 'I_REP-EBELN'.
IF NOT lv_value IS INITIAL.
READ LINE sy-index FIELD VALUE i_rep-bstyp
INTO lv_bstyp.
READ CURRENT LINE FIELD VALUE i_rep-bstyp INTO lv_bstyp.
if lv_bstyp = 'F'.
SET PARAMETER ID 'BES' FIELD lv_value.
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
elseif ( lv_bstyp = 'K' or lv_bstyp = 'L' ).
SET PARAMETER ID 'VRT' FIELD lv_value.
CALL TRANSACTION 'ME33' AND SKIP FIRST SCREEN.
elseif lv_bstyp = 'A'.
SET PARAMETER ID 'ANF' FIELD lv_value.
CALL TRANSACTION 'ME43' AND SKIP FIRST SCREEN.
endif.
ENDIF.
ENDIF.
ENDCASE.
ENDFORM. " line_sel
reward if useful
regards,
Anji -
Process: Mail [3780]
Path: /Applications/Mail.app/Contents/MacOS/Mail
Identifier: com.apple.mail
Version: 6.5 (1508)
Build Info: Mail-1508000000000000~3
Code Type: X86-64 (Native)
Parent Process: launchd [147]
User ID: 501
Date/Time: 2013-07-13 07:51:28.620 -0500
OS Version: Mac OS X 10.8.4 (12E55)
Report Version: 10
Interval Since Last Report: 4655 sec
Crashes Since Last Report: 7
Per-App Interval Since Last Report: 912 sec
Per-App Crashes Since Last Report: 7
Anonymous UUID: 3ADF795F-F3C9-0A58-B102-2FB99F35DC14
Crashed Thread: 7 Dispatch queue: com.apple.root.default-overcommit-priority
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
*** Terminating app due to uncaught exception 'MessageCritionNotSupportedException', reason: 'Message criterion MessageCriterion: MatadorCriterion
Qualifier: (null)
Expression: ((* = "team*"cdw || kMDItemTextContent = "team*"cdw) && (* = "lead*"cdw || kMDItemTextContent = "lead*"cdw))
Suggestions originated: 0
not supported for evaluation'
abort() called
terminate called throwing an exception
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff8cf8cb06 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8b91b3f0 objc_exception_throw + 43
2 Message 0x00007fff94e00119 -[MessageCriterion _evaluateMessage:] + 402
3 Message 0x00007fff94e00223 -[MessageCriterion evaluateMessage:] + 43
4 Message 0x00007fff94dff86f -[MessageCriterion _evaluateCompoundCriterion:] + 200
5 Message 0x00007fff94dfffd7 -[MessageCriterion _evaluateMessage:] + 80
6 Message 0x00007fff94e00223 -[MessageCriterion evaluateMessage:] + 43
7 Message 0x00007fff94dff86f -[MessageCriterion _evaluateCompoundCriterion:] + 200
8 Message 0x00007fff94dfffd7 -[MessageCriterion _evaluateMessage:] + 80
9 Message 0x00007fff94dfff7f -[MessageCriterion doesMessageSatisfyRuleEvaluationCriterion:] + 75
10 Mail 0x0000000101b0a971 Mail + 2673009
11 Mail 0x0000000101b07e8c Mail + 2662028
12 CoreFoundation 0x00007fff8cf3eeda _CFXNotificationPost + 2554
13 Mail 0x0000000101883af4 Mail + 23284
14 Message 0x00007fff94d1b8a4 -[MessageStore messagesWereAdded:conversationsMembers:duringOpen:] + 250
15 Message 0x00007fff94d1b679 -[LibraryStore messagesWereAdded:conversationsMembers:duringOpen:] + 81
16 Message 0x00007fff94d1b61d -[LibraryIMAPStore propagateMessagesWereAdded:conversationsMembers:duringOpen:] + 39
17 CoreFoundation 0x00007fff8cf3eeda _CFXNotificationPost + 2554
18 Foundation 0x00007fff939df7b6 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
19 Mail 0x000000010187ff75 Mail + 8053
20 Foundation 0x00007fff93a4f9cf -[NSBlockOperation main] + 124
21 Foundation 0x00007fff93a25926 -[__NSOperationInternal start] + 684
22 Foundation 0x00007fff93a2d0f1 __block_global_6 + 129
23 libdispatch.dylib 0x00007fff92d88f01 _dispatch_call_block_and_release + 15
24 libdispatch.dylib 0x00007fff92d850b6 _dispatch_client_callout + 8
25 libdispatch.dylib 0x00007fff92d861fa _dispatch_worker_thread2 + 304
26 libsystem_c.dylib 0x00007fff8c558d0b _pthread_wqthread + 404
27 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff92fbe686 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92fbdc42 mach_msg + 70
2 com.apple.CoreFoundation 0x00007fff8cf29233 __CFRunLoopServiceMachPort + 195
3 com.apple.CoreFoundation 0x00007fff8cf2e916 __CFRunLoopRun + 1078
4 com.apple.CoreFoundation 0x00007fff8cf2e0e2 CFRunLoopRunSpecific + 290
5 com.apple.HIToolbox 0x00007fff9593eeb4 RunCurrentEventLoopInMode + 209
6 com.apple.HIToolbox 0x00007fff9593ec52 ReceiveNextEventCommon + 356
7 com.apple.HIToolbox 0x00007fff9593eae3 BlockUntilNextEventMatchingListInMode + 62
8 com.apple.AppKit 0x00007fff90095533 _DPSNextEvent + 685
9 com.apple.AppKit 0x00007fff90094df2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
10 com.apple.AppKit 0x00007fff9008c1a3 -[NSApplication run] + 517
11 com.apple.AppKit 0x00007fff90030bd6 NSApplicationMain + 869
12 libdyld.dylib 0x00007fff9604f7e1 start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff92fc0d16 kevent + 10
1 libdispatch.dylib 0x00007fff92d87dea _dispatch_mgr_invoke + 883
2 libdispatch.dylib 0x00007fff92d879ee _dispatch_mgr_thread + 54
Thread 2:: Dispatch queue: com.apple.root.default-overcommit-priority
0 libsystem_kernel.dylib 0x00007fff92fbe686 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92fbdc42 mach_msg + 70
2 com.apple.CoreFoundation 0x00007fff8cf29233 __CFRunLoopServiceMachPort + 195
3 com.apple.CoreFoundation 0x00007fff8cf2e916 __CFRunLoopRun + 1078
4 com.apple.CoreFoundation 0x00007fff8cf2e0e2 CFRunLoopRunSpecific + 290
5 com.apple.CoreMessage 0x00007fff934ca0e9 _handleRequestWithTimeout + 1527
6 com.apple.CoreMessage 0x00007fff934cc8cb -[_NSSocket readBytes:length:error:] + 161
7 com.apple.CoreMessage 0x00007fff934e6a7b -[Connection _readBytesFromSocketIntoBuffer:amount:requireAllBytes:error:] + 76
8 com.apple.CoreMessage 0x00007fff934e6961 -[Connection _fillBuffer:] + 764
9 com.apple.CoreMessage 0x00007fff934e64f3 -[Connection _readLineIntoData:error:] + 202
10 com.apple.IMAP 0x00007fff94bf5486 -[IMAPConnection _readLineIntoData:error:] + 53
11 com.apple.IMAP 0x00007fff94bfbe14 -[IMAPConnection(MFPrivate) _readDataOfLength:intoData:error:] + 112
12 com.apple.IMAP 0x00007fff94c1e428 -[IMAPResponse initWithConnection:error:] + 144
13 com.apple.IMAP 0x00007fff94bf557a -[IMAPConnection _copyNextServerResponse:] + 55
14 com.apple.IMAP 0x00007fff94bf57eb -[IMAPConnection _copyNextTaggedOrContinuationResponseForCommand:exists:] + 551
15 com.apple.IMAP 0x00007fff94bfaa87 -[IMAPConnection _responseFromSendingOperation:] + 863
16 com.apple.IMAP 0x00007fff94bf93b7 -[IMAPConnection executeUIDStore:] + 86
17 com.apple.IMAP 0x00007fff94bf0d43 -[IMAPClientUIDStoreOperation executeOnConnection:] + 26
18 com.apple.IMAP 0x00007fff94bf49f5 -[IMAPConnection prepareAndExecuteOperation:outWrongState:] + 1247
19 com.apple.IMAP 0x00007fff94c07501 -[IMAPGateway _allowClientOperationThrough:] + 1237
20 com.apple.IMAP 0x00007fff94c06fd4 -[IMAPGateway allowClientOperationThrough:] + 369
21 com.apple.IMAP 0x00007fff94bebae3 -[IMAPClientOperation main] + 84
22 com.apple.Foundation 0x00007fff93a25926 -[__NSOperationInternal start] + 684
23 com.apple.Foundation 0x00007fff93a2d0f1 __block_global_6 + 129
24 libdispatch.dylib 0x00007fff92d88f01 _dispatch_call_block_and_release + 15
25 libdispatch.dylib 0x00007fff92d850b6 _dispatch_client_callout + 8
26 libdispatch.dylib 0x00007fff92d861fa _dispatch_worker_thread2 + 304
27 libsystem_c.dylib 0x00007fff8c558d0b _pthread_wqthread + 404
28 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 3:: Dispatch queue: com.apple.root.default-overcommit-priority
0 libsystem_kernel.dylib 0x00007fff92fc00fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff8c55b023 _pthread_cond_wait + 927
2 com.apple.Foundation 0x00007fff939cc589 -[__NSOperationInternal waitUntilFinishedOrTimeout:] + 227
3 com.apple.IMAP 0x00007fff94bee328 -[IMAPClientOperationQueue waitUntilOperationIsFinished:] + 167
4 com.apple.IMAP 0x00007fff94c0780e -[IMAPGateway waitUntilClientOperationIsFinished:] + 168
5 com.apple.IMAP 0x00007fff94c07756 -[IMAPGateway addClientOperation:toQueueAndWaitUntilFinished:] + 411
6 com.apple.IMAP 0x00007fff94bf1ad6 -[IMAPCommandPipeline failureResponsesFromSendingCommandsWithGateway:responseHandler:highPriority:] + 284
7 com.apple.MessageFramework 0x00007fff94d4ce62 -[LibraryIMAPStore _waitForDataFromDownload:uid:gateway:] + 411
8 com.apple.MessageFramework 0x00007fff94d28d09 -[LibraryIMAPStore _fetchBodyDataForMessage:andHeaderDataIfReadilyAvailable:fetchIfNotAvailable:] + 347
9 com.apple.MessageFramework 0x00007fff94d288d6 -[MessageStore bodyDataForMessage:fetchIfNotAvailable:allowPartial:] + 329
10 com.apple.IMAP 0x00007fff94c1a086 -[IMAPMessageWithCache bodyDataFetchIfNotAvailable:allowPartial:] + 197
11 com.apple.CoreMessage 0x00007fff93526331 -[MimePart(MessageSupport) parseMimeBodyFetchIfNotAvailable:allowPartial:] + 170
12 com.apple.MessageFramework 0x00007fff94d284cd -[MessageStore _fetchBodyForMessage:fetchIfNotAvailable:updateFlags:allowPartial:] + 231
13 com.apple.MessageFramework 0x00007fff94d278a0 -[MessageStore bodyForMessage:fetchIfNotAvailable:updateFlags:allowPartial:] + 162
14 com.apple.MessageFramework 0x00007fff94dfecad -[MessageCriterion _evaluateJunkMailCriterion:] + 462
15 com.apple.MessageFramework 0x00007fff94dfffd7 -[MessageCriterion _evaluateMessage:] + 80
16 com.apple.MessageFramework 0x00007fff94dfff7f -[MessageCriterion doesMessageSatisfyRuleEvaluationCriterion:] + 75
17 com.apple.MessageFramework 0x00007fff94e0d6f2 -[MessageRule doesMessageSatisfyCriteria:] + 453
18 com.apple.MessageFramework 0x00007fff94e05807 +[MessageRouter putRulesThatWantsToHandleMessage:intoArray:colorRulesOnly:] + 499
19 com.apple.MessageFramework 0x00007fff94e072f2 -[MessageRouter routeMessages:fromStores:] + 2225
20 com.apple.MessageFramework 0x00007fff94e1442f -[MessageStore routeMessages:isUserAction:] + 123
21 com.apple.IMAP 0x00007fff94c12028 -[IMAPMailboxSyncEngine _processResponsesWithMonitor:] + 1709
22 com.apple.IMAP 0x00007fff94c11552 -[IMAPMailboxSyncEngine _goWithMessages:] + 858
23 com.apple.MessageFramework 0x00007fff94d17962 -[LibraryIMAPStore openSynchronouslyUpdatingMetadata:withOptions:] + 373
24 com.apple.MessageFramework 0x00007fff94d31826 -[LibraryIMAPStore _fetchForCheckingNewMail:] + 53
25 com.apple.MessageFramework 0x00007fff94d31688 -[IMAPAccount fetchSynchronouslyIsAuto:] + 139
26 com.apple.CoreFoundation 0x00007fff8cf8009c __invoking___ + 140
27 com.apple.CoreFoundation 0x00007fff8cf7ff37 -[NSInvocation invoke] + 263
28 com.apple.CoreMessage 0x00007fff9352d7d7 -[MonitoredInvocation invoke] + 225
29 com.apple.CoreMessage 0x00007fff93545e22 -[ThrowingInvocationOperation main] + 33
30 com.apple.CoreMessage 0x00007fff934f1f82 -[_MFInvocationOperation main] + 431
31 com.apple.Foundation 0x00007fff93a25926 -[__NSOperationInternal start] + 684
32 com.apple.Foundation 0x00007fff93a2d0f1 __block_global_6 + 129
33 libdispatch.dylib 0x00007fff92d88f01 _dispatch_call_block_and_release + 15
34 libdispatch.dylib 0x00007fff92d850b6 _dispatch_client_callout + 8
35 libdispatch.dylib 0x00007fff92d861fa _dispatch_worker_thread2 + 304
36 libsystem_c.dylib 0x00007fff8c558d0b _pthread_wqthread + 404
37 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 4:: Dispatch queue: com.apple.root.default-overcommit-priority
0 libsystem_kernel.dylib 0x00007fff92fc0122 __psynch_mutexwait + 10
1 libsystem_c.dylib 0x00007fff8c55bdfd pthread_mutex_lock + 536
2 com.apple.Foundation 0x00007fff939dbb79 -[NSRecursiveLock lock] + 22
3 com.apple.IMAP 0x00007fff94bfd4c8 -[IMAPConnectionPool checkInConnection:forGateway:] + 50
4 com.apple.IMAP 0x00007fff94c065f2 __51-[IMAPGateway _tryToCheckInConnectionAndTryToIdle:]_block_invoke_0 + 313
5 com.apple.Foundation 0x00007fff93a4f9cf -[NSBlockOperation main] + 124
6 com.apple.Foundation 0x00007fff93a25926 -[__NSOperationInternal start] + 684
7 com.apple.Foundation 0x00007fff93a2d0f1 __block_global_6 + 129
8 libdispatch.dylib 0x00007fff92d88f01 _dispatch_call_block_and_release + 15
9 libdispatch.dylib 0x00007fff92d850b6 _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff92d861fa _dispatch_worker_thread2 + 304
11 libsystem_c.dylib 0x00007fff8c558d0b _pthread_wqthread + 404
12 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff92fc06d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8c558f4c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8c558d13 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff92fc06d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8c558f4c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8c558d13 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 7 Crashed:: Dispatch queue: com.apple.root.default-overcommit-priority
0 libsystem_kernel.dylib 0x00007fff92fc0212 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff8c557b54 pthread_kill + 90
2 libsystem_c.dylib 0x00007fff8c59bdce abort + 143
3 libc++abi.dylib 0x00007fff8c51f9eb abort_message + 257
4 libc++abi.dylib 0x00007fff8c51d39a default_terminate() + 28
5 libobjc.A.dylib 0x00007fff8b91b873 _objc_terminate() + 91
6 libc++.1.dylib 0x00007fff929fa8fe std::terminate() + 20
7 libobjc.A.dylib 0x00007fff8b91b5de objc_terminate + 9
8 libdispatch.dylib 0x00007fff92d850ca _dispatch_client_callout + 28
9 libdispatch.dylib 0x00007fff92d861fa _dispatch_worker_thread2 + 304
10 libsystem_c.dylib 0x00007fff8c558d0b _pthread_wqthread + 404
11 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 8:: Dispatch queue: com.apple.root.default-overcommit-priority
0 libsystem_kernel.dylib 0x00007fff92fc0122 __psynch_mutexwait + 10
1 libsystem_c.dylib 0x00007fff8c55bdfd pthread_mutex_lock + 536
2 com.apple.Foundation 0x00007fff939dbb79 -[NSRecursiveLock lock] + 22
3 com.apple.IMAP 0x00007fff94bfd4c8 -[IMAPConnectionPool checkInConnection:forGateway:] + 50
4 com.apple.IMAP 0x00007fff94c065f2 __51-[IMAPGateway _tryToCheckInConnectionAndTryToIdle:]_block_invoke_0 + 313
5 com.apple.Foundation 0x00007fff93a4f9cf -[NSBlockOperation main] + 124
6 com.apple.Foundation 0x00007fff93a25926 -[__NSOperationInternal start] + 684
7 com.apple.Foundation 0x00007fff93a2d0f1 __block_global_6 + 129
8 libdispatch.dylib 0x00007fff92d88f01 _dispatch_call_block_and_release + 15
9 libdispatch.dylib 0x00007fff92d850b6 _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff92d861fa _dispatch_worker_thread2 + 304
11 libsystem_c.dylib 0x00007fff8c558d0b _pthread_wqthread + 404
12 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 9:: Dispatch queue: com.apple.root.default-overcommit-priority
0 libsystem_kernel.dylib 0x00007fff92fbe686 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92fbdc42 mach_msg + 70
2 com.apple.CoreFoundation 0x00007fff8cf29233 __CFRunLoopServiceMachPort + 195
3 com.apple.CoreFoundation 0x00007fff8cf2e916 __CFRunLoopRun + 1078
4 com.apple.CoreFoundation 0x00007fff8cf2e0e2 CFRunLoopRunSpecific + 290
5 com.apple.CoreMessage 0x00007fff934ca0e9 _handleRequestWithTimeout + 1527
6 com.apple.CoreMessage 0x00007fff934cc8cb -[_NSSocket readBytes:length:error:] + 161
7 com.apple.CoreMessage 0x00007fff934e6a7b -[Connection _readBytesFromSocketIntoBuffer:amount:requireAllBytes:error:] + 76
8 com.apple.CoreMessage 0x00007fff934e6961 -[Connection _fillBuffer:] + 764
9 com.apple.CoreMessage 0x00007fff934e64f3 -[Connection _readLineIntoData:error:] + 202
10 com.apple.IMAP 0x00007fff94bf5486 -[IMAPConnection _readLineIntoData:error:] + 53
11 com.apple.IMAP 0x00007fff94bfbe14 -[IMAPConnection(MFPrivate) _readDataOfLength:intoData:error:] + 112
12 com.apple.IMAP 0x00007fff94c1e428 -[IMAPResponse initWithConnection:error:] + 144
13 com.apple.IMAP 0x00007fff94bf557a -[IMAPConnection _copyNextServerResponse:] + 55
14 com.apple.IMAP 0x00007fff94bf57eb -[IMAPConnection _copyNextTaggedOrContinuationResponseForCommand:exists:] + 551
15 com.apple.IMAP 0x00007fff94bfaa87 -[IMAPConnection _responseFromSendingOperation:] + 863
16 com.apple.IMAP 0x00007fff94bf7ad0 -[IMAPConnection executeLogin:] + 63
17 com.apple.IMAP 0x00007fff94be6107 -[IMAPClientLoginOperation executeOnConnection:] + 26
18 com.apple.IMAP 0x00007fff94bf49f5 -[IMAPConnection prepareAndExecuteOperation:outWrongState:] + 1247
19 com.apple.IMAP 0x00007fff94c07501 -[IMAPGateway _allowClientOperationThrough:] + 1237
20 com.apple.IMAP 0x00007fff94c06fd4 -[IMAPGateway allowClientOperationThrough:] + 369
21 com.apple.IMAP 0x00007fff94bebae3 -[IMAPClientOperation main] + 84
22 com.apple.Foundation 0x00007fff93a25926 -[__NSOperationInternal start] + 684
23 com.apple.Foundation 0x00007fff93a2d0f1 __block_global_6 + 129
24 libdispatch.dylib 0x00007fff92d88f01 _dispatch_call_block_and_release + 15
25 libdispatch.dylib 0x00007fff92d850b6 _dispatch_client_callout + 8
26 libdispatch.dylib 0x00007fff92d861fa _dispatch_worker_thread2 + 304
27 libsystem_c.dylib 0x00007fff8c558d0b _pthread_wqthread + 404
28 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 10:: -[MFAosImapAccount _fetchUnreadCountsCheckForNewMessages:] Dispatch queue: com.apple.root.default-overcommit-priority
0 libsystem_kernel.dylib 0x00007fff92fc0122 __psynch_mutexwait + 10
1 libsystem_c.dylib 0x00007fff8c55bdfd pthread_mutex_lock + 536
2 com.apple.IMAP 0x00007fff94c0bcaa -[IMAPMailboxSyncEngine _copyDataSource] + 32
3 com.apple.IMAP 0x00007fff94c11227 -[IMAPMailboxSyncEngine _goWithMessages:] + 47
4 com.apple.MessageFramework 0x00007fff94d3cc66 -[LibraryIMAPStore _retrieveNewMessagesForCheckingNewMail:] + 237
5 com.apple.MessageFramework 0x00007fff94d31a63 -[LibraryIMAPStore _fetchForCheckingNewMail:] + 626
6 com.apple.MessageFramework 0x00007fff94d3d8f5 -[IMAPAccount _fetchUnreadCountsForMailboxUid:recursively:gateway:checkForNewMessages:] + 725
7 com.apple.MessageFramework 0x00007fff94d3d258 -[IMAPAccount _fetchUnreadCountsCheckForNewMessages:] + 417
8 com.apple.CoreFoundation 0x00007fff8cf8009c __invoking___ + 140
9 com.apple.CoreFoundation 0x00007fff8cf7ff37 -[NSInvocation invoke] + 263
10 com.apple.CoreMessage 0x00007fff9352d7d7 -[MonitoredInvocation invoke] + 225
11 com.apple.CoreMessage 0x00007fff93545e22 -[ThrowingInvocationOperation main] + 33
12 com.apple.CoreMessage 0x00007fff934f1f82 -[_MFInvocationOperation main] + 431
13 com.apple.Foundation 0x00007fff93a25926 -[__NSOperationInternal start] + 684
14 com.apple.Foundation 0x00007fff93a2d0f1 __block_global_6 + 129
15 libdispatch.dylib 0x00007fff92d88f01 _dispatch_call_block_and_release + 15
16 libdispatch.dylib 0x00007fff92d850b6 _dispatch_client_callout + 8
17 libdispatch.dylib 0x00007fff92d861fa _dispatch_worker_thread2 + 304
18 libsystem_c.dylib 0x00007fff8c558d0b _pthread_wqthread + 404
19 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 11:: -[IMAPAccount fetchSynchronouslyIsAuto:] Dispatch queue: com.apple.root.default-overcommit-priority
0 libsystem_kernel.dylib 0x00007fff92fc0122 __psynch_mutexwait + 10
1 libsystem_c.dylib 0x00007fff8c55bdfd pthread_mutex_lock + 536
2 com.apple.IMAP 0x00007fff94c0bcaa -[IMAPMailboxSyncEngine _copyDataSource] + 32
3 com.apple.IMAP 0x00007fff94c11227 -[IMAPMailboxSyncEngine _goWithMessages:] + 47
4 com.apple.MessageFramework 0x00007fff94d17962 -[LibraryIMAPStore openSynchronouslyUpdatingMetadata:withOptions:] + 373
5 com.apple.MessageFramework 0x00007fff94d31826 -[LibraryIMAPStore _fetchForCheckingNewMail:] + 53
6 com.apple.MessageFramework 0x00007fff94d31688 -[IMAPAccount fetchSynchronouslyIsAuto:] + 139
7 com.apple.CoreFoundation 0x00007fff8cf8009c __invoking___ + 140
8 com.apple.CoreFoundation 0x00007fff8cf7ff37 -[NSInvocation invoke] + 263
9 com.apple.CoreMessage 0x00007fff9352d7d7 -[MonitoredInvocation invoke] + 225
10 com.apple.CoreMessage 0x00007fff93545e22 -[ThrowingInvocationOperation main] + 33
11 com.apple.CoreMessage 0x00007fff934f1f82 -[_MFInvocationOperation main] + 431
12 com.apple.Foundation 0x00007fff93a25926 -[__NSOperationInternal start] + 684
13 com.apple.Foundation 0x00007fff93a2d0f1 __block_global_6 + 129
14 libdispatch.dylib 0x00007fff92d88f01 _dispatch_call_block_and_release + 15
15 libdispatch.dylib 0x00007fff92d850b6 _dispatch_client_callout + 8
16 libdispatch.dylib 0x00007fff92d861fa _dispatch_worker_thread2 + 304
17 libsystem_c.dylib 0x00007fff8c558d0b _pthread_wqthread + 404
18 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 12:: -[LibraryIMAPStore openSynchronously] Dispatch queue: com.apple.root.default-overcommit-priority
0 libsystem_kernel.dylib 0x00007fff92fc00fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff8c55b023 _pthread_cond_wait + 927
2 com.apple.Foundation 0x00007fff939cc589 -[__NSOperationInternal waitUntilFinishedOrTimeout:] + 227
3 com.apple.IMAP 0x00007fff94bee328 -[IMAPClientOperationQueue waitUntilOperationIsFinished:] + 167
4 com.apple.IMAP 0x00007fff94c0780e -[IMAPGateway waitUntilClientOperationIsFinished:] + 168
5 com.apple.IMAP 0x00007fff94c07756 -[IMAPGateway addClientOperation:toQueueAndWaitUntilFinished:] + 411
6 com.apple.IMAP 0x00007fff94c14146 -[IMAPMailboxSyncEngine _fetchUidsAndFlagsWithMonitor:] + 1924
7 com.apple.IMAP 0x00007fff94c115a3 -[IMAPMailboxSyncEngine _goWithMessages:] + 939
8 com.apple.MessageFramework 0x00007fff94d17962 -[LibraryIMAPStore openSynchronouslyUpdatingMetadata:withOptions:] + 373
9 com.apple.CoreFoundation 0x00007fff8cf8009c __invoking___ + 140
10 com.apple.CoreFoundation 0x00007fff8cf7ff37 -[NSInvocation invoke] + 263
11 com.apple.CoreMessage 0x00007fff9352d7d7 -[MonitoredInvocation invoke] + 225
12 com.apple.CoreMessage 0x00007fff93545e22 -[ThrowingInvocationOperation main] + 33
13 com.apple.CoreMessage 0x00007fff934f1f82 -[_MFInvocationOperation main] + 431
14 com.apple.Foundation 0x00007fff93a25926 -[__NSOperationInternal start] + 684
15 com.apple.Foundation 0x00007fff93a2d0f1 __block_global_6 + 129
16 libdispatch.dylib 0x00007fff92d88f01 _dispatch_call_block_and_release + 15
17 libdispatch.dylib 0x00007fff92d850b6 _dispatch_client_callout + 8
18 libdispatch.dylib 0x00007fff92d861fa _dispatch_worker_thread2 + 304
19 libsystem_c.dylib 0x00007fff8c558d0b _pthread_wqthread + 404
20 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 13:: -[LibraryIMAPStore openSynchronously] Dispatch queue: com.apple.root.default-overcommit-priority
0 libsystem_kernel.dylib 0x00007fff92fc0122 __psynch_mutexwait + 10
1 libsystem_c.dylib 0x00007fff8c55bdfd pthread_mutex_lock + 536
2 com.apple.IMAP 0x00007fff94c11311 -[IMAPMailboxSyncEngine _goWithMessages:] + 281
3 com.apple.MessageFramework 0x00007fff94d17962 -[LibraryIMAPStore openSynchronouslyUpdatingMetadata:withOptions:] + 373
4 com.apple.CoreFoundation 0x00007fff8cf8009c __invoking___ + 140
5 com.apple.CoreFoundation 0x00007fff8cf7ff37 -[NSInvocation invoke] + 263
6 com.apple.CoreMessage 0x00007fff9352d7d7 -[MonitoredInvocation invoke] + 225
7 com.apple.CoreMessage 0x00007fff93545e22 -[ThrowingInvocationOperation main] + 33
8 com.apple.CoreMessage 0x00007fff934f1f82 -[_MFInvocationOperation main] + 431
9 com.apple.Foundation 0x00007fff93a25926 -[__NSOperationInternal start] + 684
10 com.apple.Foundation 0x00007fff93a2d0f1 __block_global_6 + 129
11 libdispatch.dylib 0x00007fff92d88f01 _dispatch_call_block_and_release + 15
12 libdispatch.dylib 0x00007fff92d850b6 _dispatch_client_callout + 8
13 libdispatch.dylib 0x00007fff92d861fa _dispatch_worker_thread2 + 304
14 libsystem_c.dylib 0x00007fff8c558d0b _pthread_wqthread + 404
15 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 14:: -[IMAPAccount fetchSynchronouslyIsAuto:] Dispatch queue: com.apple.root.default-overcommit-priority
0 libsystem_kernel.dylib 0x00007fff92fc0122 __psynch_mutexwait + 10
1 libsystem_c.dylib 0x00007fff8c55bdfd pthread_mutex_lock + 536
2 com.apple.IMAP 0x00007fff94c0bcaa -[IMAPMailboxSyncEngine _copyDataSource] + 32
3 com.apple.IMAP 0x00007fff94c11227 -[IMAPMailboxSyncEngine _goWithMessages:] + 47
4 com.apple.MessageFramework 0x00007fff94d17962 -[LibraryIMAPStore openSynchronouslyUpdatingMetadata:withOptions:] + 373
5 com.apple.MessageFramework 0x00007fff94d31826 -[LibraryIMAPStore _fetchForCheckingNewMail:] + 53
6 com.apple.MessageFramework 0x00007fff94d31688 -[IMAPAccount fetchSynchronouslyIsAuto:] + 139
7 com.apple.CoreFoundation 0x00007fff8cf8009c __invoking___ + 140
8 com.apple.CoreFoundation 0x00007fff8cf7ff37 -[NSInvocation invoke] + 263
9 com.apple.CoreMessage 0x00007fff9352d7d7 -[MonitoredInvocation invoke] + 225
10 com.apple.CoreMessage 0x00007fff93545e22 -[ThrowingInvocationOperation main] + 33
11 com.apple.CoreMessage 0x00007fff934f1f82 -[_MFInvocationOperation main] + 431
12 com.apple.Foundation 0x00007fff93a25926 -[__NSOperationInternal start] + 684
13 com.apple.Foundation 0x00007fff93a2d0f1 __block_global_6 + 129
14 libdispatch.dylib 0x00007fff92d88f01 _dispatch_call_block_and_release + 15
15 libdispatch.dylib 0x00007fff92d850b6 _dispatch_client_callout + 8
16 libdispatch.dylib 0x00007fff92d861fa _dispatch_worker_thread2 + 304
17 libsystem_c.dylib 0x00007fff8c558d0b _pthread_wqthread + 404
18 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 15:: Dispatch queue: com.apple.root.default-overcommit-priority
0 libsystem_kernel.dylib 0x00007fff92fc002a __open_nocancel + 10
1 libsystem_c.dylib 0x00007fff8c5a8a8b __opendir2$INODE64 + 45
2 libsystem_c.dylib 0x00007fff8c5aa7b0 scandir$INODE64 + 33
3 com.apple.MessageFramework 0x00007fff94d33243 mf_scandir + 61
4 com.apple.MessageFramework 0x00007fff94d332bb mf_scandir + 181
5 com.apple.MessageFramework 0x00007fff94d332bb mf_scandir + 181
6 com.apple.MessageFramework 0x00007fff94d332bb mf_scandir + 181
7 com.apple.MessageFramework 0x00007fff94e339ce -[MFFilesystemWatcher registerPath:] + 168
8 com.apple.MessageFramework 0x00007fff94d330d1 -[LibraryIMAPStore cacheDirectoryContents] + 131
9 com.apple.IMAP 0x00007fff94c1538e -[IMAPMailboxSyncEngine _cacheMessagesWithMonitor:] + 1109
10 com.apple.IMAP 0x00007fff94c115d5 -[IMAPMailboxSyncEngine _goWithMessages:] + 989
11 com.apple.MessageFramework 0x00007fff94d17962 -[LibraryIMAPStore openSynchronouslyUpdatingMetadata:withOptions:] + 373
12 com.apple.CoreFoundation 0x00007fff8cf8009c __invoking___ + 140
13 com.apple.CoreFoundation 0x00007fff8cf7ff37 -[NSInvocation invoke] + 263
14 com.apple.CoreMessage 0x00007fff9352d7d7 -[MonitoredInvocation invoke] + 225
15 com.apple.CoreMessage 0x00007fff93545e22 -[ThrowingInvocationOperation main] + 33
16 com.apple.CoreMessage 0x00007fff934f1f82 -[_MFInvocationOperation main] + 431
17 com.apple.Foundation 0x00007fff93a25926 -[__NSOperationInternal start] + 684
18 com.apple.Foundation 0x00007fff93a2d0f1 __block_global_6 + 129
19 libdispatch.dylib 0x00007fff92d88f01 _dispatch_call_block_and_release + 15
20 libdispatch.dylib 0x00007fff92d850b6 _dispatch_client_callout + 8
21 libdispatch.dylib 0x00007fff92d861fa _dispatch_worker_thread2 + 304
22 libsystem_c.dylib 0x00007fff8c558d0b _pthread_wqthread + 404
23 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 16:: Dispatch queue: com.apple.root.default-overcommit-priority
0 libsystem_kernel.dylib 0x00007fff92fbe686 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92fbdc42 mach_msg + 70
2 com.apple.CoreFoundation 0x00007fff8cf29233 __CFRunLoopServiceMachPort + 195
3 com.apple.CoreFoundation 0x00007fff8cf2e916 __CFRunLoopRun + 1078
4 com.apple.CoreFoundation 0x00007fff8cf2e0e2 CFRunLoopRunSpecific + 290
5 com.apple.CoreMessage 0x00007fff934ca0e9 _handleRequestWithTimeout + 1527
6 com.apple.CoreMessage 0x00007fff934cc8cb -[_NSSocket readBytes:length:error:] + 161
7 com.apple.CoreMessage 0x00007fff934e6a7b -[Connection _readBytesFromSocketIntoBuffer:amount:requireAllBytes:error:] + 76
8 com.apple.CoreMessage 0x00007fff934e6961 -[Connection _fillBuffer:] + 764
9 com.apple.CoreMessage 0x00007fff934e64f3 -[Connection _readLineIntoData:error:] + 202
10 com.apple.IMAP 0x00007fff94bf5486 -[IMAPConnection _readLineIntoData:error:] + 53
11 com.apple.IMAP 0x00007fff94bfbe14 -[IMAPConnection(MFPrivate) _readDataOfLength:intoData:error:] + 112
12 com.apple.IMAP 0x00007fff94c1e428 -[IMAPResponse initWithConnection:error:] + 144
13 com.apple.IMAP 0x00007fff94bf557a -[IMAPConnection _copyNextServerResponse:] + 55
14 com.apple.IMAP 0x00007fff94bf57eb -[IMAPConnection _copyNextTaggedOrContinuationResponseForCommand:exists:] + 551
15 com.apple.IMAP 0x00007fff94bfaa87 -[IMAPConnection _responseFromSendingOperation:] + 863
16 com.apple.IMAP 0x00007fff94bfa3d1 -[IMAPConnection executeFetch:] + 44
17 com.apple.IMAP 0x00007fff94be7ee2 -[IMAPClientFetchOperation executeOnConnection:] + 26
18 com.apple.IMAP 0x00007fff94bf49f5 -[IMAPConnection prepareAndExecuteOperation:outWrongState:] + 1247
19 com.apple.IMAP 0x00007fff94c07501 -[IMAPGateway _allowClientOperationThrough:] + 1237
20 com.apple.IMAP 0x00007fff94c06fd4 -[IMAPGateway allowClientOperationThrough:] + 369
21 com.apple.IMAP 0x00007fff94bebae3 -[IMAPClientOperation main] + 84
22 com.apple.Foundation 0x00007fff93a25926 -[__NSOperationInternal start] + 684
23 com.apple.Foundation 0x00007fff93a2d0f1 __block_global_6 + 129
24 libdispatch.dylib 0x00007fff92d88f01 _dispatch_call_block_and_release + 15
25 libdispatch.dylib 0x00007fff92d850b6 _dispatch_client_callout + 8
26 libdispatch.dylib 0x00007fff92d861fa _dispatch_worker_thread2 + 304
27 libsystem_c.dylib 0x00007fff8c558d0b _pthread_wqthread + 404
28 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 17:: Dispatch queue: com.apple.root.default-overcommit-priority
0 libsystem_c.dylib 0x00007fff8c544cfc OSAtomicCompareAndSwap64Barrier$VARIANT$mp + 8
1 libsystem_c.dylib 0x00007fff8c55bdb4 pthread_mutex_lock + 463
2 com.apple.CoreMessage 0x00007fff9353eea9 -[SafeValueCache retainedValue] + 22
3 com.apple.CoreMessage 0x00007fff9353edf7 -[SafeValueCache value] + 17
4 com.apple.MessageFramework 0x00007fff94df45de -[MailboxUid _URLStringIsSyncable:] + 57
5 com.apple.CoreFoundation 0x00007fff8cf9e3ed -[NSArray arrayByApplyingSelector:] + 429
6 com.apple.MessageFramework 0x00007fff94d06758 +[Library _getActiveAccountURLs:andActiveMailboxURLs:] + 960
7 com.apple.MessageFramework 0x00007fff94cef16a +[Library executeBlock:isWriter:useTransaction:isPrivileged:] + 280
8 com.apple.MessageFramework 0x00007fff94d103c1 +[Library sendMessagesMatchingQuery:to:options:] + 398
9 com.apple.MessageFramework 0x00007fff94d0c952 +[Library sendMessagesMatchingCriterion:to:options:] + 1677
10 com.apple.MessageFramework 0x00007fff94d0c16c +[Library messagesMatchingCriterion:options:] + 119
11 com.apple.MessageFramework 0x00007fff94d43b7d +[LibraryStore filterMessages:throughSmartMailbox:] + 685
12 com.apple.MessageFramework 0x00007fff94e6ea6c __block_global_2 + 165
13 com.apple.CoreFoundation 0x00007fff8cf788a9 __NSDictionaryEnumerate + 1081
14 com.apple.MessageFramework 0x00007fff94e6e998 __62-[_NonContentSmartMailboxUnreadCountManager _messagesChanged:]_block_invoke_0 + 147
15 com.apple.Foundation 0x00007fff93a4f9cf -[NSBlockOperation main] + 124
16 com.apple.Foundation 0x00007fff93a25926 -[__NSOperationInternal start] + 684
17 com.apple.Foundation 0x00007fff93a2d0f1 __block_global_6 + 129
18 libdispatch.dylib 0x00007fff92d88f01 _dispatch_call_block_and_release + 15
19 libdispatch.dylib 0x00007fff92d850b6 _dispatch_client_callout + 8
20 libdispatch.dylib 0x00007fff92d861fa _dispatch_worker_thread2 + 304
21 libsystem_c.dylib 0x00007fff8c558d0b _pthread_wqthread + 404
22 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 18:
0 libsystem_kernel.dylib 0x00007fff92fbe686 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92fbdc42 mach_msg + 70
2 com.apple.CoreFoundation 0x00007fff8cf29233 __CFRunLoopServiceMachPort + 195
3 com.apple.CoreFoundation 0x00007fff8cf2e916 __CFRunLoopRun + 1078
4 com.apple.CoreFoundation 0x00007fff8cf2e0e2 CFRunLoopRunSpecific + 290
5 com.apple.Foundation 0x00007fff93a317ee -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
6 com.apple.Foundation 0x00007fff939ca1aa -[NSRunLoop(NSRunLoop) run] + 74
7 com.apple.CoreMessage 0x00007fff934cad57 +[_NSSocket _runIOThread] + 77
8 com.apple.Foundation 0x00007fff93a2c562 __NSThread__main__ + 1345
9 libsystem_c.dylib 0x00007fff8c5567a2 _pthread_start + 327
10 libsystem_c.dylib 0x00007fff8c5431e1 thread_start + 13
Thread 19:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff92fc0322 __select + 10
1 com.apple.CoreFoundation 0x00007fff8cf6df46 __CFSocketManager + 1302
2 libsystem_c.dylib 0x00007fff8c5567a2 _pthread_start + 327
3 libsystem_c.dylib 0x00007fff8c5431e1 thread_start + 13
Thread 20:: -[IMAPAccount _synchronizeAccountWithServerWithUserInput:] Dispatch queue: com.apple.root.default-overcommit-priority
0 libsystem_kernel.dylib 0x00007fff92fc00fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff8c55b023 _pthread_cond_wait + 927
2 com.apple.Foundation 0x00007fff939cc589 -[__NSOperationInternal waitUntilFinishedOrTimeout:] + 227
3 com.apple.IMAP 0x00007fff94bee328 -[IMAPClientOperationQueue waitUntilOperationIsFinished:] + 167
4 com.apple.IMAP 0x00007fff94c0780e -[IMAPGateway waitUntilClientOperationIsFinished:] + 168
5 com.apple.IMAP 0x00007fff94bf79aa -[IMAPConnection _loginWithUsername:password:] + 692
6 com.apple.IMAP 0x00007fff94bf6c75 -[IMAPConnection _authenticateWithAuthenticator:] + 850
7 com.apple.CoreMessage 0x00007fff934e6295 -[Connection authenticate] + 598
8 com.apple.IMAP 0x00007fff94bf6830 -[IMAPConnection authenticate] + 66
9 com.apple.MessageFramework 0x00007fff94d9dfd9 -[IMAPAccount connectAndAuthenticate:] + 1058
10 com.apple.IMAP 0x00007fff94bffd5d -[IMAPConnectionPool _validateAndCheckOutGateway:forMailbox:allowReconnect:newGateway:] + 334
11 com.apple.IMAP 0x00007fff94bfde39 -[IMAPConnectionPool _checkOutNewGatewayWithConnection:forMailbox:] + 301
12 com.apple.MessageFramework 0x00007fff94d1c695 -[IMAPAccount _getPotentialGatewayForMailbox:options:createdNewConnection:needsSelect:] + 429
13 com.apple.MessageFramework 0x00007fff94d1c2a0 -[IMAPAccount _gatewayForMailboxUid:name:options:] + 180
14 com.apple.MessageFramework 0x00007fff94d3791a -[IMAPAccount _listingForMailboxUid:listAllChildren:onlySubscribed:withUserInput:] + 115
15 com.apple.MessageFramework 0x00007fff94d37498 -[IMAPAccount _listingForMailboxUid:listAllChildren:withUserInput:] + 126
16 com.apple.MessageFramework 0x00007fff94d373b3 -[IMAPAccount _synchronizeMailboxListWithUserInput:] + 64
17 com.apple.MessageFramework 0x00007fff94d33c1f -[RemoteStoreAccount _synchronizeAccountWithServerWithUserInput:] + 318
18 com.apple.MessageFramework 0x00007fff94d338b3 -[IMAPAccount _synchronizeAccountWithServerWithUserInput:] + 45
19 com.apple.CoreFoundation 0x00007fff8cf8009c __invoking___ + 140
20 com.apple.CoreFoundation 0x00007fff8cf7ff37 -[NSInvocation invoke] + 263
21 com.apple.CoreMessage 0x00007fff9352d7d7 -[MonitoredInvocation invoke] + 225
22 com.apple.CoreMessage 0x00007fff93545e22 -[ThrowingInvocationOperation main] + 33
23 com.apple.CoreMessage 0x00007fff934f1f82 -[_MFInvocationOperation main] + 431
24 com.apple.Foundation 0x00007fff93a25926 -[__NSOperationInternal start] + 684
25 com.apple.Foundation 0x00007fff93a2d0f1 __block_global_6 + 129
26 libdispatch.dylib 0x00007fff92d88f01 _dispatch_call_block_and_release + 15
27 libdispatch.dylib 0x00007fff92d850b6 _dispatch_client_callout + 8
28 libdispatch.dylib 0x00007fff92d861fa _dispatch_worker_thread2 + 304
29 libsystem_c.dylib 0x00007fff8c558d0b _pthread_wqthread + 404
30 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 21:: -[IMAPAccount _synchronizeAccountWithServerWithUserInput:] Dispatch queue: com.apple.root.default-overcommit-priority
0 libsystem_kernel.dylib 0x00007fff92fbe686 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92fbdc42 mach_msg + 70
2 com.apple.CoreFoundation 0x00007fff8cf29233 __CFRunLoopServiceMachPort + 195
3 com.apple.CoreFoundation 0x00007fff8cf2e916 __CFRunLoopRun + 1078
4 com.apple.CoreFoundation 0x00007fff8cf2e0e2 CFRunLoopRunSpecific + 290
5 com.apple.CoreMessage 0x00007fff934ca0e9 _handleRequestWithTimeout + 1527
6 com.apple.CoreMessage 0x00007fff934cc58c -[_NSSocket connectToHost:withPort:] + 814
7 com.apple.CoreMessage 0x00007fff934e53ae -[Connection connectDiscoveringBestSettings:] + 1191
8 com.apple.MessageFramework 0x00007fff94d9ddad -[IMAPAccount connectAndAuthenticate:] + 502
9 com.apple.IMAP 0x00007fff94bffd5d -[IMAPConnectionPool _validateAndCheckOutGateway:forMailbox:allowReconnect:newGateway:] + 334
10 com.apple.IMAP 0x00007fff94bfde39 -[IMAPConnectionPool _checkOutNewGatewayWithConnection:forMailbox:] + 301
11 com.apple.MessageFramework 0x00007fff94d1c695 -[IMAPAccount _getPotentialGatewayForMailbox:options:createdNewConnection:needsSelect:] + 429
12 com.apple.MessageFramework 0x00007fff94d1c2a0 -[IMAPAccount _gatewayForMailboxUid:name:options:] + 180
13 com.apple.MessageFramework 0x00007fff94d3db39 -[IMAPAccount _namespacePrefixesForPrivate:public:shared:] + 177
14 com.apple.MessageFramework 0x00007fff94d374d3 -[IMAPAccount _listingForMailboxUid:listAllChildren:withUserInput:] + 185
15 com.apple.MessageFramework 0x00007fff94d373b3 -[IMAPAccount _synchronizeMailboxListWithUserInput:] + 64
16 com.apple.MessageFramework 0x00007fff94d33c1f -[RemoteStoreAccount _synchronizeAccountWithServerWithUserInput:] + 318
17 com.apple.MessageFramework 0x00007fff94d338b3 -[IMAPAccount _synchronizeAccountWithServerWithUserInput:] + 45
18 com.apple.CoreFoundation 0x00007fff8cf8009c __invoking___ + 140
19 com.apple.CoreFoundation 0x00007fff8cf7ff37 -[NSInvocation invoke] + 263
20 com.apple.CoreMessage 0x00007fff9352d7d7 -[MonitoredInvocation invoke] + 225
21 com.apple.CoreMessage 0x00007fff93545e22 -[ThrowingInvocationOperation main] + 33
22 com.apple.CoreMessage 0x00007fff934f1f82 -[_MFInvocationOperation main] + 431
23 com.apple.Foundation 0x00007fff93a25926 -[__NSOperationInternal start] + 684
24 com.apple.Foundation 0x00007fff93a2d0f1 __block_global_6 + 129
25 libdispatch.dylib 0x00007fff92d88f01 _dispatch_call_block_and_release + 15
26 libdispatch.dylib 0x00007fff92d850b6 _dispatch_client_callout + 8
27 libdispatch.dylib 0x00007fff92d861fa _dispatch_worker_thread2 + 304
28 libsystem_c.dylib 0x00007fff8c558d0b _pthread_wqthread + 404
29 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 22:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x00007fff92fc0122 __psynch_mutexwait + 10
1 libsystem_c.dylib 0x00007fff8c55bdfd pthread_mutex_lock + 536
2 com.apple.Foundation 0x00007fff939dbb79 -[NSRecursiveLock lock] + 22
3 com.apple.IMAP 0x00007fff94bed1e7 __56-[IMAPClientOperationQueue _postDelayedActivityFinished]_block_invoke_0 + 116
4 libdispatch.dylib 0x00007fff92d850b6 _dispatch_client_callout + 8
5 libdispatch.dylib 0x00007fff92d8729b _dispatch_source_invoke + 691
6 libdispatch.dylib 0x00007fff92d86305 _dispatch_queue_invoke + 72
7 libdispatch.dylib 0x00007fff92d861c3 _dispatch_worker_thread2 + 249
8 libsystem_c.dylib 0x00007fff8c558d0b _pthread_wqthread + 404
9 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 23:
0 libsystem_kernel.dylib 0x00007fff92fc06d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8c558f4c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8c558d13 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8c5431d1 start_wqthread + 13
Thread 24:: -[IMAPMailboxSyncEngine _goWithMessagesIfNeeded:] Dispatch queue: com.apple.root.default-overcommit-priority
0 libsystem_kernel.dylibBack up all data.
Try the steps suggested on this page. if the problem isn't solved that way, continue as below.
In the Finder, hold down the option key and select
Go ▹ Library
from the menu bar. Move the following items from the folder that opens to the Trash (some may not exist):
Caches/com.apple.mail
Saved Application State/com.apple.mail.savedState
Leave the Finder window open for now.
Try to launch Mail. If the problem is solved, you’re done. Otherwise, move these items, if they exist, from the open Library folder to the Desktop:
Application Support/AddressBook/MailRecents-v4.abcdmr
Containers/com.apple.mail
Preferences/com.apple.mail.plist
Preferences/com.apple.mail.searchhistory.plist
Try Mail again. If it launches, you'll have to recreate some of your settings. Delete the items you moved to the Desktop.
If Mail still doesn't work, put the items you moved to the Desktop back where they were. You don’t need to replace the items you moved to the Trash.
Move the subfolder named "Mail" — not the Mail application — from the Library folder to the Desktop.
Test. If Mail now launches, it will prompt you to set up an account. Cancel and restore the Mail folder from the most recent backup you have that predates the issue. A corrupt database is causing the problem.
If there’s no improvement, put back the Mail folder and post your results. -
Problem while sending the o/p of payslip report through mail
Hi ,
I am trying to mail the output of ZHINACALC0 (copy of standard program HINCALC0 for payslip display)
In the report code of ZHINCALC0, there is a form named xform which contanis the o/p of the employee's payslip.
CALL FUNCTION 'HR_PL_APPEND_FORM'
EXPORTING
imp_pernr = pernr-pernr
imp_period = rgdir-inper "XMS note 386560
TABLES
imp_form = *xform*
EXCEPTIONS
OTHERS = 0.
I am using the following function module to get the o/p from memory.
SUBMIT ZHINCALC0 EXPORTING LIST TO MEMORY AND RETURN.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
LISTOBJECT = LISTOBJECT
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
WRITE 'Error in list_from_memory.'.
ENDIF.
after this i am using SO_NEW_DOCUMENT_ATT_SEND_API1 to send the o/p through mail.
However i am not getting the desired result as the function module LIST_FROM_MEMORY takes an o/p list as input,but this is not the case here as xform is not an o/p list. How do i send the xform into memory and then get it back. Kindly help.
Thanks and Regards,
Subhabrata.Hi,
Please check with the following code.
TABLES: KNA1.
data for send function
DATA DOC_DATA LIKE SODOCCHGI1.
DATA OBJECT_ID LIKE SOODK.
DATA OBJCONT LIKE SOLI OCCURS 10 WITH HEADER LINE.
DATA RECEIVER LIKE SOMLRECI1 OCCURS 1 WITH HEADER LINE.
SELECT * FROM KNA1 WHERE ANRED LIKE 'C%'.
WRITE:/ KNA1-KUNNR, KNA1-ANRED.
send data internal table
CONCATENATE KNA1-KUNNR KNA1-ANRED
INTO OBJCONT-LINE SEPARATED BY SPACE.
APPEND OBJCONT.
ENDSELECT.
insert receiver (sap name)
REFRESH RECEIVER.
CLEAR RECEIVER.
MOVE: 'any_email'_ TO RECEIVER-RECEIVER, " SY-UNAME
'X' TO RECEIVER-EXPRESS,
'U' TO RECEIVER-REC_TYPE.
APPEND RECEIVER.
insert mail description
WRITE 'Sending a mail through abap'
TO DOC_DATA-OBJ_DESCR.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOC_DATA
IMPORTING
NEW_OBJECT_ID = OBJECT_ID
TABLES
OBJECT_CONTENT = OBJCONT
RECEIVERS = RECEIVER
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8. -
Is there any way to sent apex reports in mail
Hi All,
I have a requirement to sent an apex report as a mail. Is it possible? Or will I have to write PLSQL procedure to collect the records and embed in html tags and then send the mail
I tried to use <iframe> tag and embed the apex page which is public in to the mail, But it doesn't look good.
Thanks & Regards,
Vikas KrishnaVikas,
As I understand it, this will be a feature of 4.0. However, for now you must still create them manually. Using public pages, as you've seen, can be tricky. Think about pagination and such.
If an iframe would have "worked" then why not an email with a link back to the right page?
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen
http://sourceforge.net/projects/plrecur
You can reward this reply by marking it as either Helpful or Correct ;-)
Maybe you are looking for
-
How to make this content in PHP?
create or replace package body VV_OM110_PKG is procedure main(errbuf out varchar2, retcode out varchar2, p_org_id in number, p_organization_id in number, p_segment1 in varchar2, p_company in varchar2, p_segment3 in varchar2, p_cust_id in number, p_ca
-
Taxes in sales order based on regions
Hi, Generally taxes are based on country but in my case I want to get it triggered on the basis of region in a country. Say tax rate in a sales order for a SH(ship to party) for region A of country 1 should be 10% and if the sales order is raised for
-
Adobe Photoshop cs4-What Does Canvas Size Really Mean?
What are we actually looking at when we place a picture on a canvas? For example, if I have a canvas of a width of 800 and a height of 1500 it appears on the screen to my eyes to be about 3 inches by 7 inches. Then let's say I add the headline: Risk
-
TV Out to View Web Pages?
Hi, I recently purchased an Apple AV Composite cable in order to view web pages (Powerpoint presentations, documents, etc) from my iPhone on a TV or digital projector. I'm a teacher and this would be INCREDIBLY USEFUL for both meetings and classes, e
-
SELECTING THE GRAPH TYPE BY THE END USER
Hi all, I have a query in developing one app which contains Business graphics 1)By selecting the type of a graph from the front end the graph (fro e.g. dropdownbykey/index) the end user should be in a position to see the graph i.e. if he selects Colu