Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all 4841 articles
Browse latest View live

Re: PDF Printing as Scheduled job

$
0
0

Ajit,

ADS uses XDP files to build PDFs.  You may use Adobe LiveCycle Designer, found on the SAP Software Download Center website.  [Software Downloads | SAP Support Portal] You need to have download access to get the designer.  You can pass XML data to the action block Links to use as a data source (if you use Sample XML data as a connection type in LiveCycle), or you can define other connections within the form.  The action block uses the local print server set up on the same server as MII to print the documents.  You need to specify the printer and the print format or XDC file used for printing to a particular device.  Available XDC files may be found on the server under the \usr\sap\M15\SYS\global\AdobeDocumentServices\lib\ directory.

 

- Eric


Re: Alert for Production Exceeds than Target

$
0
0

Hi Deep,

 

For Triggering Alerts automatically, I would suggest you to create a Transaction which analyzes the data and raises alerts based on the conditions and Use MII scheduler to Run this Transaction at specific time interval say every ex : 5 min

 

Regards,

Sriram

Re: Date Controls in I5chart

$
0
0

It works for Time based Queries. But for this i dont think there is a easy work around. If this is crucial for you , may be you can request for this fix in a Patch.

 

Regards,

Sriram

Re: multiple inputs separated with commas

$
0
0

Hi Deepali,

 

I tried to understand and created a example as below.

1.png

I am providing Multiple Inputs in this text box which will go as Comma separated values

 

2.png

and in Script i will split these values and pass them to Xacute query as individual input parameters.

 

var EPROJ,ETYPE;
var txtValue=document.getElementById("inputtxt").value;
var valuesArray=txtValue.split(",");
EPROJ=valuesArray[0];
ETYPE=valuesArray[1];

 

//pass the values to XacuteQuery

 

Grid.getQueryObject().setParameter("Param.1",EPROJ);
Grid.getQueryObject().setParameter("Param.2",ETYPE);

 

Grid.update(true);

 

In workbench Xacute Query configuration looks like this.

 

4.png

 

So in the above example if i click Submit button in IRPT page. It will show the result as below.

 

3.png

 

Hope this helps.

 

Regards,

Sriram

Re: Issues with Applet while printing the web page.

$
0
0

Hi All,

We found a solution by analyzing the page height in the print layout and then have included page breaks explicitly that suits 2 layouts that we were supposed to be working with.

 

Thanks,

Swaroop

Getting Unable to load transaction Error in log viewer

$
0
0

Hello All,

 

I have created custom action also deployed successfully. However when i try to execute custom action through transaction I am getting `

Error executing transaction: Could not service request, Unable to load transaction [TMP9e023f70-b2cf-11e5-a293-cd2c0adf406f.trx] `.

 

I have checked my log, getting 2-3 errors and 2-3 warnings.

 

First Error:

Error occured while tring to execute the transaction [{0}], Exception: {1}

[EXCEPTION]

com.sap.xmii.bls.exceptions.TransactionLoadException: Unable to load transaction [TMP211e2920-b2ce-11e5-ce4d-cd2c0adf406f.trx]

at com.sap.xmii.bls.engine.TransactionExecuter.executeFromHttpRequest(TransactionExecuter.java:396)

at com.sap.xmii.servlet.Runner.service(Runner.java:85)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

at com.sap.xmii.servlet.ServletRunner.run(ServletRunner.java:80)

at com.sap.xmii.common.LocalServiceConnection.post(LocalServiceConnection.java:147)

at com.sap.xmii.xacute.common.ClientCatalogUtilities.postServiceConnection(ClientCatalogUtilities.java:2493)

at com.sap.xmii.xacute.common.ClientCatalogUtilities.postServiceConnection(ClientCatalogUtilities.java:2470)

at com.sap.xmii.xacute.transaction.TransactionUtilities.ExecuteTransaction(TransactionUtilities.java:962)

at com.sap.xmii.servlet.Catalog.handleExecuteTempTrx(Catalog.java:343)

at com.sap.xmii.servlet.Catalog.service(Catalog.java:244)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)

at com.sap.xmii.system.SecurityFilter.doFilter(SecurityFilter.java:117)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

at com.sap.xsrf.filter.XSRFProtectorFilter.doFilter(XSRFProtectorFilter.java:62)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)

at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:276)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)

at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)

at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

 

Second Error:

<?xml version="1.0" encoding="UTF-8" standalone="no"?><Rowsets DateCreated="2016-01-04T16:00:09" EndDate="2016-01-04T16:00:09" StartDate="2016-01-04T16:00:09" Version="14.0 SP4 Patch 0 (Nov 22, 2013)"><FatalError>Could not service request, Unable to load transaction [TMP211e2920-b2ce-11e5-ce4d-cd2c0adf406f.trx]</FatalError></Rowsets>

[EXCEPTION]

com.sap.xmii.bls.exceptions.TransactionLoadException: Unable to load transaction [TMP211e2920-b2ce-11e5-ce4d-cd2c0adf406f.trx]

at com.sap.xmii.bls.engine.TransactionExecuter.executeFromHttpRequest(TransactionExecuter.java:396)

at com.sap.xmii.servlet.Runner.service(Runner.java:85)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

at com.sap.xmii.servlet.ServletRunner.run(ServletRunner.java:80)

at com.sap.xmii.common.LocalServiceConnection.post(LocalServiceConnection.java:147)

at com.sap.xmii.xacute.common.ClientCatalogUtilities.postServiceConnection(ClientCatalogUtilities.java:2493)

at com.sap.xmii.xacute.common.ClientCatalogUtilities.postServiceConnection(ClientCatalogUtilities.java:2470)

at com.sap.xmii.xacute.transaction.TransactionUtilities.ExecuteTransaction(TransactionUtilities.java:962)

at com.sap.xmii.servlet.Catalog.handleExecuteTempTrx(Catalog.java:343)

at com.sap.xmii.servlet.Catalog.service(Catalog.java:244)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)

at com.sap.xmii.system.SecurityFilter.doFilter(SecurityFilter.java:117)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

at com.sap.xsrf.filter.XSRFProtectorFilter.doFilter(XSRFProtectorFilter.java:62)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)

at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:276)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)

at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)

at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

 

 

First Warning:

*** MISSING RESOURCE: Unable to localize Unable to load transaction [TMP211e2920-b2ce-11e5-ce4d-cd2c0adf406f.trx]

 

Can anyone tell me what am doing wrong or anyway to solve these errors?

Appreciate your help

 

Thanks,
Prasad Lingawar

Re: Call a restful webservice in MII

$
0
0

Hello,

 

yes, there were some uncaught exceptions in that. However problem has been solved as necessary SOAP service is available now.

 

I couldn't use ajax as I had to call the transaction through a scheduler.

 

I really appreciate your help.

 

Regards

Siddharth

Re: Unable to see the transaction list while creating Processing Rule

$
0
0

Hi Sriram,

 

Thanks for the response.. We are on SP05 Patch 0 and i am unable to find the SP06 in Market place.. Can you please let me know that how can I find the SP06 Patch in SAP service marketplace.. Also If you don't mine.. can you please send me the screenshot for the Patch in Market place.

 

Below are the error details in the Log Viewer..

 

Capture.PNG

 

Folder list cannot be loaded

[EXCEPTION]

com.sap.xmii.ejb.common.exception.ExecutionException: Folder list cannot be loaded

at com.sap.xmii.ejb.common.exception.ExceptionHandler.wrap(ExceptionHandler.java:55)

at com.sap.xmii.ejb.common.exception.ExceptionHandler.wrap(ExceptionHandler.java:40)

at com.sap.xmii.ejb.common.exception.ExceptionHandler.logAndWrap(ExceptionHandler.java:31)

at com.sap.xmii.ejb.common.browser.BrowserServiceBean.getFolderInfo(BrowserServiceBean.java:59)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext$InvocationContextImpl.proceed(AbstractInvocationContext.java:131)

at com.sap.xmii.ejb.common.AdministrationInterceptor.wrapRuntimeExceptions(AdministrationInterceptor.java:50)

at com.sap.xmii.ejb.common.AdministrationInterceptor.assertHasPermission(AdministrationInterceptor.java:38)

at sun.reflect.GeneratedMethodAccessor384.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Application.invoke(Interceptors_Application.java:53)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MethodRetry.invoke(Interceptors_MethodRetry.java:46)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:23)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)

at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)

at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:172)

at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:99)

at com.sun.proxy.$Proxy590.getFolderInfo(Unknown Source)

at com.sap.xapps.xmii.ui.admin.common.TransactionTreeProvider.getFolder(TransactionTreeProvider.java:46)

at com.sap.xapps.xmii.ui.admin.common.browser.BrowserView.onPlugIn(BrowserView.java:334)

at com.sap.xapps.xmii.ui.admin.common.browser.wdp.InternalBrowserView.wdInvokeEventHandler(InternalBrowserView.java:216)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:142)

at com.sap.tc.webdynpro.progmodel.window.ViewController.invokeInboundPlugHandler(ViewController.java:446)

at com.sap.tc.webdynpro.clientserver.cal.NavigationManager.processInboundPlugQueue(NavigationManager.java:305)

at com.sap.tc.webdynpro.clientserver.cal.NavigationManager.navigate(NavigationManager.java:320)

at com.sap.tc.webdynpro.clientserver.phases.NavigationPhase.execute(NavigationPhase.java:63)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:162)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:110)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseLoop(WindowPhaseModel.java:101)

at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processPhaseLoop(WebDynproWindow.java:548)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.handleWindowHierarchyChanges(AbstractClient.java:111)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1671)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1485)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:908)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessing(ApplicationSession.java:880)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:357)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:326)

at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)

at com.sap.tc.webdynpro.serverimpl.wdc.DispatcherServlet.doContent(DispatcherServlet.java:101)

at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:62)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)

at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:373)

at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:499)

at com.sap.tc.webdynpro.serverimpl.wdc.ForwardServlet.doPost(ForwardServlet.java:77)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)

at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:466)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)

at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)

at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)

at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

Caused by: java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 4

SAP\ModuleLibraries\PP\Responses/META-INF

    ^

at java.util.regex.Pattern.error(Pattern.java:1713)

at java.util.regex.Pattern.escape(Pattern.java:2177)

at java.util.regex.Pattern.atom(Pattern.java:1952)

at java.util.regex.Pattern.sequence(Pattern.java:1885)

at java.util.regex.Pattern.expr(Pattern.java:1752)

at java.util.regex.Pattern.compile(Pattern.java:1460)

at java.util.regex.Pattern.<init>(Pattern.java:1133)

at java.util.regex.Pattern.compile(Pattern.java:823)

at java.lang.String.replaceAll(String.java:2231)

at com.sap.xmii.system.PathBasic.parseFullPath(PathBasic.java:163)

at com.sap.xmii.system.PathBasic.setFullPath(PathBasic.java:40)

at com.sap.xmii.sqlj.PathsDAO.populate(PathsDAO.java:909)

at com.sap.xmii.sqlj.PathsDAO.getPathHiearchyWithWeb(PathsDAO.java:306)

at com.sap.xmii.system.FileManager.getPathHiearchyWithWeb(FileManager.java:1959)

at com.sap.xmii.system.FileManager.getFolderInfoList(FileManager.java:1494)

at com.sap.xmii.ejb.common.browser.BrowserServiceBean.getFolderInfo(BrowserServiceBean.java:57)

... 104 more .


Thanks & Regards,

Raviteja.


Re: Imported projects are not visible in the list --> In MII 15.0

$
0
0

Thanks Swaroop and Salvatore.. after restarting the instances it is working fine..

iChart rendering error: Unknown stream error: com.sap.xmii.protocol.ProtocolException...

$
0
0

Hi. I am new and working through the SCM380 course notes.

 

In one lab using iCharts (exercise 4) I keep getting the following error:

 

"Unknown stream error: com.sap.xmii.protocol.ProtocolException: Unknown row type: 65."

 

I've checked the XML for this (which is pulled from PCo Simulator) as:

 

<Column SourceColumn="L1Speed" SQLDataType="8" Name="L1Speed" MinRange="0" MaxRange="100" Description="L1Speed"/>

 

I am using 15.0 SP5 patch 6 (Dec3, 2015).

 

I *believe* datatype 8 is Double. Is there something I am doing wrong? Seems to work if I use SAPUI5 (instead of applet).

 

 

SCM380_AppletError.png

SCM380_AppletError2.png

 

Thanks,

w.

Re: iChart rendering error: Unknown stream error: com.sap.xmii.protocol.ProtocolException...

$
0
0

Hi Wayne,

Seems like problem with x-axis value. Can you change NA to some other values.

 

Thanks,

Swaroop

MII Database tables [XMII_DBGVARS] and [J2EE_CONFIGENTRY] Very Large!

$
0
0

After some DB house cleaning I now have these two table as the largest in the database.  Googling gives me no information, and I wanted to see if anyone know what purpose they server, and if it is safe to TRUNCATE them in the database.  I found old entries in other tables such as [XMII_DBGLOGS], which had old info from go-live 4-years ago.  Huge reduction in space, so wondering about these other two tables.

 

We have four MII instances: MII v12.2 (3), MII V14.x (1)

 

Here are a few example rows from each:

 

[XMII_DBGVARS]

TRXID         SEQNUM    STAMP                   VARNAME                        VARVALUE    VARTYPE

25181402    5066288    1409230286539    ProductionLineLoop.CurrentItem    1    integer

25181402    5066278    1409230261520    ProductionLineLoop.CurrentItem    1    integer

25181402    5066268    1409230246620    ProductionLineLoop.CurrentItem    1    integer

25181402    5066258    1409230226312    ProductionLineLoop.CurrentItem    1    integer

25181402    5066248    1409230206497    ProductionLineLoop.CurrentItem    1    integer

25181402    5066238    1409230187837    ProductionLineLoop.CurrentItem    1    integer

 

Only one of the four instances has data in this table, which is sitting @1.018 GB in size!   MII v12.2

 

[J2EE_CONFIGENTRY]

CID    NAMEHASH    ISFILE    NAME    DTYPE    VBIGINT    VDOUBLE    VSTR    VBYTES    FBLOB

-9223372036854775700    1489654279    2    CFG_MODIFICATION_TS    22    1228822109236    0    NULL    NULL    NULL

-9223372036854775699    -1731816848    0    isInUpgradeMode    25    0    0    NULL    NULL    NULL

-9223372036854775699    1489654279    2    CFG_MODIFICATION_TS    22    1228822109236    0    NULL    NULL    NULL

-9223372036854775698    1489654279    2    CFG_MODIFICATION_TS    22    1228822109236    0    NULL    NULL    NULL

 

All four instances have around 650 MB of data in this table. 

 

It had been about four years since a contractor installed the MII application and developed the initial screens/transactions.  Unfortunately, not all cleanup and set was done.  Recently we started having some disk space pressure, which prompted me to start looking at table size.  Correct, I should have been monitoring already, but DB admin only one of many hats I wear.

 

In the most dramatic instance of table clean up, the database size was reduced by 16 GB of useless space!  The main culprits were the tables [XMII_JCOMESSAGES] and [XMII_TRANSACTIONS], both of which I truncated, and corrected the Message and Scheduler Persistence and Logging to catch errors only.

 

 

If anyone does answer and suggest truncation, please give good reasoning and any web links to support your recommendations.

 

Thank,

Dan K

Integer to Binary and Binary to Hexadecimal

$
0
0

Hello everyone,

 

is there a funtion to convert from integer or decimal to binary and a binary to hexadecimal.

 

Thank you for your help

Re: SAPSCRIPT & FORMS access from MII

$
0
0

Hi Hari, I am new to SAP -LOFTWARE integration. Can you please help me with some steps on how to approach.

 

I have designed a label in LLM (Loftware Label manager) , I understand that I need to save that in print data file format and upload this file in SAP to create SAP SCRIPT

 

What should I do once the SCRIPT is created in SAP. Do I have to ask SAP WM Functional resource to configure that SAP SCRIPT in configuration and I need to develop a trigger program to pass data to that script - so that the label in the script be printed ?

 

OR

 

DO I need to create a XOM interface and pass data to Loftware and loftware will select the concerned label and print that?

 

I am very confused, can you please guide me

Re: Integer to Binary and Binary to Hexadecimal

$
0
0

Hi Sam,

We do not have a built in function to help you in your case. You may have a look on JS based conversions or some api that you can integrate.

 

Regards,

Swaroop


Re: Integer to Binary and Binary to Hexadecimal

$
0
0

Samuel,
As Swaroop noted there is nothing built in that I am aware of. Here are some ideas you can also try:

 

  • Use an SQL query to do the conversion.
  • Use an xsl transform, possibly calling some static java methods.
  • Develop a custom action

 

What is your use case?

 

Regards,
Christian

Re: MII Database tables [XMII_DBGVARS] and [J2EE_CONFIGENTRY] Very Large!

$
0
0

I think you are safe cleaning out XMII_DBGVARS. This looks like it and the other *DBG* tables store some data when you are debugging a transaction in the workbench. I did some testing on my own to confirm this. I don't think there is any data in there needed/worth keeping.

 

I think J2EE_CONFIGENTRY might be an important table for Netweaver. You might have to ask in the Netweaver forums about that one.

 

Regards,
Christian

Re: Integer to Binary and Binary to Hexadecimal

$
0
0

Brilliant suggestion Chris!! I personally liked SQL one.

 

Thanks!!

 

-Swaroop

Re: MII Database tables [XMII_DBGVARS] and [J2EE_CONFIGENTRY] Very Large!

$
0
0

Thank you for looking into my questions and doing a little testing, I appreciate it!  I was thinking along the same lines about these tables.  With a copy of the database, I feel comfortable truncating the XMII_DBGVARS table.  As you suggest, the XMII_CONFIGENTRY table may be important and I will leave it for now.  I will revisit if it starts to cause disk usage pressure.

 

BR,

Dan K

Dynamic Internationalization / Localization

$
0
0

Hello!

 

We have MII work centers on the manufacturing floor that run under "dummy" accounts (ex: workcenter1 login). That login is set to use a language setting of "es" (Spanish). We have many different users throughout the day who clock in and out of the MII application, but the single dummy account is who is actually logged in. Meaning: each workcenter user does not login / logout throughout the day. The application stays running under the dummy account.

 

I have a requirement to allow users to change the language setting within the application as they see the need. In the example above - the default setting is Spanish, but maybe that particular user is more comfortable reading English. They need to be able to, on the fly, set the new language and have the page render correctly.

 

I have defined 2 bundle files: MII_en.properties and MII_es.properties and placed a few label names inside each. If I change the dummy user's language preference in their account and log out and log back in under that dummy account, the new language takes affect as I'd expect. The labels are read from the correct bundle file.

 

However, if I try to programmatically, within the MII application, set the session variables for Language, Country, locale and Locale - it has absolutely no effect on the page or resource bundle that's chosen! I always see the labels as they were when the user logged in.

 

In "normal", non MII, web development (think: Java/Spring/JSP stack), I can create a dropdown list for the user to choose their session language dynamically and refresh the page. The correct resource bundle gets picked up and the language renders correctly. I don't need the user to log out and log back in.

 

Is this same functionality not available in MII? Am I required to have the user log out and log back in?

Viewing all 4841 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>