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

How can i check whether third party data hits our MII transaction or not?

$
0
0


Hi Guys,

 

In my project we are developing one interface in MII, which will act as middleware between OTM and SAP system.

If the OTM send the data to "XXXX" transaction in MII, How can we check whether that OTM data hits "XXXX" transaction or not.

And please let me know that is there any option to save enite data which is in Debug window.


How to pass start and end date and time in SAP MII url

$
0
0

How to pass start and end date and time in SAP MII url?

Unable to Pass Parameters to I5Grid - SAP MII 14.0

$
0
0

Hi Experts,

I am using SAP MII 14.0 SP04 version. I have a scenario where I am creating a Report using an I5Grid. Based on some selection parameters on my web page, I want I5Grid Data to be refeshed.

 

Code:

 

var GridA = new com.sap.xmii.grid.init.i5Grid('UIGridPath', 'Query');

GridA.setGridWidth("1550px");

GridA.setGridHeight("800px");
GridA.draw("GridA");

 

I  tried passing parameter  to this grid as follows:

 

Grid.getQueryObject().setParam("1", Value);

Grid.getQueryObject().setParameter("1", Value);

 

GridA.refresh; or GridA.Update(true);

 

But grid data does not get refresh. Need to know, if this is a bug in SAP MII 14.0 or if I am doing some mistake in passing these details.

 

Appreciate your help with this.

Reading File from a Desktop/ShareFolder in SAP MII 14.0

$
0
0

Dear Experts,

 

I have a situation where I want to read a CSV file from a source different than SAP MII server. Basic intention is to read a file from a desktop or some shared folder.

 

My first doubt is- Is it really possible in SAP MII 14.0 version?

 

But still I tried doing the same. Used Get File Text Loader action and text loader and provided file path from desktop which gives me an error. Here's the syntax I tried with mask as .csv:

 

  • C://Users/XXX/Desktop
  • C:\Users\XXX\Desktop
  • C:/Users/XXX/Desktop

 

Error I get is as follows:

 

  • [ERROR] [Get_File_List_0]GetFileList: Access to the file path /C://Users/XXX/Desktop is not allowed

 

Please advise, if it is really possible in MII 14.0 . If yes, Am I missing any steps?

 

Regards

Problem in BLS opening

$
0
0

Hi,

 

I am working with MII 14 and facing problem when I open workbench on my system.

The icons like Save , Save all , Delete ,Close , Find etc which appear just below File , Edit menu are spread over the screen.

screenshot below.

 

Even the alert message is not appearing completely.

JDK version on my system jdk 1.6.0_23  and jdk 1.7.0_25.

I tried with both version , but the problem is same.

 

Under system log below is the message

Deprecated scope of type SERVERSESSION_AT_LEAST_ONE_APP_SCOPE is used! Please replace the usage of scopes with new mechanism based on "Cross application session communication API".

 

Can  any please help me to sort this issue?

Thanks

Vishal Jadhav

 

 

Workbench.png

Need to pass the URL parameters dynamically not hard-coded

$
0
0

I am passing the values through a query template:

 

SET NOCOUNT ON

DECLARE @StartDate DateTime

DECLARE @EndDate DateTime

SET @StartDate = DATEADD(minute,60,'[Param.2]')

SET @EndDate = DATEADD(minute,60,'[Param.3]')

SET NOCOUNT OFF

SELECT TagName, DateTime, Value

FROM History

WHERE TagName IN ('[Param.1]')

AND wwRetrievalMode = 'Cyclic'

AND wwCycleCount = 500

AND wwVersion = 'Latest'

AND DateTime >= @StartDate

AND DateTime <= @EndDate

 

And declaring in the Transaction Details:

 

tagString      FEN_01_AMIX_ASIDE.FLOw

StartDate     2014-04-21 10:00:00

EndDate      2014-04-22 12:00:00

 

But every time I change the dates in the url it does not show the new dates it keep on showing the above dates.

 

For instance if I do the following:

 

http://<server>:50000/XMII/Illuminator?IsTesting=T&QueryTemplate=HistQuery/WebServices/WebServicesFENHist&SD='4/20/2014 10:00:00'&ED'4/20/2014 12:00:00'=&OutputParameter=OutputDocument&Content-Type=text/html

 

It still shows the content for

StartDate     2014-04-21 10:00:00

EndDate      2014-04-22 12:00:00

 

 

instead of

StartDate     2014-04-20 10:00:00

EndDate      2014-04-20 12:00:00

UI5 chart and grid loading time

$
0
0

Hi Experts,

 

I m working on UI5 chart and grid in SAP MII 14.0.

 

When i load my pages,it takes lot of time on intial load.

 

Is their something which i missing in my code or any property i need to set?

 

Thanks in advance.

 

 

Please guide.

 

 

 

Regards,

Neha

KPI Monitoring tables

$
0
0

Hi All,

 

In one of my scenario, I need to pick the property of "Ranges" from the KPI configuration.

Can any one tell me the table name from which I can able to pick those values?

 

i.e On creating the KPI we declare the range for "red,yellow,green". I need to get the ranges from the table of netweaver database.

 

Can you please help me with the table name?. I searched many tables that details not present.

 

 

Regards

R.Prakash


Energy Template - Technical documentation missing?

Update not working in KPI Monitoring

$
0
0

Hi All,

 

I am using SAP MII 14.0 SP4 patch5.

In the "lifecycle" of the KPI definition I have selected the mode as "Update". But each time of my run job I am getting the new set of data. I think its appending the data instead of update. Let me know how to avoid it?. It's a bug or how?

 

Please advice?

 

 

Regards

R.Prakash

Webservice call from PCo; FaultException: Authorization fail

$
0
0

Hi,

 

I am making a ME Webservice call from PCo.

 

I have configured Destination System, added a service in Configuration tab.

Using 'Test request message', i tested the call with all required inputs, the object is created in ME system.

 

When the same service is triggered from PLC > PCo, the call fails and i see the following message in Log tab.

 

UserName/password is correct..

All the required systems are running.

 

PCo-WS-Call-Fail.PNG

Log:

 

ME Dispatcher Could not dispatch Message [id = 75c405c5-24d4-4f70-b19a-87f6b6ae0413].

FaultException: Authorization failed. Please check security log for details.

 

Server stack trace:

   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)

   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)

   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)

   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)

   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)


Exception rethrown at [0]:

   at SAP.Manufacturing.Connectivity.WSDestination.WSDestination.Send(Guid notificationID, Dictionary`2 requestValues)

   at SAP.Manufacturing.Connectivity.WSDestination.WSDestination.Send(NotificationMessage message)

   at SAP.Manufacturing.Connectivity.Dispatcher.ProcessMessage(NotificationMessage message, DestinationBase destination)

   at SAP.Manufacturing.Connectivity.Dispatcher.DispatchMessageExecute(Message message, Boolean unlockMessage, Boolean& stopDispatcher)

 

Am I missing anything?

 

Version:

ME: 6.1.4.9

PCo:  2.3

 

Thanks,

MII 14.0 PIC Data Server

$
0
0

Hi Experts,

 

I m working on MII 14.0 PIC.

 

My requirement is, i want to map tag to heirachy from PCo and sql data server.

 

I m able to map PCo but not sql.

 

Is their any way to map Sql data server in PIC?

 

Thanks in advance.

 

 

Regards,

Neha

Energy Analysis with SAP MII - Documentation Missing?

$
0
0

Hi All,

 

I am currently evaluating the solution available in SCN - Energy Analysis with SAP MII (https://store.sap.com/sap/cp/ui/resources/store/html/SolutionDetails.html?pid=0000000337).

 

I've downloaded the package assuming it will include mentioned documents (Application and Technical guides) as in the solution writeup, but those documents are missing. On further search, I could find the application guide but still not able to trace the required technical document. I see some enquiries for the same in SCN, but they are open ended for sometime ago.

 

Now, am seeking the help again hoping the issue is resolved and someone might have gotten the document.

 

Thanks,

Surya

 

 

 

Leverage NW Data Server From JSP

$
0
0

Hello,

 

From the MII Workbench we created a JSP which allows the user to browse to a file and then, when the page is submitted, the file gets uploaded to an Oracle database.  For our test case, the Oracle connection info is in the JSP in Java code.  The same connection information is already in a NetWeaver Data Server.  How can we leverage the Data Server so that we do not need the conneciton info in the JSP?  Is there a way to connect through the JSP or at least get the connection info from the Data Server?

 

Thank you,

Mike

How to add data to a new xml file

$
0
0

Hello,

 

I am new to MII and have some trouble combining my data.

i have a transaction that uses a pco query a couple of times. ( not a fixed number )

 

as example i will use 4.

 

every time the query is used i end up with a xml file.

But i need a way to take these 4 xml files and combine them into 1 xml file with the 4 rowsets in it.

is there a way with the MII tools in the workbench to create a new xml file and every time my query is used to add the rowsets to it?

I beleave it has something to do with rowset but i can not find how to keep adding to a xml.

i always end up with just the data from the last time my query performed. (it keeps overwriting it)

how do i do this?

 

withe friendly greetings

 

Greg


Simulating data

$
0
0

Hi,

 

Is there any possiblity to simulate the data from sql database, if so can you guide me the process.

 

Thanks,

Raveen

Query the MII log database

$
0
0

Hi,

 

I'm trying to figure out how to query the MII logs. I can look at the logs using the Log Viewer from the MII Portal but I'd like to query the log from within a MII transaction (to check states of transactions, etc). (We're running MII Version 12.1.7 Build(50)).

 

Is this possible? And if so, how?

 

Kind regards,

 

Thomas

Map XML content to RFC Input parameters

$
0
0

Hello

 

 

I have a MII Transaction that opens a xml file from a legacy system, this transaction have to handle the content of that XML file and fill out the BAPI_PRODORDCONF_CREATE_TT parameters.

 

 

My transaction is already reading the XML using Reference Document Loader, this feature is working properly.

 

 

The question is... what are the different ways to map my XML to the RFC parameters ?

Scheduler Not Following Pattern

$
0
0

I have scheduled a transaction within the hourly tab to run between 3pm - 4pm and to run every 5 minutes within that range.  The job does start at 3:00pm and runs every 5 minutes but does not stop at 4:00pm.  Does somebody know why?

MII GUI's on smartphone and Android devices

$
0
0

Hi,

 

I would like to make MII GUI's capabale to run on smartphones and Android devices. Could you please help on this?

I am using MII 14.0 version.

 

Any help on this very much appreciated

 

Thanks

Shaji Chandran

Viewing all 1775 articles
Browse latest View live


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