Skip to Content
author's profile photo Former Member
Former Member

SOAP to RFC Scenario in PI 7.5

Hi Experts,

Working on PI Migration, as part of testing SOAP to RFC scenario, we are facing below issue

When we trigger the request data, at response side we are getting below error.

Can you please throw some light on this.

Thanks,

--Sai

<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 setFocusToFirstField() {

myform = document.changePasswordForm;

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.value=="") {

elem.focus();

break;

}

}

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

elem.focus();

break;

}

}

}

} catch(ex){

}

}

function onClickCancel() {

document.changePasswordForm.j_sap_password.value="";

document.changePasswordForm.j_sap_again.value="";

document.changePasswordForm.cancelPasswordChange.value="on";

}

</script>

</head>

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

<script language="JavaScript">

var blockPage = false;

</script>

<script language="JavaScript">

function writeMessage() {

document.write("<h2>An unexpected problem has occurred. Please contact your system administrator and show them this message.</h2>");

}

if (blockPage) {

writeMessage();

// According to the tests:

// IE works with document.execCommand() and throws exception if window.stop() is used

// Firefox and Chrome work only with window.stop() but do not throw exception if document.execCommand() is used.

// For IE 11 the appName object below no longer contains Explorer as the previous versions did. So the following solution no longer works for IE11:

//var browserName = navigator.appName;

//if (browserName.indexOf("Explorer") > -1) {

// writeMessage();

// document.execCommand("Stop");

//} else {

// writeMessage();

// window.stop();

//}

// Detecting the browser based on appName or another navigator object is not very trustworthy and future proof. Hopefully a longer lasting solution is:

try {

window.stop();

//document.write("<h2>window.stop() success!</h2>"); //Actually this line could never be printed as FF and Chrome will stop on previous line

} catch (error) {

//document.write("<h2>window.stop() did not work. Exception is: "+error+".</h2>");

try {

document.execCommand("Stop");

//document.write("<h2>document.execCommand(\"Stop\") success!</h2>"); // This would be printed in case of IE

} catch (error) {

//document.write("<h2>document.execCommand(\"Stop\") did not work. Exception is: "+error+".</h2>");

document.write("<h2>This browser cannot prevent the Logon Page frame from loading!<br>Do not submit your credentials and contact your system administrator!</h2>");

}

}

}

</script>

<table id="tblFrmUI" width="790px" valign="middle" dir="ltr" align="center" cellPadding="0" cellSpacing="0" style="background-color:#ffffff;margin-top:50px;">

<tr>

<td><img src="/logon_ui_resources/layout/lf_tl.png" width="29" height="32"></td>

<td background="/logon_ui_resources/layout/lf_st.png"></td>

<td><img src="/logon_ui_resources/layout/lf_tr.png" width="27" height="32"></td>

</tr>

<tr>

<td background="/logon_ui_resources/layout/lf_sl.png"></td>

<td width="100%">

<table id="tblInnerCnt" dir="ltr" cellpadding="0" cellspacing="0">

<tr>

<td valign="top"><div class="urBrandImage"><img src="/logon_ui_resources/layout/branding-image.jpg" alt="Branding Image" border="0"></div></td>

<td width="100%"></td>

<td>

<table height="360px" cellPadding="0" cellSpacing="0">

<tr>

<td valign="top"><div class="urProductName"><img src="/logon_ui_resources/layout/branding-text.gif" alt="" border="0"></div></td>

</tr>

<tr>

<td valign="top" align="left">

<div class="urLogonData">

<!-- data table starts after this line -->

2fsingaporeair.com%2fhr%2fpa%2fCMS%255EMI_2900">

<input name="cancelPasswordChange" type="hidden" value="off">

<input type="hidden" name="j_salt" value="x9BAeitsmcBHbejtdKQd/2+SJFg=" />

<table class="urLogonTable" cellSpacing="3px" cellPadding="0" valign="top">

<tr><td colspan="3">

<div class="urMessageArea">

</div>

</td></tr>

<!-- header line -->

<tr><td align="left" colspan="3">

<div class="urTxtH3">Change Password</div>

</td></tr>

<!-- old password -->

<tr><td>

<label class="urLblStdNew" for="logonoldpassfield"><nobr>Old Password<span class="urLblReq"> *</span></nobr></label>

</td>

<td>

<input type="password" id="logonoldpassfield" name="j_sap_current_password" class="urEdfTxtEnbl" style="width:170px">

</td>

<td width="100%"> </td></tr>

<!-- new password -->

<tr><td>

<label class="urLblStdNew" for="logonnewpassfield"><nobr>New Password<span class="urLblReq"> *</span></nobr></label>

</td>

<td>

<input type="password" id="logonnewpassfield" name="j_sap_password" class="urEdfTxtEnbl" style="width:170px">

</td>

<td> </td></tr>

<!-- retype new password -->

<tr><td>

<label class="urLblStdNew" for="logonretypepassfield"><nobr>Confirm Password<span class="urLblReq"> *</span></nobr></label>

</td>

<td>

<input type="password" id="logonretypepassfield" name="j_sap_again" class="urEdfTxtEnbl" style="width:170px">

</td>

<td> </td></tr>

<!-- submit buttons -->

<tr><td> </td><td align="right">

<input class="urBtnStdNew" type="submit" name="performChangePassword" value="Change" >

<input class="urBtnStdNew" type="submit" name="showUidPasswordLogonPage" value="Cancel" onClick="onClickCancel();" >

</td>

<td> </td></tr>

</table>

</form>

<!-- data table ends before this line -->

</div>

</td>

</tr>

<tr>

<td valign="bottom">

<div class="urCopyrightFrame">

<div class="urCopyrightText">Copyright &copy; SAP AG. All Rights Reserved.</div>

<div class="urCopyrightImage"><img src="/logon_ui_resources/layout/sap_logo.png" alt="SAP AG" title="SAP AG" width="55" height="27"></div>

</div>

</td>

</tr>

</table>

</td>

</tr>

</table>

</td>

<td background="/logon_ui_resources/layout/lf_sr.png"></td>

</tr>

<tr>

<td><img src="/logon_ui_resources/layout/lf_bl.png" width="29" height="32"></td>

<td align="center" background="/logon_ui_resources/layout/lf_sb.png"><span class="clip"><img src="/logon_ui_resources/layout/lf_clip.png" width="298" height="32"></span></td>

<td><img src="/logon_ui_resources/layout/lf_br.png" width="27" height="32"></td>

</tr>

</table>

<script type="text/javascript">

<!--

var docDir = document.dir;

if(docDir=="rtl" || docDir=="RTL"){

var elTableCnt = document.getElementById("tblInnerCnt");

if(elTableCnt!=undefined){

elTableCnt.style.direction="rtl";

}

}

var isFormSubmitted = false;

if( document.forms ) {

document.forms[0].onsubmit=function(){

if( isFormSubmitted ) {

return false;

} else {

isFormSubmitted = true;

return true;

}

}

}

-->

</script>

</body>

</html>

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Sep 14, 2016 at 05:09 PM

    Sai,

    • Go to SM59 in your ECC system.
    • The do a connection test for the RFC destination which is pointing to PO system.
    • The connection Should work fine and return HTTP 200 if no then as suggested report this to basis team.
    • If Http 200 code is returned check the Response Body tab when you do connection this should return Message Servlet OK , by looking at the error i guess it wont return Message Servlet OK you will be asked to reset the password and do the same with the help of basis team.

    Br,

    Manoj


    8.PNG (13.4 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 14, 2016 at 02:14 PM

    Check the RFC credentials maintained the channel,

    After doing changes stop/start the channel and check..

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.