Quantcast
Channel: SCN : All Content - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all 1775 articles
Browse latest View live

Issues with printing applets with page breaks....xMII

$
0
0

Dear Experts,

 

We have a screen with somewhere about 29 applets. The applets have been displayed in <td>,<tr> with headers for each. While we print the page, it breaks out between header and the apple. Consider the case, header goes in page 1 and applet corresponding to the same goes to another.

 

We have tried setting page breaks dynamically, but that too is partially supported in IE, hence it works sometimes, and doesn't work sometimes.

 

Wouls appreciate if you can suggest some easy way of getting the print out.

 

Thanks in advance.

 

Regards,

Swaroop


Calling Webservice by passing parameters and reading data from WITSML format

$
0
0

Hello Experts,

 

I need to make a connection between my SAP MII 12.2.0 and Fanuc Proficy Historian. Since there are certain constraints for access. So Historian people are giving me a web service (*****.asmx) path to retrieve the data. I need your help to get the data. See the complete scenerio below.

 

1.) I will be having a web service (*****.asmx)

 

2.) I need to call that web service with my SAP MII 12.2 system.


3.) I need to pass three parameter (e.g. Well name, Tag, Time )  and the web service will return the data in WITSML format (looking like a XML kind).


4.) I have to read the data from WITSML file for corresponding tag that i had passed .(say it will give Value , UOM)

 

Now, I want to implement this whole set. Please help me if this is possible and if yes then how to do it step by step.

 

Regards,

Gaurang

Bypass 500 internal server error

$
0
0

Hi Experts,

 

As we all know we get 500 internal server error at SAP Netweaver server due to some issues . Is there any way to bypass this error.

 

I mean to say I need to provide another error message to the user rather than the default (attached)  error message.

 

Thanks in advance

Shaji

Custom Chart

$
0
0

Hi,

 

I need to develop a custom chart with bar and line as shown in below image. (Actual values in Bar and Goal values in line).

In bar I should set color dynamically based on condition if Actual>=Goal set green else red to bar.

Also please help on how to set the thickness of line here and circle.

 

 

Can anyone help me on this chart.

Your help would be appreciated.

 

Regards,

Padma

MII JRA Connection to ECC Message Server

$
0
0

Hello,

 

I'm trying to establish a connection between MII 12.0/NW 7.0 and our new ECC system using the JRA Connector.

 

In the past we've used a JCo connection to call function modules in SAP R/3. We're currently upgrading our R/3 system to ECC 6 and would like to take advantage of load balancing, which JCo doesn't support.

 

Currently, I have deployed the sapjra.rar file with the following parameters,

 

MessageServer = ascsECQ.idexxi.com

SystemID = ECQ

Group = PUBLIC

Language = EN

UserName = miirfc

Password = ******

 

I have also set Auth Type to "Caller Impersonation."

 

In the workbench, I'm trying to use the JRA Start Session and JRA Function Call action blocks. I have configured the Start Session action block to use the appropriate "sharable" JRA Connector. When I go into the Function Call action block configuration and click the "Get List" button to get a list of Function Modules from ECC, I get an error,

 

JRAProxy error: Entry not found

 

I also notice in the NetWeaver logs that I get this error information,

 

JCO Proxy Error (handleList): Couldn't create ManagedConnection with . {jco.client.lang=EN, jco.client.passwd=****, jco.client.user=miirfc, jco.client.jra_conn=true, jco.client.mshost=ascsECQ.idexxi.com, jco.client.type=B, jco.client.group=PUBLIC, jco.client.r3name=ECQ}

 

The only thing I see wrong with this, is according to the SAP API for the JCo class, the value for jco.client.type should be "3" for R/3. But I don't know how to set that value or even if that's what's causing the problem.

 

I have also tried entering username and password information in the Start Session action block and checking the "Use Local Settings" check box but it still gives the same error.

 

Sorry for the lengthy post, any help would be appreciated.

Has anyone found a way to render irpt pages onto a windows mobile 5.0 device or discoved a java load for this type of device which will render irpt applets?

$
0
0

Has anyone found a way to render irpt pages onto a windows mobile 5.0 device or discoved a java load for this type of device which will render irpt applets?

Problem: transactionid value -1

$
0
0

Hello

I'm using MII 12.2(.5)

 

In a transaction I use the transactionidstandard function for a variable assignement.

 

If I run the transaction using manual commmand (CTRL+F5) it works fine.

If I run the transaction using a scheduled job (System management->Scheduler), it returns always -1 value. The same issue if I run the transaction using both webservice and HTTP call.

The user used in all the calls is the same.

 

Do you have any idea about the issue?

 

Thank you a lot

Fabio

XSL_Transformation on 12.1

$
0
0

Hi,

 

I get this error on my XSL_Transformation block in my Transaction:

[ERROR] [XSL_Transformation_1]XSLTransform error: Could not compile stylesheet

 

This happens in the new Box we just configured not in our old Box. Old Box works like a dream.

 

Both box on 12.1.8 Build(36)

 

Any one has an idea whats going on here?

 

Regards,

Bheki


ConnectionException on creating UDC connection

$
0
0

Hi All

 

I am on SAP MII 12.2 and while trying to create a UDC connection,I am getting the following error :

 

Unable to create socket connection

[EXCEPTION]

java.net.ConnectException: Connection refused

at java.net.PlainSocketImpl.socketConnect(Native Method)

 

 

Can some one please help with some pointers?

 

Regards

Shweta

Base KPI - MII 14.0.2 Save Error

$
0
0

Creating a demo in 14.0.2 for a Base KPI. Using a simulator tag read for my Data Provider. Have mapped all the columns names to available dimensions. The test / run executes fine. When going to save it in the workbench I get an error - Invalid Mapped Column Name For Attribute Value.

 

Not sure if this is a bug, cannot find any release / patch notes out on Service Marketplace.

 

Any help would be appreciated.

 

Thanks

Converting data from XML format to SQL Format

$
0
0

Hi All

 

This may sound very basic but i need help with the following :

 

I have a BLS transaction which has to read data from ECC using JCO connections and then store it in a SQL database.

Can some body please tell me how can i convert the data that i obtain from JCO in the form of XML into a form which can be inserted into the SQL database.

 

Please help.

 

Regards

Shweta

unable to send email - 503 5.5.2 Need Rcpt command.

$
0
0

Hi,

I created a new transaction in MII for sending emails.

 

I created the transaction variables for To address, Subject and for the body of the email. Configured the SMTP server details and the from address in

the transaction.

 

While I hardcode the values in the xacutequery of the transaction, the transaction is working fine and the email has been sent to the specified email address.

 

I am using MII 12.1.10 Build (71)

 

But while passing the values from the web page where other transactions are being executed before this send email transaction, the send email transaction is not working. I am getting the below error.

 

All your support/help in solving this issue are appreciated.

 

 

Unable to send email
[EXCEPTION]
com.sun.mail.smtp.SMTPSendFailedException: 503 5.5.2 Need Rcpt command.

at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1515)
at com.sun.mail.smtp.SMTPTransport.data(SMTPTransport.java:1308)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:636)
at com.sap.xmii.storage.connections.MailConnection.sendMail(MailConnection.java:206)
at com.sap.xmii.bls.executables.actions.mail.MailActions.send(MailActions.java:223)
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:592)
at com.sap.xmii.bls.engine.ReflectiveAction.doExecute(ReflectiveAction.java:788)
at com.sap.xmii.bls.engine.BaseNode.executeNode(BaseNode.java:200)
at com.sap.xmii.bls.engine.BaseAction.execute(BaseAction.java:86)
at com.sap.xmii.bls.engine.runners.ProductionRunner.runAction(ProductionRunner.java:147)
at com.sap.xmii.bls.executables.sequences.Sequence.execute(Sequence.java:50)
at com.sap.xmii.bls.engine.runners.ProductionRunner.runSequence(ProductionRunner.java:126)
at com.sap.xmii.bls.executables.sequences.RootNode.execute(RootNode.java:39)
at com.sap.xmii.bls.engine.TransactionInstance.execute(TransactionInstance.java:1012)
at com.sap.xmii.bls.engine.TransactionInstance.run(TransactionInstance.java:687)
at com.sap.xmii.Illuminator.connectors.Xacute.XacuteRequestHandler.processQueryRequest(XacuteRequestHandler.java:346)
at com.sap.xmii.Illuminator.connectors.Xacute.XacuteRequestHandler.QueryRequest(XacuteRequestHandler.java:137)
at com.sap.xmii.Illuminator.connectors.Xacute.XacuteConnector.doProcessRequest(XacuteConnector.java:86)
at com.sap.xmii.Illuminator.connectors.AbstractConnector.processRequest(AbstractConnector.java:83)
at com.sap.xmii.Illuminator.server.QueryEngine.run(QueryEngine.java:41)
at com.sap.xmii.Illuminator.services.handlers.IlluminatorService.processRequest(IlluminatorService.java:74)
at com.sap.xmii.Illuminator.services.ServiceManager.run(ServiceManager.java:69)
at com.sap.xmii.servlet.Illuminator.service(Illuminator.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:162)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:81)
at com.sap.xmii.system.SecurityFilter.doFilter(SecurityFilter.java:96)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73)
at com.sap.xsrf.filter.XSRFProtectorFilter.doFilter(XSRFProtectorFilter.java:62)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:469)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:299)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:399)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:388)
at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:84)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:244)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
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.MemoryStatisticFilter.process(MemoryStatisticFilter.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.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
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:428)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
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:327)

How to use pdf action block

$
0
0

Hi all,

 

Please help me in how to use pdf action blocks.

Need help on SAP MII projects.

$
0
0

I got trained in SAP MII. But, till now i haven't done single project, just i am practicing in the tool itself. I want to learn things like how the projects will be, how the requirements will be and what we have to do in developement.
If possible please share me some REAL TIME PROJECTS or else just tell some requirements which came from clients, so that i will get real time knowledge on it.

 

Please help me....

 

Thanks & Regards
Ravitieja

Issue PDF documente MII 12.2

$
0
0

Hi expert, a very strange error occurred.

When  i try to create a  PDF document after the click on Configured object, this error appears :

 

Error PDF.png

The deploy of PDF ZIP file worked fine,mi followed this instructions : http://scn.sap.com/thread/2136305. The others components in PDF folder works fine.

In MII 12.0 i used a lot of times this action without problem but here I 'm not so lucky.

 

Any idea?

 

Regards

Andrea


Pco 2.1 Tags Issue

$
0
0

Hi All,

 

Installation & Config:

Plant Connectivity 2.1 installed

Source created successful with OPC DA server

Agent also started successful. And in Subscription Item, browsing all the Group tag and in available tags.

 

MII Setting:

I Created MII Data connection with UDC Connection type and status shows running

 

After that i have created Tag query with data server (UDC) with mode "Current", its showing tag groups but in 'Tag Available' option it shows loading symbol for a minute after that its blank.

 

Your help on this will be highly appreciated

 

Regards,

Praveen Reddy

IDoc from SAP ERP: can't register RFC

$
0
0

Dear experts,

I've just installed MII 12.2 over a SAP Netweaver 7.30 Java stack. I'm now trying to set up the connection between MII and SAP ERP 6.0 EHP6 so that ERP sends data to MII through IDocs.

For this, I'm following the guide called "How to Send an IDoc from SAP ECC to the SAP MII IDoc Listener (MII 12.1 to ECC 6.0)" by Michael Appleby, which I've found here on the SCN.

 

Now, I have to say that I did the same thing a few weeks ago, connecting the ERP Development system to the MII Development system. After a bit of trial and error, I succeeded. Now I'm trying to connect the Production systems, which are identical to their Development counterparts: I thought it would be a smooth procedure, instead I stuck because I can't register the RFC on the ERP gateway (the test on page 10 in the guide fails) and I can't understand what I'm doing wrong.

 

This is the SM59 log:

Connection Error

Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=67

ERROR: program XMIIDOC06 not registered

LOCATION: SAP-Gateway on host ERPhost.domain.local / sapgw20

DETAIL: TP XMIIDOC06 not registered

 

I've checked the logs in the NWA of the Netweaver where MII is running, and I've found these messages:

[JRA]serverExceptionOccurred. Server XMIIDOC06, JCoDispatcherWorkerThread, connectionId=5-ERPhost.domain.local|sapgw20|XMIIDOC06, Exception: com.sap.conn.jco.JCoException: (102) JCO_ERROR_COMMUNICATION: no message received (remote system is MIIhost|XMIIDOC06)

 

On the ERP side, on the dev_rd log I find these messages:

Wed Sep 11 12:21:19 2013

***LOG Q0I=> NiIRead: P=10.0.1.29:64604; L=10.0.1.49:3320: recv (10054: WSAECONNRESET: Connection reset by peer) [nixx

*** ERROR => NiIRead: SiRecv failed for hdl 74/sock 760

    (SI_ECONN_BROKEN/10054; I4; ST; P=10.0.1.29:64604; L=10.0.1.49:3320) [nixxi.cpp    5087]

***LOG Q0I=> NiIRead: P=10.0.1.29:64605; L=10.0.1.49:3320: recv (10054: WSAECONNRESET: Connection reset by peer) [nixx

*** ERROR => NiIRead: SiRecv failed for hdl 66/sock 756

    (SI_ECONN_BROKEN/10054; I4; ST; P=10.0.1.29:64605; L=10.0.1.49:3320) [nixxi.cpp    5087]

***LOG Q0I=> NiIRead: P=10.0.1.29:64606; L=10.0.1.49:3320: recv (10054: WSAECONNRESET: Connection reset by peer) [nixx

*** ERROR => NiIRead: SiRecv failed for hdl 113/sock 752

    (SI_ECONN_BROKEN/10054; I4; ST; P=10.0.1.29:64606; L=10.0.1.49:3320) [nixxi.cpp    5087]

***LOG Q0I=> NiIRead: P=10.0.1.29:64607; L=10.0.1.49:3320: recv (10054: WSAECONNRESET: Connection reset by peer) [nixx

*** ERROR => NiIRead: SiRecv failed for hdl 121/sock 476

    (SI_ECONN_BROKEN/10054; I4; ST; P=10.0.1.29:64607; L=10.0.1.49:3320) [nixxi.cpp    5087]

 

10.0.1.29 is MIIhost and 10.0.1.49 is ERPhost.

 

It appears MII thinks ERP is not responding, while ERP thinks MII resets its connection?!

 

I'm pretty sure I did the same steps as when I successfully configured the development systems.

When I run the RFC registration, I can see the connection from MII appear in SMGW, with status "Connected". So they are definitely talking. That entry disappears after a while.

On both MIIhost and ERPhost the firewall is off (those are both Windows Server 2008 R2 systems). On ERP I've created reginfo.dat and secinfo.dat to allow the connection from MIIhost. The RFC user and password is correct and it's using the SAP_ALL profile. I don't know what else to try to troubleshoot this issue.

 

Do you experts have any suggestions?

 

Thanks, kind regards.

--

M

Multiple Y-axis on charts in SAP xMII..!!!

$
0
0

Hi Team,

 

Can we have multiple y-axis on a chart in SAP xMII? If someone has any pointer, please share.

 

Thanks in advance.

 

Regards,

Swaroop

Workaround/Alternate solution for waterfall chart

$
0
0

Hi Experts,

 

Can anyone help me any workaround or alternate way to achieve this chart.

 

Please find the CSS Ticket number 0000779808 2013 to check the details.

 

Appreciate any help.

 

Warm Regards,

Padma

Upgrade from xMII 11.5 to MII 14.0 Causing Process to Run 5x longer

$
0
0

We recently upgraded a plant from xMII 11.5 to 14.0.2 Build(93) and are experiencing extreme slowness from exact transaction/query copies migrated from 11.5. 

Any thoughts on why transactions calling simple queries and BAPIs would jump from 30 seconds in 11.5 to over 4 minutes in 14.0 to complete?

 

Thanks,

Brad

Viewing all 1775 articles
Browse latest View live