How to mail to users when a report fail when scheduled in Infoview-BO XIR2
Hi,
We need to send a mail notification to the mail recipients when a report fail. Is this possible in Infoview.
Please suggest.
Thanks in advance.
it is not possible in infoview. but it can be done using CMC. if you go schedule a reports in CMC, goto notifications and add email notification and add email addresses.
Similar Messages
-
hi i am getting message that CANNOT GET MAIL THE CONNECTION TO THE SERVER FAILED when trying to add official mail to Exchange in IPHONE 5
Talk to your IT department...
Or if you're at University, talk to the computer team.
Most Uni's are using outlook.com as the server connection not mail.youruniversity.edu -
How to lock a user with a report in batch?
Hi experts,
is it possible to lock a range of users with a report which runs in batch? I decide to modify the report EWULKUSR, because I can't run this report in batch. But maybe there is any other report?
Any idea?
Thanks and best regards
MaxHi Sim,
I mean, locking the user in the system.
Thanks for your answer.
Best regards,
Max -
How to pass hidden user/passwd to report?
Hi,
Running reports in the Web is there a way to pass hidden user/passwd to report without using the map file?No, you either have to have the details in the map file or the URL itself. There's no other way to hide the username/password.
Hope this helps.
Regards,
Jatinder
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by ehlamentavel:
Hi,
Running reports in the Web is there a way to pass hidden user/passwd to report without using the map file?<HR></BLOCKQUOTE>
null -
Reports fail when run against a different data source
Hello,
We have a VB.NET 2008 WinForms application running on Microsoft .NET 3.5. We are using Crystal Reports 2008 runtime, service pack 3 -- using the CrystalDecisions.Windows.Forms.CrystalReportViewer in the app to view reports. In the GAC on all our client computers, we have versions 12.0.1100.0 and 12.0.2000.0 of CrystalDecisions.CrystalReports.Engine, CrystalDecisions.Shared, and CrystalDecisions.Windows.Forms.
Please refer to another one of our posted forum issues, u201CCritical issue since upgrading from CR9 to CR2008u201D, as these issues seem to be related:
Critical issue since upgrading from CR9 to CR2008
We were concerned with report display slow down, and we seemed to have solved this by using the Oracle Server driver (instead of either Microsoft's or Oracle's OLEDB driver). But now we must find a resolution to another piece of the puzzle, which is: why does a report break if one data source is embedded in the .rpt file is different than the one you are trying to run the report against, in the .NET Viewer?
Problem:
If you have a production database name (e.g. "ProdDB") embedded in your .rpt file that you built your report from and try to run that report against a development database (e.g. "DevDB") (OR VICE VERSA -- it is the switch that is the important concept here), the report fails with a list of messages such as this:
Failed to retrieve data from the database
Details: [Database vendor code: 6550 ]
This only seems to happen if the source of the report data (i.e. the underlying query) is an Oracle stored procedure or a Crystal Reports SQL Command -- the reports run fine against all data sources if the source is a table or a view). In trying different things to troubleshoot this, including adding a ReportDocument.VerifyDatabase() call after setting the connection information, the Crystal Reports viewer will spit out other nonsensical errers regarding being unable to find certain fields (e.g. "The field name is not known), or not able to find the table (even though the source data should be coming from an Oracle stored procedure, not a table).
When the reports are run in the Crystal Reports Designer, they run fine no matter what database is being used; but the problem only happens while being run in the .NET viewer. It's almost as if something internally isn't getting fully "set" to the new data source, or something -- we're really grasping at straws here.
For the sake of completeness of information, here is how we're setting the connection information
'-- Set database connection info for the main report
For Each oConnectionInfo In oCrystalReport.DataSourceConnections
oConnectionInfo.SetConnection(gsDBDataSource, "", gsDBUserID, gsDBPassword)
Next oConnectionInfo
'-- Set database connection info for each subreport
For Each oSubreport In oCrystalReport.Subreports
For Each oConnectionInfo In oSubreport.DataSourceConnections
oConnectionInfo.SetConnection(gsDBDataSource, "", gsDBUserID, gsDBPassword)
Next oConnectionInfo
Next oSubreport
... but in troubleshooting, we've even tried an "overkill" approach and added this code as well:
'-- Set database connection info for each table in the main report
For Each oTable In oCrystalReport.Database.Tables
With oTable.LogOnInfo.ConnectionInfo
.ServerName = gsDBDataSource
.UserID = gsDBUserID
.Password = gsDBPassword
For Each oPair In .LogonProperties
If UCase(CStr(oPair.Name)) = "DATA SOURCE" Then
oPair.Value = gsDBDataSource
Exit For
End If
Next oPair
End With
oTable.ApplyLogOnInfo(oTable.LogOnInfo)
Next oTable
'-- Set database connection info for each table in each subreport
For Each oSubreport In oCrystalReport.Subreports
For Each oTable In oSubreport.Database.Tables
With oTable.LogOnInfo.ConnectionInfo
.ServerName = gsDBDataSource
.UserID = gsDBUserID
.Password = gsDBPassword
For Each oPair In .LogonProperties
If UCase(CStr(oPair.Name)) = "DATA SOURCE" Then
oPair.Value = gsDBDataSource
Exit For
End If
Next oPair
End With
oTable.ApplyLogOnInfo(oTable.LogOnInfo)
Next oTable
Next oSubreport
... alas, it makes no difference. If we run the report against a database that is different than the one specified with "Set Datasource Location" in Crystal, it fails with nonsense errorsThanks for the reply, Ludek. We have made some breakthroughs, uncovered some Crystal bugs and workarounds, and we're probably 90% there I hope.
For your first point, unfortunately the information on the Oracle 6550 error was generic, and not much help in our case. And for your second point, the errors didn't have anything to do with subreports at that time -- the error would manifest itself even in a simple, one-level report.
However, your third point (pointing us to KB 1553921) helped move us forward quite a bit more. For the benefit of all, here is a link to that KB article:
Link: [KB 1553921|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533353333333933323331%7D.do]
We downloaded the tool referenced there, and pointed it at a couple of our reports. The bottom line is that the code it generated uses a completely new area of the Crystal Reports .NET API which we had not used before -- in the CrystalDecisions.ReportAppServer namespace. Using code based on what that RasConnectionInfo tool generated, we were able gain greater visibility into some of the objects in the API and to uncover what I think qualifies as a genuine bug in Crystal Reports.
The CrystalDecisions.ReportAppServer.DataDefModel.ISCRTable class exposes a property called QualifiedName, something that isn't exposed by the more commonly-used CrystalDecisions.CrystalReports.Engine.Table class. When changing the data source with our old code referenced above (CrystalDecisions.Shared.ConnectionInfo.SetConnection), I saw that Crystal would actually change the Table.QualifiedName from something like "SCHEMAOWNER.PACKAGENAME.PROCNAME" to just "PROCNAME" (essentially stripping off the schema and package name). Bad, Crystal... VERY BAD! IMHO, Crystal potentially deserves to be swatted on the a** with the proverbial rolled-up newspaper.
I believe this explains why we were also able to generate errors indicating that field names or tables were not found -- because Crystal had gone and changed the QualifiedName to remove some key info identifying the database object! So, knowing this and using the code generated by the RasConnectionInfo tool, we were able to work around this bug with code that worked for most of our reports ("most" is the key word here -- more on that in a bit).
So, first of all, I'll post our new code. Here is the main area where we loop through all of the tables in the report and subreports:
'-- Replace each table in the main report with new connection info
For Each oTable In oCrystalReport.ReportClientDocument.DatabaseController.Database.Tables
oNewTable = oTable.Clone()
oNewTable.ConnectionInfo = GetNewConnectionInfo(oTable)
oCrystalReport.ReportClientDocument.DatabaseController.SetTableLocation(oTable, oNewTable)
Next oTable
'-- Replace each table in any subreports with new connection info
For iLoop = 0 To oCrystalReport.Subreports.Count - 1
sSubreportName = oCrystalReport.Subreports(iLoop).Name
For Each oTable In oCrystalReport.ReportClientDocument.SubreportController.GetSubreportDatabase(sSubreportName).Tables
oNewTable = oTable.Clone()
oNewTable.ConnectionInfo = GetNewConnectionInfo(oTable)
oCrystalReport.ReportClientDocument.SubreportController.SetTableLocation(sSubreportName, oTable, oNewTable)
Next oTable
Next iLoop
'-- Call VerifyDatabase() to ensure that the tables update properly
oCrystalReport.VerifyDatabase()
(Thanks to Colin Stynes for his post in the following thread, which describes how to handle the subreports):
Setting subreport connection info at runtime
There seems to be a limitation on the number of characters in a post on this forum (before all formatting gets lost), so please see my next post for the rest.... -
Load Report failed when opening Report under IIS 5.1
I recently upgraded to Crystal Reports 2008 (12) from Crystal Reports Basic 2008 (10.5). I am using Visual Studio 2008 with the CrystalReportViewer. Now when I run my reports from the website under IIS 5.1 (Windows XP SP3), I get a Load Report Failed. The detailed exception follow:
Error loading report (ConfigureCrystalReports)
CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x800001F5): The Report Application Server failed at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() --- End of inner exception stack trace --- at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) at ncspo.ReportViewer.ConfigureCrystalReports() in D:\Websites\NCSPO\FIS\ReportViewer.aspx.vb:line 43
If I run the report using the ASP.Net Development Server, the reports run fine. It only fails under IIS. From other posts, I understand that i need to grant the Network Service and IIS_WPG group read/write permissions to the windows\temp folder. I have done this for the Network Service, but the IIS_WPG group was not introduced until IIS 6.0. Any ideas on how I can get this working under IIS 5.1?
Here is the code behind page:
Private Sub ConfigureCrystalReports()
Try
rpt = New ReportDocument
Dim strReportFilename As String
If Len(Request.QueryString("ReportFilename")) > 0 Then
strReportFilename = Request.QueryString("ReportFilename")
Else
strReportFilename = System.Configuration.ConfigurationManager.AppSettings("cr404Page")
End If
Dim strReportPath As String = System.Configuration.ConfigurationManager.AppSettings("ReportPath")
Dim strReportFilePath As String = strReportPath & strReportFilename
Dim strReportFilePath_Full As String = Server.MapPath(strReportFilePath)
rpt.Load(strReportFilePath_Full) <--- Exception occurs on this line
Catch ex As Exception
lblStatus.Text = "Error loading report (ConfigureCrystalReports)"
lblStatus.Text &= "<BR>" & ex.ToString()
ncspo.clsMisc.LogError(ex, Me)
End Try
End SubAm I correct in reading the following 2 documents that IIS 5.1 is not supported?
If you check this document. It shows IIS6 and 7 no support on 5. See page 6
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f05523e4-35c4-2b10-2c89-9fcf64b0dd22]
This document also on page 5
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50a87366-da1d-2b10-e1b4-a37ab37a2dea]
Thanks. -
Load Report fail when use impersonate="true" in dotnet config
We have VS2005 and use Crystal 11.5. Our crystal report runs fine. When we set <identity impersonate="true" userName=".\user id" password="user password" />
in our Web.Config file, the report show error "Load report fail".
Could someone tells me why?
Thanks
TonyHi Tony,
Please check you are using impersonation in same way
following line below under the <system.web > tag , as illustrated below
<system.web>
<identity impersonate="true"/>
<authtorization>
<allow users="?"/><authtorization/>
This may be permission issue. Domain users need access to "C\Windows\Temp directory" and to the report directory try with giving permission .
Hope this helps!!
Regards,
Shweta -
How to restrict the users in ALV Report
HI Experts,
I have a requirement that in an ALV report i have 10colums in the otput of an alv report program now if i want the 5 users to see only the 4 column and if i want the other users to see only 3colums how can we do thal please help me on this
Thanks in advance.Hi,
We can simply Hide those columns in Fieldcat settings According to User Name
But those columns again appear if the Layout Settings are changed in ALV.
So,Fill that field cat according to User login i.e, one structure with 4 columns and
other structure with 3 columns.
data : begin of itab occurs 0,
a type i,
b type i,
c type i,
d type i,
e type i,
end of itab.
*Here I am filling Fieldcat According to user names and
* FILL_FIELDCAT is a Subroutine write your code to fill Fieldcat
if sy-uname = 'DDIC'.
perform fill_fcat using a.
perform fill_fcat using b.
elseif sy-uname = 'SAP*'.
perform fill_fcat using a.
perform fill_fcat using b.
perform fill_fcat using c.
perform fill_fcat using d.
elseif sy-uname = 'SAPUSER'.
perform fill_fcat using a.
perform fill_fcat using b.
perform fill_fcat using c.
perform fill_fcat using d.
perform fill_fcat using e.
endif.
Regards,
Raghava Channooru -
E-Mail End User comments are not working when Activity is applied to Incident
Hey Together,
i have a strange Problem.
I use a workflow which Triggers relationship changes of the affected user of an incident. And when the affected user changes, a template with a runbook Automation activity will be applied that triggers a runbook for the notification.
Today i figured out that the Exchange Connector will
not Import comments via email anymore when i apply the Runbook Activity to the incident ?
The Event log says:
Exchange Connector: Unable to process mail item. Subject="TEST Connector [IR555]", Error Message=The key value of an object cannot be changed.
As soon as i delete the activity from the incident everything works again as it should.
I have installed the 3.1 Version of the Connector.
Has anybody an idea why this happens? I cannot find a direct relation between Acion Log Comments and Activity ???
thanks
ChrisNot exactly. I would simply either:
create a new incident from the template which contains the runbook automation activity
or
create a new incident and apply the template
both ways you end up with a brand spanking new incident with the activity attached. Then start sending emails to that incident and see if the error persists.
http://codebeaver.blogspot.dk/ -
How does workflow retrieve users under an org. unit when sending email
Dear All:
Workflow supports sending email activity where you can specify the receipt type and receipt ID. For example, the email is supposed to send to the users within an organizational unit.
I am just wondering how SAP workflow determines the users within an organizational unit? Does it use HR-ORG evaluation path to get objects under an org. unit?
Many Thanks in advance!
HaifengHi,
For example, the email is supposed to send to the users
within an organizational unit.
Yes workflow template and standard task are also part of organizational unit. As you mentioned that the if the recipient type is choosen as Organizational Object then the workflow system will try to fetch the data from the organizational unit based on the recipient ID you provided in the mail step let say if you are using the recipient id as position Id then workflow system will try to get the data from the organizational unit
Org object types supported by the workflow system are US, C, S, O....
If at all the you choose the workflow recipient type as email address which can be a external address then in that case it just simply makes use of BCS communication methods and and in this case your SCOT settings must be configured properly.
The difference between the first and second is, in the first case the work items or mails/documents will be sent to sap inbox (SBWP) in the second case it depends on the mail ID you mention for example a outlook mail ID.
Regards
Pavan -
How to stop the users from saving the PO when there is error message
Hi Guru,
The error message had appeared but the user still can choose to hold the PO even though there is an error.
They do not want to let the user to have a choice to save the PO once there is an error.
Please advice where i can out this checking in.Dear Sally,
As per OSS: Note 606728 - Hold Functionality of the PR & PO - Gaps.
The only way you can stop the hold functionality is by implementing the BADI: ME_PROCESS_PO_CUST.
I am copying the OSS text for your reference.
Summary
Symptom
It is possible in the system to create/hold a purchase order (PO) referencing a held purchase requisition (PR), but your business process requires that this not be possible in your installation.
Other terms
Hold, ME21N, ME52N, Parking, Save without Check, Held PR, PO referencing a held PR, Commitments, reduction of PR by a held PO
Reason and Prerequisites
Cause: The functionality is not provided in EA-PS 110.
Prerequisites : You must be on EA-PS 110 to implement this note
Solution
You can implement some customer BAdI's provided by SAP to get this functionality. Note that customer implementations of the BAdI's provided by SAP are upwardly compatible. The text that follows gives details of how to implement the customer BAdI's to accomplish this functionality.
This functionality might be provided in future releases. However, we cannot make any binding statements at this time in regard to the scope of this development and when it will become available.
The following are the steps required to implement the customer BAdI to give an error message when a user tries to create a PO referencing a held PR.
1. Go to transaction SE18. Enter the definition name as ME_PROCESS_PO_CUST. Select the push button display.
a) Choose Implementation -> Create.
b) Enter an implementation name. Choose Enter.
c) Enter a short text to describe the purpose of the implementation, then save the implementation.
d) Select the tab interface, then double-click the method "process_item".
e) Create a message to issue a message that the PR is on hold.
f) Enter the following code in the method:
DATA: LS_MEPOITEM TYPE MEPOITEM.
DATA : MEMORY TYPE EBAN-MEMORY.
get current data from business object
LS_MEPOITEM = IM_ITEM->GET_DATA( ).
Check if the PO references a PR and check if the PR is not on hold
If the PR is on hold give an error message
IF NOT LS_MEPOITEM-BANFN IS INITIAL.
SELECT SINGLE MEMORY INTO MEMORY
FROM EBAN WHERE BANFN = LS_MEPOITEM-BANFN
AND BNFPO = LS_MEPOITEM-BNFPO.
IF MEMORY = 'X'.
MESSAGE E900(ZM). "The message that you have created in step 6
ENDIF.
ENDIF.
g) Activate the implementation.
2. If you do not want to let the user put the PO referencing a held PR on hold, you have to also implement the BAdI ME_HOLD_PO. The following are the steps to implement the BAdI.
a) Go to transaction SE18.Enter the definition name as ME_HOLD_PO and click on the 'DISPLAY' button.
b) Go to Implementation -> Create.
c) Enter an implementation name, then choose Enter.
d) Give some short text to describe the purpose of the implementation, then save the implementation.
e) Select the tab interface. Double-click the method IS_ALLOWED.
f) Enter the following code in the method:
DATA : IM_BEKPO_WA TYPE BEKPO.
DATA : MEMORY TYPE EBAN-MEMORY.
*-Look if the PO refers to a Held PR
LOOP AT IM_BEKPO INTO IM_BEKPO_WA
WHERE NOT BANFN IS INITIAL.
SELECT SINGLE MEMORY INTO MEMORY
FROM EBAN WHERE BANFN = IM_BEKPO_WA-BANFN
AND BNFPO = IM_BEKPO_WA-BNFPO.
IF MEMORY = 'X'.
*-Do not allow the PO to be kept on hold
*-if the PO is refering a held PR
CH_ALLOWED = ' '.
ENDIF.
ENDLOOP.
g) Activate the implementation.
I hope it helps.
Kind Regards,
Prakash -
How to make one user get locked to edit when another user is editing??
Dear friends,
In the webdynpro application option is given to controll the editability of the UI elements using edit button.When the same application is logged in by another user for ex: B , he should get a prompt saying user A is editing the page.
How to implement this ??and what is the best approach for this please advice.
Thanks in advance.The best way I could think of and what we implemented is:
Creatin a DB Lock Object around data which you want to work upon.
Requesting a lock when some one opens up a session for editing, if granted then go in edit mode else go in display\ read only mode with a message.
Release lock after save.
Regards
Manas Dua -
How to restrict the user from Closing the PO when it is not matched yet
Hi,
Actually PO is finally closed in lines level without matching. Now the problem is how to restrict this in future so that the user can not finally close it when it is not matched.
Thanks
KavyaKavya,
Check the setup of Line Type . Check for Receipt Tolerance on the Line Type . It should not be 100%
Please let me know if you have any questions
Thanks
Navin -
How to hide database user name on report
Hi,
Whenever I run my report, there is a username "HTMLDB_PUBLIC_USER" displayed on the top of the report.
Could someone tell how to hide that? If I need to chage the template for that, please guide me through the steps.
thanks in advance.
VJGo to your page template body and remove
&APP_USER.
variable.
Denes Kubicek -
The install happens with the verifier, but there is no icon created nor shortcut nor autorun after install.
We need users to use this as well.
Is there a solution other than us packaging up msft code into our app installation process?When installing the SDK the shortcut is provided in the SDK Browser. This should be the first tool you launch as it provides all links to samples and tools.
Carmine Sirignano - MSFT
Maybe you are looking for
-
Quota arrangement - winning contract is not auto assign in SC
My Problem: Winning contract is not auto assign to Shopping cart I created a Quota Arrangement (QA). It contains 2 contracts, for example in line item 1, contain Contract with Supplier 'A', with target percentage of 60%. In line item 2, contain Contr
-
Printing iCal appointments and To-Dos on the same sheet
Some time ago I pointed out that it was impossible to print what I saw on the iCal day screen with Appointments in the left and To-Dos in the right hand column. Apple "solved" this by wiping the To-Dos from the right hand column (in the print out) an
-
Having trouble with program (value return)
getting this error msg when i compile could someone help me out, im lost, thanks a bunch Prog4.java:57: '.class' expected double prem_bill = premium_bill(int day, int night); ^ Prog4.java:57: ')' expected doubl
-
Dear All, Our Production Database files are hosted in SAN Storage. Right now we want to movieto a new storage provided by a different storage company I would like to know what are things/procedures to be done from the database side and any links that
-
Can opening shot be a long, delayed, fade of a still photo from blur to clear?
I'd like to have the first clip of an iMovie be a long, delayed fade of a still photo from blur to clear. Using the blur transition is not working; it can't be made long enough. Any ideas? I'd like it so that the fade from blur lasts around 18 second