Reports Error via rwservlet
Hi all -
I have seen an error when I try to kill a report job in out test environment and I can't find any documentation on it anywhere so I thought I'd try here. I have an idea but also can't find anything in the logs --
The error is:
REP-56098: Bad engine name
Anybody else seen this? It is in 9iAS r2
Thanks
Dave
Hi Judith, we had the same problem and the fix was to add the following parameter to the reports.sh file in the BI&Forms Oracle home:
REPORTS_DEFAULT_PIXEL_SIZE=80;
export REPORTS_DEFAULT_PIXEL_SIZE
After that, the report server needed to be stopped and restarted for the change to take effect.
Similar Messages
-
Payment not possible because of reported error Message no. FZ311
i am a fresher in FI module... kidly give the solution how to solve the error in automatic payment program..f110...
i have attached my log here....
Job log overview for job:
F110-20140315-A1 -X / 13365701
Date
Time
Message text
Message class
Message no.
Message type
ABAP program
Screen no.
15.03.2014
13:36:59
Job started
00
516
S
15.03.2014
13:36:59
Step 001 started (program SAPF110S, variant &0000000002023, user ID RAGU)
00
550
S
15.03.2014
13:37:00
Log for proposal run for payment on 15.03.2014, identification A1
FZ
402
S
15.03.2014
13:37:04
>
FZ
693
S
15.03.2014
13:37:04
> Additional log for vendor 100263 company code ALRF
FZ
691
S
15.03.2014
13:37:04
>
FZ
693
S
15.03.2014
13:37:04
>
Due date determination additional log
FZ
799
S
15.03.2014
13:37:04
>
Document 6
004 line item 001 via INR 200.000,00-
FZ
700
S
15.03.2014
13:37:04
> Terms of payment: 15.03.2014 0 0,000 % 0 0,000 % 0
FZ
701
S
15.03.2014
13:37:04
> 00 days grace period is being considered
FZ
726
S
15.03.2014
13:37:04
> Payment must take place before 15.03.2014; next payment on 16.03.2014
FZ
728
S
15.03.2014
13:37:04
> Item is due with 0,000 % cash discount
FZ
721
S
15.03.2014
13:37:04
>
FZ
693
S
15.03.2014
13:37:04
>
Payment method selection additional log
FZ
699
S
15.03.2014
13:37:04
>
Payment me
thod selection for items due now to the amount of INR 200.000,00-
FZ
601
S
15.03.2014
13:37:04
> Payment method "C" is being checked
FZ
603
S
15.03.2014
13:37:04
> Street or P.O. box entry is missing
FZ
617
S
15.03.2014
13:37:04
> No permitted payment method exists
FZ
608
S
15.03.2014
13:37:04
Information re. vendor 100263 / paying company code ALRF ...
FZ
305
S
15.03.2014
13:37:04
... payment not possible because of reported error
FZ
311
S
15.03.2014
13:37:05
End of log
FZ
398
S
15.03.2014
13:37:06
Job finished
00
517
SHello Experts,
I am blocked with a strange issue which is similar to FZ311 mentioned above.
Enclosing the screenshot for your reference.
I am bit confused whether anything needs to be configured within the FBZP or it is purely the vendor master data .
Any help will be appreciated.
Kind Regards,
Sanjay -
Reports error 80020101 when accessing through workspace
We have a distributed environment(11.1.2), and every time our users try to access financial reports via workspace, it errors out after a while:(restarting reports services makes it work again-for a while)
Error executing file: "http://<servername>:19000/hr/modules/com/hyperion/reporting/web/common/HRCore.js
Error
Could not complete the operation due to error 80020101
Could it be a bandwidth/network traffic issue?
For now, we have increased the number of "active connections" for both EPMSystem registry and RA framework through the admin console(JDBC data sources).
Only reports errors out. workspace works fine all the time.
Edited by: 784749 on Mar 8, 2011 1:39 PMSame problem here!
It appeared when I itried to open one report that I exported from Financial Report that I generated previously in Development Environment. Once, I imported it to Test Environment and I opened the error appeared. In order to solve the problem I checked database connection and I realized it was missing. So, you coluld try looking for the currect database connection! Good luck! -
Reports Error Page 10g NullPointerException
We have created a JSP report that produces Excel output via method outlined in the example given in the HowTo:
http://otn.oracle.com/products/reports/htdocs/getstart/demonstrations/excel/index.html
The JSP runs fine under 9.0.2 iAS but when we moved the report to a 10g AS we get the following error:
Reports Error Page
Mon May 24 11:50:26 BST 2004
java.lang.NullPointerException
java.lang.NullPointerException
at com.evermind.server.http.EvermindBodyContent.setCharacterEncoding(EvermindBodyContent.java:458)
at com.evermind.server.http.EvermindPageContext.pushBody(EvermindPageContext.java:630)
at oracle.jsp.runtime.OracleJspRuntime.pushBodyIfNeeded(OracleJspRuntime.java:1385)
at examples.test._test1._jspService(_test1.java:55)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
Any ideas what could be causing the report to fail and ways to make the report run under 10g As?Try adding charset to the content type
e.g:
<%@ page contentType="application/vnd.ms-excel;charset=ISO-8859-1" %>
- Vinayak -
Could u plz tell wat is the reason of this error...I m using JDeveloper 9i
This error fires when i run the report ( Report JSP I used to create reports)
Reports Error Page+_
Mon Jan 05 14:12:14 IST 2009
javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
int oracle.reports.jsp.ReportTag.doStartTag()
void MyReport.jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
void com.evermind.util.ThreadPoolThread.run()Jithesh,
I suggest you try the [url http://forums.oracle.com/forums/forum.jspa?forumID=84]Oracle Reports Forum
Getting support for JDev 9i via this forum is probably going to be very difficult, given that there has been at least a few years and few (heh!) major releases since then. You may wish to try Metalink for your 9i issues.
Best,
John -
Can't connect to Report Server via Management Studio
Hi,
I have a local installation of SQL Server 2005 (Developer Edition) on XP Professional SP2, with Reporting Services, Integration Services, and Analysis Server installed.
I can connect to Integration Services and Analysis Server via the SQL Server Management Studio, but not to the Report Server. I can access and use the Report Server installation via http://localhost/Reports and http://localhost/ReportServer, and everything checks out on the Reporting Services Configuration tool, so the server appears to be working fine.
I've uninstalled/re-formatted/reinstalled the services (with all default options, and services running as "Local Service"), but always end up with the following error when connecting to Report Server via Management Studio:
The request failed with HTTP status 503: Service Unavailable. (Microsoft.SqlServer.Management.UI.RSClient) ------------------------------
Program Location:
at Microsoft.SqlServer.ReportingServices2005.RSConnection.GetSecureMethods()
at Microsoft.SqlServer.ReportingServices2005.RSConnection.IsSecureMethod(String methodname)
at Microsoft.SqlServer.ReportingServices2005.RSConnection.ValidateConnection()
at Microsoft.SqlServer.Management.UI.RSClient.RSClientConnection.CreateConnection(String connectionString)
at Microsoft.SqlServer.Management.UI.RSClient.RSConnectionInfo.CreateConnectionObject()
at Microsoft.SqlServer.Management.UI.RSClient.RSConnectionInfo.RSTypeImpl.GetConnectionObject(UIConnectionInfo ci)
at Microsoft.SqlServer.Management.UI.ConnectionDlg.RSType.GetConnectionObject(UIConnectionInfo ci)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ObjectExplorer.ValidateConnection(UIConnectionInfo ci, IServerType server)
at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
Any hints would be appreciated...
Thanks,
/vijayanHere is the report server log:
<Header>
<Product>Microsoft SQL Server Reporting Services Version 9.00.2047.00</Product>
<Locale>en-US</Locale>
<TimeZone>AUS Eastern Standard Time</TimeZone>
<Path>C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles\ReportServerService__06_22_2006_09_34_56.log</Path>
<SystemName>COUNTD2</SystemName>
<OSName>Microsoft Windows NT 5.2.3790 Service Pack 1</OSName>
<OSVersion>5.2.3790.65536</OSVersion>
</Header>
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing ConnectionType to '0' as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing IsSchedulingService to 'True' as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing IsNotificationService to 'True' as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing IsEventService to 'True' as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing PollingInterval to '10' second(s) as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing WindowsServiceUseFileShareStorage to 'False' as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing MemoryLimit to '60' percent as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing RecycleTime to '720' minute(s) as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing MaximumMemoryLimit to '80' percent as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing MaxAppDomainUnloadTime to '30' minute(s) as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing MaxQueueThreads to '0' thread(s) as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing IsWebServiceEnabled to 'True' as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing MaxScheduleWait to '5' second(s) as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing DatabaseQueryTimeout to '120' second(s) as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing ProcessRecycleOptions to '0' as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing RunningRequestsScavengerCycle to '60' second(s) as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing RunningRequestsDbCycle to '60' second(s) as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing RunningRequestsAge to '30' second(s) as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing CleanupCycleMinutes to '10' minute(s) as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing DailyCleanupMinuteOfDay to default value of '120' minutes since midnight because it was not specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing WatsonFlags to '1064' as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing WatsonDumpOnExceptions to 'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException' as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing WatsonDumpExcludeIfContainsExceptions to 'System.Data.SqlClient.SqlException,System.Threading.ThreadAbortException' as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing SecureConnectionLevel to '0' as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing DisplayErrorLink to 'True' as specified in Configuration file.
ReportingServicesService!library!4!22/06/06-09:34:57:: i INFO: Initializing WebServiceUseFileShareStorage to 'False' as specified in Configuration file.
ReportingServicesService!resourceutilities!4!22/06/06-09:34:57:: i INFO: Reporting Services starting SKU: Enterprise
ReportingServicesService!resourceutilities!4!22/06/06-09:34:57:: i INFO: Evaluation copy: 0 days left
ReportingServicesService!runningjobs!4!22/06/06-09:34:57:: i INFO: Database Cleanup (NT Service) timer enabled: Next Event: 600 seconds. Cycle: 600 seconds
ReportingServicesService!runningjobs!4!22/06/06-09:34:57:: i INFO: Running Requests Scavenger timer enabled: Next Event: 60 seconds. Cycle: 60 seconds
ReportingServicesService!runningjobs!4!22/06/06-09:34:57:: i INFO: Running Requests DB timer enabled: Next Event: 60 seconds. Cycle: 60 seconds
ReportingServicesService!runningjobs!4!22/06/06-09:34:57:: i INFO: Execution Log Entry Expiration timer enabled: Next Event: 59102 seconds. Cycle: 86400 seconds
ReportingServicesService!runningjobs!4!22/06/06-09:34:57:: i INFO: Memory stats update timer enabled: Next Event: 60 seconds. Cycle: 60 seconds
ReportingServicesService!runningjobs!4!22/06/06-09:34:57:: i INFO: SQM timer timer enabled: Next Event: 62702 seconds. Cycle: 86400 seconds
ReportingServicesService!library!8!22/06/06-09:34:58:: i INFO: Catalog SQL Server Edition = Enterprise
ReportingServicesService!crypto!8!22/06/06-09:34:58:: i INFO: Initializing crypto as user: OBJECTIVEWARE\s.count
ReportingServicesService!crypto!8!22/06/06-09:34:58:: i INFO: Exporting public key
ReportingServicesService!crypto!8!22/06/06-09:34:58:: i INFO: Performing sku validation
ReportingServicesService!crypto!8!22/06/06-09:34:58:: i INFO: Importing existing encryption key
ReportingServicesService!dbpolling!8!06/22/2006-09:34:58:: EventPolling polling service started
ReportingServicesService!dbpolling!8!06/22/2006-09:34:58:: NotificationPolling polling service started
ReportingServicesService!dbpolling!8!06/22/2006-09:34:58:: SchedulePolling polling service started
ReportingServicesService!dbpolling!8!06/22/2006-09:34:58:: UpgradePolling polling service started
ReportingServicesService!dbpolling!b!22/06/06-09:34:58:: NotificationPolling heartbeat thread started.
ReportingServicesService!dbpolling!a!22/06/06-09:34:58:: EventPolling heartbeat thread started.
ReportingServicesService!dbpolling!c!22/06/06-09:34:58:: Polling started
Here is the IIS log:
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2006-06-21 00:00:21
#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2006-06-21 00:00:21 W3SVC1 203.166.122.177 GET /iisstart.htm - 80 - 203.166.122.223 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+InfoPath.1) 200 0 64
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2006-06-21 03:50:53
#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2006-06-21 03:50:53 W3SVC1 203.166.122.177 POST /ReportServer/ReportService2005.asmx - 80 - 203.166.122.218 - 200 0 0
2006-06-21 03:51:15 W3SVC1 203.166.122.177 POST /ReportServer/ReportService2005.asmx - 80 - 203.166.122.218 - 500 0 0
2006-06-21 03:51:15 W3SVC1 203.166.122.177 POST /ReportServer/ReportService2005.asmx - 80 - 203.166.122.218 - 200 0 0
2006-06-21 03:51:31 W3SVC1 203.166.122.177 POST /ReportServer/ReportService2005.asmx - 80 - 203.166.122.218 - 500 0 0
2006-06-21 03:51:31 W3SVC1 203.166.122.177 POST /ReportServer/ReportService2005.asmx - 80 - 203.166.122.218 - 500 0 0
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2006-06-21 07:51:41
#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2006-06-21 07:51:41 W3SVC1 203.166.122.177 GET /iisstart.htm - 80 - 203.166.122.223 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+InfoPath.1) 200 0 64
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2006-06-21 23:38:59
#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2006-06-21 23:38:59 W3SVC1 203.166.122.177 GET /Reports - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 301 0 0
2006-06-21 23:39:16 W3SVC1 203.166.122.177 GET /Reports/Home.aspx - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 302 0 0
2006-06-21 23:39:25 W3SVC1 203.166.122.177 GET /Reports/Pages/Folder.aspx - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 500 0 0
2006-06-21 23:39:25 W3SVC1 203.166.122.177 GET /Reports/js/ReportingServices.js - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 64
2006-06-21 23:39:25 W3SVC1 203.166.122.177 GET /Reports/styles/ReportingServices.css - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 64
2006-06-21 23:39:25 W3SVC1 203.166.122.177 GET /Reports/images/blank.gif - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 64
2006-06-21 23:39:25 W3SVC1 203.166.122.177 GET /Reports/images/48error.jpg - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 64
2006-06-21 23:40:11 W3SVC1 203.166.122.177 GET /Reports - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 301 0 0
2006-06-21 23:40:11 W3SVC1 203.166.122.177 GET /Reports/Home.aspx - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 302 0 0
2006-06-21 23:40:13 W3SVC1 203.166.122.177 GET /Reports/Pages/Folder.aspx - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 500 0 0
2006-06-21 23:41:26 W3SVC1 203.166.122.177 GET /Reports/home.aspx - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 302 0 0
2006-06-21 23:41:28 W3SVC1 203.166.122.177 GET /Reports/Pages/Folder.aspx - 80 - 203.166.122.177 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 500 0 0
2006-06-21 23:43:52 W3SVC1 203.166.122.177 GET /reports - 80 - 203.166.122.218 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+InfoPath.1;+.NET+CLR+2.0.50727) 301 0 0
2006-06-21 23:43:52 W3SVC1 203.166.122.177 GET /reports/Home.aspx - 80 - 203.166.122.218 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+InfoPath.1;+.NET+CLR+2.0.50727) 302 0 0
2006-06-21 23:43:53 W3SVC1 203.166.122.177 GET /reports/Pages/Folder.aspx - 80 - 203.166.122.218 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+InfoPath.1;+.NET+CLR+2.0.50727) 500 0 0
2006-06-21 23:43:54 W3SVC1 203.166.122.177 GET /Reports/js/ReportingServices.js - 80 - 203.166.122.218 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+InfoPath.1;+.NET+CLR+2.0.50727) 200 0 64
2006-06-21 23:43:54 W3SVC1 203.166.122.177 GET /Reports/styles/ReportingServices.css - 80 - 203.166.122.218 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+InfoPath.1;+.NET+CLR+2.0.50727) 200 0 64
2006-06-21 23:43:54 W3SVC1 203.166.122.177 GET /Reports/images/blank.gif - 80 - 203.166.122.218 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+InfoPath.1;+.NET+CLR+2.0.50727) 200 0 64
2006-06-21 23:43:54 W3SVC1 203.166.122.177 GET /Reports/images/48error.jpg - 80 - 203.166.122.218 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+InfoPath.1;+.NET+CLR+2.0.50727) 200 0 64
Thanks,
Roshan. -
Report error service is not available
Hello,
I find the following error on several locations in my SIPstack logs on my Edge Server:
ms-diagnostics: 2019;reason="Report error service is not available";source="standard.kressmark.com"
What service is this referring to?
How can we troubleshoot this error message further?
Any additional information about this topic would be appreciated!
/mk
The full INFO message:
L_INFO(TF_PROTOCOL) [0]0A40.1148::03/10/2014-17:14:03.968.000000ad (SIPStack,SIPAdminLog::TraceProtocolRecord:SIPAdminLog.cpp(125))$$begin_record
Trace-Correlation-Id: 2161867164
Instance-Id: 000000F0
Direction: incoming;source="internal edge";destination="external edge"
Peer: standard.kressmark.com:5061
Message-Type: response
Start-Line: SIP/2.0 503 Service unavailable
From: "Mattias Kressmark"<sip:[email protected]>;tag=45e334cc8d;epid=8ff7cc2b20
To: <sip:[email protected]>;tag=FD66AF22DAE1582D6D94354611261F35
CSeq: 1 SERVICE
Call-ID: 9316261cef2141d3815a94c386e180d6
Via: SIP/2.0/TLS 17.21.122.15:49348;branch=z9hG4bKB54C0D77.B76658C4DF13234B;branched=FALSE;ms-received-port=49348;ms-received-cid=4600
Via: SIP/2.0/TLS 192.168.1.10:51983;received=81.217.34.250;ms-received-port=51983;ms-received-cid=100
ms-diagnostics: 2019;reason="Report error service is not available";source="standard.kressmark.com"
Server: RTC/4.0
Content-Length: 0
Message-Body: –
$$end_recordHi,
Did you deploy Monitoring server in your Lync server environment?
Please update to the latest version for Lync server 2010 and then test the issue again.
http://technet.microsoft.com/en-us/lync/dn146015
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
Hi,
is it possible to show the Reports error in Forms. Like
IF rep_status = 'FINISHED' THEN
WEB.SHOW_DOCUMENT('http://localhost:8889/reports/rwservlet/getjobid'
|| SUBSTR(v_rep,INSTR(v_rep,'_',-1)+1)||'?'||'server=rep_server','_blank');
ELSE
===> SHOW ME THE PROBLEM
END IF;
Regards, PeterHi,
You can display the Reports errors indirectly - through the database....
You can create a table in which the reports errors are inserted as well as the date , time , user. Next , the form module can read this row using the max(date) and max(time) and the username .
Simon -
Report error: @ htmldb 1.6
Hi,
I have a developed application in HTMLDB 1.5 that has a report region.
The report region contains a database column of varchar2(2048).
The application works fine.
Now, when I upgrade my HTMLDB from 1.5. to 1.6.,
I am getting an error when I run application & generate the report on page submit.
The error is
report error:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
But, the SQL query works fine @ sqlplus.
Here ia the QUERY
Select rownum||'.' ,DIM_ID,DEMO_ID,EMP_ID,global_demo_id, disc from
(Select to_number('') "DIM_ID",DEMO_ID,EMP_ID,global_demo_id,description disc from DEMONSTRATION
union
Select DIM_ID,DEMO_ID,EMP_ID,global_demo_id,description disc from DEMO_DIMENSION)
where contains(Disc,'%'||:P1_SEARCH_ITEM||'%') > 0
Where :P1_SEARCH_ITEM = 'scripts'
& the output @ SQLPLUS is
"The installation scripts are located in subdirectories identified by a language code in the unzipped distribution htmldb builder. For example the German version is located in htmldb builder de and theThe installation scripts are located in subdirectories identified by a language code in the unzipped distribution htmldb builder. For example the German version is located in htmldb builder de and the"
1 row selected.
Earlier the length of the "description" column_value @ DEMO_DIMENSION was 619.
When I update the DEMO_DIMENSION table to set "description" value to have only 200+ characters, the application works fine.
My question is : It was working fine in HTMLDB 1.5 & why not the same works with 1.6?
Any solution?
This a very high priority task & any solution/workaround as soon as possible is appreciated.
Regards,
NagadeepFor the benefit of other forum participants, Iâm updating this thread with our findings. The problem was due to a long string value used in the column link from the report page to the form page. It is generally advisable to only send numeric values, such as IDs via URL. Text values and values of data types, should be retrieved from the database on the form page using automatic row fetch processes, SQL queries or PL/SQL functions using the key values.
Regards,
Marc -
Here is the error message that has been appearing since Friday 10/17 when I try to retrieve verizon email via Outlook 2013:
Receiving' reported error (0x80042108) : 'Outlook cannot connect to your incoming (POP3) e-mail server. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).'
I see a lot of references to this error. I'm convinced it's a probelm with Verizon, because I've:
1) repaired the outlook.pst file
2) reinstalled Outlook
3) restored my pc to a state before the error appeared
4) turned MS firewall on and off with no effect
5) checked and rechecked the confiuration settings in Outlook for my verizon acct
At this point, there is nothing more I can do. Please advise, thanks.
J Mike
Solved!
Go to Solution.jmikef wrote:
Why the silent treatment from Verizon?
Because this is a peer-to-peer forum. Verizon doesn't participate in discussions here. If you want a response from Verizon, you have to contact them using chat or phone.
Enjoy.
If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem. -
Error via ODBC: wrong dll version (check: SQLTCPx.dll)
Hi,
after system, MAXDB 7.06.03 & database studio installation on new server my application reports error: wrong dll version (check: SQLTCPx.dll)
On previous server connection via ODBC was ok.
I have checked all available ODBC Drivers (MAXDB, SAPDB, SAPDB 7.4) and it does nothing.
Connection via .net driver (without ODBC) works fine.
How can I get correct version of dll ?
Which version is correct?
This dll currently exists in system: v. 7.6.3.0 (C:\Program Files\sdb\DBM) or v. 7.6.2.0 (C:\Program Files\sdb\programs\pgm)
Best regards,
Lukasz
MAXDB 7.06.03.07 Community Edition, WIN 2k3 x32 Ent. ed.
ODBC:
Version 7.6.03 Build 007-123-157-515
Object Mode 32 bit
Test File pgm/sqlod32.dll
Make Id 256246
Installation Date 24.01.2008
Size 3045874 bytes
Checksum 293d54b1f67025353bc9cfdbe1dd84f3Hello Wolfgang,
problem is after Database Studio installation.
My test system is:
OS: Windows XP Sp2
MAXDB Software:
1) MAXDB 7.6.03.07 (install file: maxdb-all-win-32bit.exe, server+client installation)
2) SQL Studio 7.6.03.02 (174235)
3) Database manager 7.6.03.02
If i install MaxdbStudio (install file: maxdb-studio-win-32bit.exe) on that environment I'll get error :wrong dll version (check: SQLTCPx.dll) in all known connections via ODBC.
Connections via odbc means for me connection via ODBC Source witch uses MAXDB (unicode) driver, file: SQLODE32W.DLL
(Control panel => Administrative tools => ODBC Sources => Add source => MAXDB (unicode) ... etc.).
SQL Studio, database manager and maxdb studio starts and works correctly.
Connections via MaxDB ADO.NET Data Provider works correctly (another application).
Error occurs in Windows 2003 as well (the same software).
Best regards,
Lukasz -
IF Condition in a PL/SQL Script give a report error.
Hello, Im German and I hope you can unterstand my Question.
First, I work with the HTML DB Version 1.6.0.0.0.87 and the Oracle Version 9.2.0.6.
I create a SQL Report, where a PL/SQL Script return the SQL Statement for the Report. This is my source-code, I have short it...:
Declare
sql_str varchar(2000);
sql_str_select varchar(1000) :=' select dim_sparte ... ';
sql_str_from varchar(1000) := ' from faktentabelle,dim_sparte ';
sql_str_where varchar(1000):= ' where and faktentabelle.zeit_id = :POPUP_ZEIT ';
sql_str_groupby varchar(1000):= ' group by dim_sparte.name, faktentabelle.zeit_id ';
Begin
If ( (V('POPUP_NETZGEBIET') is not NULL) and (V('POPUP_NETZGEBIET') <>
'Alle Netzgebiete')) THEN
sql_str_select := sql_str_select || ' ,dim_organisationseinheit.netzgebiet_name ';
sql_str_from := sql_str_from || ' , dim_organisationseinheit ';
sql_str_where := sql_str_where || ' and faktentabelle ... and
dim_organisationseinheit.netzgebiet_name = :POPUP_NETZGEBIET';
sql_str_groupby := sql_str_groupby || ' , dim_orga .... ';
End IF;
sql_str:= sql_str_select || sql_str_from || sql_str_where || sql_str_groupby;
htp.print(sql_str);
Return sql_str;
End;
This Script include a IF-THEN condition. The Condition is true and the sql-String-Variables are updatet.
I can get the string with htp.print() and the Statement is OK.
The report get a Error report error: ORA-1403: no data found. If I copy the printet sql String in a new Report Region with SQL String, the Report is OK. When I write IF(true) instead of IF( Condition) the Report is OK, too.
I try ist with Varibalen V(name) and with :name. Its always the same problem. I cant use IF-THEN-Else Conditions in a Script.
Please help me and say me what is the problem???
Thanks,
SimonaHi Simona,
In the sql region below the region source see that you have " Use Generic Column Names (parse query at runtime only)" check and not " Use Query-Specific Column Names and Validate Query".
This error you usually get when you have a mismatch in your report heading.
Vivek
[email protected] -
Hi all
I've got a error msg when try to generate a report using Cisco history report tool:
Error | An Exceptional Error occurred. Application exiting. Check the log file for error 5022
It only happens when choose report template: ICD_Contact_Service_Queue_Activity_by_CSQ_en_us.
User tried samething on other PC, it working fine.
only on user' own PC and only choose this report, error appears.
user runing windows 7 and do not have crystal report installed
tried reinstalled the software, doesn't work.
also tried this: (https://cisco-support.hosted.jivesoftware.com/thread/2041254) - doesn't work
then tried https://supportforums.cisco.com/docs/DOC-6209 - doesn't work
attached the log file.
thanks.wenqianyu wrote:From the log file:Looks like you get a Login Window.Error message showed up after username/password be enteredThere is an error in the log: Error happened in comparing UCCX version and HRC versionYou may need to do a clean uninstall, download the Historical report from the server, and install it again on the PC.Does this only happen to one PC or to every PC with this application?Wenqian
I have completely uninstalled the HRC, and download from server install again -- still doesn't work with exactly same error.
this matter only happens on this PC, when user try same thing on other PC, it works.
so i think it not relate to server or account. -
Sending report output via E-mail (excel pivoted format)
Hi all,
i have a written a report where i need to send the report output to somebody via
E-mail.i am sending this report output via E-mail successfully.The receiver receives, my output in excel format.but this excel is not <b>pivoted</b>.
i want , the receiver should get my output in pivoted excel format.i.e my output data should be exactly fit in the excel sheet.
now the columns in excel sheet are overlapping.once i double clicked, the columns are getting separated.i do not want to double click.i want all the columns should come properly i.e excel field length should be adjusted as per the output field length.
i am giving my coding below.plz suggest how i can do the above thing .it's urgent.
any idea will be highly appreaciated.
Regards
if not p_email1 is initial.
perform fill_report_csv.
perform f_send_internet_mail.
endif.
FORM fill_report_csv.
data : l_text(232) type c,
v_matnr1(21) type c,
v_matnr(21) type c,
v_matkl(14) type c,
v_maktx(45) type c,
v_ttlstk(14) type c,
v_verpr(14) type c,
v_werks(14) type c,
v_lgort(14) type c,
v_char(10) type c,
v_stks type p ,
v_po(40) type c,
v_qty(13) type c,
v_qty1 type sy-datum,
v_date(15) type c,
v_date1(15) TYPE C,
v_name(35) type c,
v_eknam(18) type c,
v_lifnr(15) type c,
l_po(40) type c,
v_matnr(20) type c,
l_rate(11) type p decimals 5,
l_flag type c.
concatenate c_equal c_colon 'PO no.' c_colon
into v_po.
concatenate c_equal c_colon 'Material no.' c_colon
into v_matnr.
concatenate c_equal c_colon 'Description.' c_colon
into v_maktx.
concatenate c_equal c_colon 'Due Qty.' c_colon
into v_qty.
concatenate c_equal c_colon 'Del Date.' c_colon
into v_date.
concatenate c_equal c_colon 'Vendor.' c_colon
into v_name.
concatenate c_equal c_colon 'Buyer.' c_colon
into v_eknam.
concatenate c_equal c_colon 'Vendor Code.' c_colon
into v_lifnr.
concatenate
v_po v_matnr v_maktx v_qty
v_date v_name v_eknam v_lifnr
into i_download
SEPARATED BY con_tab.
append i_download .
clear : v_po,v_matnr, v_maktx, v_qty, v_date, v_name, v_eknam,v_lifnr .
clear wa_output.
loop at i_output into wa_output.
on change of wa_output-ebeln.
clear v_lines.
loop at i_eket into wa_eket
where ebeln = wa_output-ebeln.
v_lines = v_lines + 1.
clear wa_eket.
endloop.
**-- Checking of page break
v_lines = sy-linno + v_lines .
if 55 < v_lines .
write:/0(161) sy-uline.
new-page.
endif.
clear v_lines.
loop at i_eket into wa_eket
where ebeln = wa_output-ebeln.
v_lines = v_lines + 1.
clear wa_eket.
endloop.
*-- Calculating the due qty.
wa_output-dumng = wa_output-menge - wa_output-wemng.
*-- Writing the Line items of the PO.
read table i_ekpo into wa_ekpo
with key ebeln = wa_output-ebeln
ebelp = wa_output-ebelp.
l_rate = wa_ekpo-netpr / wa_ekpo-peinh.
*-- Writing of PO detail
if wa_output-dumng gt 0 .
v_qty = wa_output-dumng.
v_date1 = wa_output-eindt.
v_maktx = wa_output-maktx.
if wa_output-maktx+0(1) = '"' .
concatenate c_equal wa_output-maktx
into v_maktx .
else .
concatenate c_equal c_colon wa_output-maktx c_colon
into v_maktx .
endif .
if wa_output-name1+0(1) = '"' .
concatenate c_equal wa_output-name1
into v_name .
else .
concatenate c_equal c_colon wa_output-name1 c_colon
into v_name .
endif .
v_name = wa_output-name1.
v_lifnr = wa_output-lifnr.
write wa_output-eindt to v_date1 DD/MM/YYYY.
concatenate '="' wa_output-ebeln '/'
wa_output-ebelp '"' into v_po .
concatenate '="' wa_output-matnr '"' into v_matnr .
concatenate c_equal c_colon wa_output-maktx c_colon
into v_maktx .
concatenate c_equal c_colon wa_output-dumng c_colon
into v_qty1 .
concatenate c_equal c_colon wa_output-eindt c_colon
into v_date1 .
concatenate c_equal c_colon wa_output-name1 c_colon
into v_name .
concatenate c_equal c_colon wa_output-eknam c_colon
into v_eknam .
concatenate c_equal c_colon wa_output-lifnr c_colon
into v_lifnr .
concatenate c_equal c_colon wa_mard-werks '/'
wa_mard-lgort c_colon
into v_lgort .
concatenate '="' wa_output-lifnr '"' into v_lifnr .
condense:v_po,v_matnr, v_maktx, v_qty, v_date, v_name, v_eknam,v_lifnr .
concatenate
v_po v_matnr v_maktx v_qty
v_date1 v_name v_eknam v_lifnr
into i_download
SEPARATED BY con_tab.
concatenate con_cret i_download INTO i_download .
append i_download .
endif.
clear : v_po,v_matnr, v_maktx, v_qty, v_date, v_name, v_eknam,v_lifnr .
endloop.
ENDFORM. " fill_report_csv
*& Form f_send_internet_mail
text
--> p1 text
<-- p2 text
FORM f_send_internet_mail.
Variables
data: it_packing_list like sopcklsti1 occurs 0 with header line,
it_contents like solisti1 occurs 0 with header line,
it_receivers like somlreci1 occurs 0 with header line,
it_attachment like solisti1 occurs 0 with header line,
gd_cnt type i,
gd_sent_all(1) type c,
gd_doc_data like sodocchgi1,
gd_error type sy-subrc.
data: it_message type standard table of SOLISTI1 initial size 0
with header line.
data : found_receiver type c,
v_title(80) type c,
l_text(180) type c.
Fill the document data.
gd_doc_data-doc_size = 1.
Adds text to email text table
append 'Pls see attached open purchase order report.' to it_message.
append '' to it_message.
concatenate 'Note: This is system generated report'
', figures may subject to actual physical count.'
into l_text separated by space.
append l_text to it_message.
Populate the subject/generic message attributes
CLEAR gd_doc_data.
READ TABLE i_download INDEX w_cnt.
gd_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( i_download ).
gd_doc_data-obj_langu = sy-langu.
gd_doc_data-obj_name = 'SAPRPT'.
if p_asdate is initial .
concatenate p_title ' '
sy-datum sy-uzeit into v_title separated by space.
else .
concatenate p_title ' '
p_bldat p_cputm into v_title separated by space.
endif .
gd_doc_data-obj_descr = v_title .
gd_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = i_download[].
Describe the body of the message
clear it_packing_list.
refresh it_packing_list.
it_packing_list-transf_bin = space.
it_packing_list-head_start = 1.
it_packing_list-head_num = 0.
it_packing_list-body_start = 1.
describe table it_message lines it_packing_list-body_num.
it_packing_list-doc_type = 'RAW'.
append it_packing_list.
Create attachment notification
it_packing_list-transf_bin = 'X'.
it_packing_list-head_start = 1.
it_packing_list-head_num = 1.
it_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES it_packing_list-body_num.
it_packing_list-doc_type = 'XLS'.
it_packing_list-obj_descr = 'OPEN PURCHASE ORDER' .
it_packing_list-obj_name = 'PO.XLS' .
it_packing_list-doc_size = it_packing_list-body_num * 255.
APPEND it_packing_list.
assign SAP user smtp address from successful retrieval.
loop at p_email.
Add the recipients email address
found_receiver = 'X' .
it_receivers-receiver = p_email-low.
it_receivers-rec_type = 'U'.
it_receivers-com_type = 'INT'.
it_receivers-notif_del = ''.
it_receivers-notif_ndel = 'X'.
append it_receivers .
endloop .
Add default recipient email when unable to locate purc group email
if found_receiver is initial .
it_receivers-receiver = p_email.
it_receivers-rec_type = 'U'.
it_receivers-com_type = 'INT'.
it_receivers-notif_del = ''.
it_receivers-notif_ndel = 'X'.
append it_receivers.
endif .
Call the FM to post the message to SAPMAIL
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = gd_doc_data
put_in_outbox = 'X'
commit_work = 'X'
importing
sent_to_all = gd_sent_all
tables
packing_list = it_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = it_receivers
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.
Store function module return code
gd_error = sy-subrc.
Get it_receivers return code
loop at it_receivers.
endloop.
Instructs mail send program for SAPCONNECT to send email.
wait up to 2 seconds.
if gd_error eq 0.
submit rsconn01 with mode = 'INT'
with output = ' '
and return.
endif.
ENDFORM. " f_send_internet_mailHi,
go through this link,
http://www.sapdevelopment.co.uk/reporting/email/emailhome.htm
you have some sample programs.
Regards,
Raghavendra -
Hi all,
i have a written a report where i need to send the report output to somebody via
E-mail.i am sending this report output via E-mail successfully.The receiver receives, my output in excel format.but this excel is not <b>pivoted</b>.
i want , the receiver should get my output in pivoted excel format.i.e my output data should be exactly fit in the excel sheet.
now the columns in excel sheet are overlapping.once i double clicked, the columns are getting separated.i do not want to double click.i want all the columns should come properly i.e excel field length should be adjusted as per the output field length.
i am giving my coding below.plz suggest how i can do the above thing .it's urgent.
any idea will be highly appreaciated.
Regards
if not p_email1 is initial.
perform fill_report_csv.
perform f_send_internet_mail.
endif.
FORM fill_report_csv.
data : l_text(232) type c,
v_matnr1(21) type c,
v_matnr(21) type c,
v_matkl(14) type c,
v_maktx(45) type c,
v_ttlstk(14) type c,
v_verpr(14) type c,
v_werks(14) type c,
v_lgort(14) type c,
v_char(10) type c,
v_stks type p ,
v_po(40) type c,
v_qty(13) type c,
v_qty1 type sy-datum,
v_date(15) type c,
v_date1(15) TYPE C,
v_name(35) type c,
v_eknam(18) type c,
v_lifnr(15) type c,
l_po(40) type c,
v_matnr(20) type c,
l_rate(11) type p decimals 5,
l_flag type c.
concatenate c_equal c_colon 'PO no.' c_colon
into v_po.
concatenate c_equal c_colon 'Material no.' c_colon
into v_matnr.
concatenate c_equal c_colon 'Description.' c_colon
into v_maktx.
concatenate c_equal c_colon 'Due Qty.' c_colon
into v_qty.
concatenate c_equal c_colon 'Del Date.' c_colon
into v_date.
concatenate c_equal c_colon 'Vendor.' c_colon
into v_name.
concatenate c_equal c_colon 'Buyer.' c_colon
into v_eknam.
concatenate c_equal c_colon 'Vendor Code.' c_colon
into v_lifnr.
concatenate
v_po v_matnr v_maktx v_qty
v_date v_name v_eknam v_lifnr
into i_download
SEPARATED BY con_tab.
append i_download .
clear : v_po,v_matnr, v_maktx, v_qty, v_date, v_name, v_eknam,v_lifnr .
clear wa_output.
loop at i_output into wa_output.
on change of wa_output-ebeln.
clear v_lines.
loop at i_eket into wa_eket
where ebeln = wa_output-ebeln.
v_lines = v_lines + 1.
clear wa_eket.
endloop.
**-- Checking of page break
v_lines = sy-linno + v_lines .
if 55 < v_lines .
write:/0(161) sy-uline.
new-page.
endif.
clear v_lines.
loop at i_eket into wa_eket
where ebeln = wa_output-ebeln.
v_lines = v_lines + 1.
clear wa_eket.
endloop.
*-- Calculating the due qty.
wa_output-dumng = wa_output-menge - wa_output-wemng.
*-- Writing the Line items of the PO.
read table i_ekpo into wa_ekpo
with key ebeln = wa_output-ebeln
ebelp = wa_output-ebelp.
l_rate = wa_ekpo-netpr / wa_ekpo-peinh.
*-- Writing of PO detail
if wa_output-dumng gt 0 .
v_qty = wa_output-dumng.
v_date1 = wa_output-eindt.
v_maktx = wa_output-maktx.
if wa_output-maktx+0(1) = '"' .
concatenate c_equal wa_output-maktx
into v_maktx .
else .
concatenate c_equal c_colon wa_output-maktx c_colon
into v_maktx .
endif .
if wa_output-name1+0(1) = '"' .
concatenate c_equal wa_output-name1
into v_name .
else .
concatenate c_equal c_colon wa_output-name1 c_colon
into v_name .
endif .
v_name = wa_output-name1.
v_lifnr = wa_output-lifnr.
write wa_output-eindt to v_date1 DD/MM/YYYY.
concatenate '="' wa_output-ebeln '/'
wa_output-ebelp '"' into v_po .
concatenate '="' wa_output-matnr '"' into v_matnr .
concatenate c_equal c_colon wa_output-maktx c_colon
into v_maktx .
concatenate c_equal c_colon wa_output-dumng c_colon
into v_qty1 .
concatenate c_equal c_colon wa_output-eindt c_colon
into v_date1 .
concatenate c_equal c_colon wa_output-name1 c_colon
into v_name .
concatenate c_equal c_colon wa_output-eknam c_colon
into v_eknam .
concatenate c_equal c_colon wa_output-lifnr c_colon
into v_lifnr .
concatenate c_equal c_colon wa_mard-werks '/'
wa_mard-lgort c_colon
into v_lgort .
concatenate '="' wa_output-lifnr '"' into v_lifnr .
condense:v_po,v_matnr, v_maktx, v_qty, v_date, v_name, v_eknam,v_lifnr .
concatenate
v_po v_matnr v_maktx v_qty
v_date1 v_name v_eknam v_lifnr
into i_download
SEPARATED BY con_tab.
concatenate con_cret i_download INTO i_download .
append i_download .
endif.
clear : v_po,v_matnr, v_maktx, v_qty, v_date, v_name, v_eknam,v_lifnr .
endloop.
ENDFORM. " fill_report_csv
*& Form f_send_internet_mail
text
--> p1 text
<-- p2 text
FORM f_send_internet_mail.
Variables
data: it_packing_list like sopcklsti1 occurs 0 with header line,
it_contents like solisti1 occurs 0 with header line,
it_receivers like somlreci1 occurs 0 with header line,
it_attachment like solisti1 occurs 0 with header line,
gd_cnt type i,
gd_sent_all(1) type c,
gd_doc_data like sodocchgi1,
gd_error type sy-subrc.
data: it_message type standard table of SOLISTI1 initial size 0
with header line.
data : found_receiver type c,
v_title(80) type c,
l_text(180) type c.
Fill the document data.
gd_doc_data-doc_size = 1.
Adds text to email text table
append 'Pls see attached open purchase order report.' to it_message.
append '' to it_message.
concatenate 'Note: This is system generated report'
', figures may subject to actual physical count.'
into l_text separated by space.
append l_text to it_message.
Populate the subject/generic message attributes
CLEAR gd_doc_data.
READ TABLE i_download INDEX w_cnt.
gd_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( i_download ).
gd_doc_data-obj_langu = sy-langu.
gd_doc_data-obj_name = 'SAPRPT'.
if p_asdate is initial .
concatenate p_title ' '
sy-datum sy-uzeit into v_title separated by space.
else .
concatenate p_title ' '
p_bldat p_cputm into v_title separated by space.
endif .
gd_doc_data-obj_descr = v_title .
gd_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = i_download[].
Describe the body of the message
clear it_packing_list.
refresh it_packing_list.
it_packing_list-transf_bin = space.
it_packing_list-head_start = 1.
it_packing_list-head_num = 0.
it_packing_list-body_start = 1.
describe table it_message lines it_packing_list-body_num.
it_packing_list-doc_type = 'RAW'.
append it_packing_list.
Create attachment notification
it_packing_list-transf_bin = 'X'.
it_packing_list-head_start = 1.
it_packing_list-head_num = 1.
it_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES it_packing_list-body_num.
it_packing_list-doc_type = 'XLS'.
it_packing_list-obj_descr = 'OPEN PURCHASE ORDER' .
it_packing_list-obj_name = 'PO.XLS' .
it_packing_list-doc_size = it_packing_list-body_num * 255.
APPEND it_packing_list.
assign SAP user smtp address from successful retrieval.
loop at p_email.
Add the recipients email address
found_receiver = 'X' .
it_receivers-receiver = p_email-low.
it_receivers-rec_type = 'U'.
it_receivers-com_type = 'INT'.
it_receivers-notif_del = ''.
it_receivers-notif_ndel = 'X'.
append it_receivers .
endloop .
Add default recipient email when unable to locate purc group email
if found_receiver is initial .
it_receivers-receiver = p_email.
it_receivers-rec_type = 'U'.
it_receivers-com_type = 'INT'.
it_receivers-notif_del = ''.
it_receivers-notif_ndel = 'X'.
append it_receivers.
endif .
Call the FM to post the message to SAPMAIL
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = gd_doc_data
put_in_outbox = 'X'
commit_work = 'X'
importing
sent_to_all = gd_sent_all
tables
packing_list = it_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = it_receivers
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.
Store function module return code
gd_error = sy-subrc.
Get it_receivers return code
loop at it_receivers.
endloop.
Instructs mail send program for SAPCONNECT to send email.
wait up to 2 seconds.
if gd_error eq 0.
submit rsconn01 with mode = 'INT'
with output = ' '
and return.
endif.
ENDFORM. " f_send_internet_mailans
Maybe you are looking for
-
Swithed from an iPhone to a Droid and cannot recieve texts from iPhones
My iPhone recently stopped working and I had to switch to my old Droid. Now I cannot receive iMessages to my Droid. How can I unregister myself as an iPhone user so I can get texts on my Droid. My old iPhone will not turn on so it will have to be don
-
Net Price column should be in grey Mode
Hi All, I have one requirement. In ME21N Transaction the net price column should be in grey mode based on some vendors only. Those vendors will maintain in ZTable. If that vendor will give in ME21N then that line item netprice should be in grey mod
-
Inserting a guestbook page in iweb
Ok...so I'm not quite sure how this works but...I was wondering if it is at all possible to make a guestbook page in iweb? It seems strange that there isnt a template for a guestbook? someone please help!! Karlyn macbook Mac OS X (10.4.7)
-
How to use anchoring tool in Reports 6i
Hello, Can any one help me to how i can use the anchoring tool in 6i reports and what are the properties to be set to it. Thanks & Regards, Dinesh .M
-
What does refurbished actually mean?
I'm about to buy a refurbished Macbook but cannot see any explanation of exactly what has been refurbished? How can I find out this detail?