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

Re: Error calling BLS from oracle database

$
0
0

Hello darshan,

You are actually getting MII login page in response to the URL you are calling. Please pass valid user name and password to authenticate yourself and run the transaction.

Regards,

Anushree


Re: SAP MII 12.2 authentication from external link

$
0
0

No, I cannot pass credentials as I would not know the user's passoword. They should be automatically logged in through active directory.

Re: SAP MII 12.2 authentication from external link

$
0
0

Hi Travis,

Do you mean to say you have configured SSO authentication in MII server?

Regards,

Anushree

Re: SAP MII 12.2 authentication from external link

$
0
0

Yes Anushree, we have single sign on.

Re: SAP MII 12.2 authentication from external link

$
0
0

Hi Travis,

Could you please check what errors get logged in at Netweaver?

Regards,

Anushree

Cannot map capacity (for production planning) or measuring point (for plant maintenance object) to a PIC Tag

$
0
0

Hi All,

 

I am trying to map the capacity (for production planning) to a PIC tag, but when I am trying this scenario the Map button is disable.

 

Here is the screenshot of it.

 

PIC.PNG

As per the PIC help document:

  • You cannot map capacity (for production planning) or measuring point (for plant maintenance object) to a PIC group. It is always mapped to Tag only.

 

Any help would be appreciated!!!

 

Thanks,

Ritim

Re: Error calling BLS from oracle database

$
0
0

Hi Christian/Anushree,

 

I have now modified the URL by adding Illum login name and password:

http://<Host name>:50000/XMII/Runner?Transaction=<TRX_Path>&Material=MATNR&Pallet_id=PALLET&Plant=PLANT&Proc_order=PROC&…

 

When i run the url in browser it gives me the expected results but when i try to trigger it from Oracle i am still getting the error as below:

 

"<script>

  var inPortalScript = false

  var webpath = "/logon_ui_resources/"

</script>

 

 

<html>

<head>

<BASE target="_self">

<link rel=stylesheet href="/logon_ui_resources/css/ur/ur_ie5.css">

<title>User Management, SAP AG</title>

<script language="javascript">

var originWindowName=window.name;

window.name="logonAppPage";

function restoreWindow() {

try{

window.name=originWindowName;

} catch(ex){}

}

</script>

<script language="JavaScript">

function putFocus(formInst, elementInst) {

  if (document.forms.length > 0) {

    document.forms[formInst].elements[elementInst].focus();

  }

}

 

 

function setValuesAutoCreation() {

var form = document.getElementById('logonForm');

form.j_username.value="";

form.j_password.value="";

form.automaticAccountCreation.value="true";

}

function submitForm() {

var form = document.getElementById('logonForm');

form.submit();

}

function clearEntries() {

  document.logonForm.longUid.value="";

  document.logonForm.password.value="";

}

function setFocusToFirstField() {

myform = document.logonForm;

try{

   for (i=0; i<myform.length; i++) {

    elem = myform.elements[i];

    if (!elem.disabled) {

      elemType = elem.type;

      if (elemType=="text" || elemType=="password") {

       if (!elem.readOnly) {

          elem.focus();

          break;

       }

      }

      if (elemType=="select-one" || elemType=="select-multiple" || elemType=="checkbox" || elemType=="radio") {

        elem.focus();

        break;

      }

    }

   }

} catch(ex){

}

}

function addTenantPrefix() {

  return true;

}

</script>

</head>

<body class="urBdyStd" bgcolor="#F7F9FB" onLoad="setFocusToFirstField()" onUnload="restoreWindow()">

 

 

Thanks,

Darshan

 

 

 

 

 

 

 

 

 

 

 

 

<script language="JavaScript">

var blockPage = false;

</script>

 

 

 

 

 

 

<script language="JavaScript">

try {

  if (top.document.domain != self.document.domain) {

  blockPage = true;

  }

} catch (error) {

  // This will happen if the browser running the page tha"

Re: Error calling BLS from oracle database

$
0
0

Try using j_username and j_password. I don't think IllumLoginName & IllumLoginPassword are valid in version 14.


Re: Error calling BLS from oracle database

$
0
0

Hi Christian,

Tried j_username and j_password but it gives the same error.

I think that IllumLoginName & IllumLoginPassword work in v 14 as i am able to execute the link successfully when i run it in browser.

 

Regards,

Darshan

Re: Error calling BLS from oracle database

$
0
0

Hi darshan,

IllumLoginName and IllumLoginPassword does work in MII 14.0. It is surprising that you are still getting redirected to login page.

Is there any error logged in Netweaver?

Regards,
Anushree

Re: Cannot map capacity (for production planning) or measuring point (for plant maintenance object) to a PIC Tag

$
0
0

Hi Ritim,

 

Capacity can be only mapped to a PIC group.

The text in the help doc is incorrect.

 

For more information regarding the PIC and PP Hierarchy, you can read this blog:

PIC Integration with PP and PM Hierarchy

 

Regards,

Rohit Negi.

Re: Error calling BLS from oracle database

$
0
0

I do not see the "IllumLoginName" and "IllumLoginPassword" parameters in your Runner servlet call example.  Please verify they are included, the only way you would get the Login.jsp page back in your HTTP response body is if your authentication failed; so you get redirected.


Sam

Re: JMS support in MII 12.2/14.0

$
0
0

This is a custom development project at SAP at the moment and yes it's possible but you have to write your own JMS Subscriber and then call the MII Transaction EJB.


Sam

Re: JMS Topics

$
0
0

Bruno,

 

The JMS actions referred to above are probably the ones I wrote a while back and posted on the original MII Wiki (http://wiki.scn.sap.com/wiki/display/xMII/Manufacturing+Integration+and+Intelligence) in the "Customization" section: Customization - xMII - SCN Wiki

 

Here you will see in the section titled "xMII 12.0" the JMS actions and documentation on how they work.

 

For MII 12.2 I highly recommend using the standard JMS action provided with the product as they are using the standard NW libraries and yes you can support third party JMS libraries with this approach and here's the details:

Creating and Configuring JMS Resources and Resource References - Developing Java EE 5 Applications - SAP Library


Sam

Re: SQL-Querys on Oracle not working randomly after upgrade from 12 to 14

$
0
0

First, please verify that the JDBC driver you were using before is either the same one you've uploaded and deployed into your new environment (MII Menu -> System Resources -> JDBC drivers) or is the right one for the version of Oracle DB you have.

 

For the Data Server please share the screenshot of your configuration if it's IDBC type (MII Menu -> Data Services -> Data Servers; select your connection) and if it's a Data Source type please share the resource configuration screen where you have the connection setup.

 

Finally, what are the errors that you are seeing when it does fail?

 

Sam


Re: SQL-Querys on Oracle not working randomly after upgrade from 12 to 14

$
0
0

Aha, good idea. The JDBC driver is the same as was used on the old server (ojdbc14.jar), however it is for 10g. The Oracle site shows a different driver (ojdbc6.jar) for 11g. I'll try swapping it out and see what happens.

 

As for the connector config, it is here:oraclesettings.png

 

As for errors, there are no errors in either MII or Oracle. That is the strangest part (and the most frustrating. Since it isn't repeatable I can't catch in in the BLS running manually in trace mode.

Thanks for the help.

Re: Error calling BLS from oracle database

$
0
0

Hi Anushree,

 

Thanks for the link. Based on the link security audit log is present at the location:

\usr \sap \ <SID> \ <instance_number> \j2ee \cluster \server <n> \log \system \security_audit.log

 

when i checked in my server at the following path:

D:\usr\sap\<SID>\J00\j2ee\cluster\server0\log\system

 

I could see that there is file security_audit_00.0.log. This file is not updated with any information since 05/21/2014. Could it be that the logging for security audit file would have been switched off.

 

Regards,

Darshan

Re: Error calling BLS from oracle database

$
0
0

Hi Sam,

 

"IllumLoginName" and "IllumLoginPassword" are included in the call. When i execute the URL in the browser BLS gets executed successfully. I could see the processing of the called transaction in the transaction manager.


when i call the URL from DB it gives the error. I have verified that the values passed for "IllumLoginName" and "IllumLoginPassword" are valid and not locked.

 

Regards,

Darshan Sheth

Re: Error calling BLS from oracle database

$
0
0

Darshan,


Is your server configured to use single sign on?


Regards,

Christian


Re: Error calling BLS from oracle database

$
0
0

Christian,

 

We are not using SSO

 

Regards,

Darshan

Viewing all 4841 articles
Browse latest View live


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