Unable to execute SAP ME Scripts?
Hi,
When trying to implement SAP ME SCRIPTS getting following error
"Java runtime errormissing!Cannot find
file"C:\Programfiles\java\jre\bin\java.exe"
please find the attached screenshot regarding this
We also set the JAVA_HOME path.
Early response would be appreciated.
Regards,
Chandrababu
Hi KC,
Set the JAVA_HOME in environmental variables as follows and looks fine the home path.
Please refer once
Pleasse let me any corrections to take and also find the below image of Program files,
here i have JDK 1.8, jre7 & jre8 installed. Its causing problem to run?
Regards,
Chandrababu
Similar Messages
-
Executing SAP GUI Script From a Web Page
I have an issue when trying to execute some javascript (sap gui script) from a webpage.
When the javascript is executed I get the message:
automation server unable to create object.
However, this exact same javascript when placed in a text file and double-clicked executes just fine through the windows scripting host.
Does anyone have an example of gui script code executing from a webpage? Or any ideas on why it isn't working from the webpage? Both scenarios should be executing the code on the local machine through WSH.
Below is the javascript as well as the webpage executing the javascript:
SAPGUI SCRIPT
if (typeof(application) == "undefined")
sapgui = GetObject("SAPGUI");
application = sapgui.GetScriptingEngine;
if (typeof(connection) == "undefined")
connection = application.children(0);
if (typeof(session) == "undefined")
session = connection.children(0);
if (typeof(WScript) != "undefined")
WScript.connectObject(session, "on");
WScript.connectObject(application, "on");
session.findById("wnd[0]").maximize();
session.findById("wnd[0]/tbar[0]/okcd").text = "/nzsd1067";
session.findById("wnd[0]").sendVKey(0);
session.findById("wnd[0]/usr/ctxtVBAK-KUNNR").text = "6343";
session.findById("wnd[0]").sendVKey(0);
WEBPAGE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<! INPUT PARAMETER SETTINGS:
To Push data to Siebel or SAP the appropriate
field below must be set = TRUE.
Pop_SAP
Pop_Siebel
SIEBEL INPUT PARAMETER: When
Pushing data to a Siebel screen the Query_Type should be set based on the type
of lookup that is requested.
Query_Type = 'SAP' -presents a screen based on a customer SAP Id.
Query_Type = 'SR' -presents a screen based on a Service Request.
Query_Type = '' or null -presents a search screen to locate the proper contact in Siebel
APP_SAP_ID -SAP customer Id
APP_SR_NUM -Siebel Service Request Number
>
<SCRIPT LANGUAGE="VBScript">
Sub LoadContact()
'Siebel Application Object
Dim siebApp 'As SIEBELHTMLLib.ISiebelHTMLApplication
Dim siebSvcs 'As SIEBELHTMLLib.ISiebelService
Dim siebOutputPropSet 'As SIEBELHTMLLib.ISiebelPropertySet
Dim siebInputPropSet 'As SIEBELHTMLLib.ISiebelPropertySet
Dim bool 'As Boolean
Dim errCode 'As Integer
Dim errText 'As String
Dim QueryType 'As String
Dim PopSAP 'As String
PopSiebel = "TRUE"
If PopSiebel = "TRUE" Then
QueryType = "SAP"
If QueryType = "null" Then
QueryType = ""
End If
'Create The SiebelHTML Object
set siebApp = CreateObject("SiebelHTML.SiebelHTMLApplication.1")
If Not siebApp Is Nothing Then
'Create A New Property Set
set siebInputPropSet = siebApp.NewPropertySet
set siebOutputPropSet = siebApp.NewPropertySet
If Not siebInputPropSet Is Nothing Then
siebInputPropSet.SetProperty "ANI", "9738986011"
siebInputPropSet.SetProperty "SAP_ID", "0000516616"
siebInputPropSet.SetProperty "SR_NUM", "null"
siebInputPropSet.SetProperty "Interaction_ID", "168608840053"
siebInputPropSet.SetProperty "Query_Type", QueryType
Else
errCode = siebApp.GetLastErrCode
errText = siebApp.GetLastErrText
MsgBox "Could not Create Siebel Property Set: " & errCode & "::" & errText
End If
'Get A Siebel Service
set siebSvcs = siebApp.GetService ("TAWBS")
If Not siebSvcs Is Nothing Then
siebSvcs.InvokeMethod "TAWPresentAccount", siebInputPropSet, siebOutputPropSet
Else
errCode = siebApp.GetLastErrCode
errText = siebApp.GetLastErrText
MsgBox "Could not Get Siebel Service: " & errCode & "::" & errText
End If
set siebApp = Nothing
End If
set siebInputPropSet = Nothing
set siebOutputPropSet = Nothing
set siebSvcs = Nothing
End If
End Sub
</SCRIPT>
<SCRIPT LANGUAGE="javascript">
function loadSAP()
if (typeof(application) == "undefined")
sapgui = GetObject("SAPGUI");
application = sapgui.GetScriptingEngine;
if (typeof(connection) == "undefined")
connection = application.children(0);
if (typeof(session) == "undefined")
session = connection.children(0);
if (typeof(WScript) != "undefined")
WScript.connectObject(session, "on");
WScript.connectObject(application, "on");
session.findById("wnd[0]").maximize();
session.findById("wnd[0]/tbar[0]/okcd").text = "/nzsd1067";
session.findById("wnd[0]").sendVKey(0);
session.findById("wnd[0]/usr/ctxtVBAK-KUNNR").text = "0000516616";
session.findById("wnd[0]").sendVKey(0);
} // end
</SCRIPT>
</head>
<body onload="loadSAP()">
<H3><FONT face="Arial" size="5">Raytheon Integration Screen</FONT></H3>
<HR style="WIDTH: 882px; HEIGHT: 8px" color="#3366cc" SIZE="8">
<form id="ValidForm" onsubmit="LoadContact(); return false;" language="jscript">
<FONT face="Arial">Load Siebel Screen</FONT> <! <input name="Text1" TYPE="TEXT"
SIZE="10" ID="Text1"> <input name="Submit" TYPE="submit" VALUE="Submit" ID="Submit1">
</form>
<form id="Form1" onsubmit="loadSAP(); return false;" language="javascript">
<FONT face="Arial">Load SAP Screen</FONT> <! <input
name="Text2" TYPE="TEXT" SIZE="10" ID="Text2"> <input name="Submit" TYPE="submit" VALUE="Submit" ID="Submit2">
</form>
</body>
</html>Hi Bernd,
the following code works in VBS. If you run saplogon.exe you'll get a message box saying '/app'.
Set Wrp = CreateObject ("SapROTWr.SapROTWrapper")
Set SapGui = Wrp.GetROTEntry ("SAPGUI")
Set application = sapgui.GetScriptingEngine
MsgBox application.id
I haven't tried it on a web page, but I don't see why it shouldn't work there. Ok, maybe the MsgBox is command is not available.
Best regards,
Christian -
UNABLE TO EXECUTE THE CMDSQL SCRIPT IN A STORE PROCEDURE.
I am trying to call a .sql file from sql cmd mode.
The requirement is to pass the .sql file as parameter value to the cmd script which I have able to achieve,here is the code which is working fine .
declare @x sysname
set @x = 'C:\Users\testuser\Desktop\testing.sql'
:OUT $(TEMP)\GetServerName1.sql
PRINT ':SETVAR FilePath'+ ' ' + @x
GO
:OUT stdout
:r $(TEMP)\GetServerName1.sql
GO
:r $(FilePath)
But when I try to wrap this code in store procedure it is giving the message fatal error but when I run it without wrapping it in store proc it is doing its job with no error . When I looked into the store proc I found the code as
ALTER proc [dbo].[testing]
as
declare @x sysname
set @x = 'C:\Users\testuser\Desktop\testing.sql'
PRINT ':SETVAR FilePath'+ ' ' + @x
It seems like the sqlcmd code disappears automatically. I have no clue why it is happening.
Can anyone help in letting me knw how to wrap the above code in store proc.
Thanks SauravIt is important to keep in mind that you have two entities in play here. One client and one server. The lines that start with a colon never sent to SQL Server, nor are the lines which reads "go". They are intercepted client-side. For instance :r
instructs SSMS to read a local file and out: redirects the output. And "go" breaks up the code in batches.
Erland Sommarskog, SQL Server MVP, [email protected] -
How to execute one sap gui script in different SAP system component versions.
Hi Experts,
I am having a task to write a script which can be executed in different SAP systems , explained as below.
I have created a script to do password reset for mass users in one system (TC6) & it's working fine. But when i load same script in other system(QR5) to do the same activity , the system unable to execute the same script.
One thing i found that by comparing in the two systems that the screen-ids in QR5 system is different than TC6 system.
My question
1-> why it is different even though the scripting language is same.
2-> How can i overcome it & make a common script for all the systems.
Please help me to resolve this.
Thanks in Advance,
KhagendraHi Holger & Stefan,
Sorry for late response first.
Now i have attached the recorded program-me for two systems for SU01 (simple user maintenance) with highlighted the text. I have highlighted both for easy understanding .
In system QR5 (upgraded one)
session.findById("wnd[0]").maximize
session.findById("wnd[0]/tbar[0]/okcd").text = "/nsu01"
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]/usr/ctxtSUID_ST_BNAME-BNAME").text = "test"
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]/tbar[1]/btn[18]").press
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSUID_MAINTENANCE:1900/txtSUID_ST_NODE_PERSON_NAME-NAME_LAST").text = "rest"
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSUID_MAINTENANCE:1900/txtSUID_ST_NODE_PERSON_NAME-NAME_LAST").setFocus
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSUID_MAINTENANCE:1900/txtSUID_ST_NODE_PERSON_NAME-NAME_LAST").caretPosition = 4
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSUID_MAINTENANCE:1900/txtSUID_ST_NODE_PERSON_NAME-NAME_FIRST").text = "user"
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSUID_MAINTENANCE:1900/txtSUID_ST_NODE_PERSON_NAME-NAME_FIRST").setFocus
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSUID_MAINTENANCE:1900/txtSUID_ST_NODE_PERSON_NAME-NAME_FIRST").caretPosition = 4
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSUID_MAINTENANCE:1900/txtSUID_ST_NODE_COMM_DATA-SMTP_ADDR").text = "[email protected]"
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSUID_MAINTENANCE:1900/txtSUID_ST_NODE_COMM_DATA-SMTP_ADDR").setFocus
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSUID_MAINTENANCE:1900/txtSUID_ST_NODE_COMM_DATA-SMTP_ADDR").caretPosition = 21
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO").select
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUID_MAINTENANCE:1101/cmbSUID_ST_NODE_LOGONDATA-USTYP").setFocus
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUID_MAINTENANCE:1101/cmbSUID_ST_NODE_LOGONDATA-USTYP").key = "A"
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUID_MAINTENANCE:1101/pwdSUID_ST_NODE_PASSWORD_EXT-PASSWORD").text = "********"
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUID_MAINTENANCE:1101/pwdSUID_ST_NODE_PASSWORD_EXT-PASSWORD2").text = "********"
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUID_MAINTENANCE:1101/pwdSUID_ST_NODE_PASSWORD_EXT-PASSWORD2").setFocus
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUID_MAINTENANCE:1101/pwdSUID_ST_NODE_PASSWORD_EXT-PASSWORD2").caretPosition = 9
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpACTG").select
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpACTG/ssubMAINAREA:SAPLSUID_MAINTENANCE:1106/cntlG_ROLES_CONTAINER/shellcont/shell").modifyCell 0,"AGR_NAME","Z:T5_UK_WIPRO_DEV_NONBASIS"
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpACTG/ssubMAINAREA:SAPLSUID_MAINTENANCE:1106/cntlG_ROLES_CONTAINER/shellcont/shell").currentCellColumn = "AGR_NAME"
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpACTG/ssubMAINAREA:SAPLSUID_MAINTENANCE:1106/cntlG_ROLES_CONTAINER/shellcont/shell").pressEnter
session.findById("wnd[0]").sendVKey 11
In system DR0 (Not upgraded)
session.findById("wnd[0]").maximize
session.findById("wnd[0]/tbar[0]/okcd").text = "/nsu01"
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]/usr/ctxtUSR02-BNAME").text = "test"
session.findById("wnd[0]/usr/ctxtUSR02-BNAME").caretPosition = 4
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]/tbar[1]/btn[18]").press
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSZA5:0900/txtADDR3_DATA-NAME_LAST").text = "test"
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSZA5:0900/txtADDR3_DATA-NAME_LAST").setFocus
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSZA5:0900/txtADDR3_DATA-NAME_LAST").caretPosition = 4
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSZA5:0900/txtADDR3_DATA-NAME_FIRST").text = "user"
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSZA5:0900/txtADDR3_DATA-NAME_FIRST").setFocus
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSZA5:0900/txtADDR3_DATA-NAME_FIRST").caretPosition = 4
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSZA5:0900/txtSZA5_D0700-SMTP_ADDR").text = "[email protected]"
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSZA5:0900/txtSZA5_D0700-SMTP_ADDR").setFocus
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSZA5:0900/txtSZA5_D0700-SMTP_ADDR").caretPosition = 21
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO").select
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/cmbUSLOGOND-USTYP").setFocus
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/cmbUSLOGOND-USTYP").key = "A"
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/pwdG_PASSWORD1").text = "********"
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/pwdG_PASSWORD2").text = "********"
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/pwdG_PASSWORD2").setFocus
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/pwdG_PASSWORD2").caretPosition = 9
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpACTG").select
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpACTG/ssubMAINAREA:SAPLSUU5:0106/tblSAPLSUU5TC_AGR/ctxtUSAGR-AGR_NAME[1,5]").text = "Z:T5_UK_WIPRO_DEV_NONBASIS"
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpACTG/ssubMAINAREA:SAPLSUU5:0106/tblSAPLSUU5TC_AGR/ctxtUSAGR-AGR_NAME[1,5]").setFocus
session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpACTG/ssubMAINAREA:SAPLSUU5:0106/tblSAPLSUU5TC_AGR/ctxtUSAGR-AGR_NAME[1,5]").caretPosition = 26
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]").sendVKey 11
From the above it's clear that the screen IDs in both the systems are different as the program-me name is different for the same TA (SU01) in both the systems.
Now can you please advise how i will go with both to handle in one script (I can't put a check condition to call different scripts for the specific systems as in my landscape there are more that 100 systems).
Please help me on this.
Thanks in Advance,
Khagendra -
Unable to execute the substitution variable in calc scripts in essbase 11.1
Unable to execute the substitution variable in calc scripts in essbase 11.1.3
FIX(&CURRVERSION,COLA)
Unit=units*Listprice;
dataexport "file" "," "E:\NEW.TXT";
ENDFIX
Error: 1200471 Error parsing formula for FIX STATEMENT (line 1): expression expected before [)]
This is error it throws when executing the calculation script
I wonder whether its a problem with substitution variable i want to know wat went wrong inside the fix statement
I have created substitution variable use maxl
Installed the essbase in custom manner and standlone mode nt register with the shared services ,
Is this problem with the custom installation of essbase
Regards
shennaIf you remove the substitution variable and replace it with the actual value (whatever that is), does the code work? That will tell you if the issue is around the substitution variable or not.
John -- First you race Glenn, then you race me -- and you always win. :)
Regards,
Cameron Lackpour -
Is it possible to execute same eCATT script in different SAP versions
is it possible to execute same eCATT script in different SAP versions?
Regards,
Sunil sankar B.
[email protected]Yes. In the ecatt script you have the option under ATTRIBUTES --> VERISONING DATA you can restrict it to different software components and different releases.
-
SAP ECC6 sr3 upgrade error in executing MSSCONCHECK.SQL script
Hello all,
I am facing this error which is very annoying , I am executing Prepare Upgrade script for ECC6 SR3 from SAP 4.7 Sr2 with windows 2003 server and MSSQL 2005 server as backend. I am facing below error
Enter one of these options [continue] := continue
SAPup message
SAPup> SQL-scripts must be executed by the NT user account T47VMHOST2\t47adm.
Check your installation of the integrated security procedure
on host t47vmhost2 and make sure that a login for the NT user
T47VMHOST2\t47adm exists with the following rules:
- user T47VMHOST2\t47adm owns the role System Administrators
- user T47VMHOST2\t47adm has the default database T47
SAPup> Integrated security installed correctly?
- "no"
- "yes"
Enter one of these options [no] := yes
Executing script MSSCONCHECK ...
MSSCONCHECK: Connection check failed for the user specified
SAPup message
SAPup> Errors were found in the logfile MSSCONCHECK.LOG
after execution of the script MSSCONCHECK.SQL.
SAPup> SAPup cannot proceed until these errors are fixed.
Please, examine MSSCONCHECK.LOG, fix reported errors and then call R3UP a
gain
I have done a number of changes in system i checked the SIDadm user is assigned a default DB T47 and has said role assigned allready.
I restarted the system after changes and started the prepare batch file again but with sme probelm again. so can anybody guide me on this. I seen a number of threads but there is no any concrete solution providedby them.
will really appreciate any reply.
ManiHello Julia,
i read those note but everything seems normal to me on my PC; it has remote access enabled, t47vmhost2/t47adm is the user configured (although its not a domain configuration (installation) but t47vmhost2 is the computer name. So its kind of local user defined in SQL with said authorization. below is the log from file MSSCONCHECK.LOG
[SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [2].
[SQL Native Client]Login timeout expired
[SQL Native Client]An error has occurred while establishing a connection to the server. When
connecting to SQL Server 2005, this failure may be caused by the fact that under the default
settings SQL Server does not allow remote connections.
I am still stuck in ?
Can you please verify if i am using right DVDs
51033495_1 NW 7.0 SR3 Languages DE,EN,ES,FR,IT,NL
51033494_3 NW 7.0 SR3 Upgrade Export 3 of 3
51033494_2 NW 7.0 SR3 Upgrade Export 2 of 3
51033494_1 NW 7.0 SR3 Upgrade Export 1 of 3
51033512_14 NW 7.0 SR3 Upgrade Master Windows Server on x64 64bit
51033508_8 NW 7.0 SR3 Kernel 7.00 Windows Server on x64 64bit Upg ABAP
Pleas help
Mani -
A BG Renderer user is getting this error when running aerender version 10.5.1x2:
"Unable to execute script at line 95. Window does not have a constructor"
The render proceeds but the process never completes which is preventing the rest of the BG Renderer notifications from triggering. Any idea what this error means and how to fix it?
Thanks,
LloydI guess we'll have to wait for Adobe to answer what could be causing the transmission to drop on Line 95. Todd's out of the office for a month or two, but maybe someone else can shed some light.
-
EEM Unable to execute scripts.
Hi,
Need support here to understand the Problems for getting EEM script executed. The Script and debug output is as follows. The script is now getting executed. IOS :c2800nm-spservicesk9-mz.124-12a.bin"
Can Plese help here!. Thanks..
Script:
event manager applet ISR_CISCO
event syslog pattern "Interface Serial0/0/1:0, changed state to down"
action 1.0 cli command "enable"
action 1.1 cli command "configure terminal"
action 1.2 cli command "router bgp 64555"
action 1.3 cli command "neighbor X.X.X.X. shut"
action 1.4 cli command "end"
Debug Output:
.Aug 14 05:02:24.640 GMT: %HA_EM-6-LOG: ISR_CISCO : DEBUG(cli_lib) : : CTL : cli_open called.
.Aug 14 05:02:24.740 GMT: %HA_EM-6-LOG: ISR_CISCO : DEBUG(cli_lib) : : OUT :
.Aug 14 05:02:24.740 GMT: %HA_EM-6-LOG: ISR_CISCO : DEBUG(cli_lib) : : OUT : aa-gecis-illi1-chi-am>
.Aug 14 05:02:24.740 GMT: %HA_EM-6-LOG: ISR_CISCO : DEBUG(cli_lib) : : IN : aa-gecis-illi1-chi-am>enable
.Aug 14 05:02:24.752 GMT: %HA_EM-6-LOG: ISR_CISCO : DEBUG(cli_lib) : : OUT :
.Aug 14 05:02:24.752 GMT: %HA_EM-6-LOG: ISR_CISCO : DEBUG(cli_lib) : : OUT : aa-gecis-illi1-chi-am#
.Aug 14 05:02:24.752 GMT: %HA_EM-6-LOG: ISR_CISCO : DEBUG(cli_lib) : : IN : aa-gecis-illi1-chi-am#configure terminal <<< no response after this.......;This is a known bug with your version of EEM. Essentially, the prompt is too long when EEM enters config t mode. The fix is only available in EEM 2.3 and higher (12.4(11)T and higher). The workaround is to reduce the length of the hostname so it is less than 18 characters.
-
Unable to execute data export calc script
HI Experts,
When I am trying to execute the data export calculation script I am getting the error like "Failed to establish the connection with SQL database".
set dataexportoptions
DataExportLevel "All";
DataExport "DSN" "Test_DSN" "Test_table" "sa" "sa999";
I have executed the calculation script by accessing the Essbase administration services through citix.
Is there a way to export data from Essbase cube to sql database through citixFirst of all did you set the DSN up on the essbase server and not the EAS if it is different, if so did you test the DSN.
Have you checked the essbase logs to see if they have more information.
Cheers
John
http://john-goodwin.blogspot.com/ -
Dear Friends
I am stuck in CONFIGURATION PHASE of EHP5 Upgrade.
The ABAP phase has been completed but stuck in the Java processing INPUT_ADM_USER_PWD
"unable to execute the SDT request Java_EE operation configure on
hostname dbserver1 instance 02 Modules execution failed.
Execution of the unit PREPARE failed. Connection to the Upgrade Tool was closed."
TROUBLE TICKET LOG
Trouble Ticket Report
Installation of enhancement package 1 for SAP NetWeaver 7.0
SID................: $(/J2EE/StandardSystem/SAPSystemName)
Hostname...........: $(/J2EE/SAPGlobalHost)
Install directory..: $(/J2EE/StandardSystem/SAPSIDDirectory)
Upgrade directory..: $(/JUMP/DIR/MAIN)
Database...........: $(/J2EE/DBSystem/DBInfoName)
Operating System...: $(/J2EE/StandardSystem/ServiceInstance/BCCentralServicesInstanceHost/OpSysType)
JDK version........: $(/SystemProperties/JavaVersion) $(/SystemProperties/JavaVendor)
SAPJup version.....: $(/MAIN_VERSION)
Source release.....: $(/ER_CODE)
Target release.....: $(/J2EE/ShadowSystem/Version)
Start release SP...: $(/J2EE/StandardSystem/SPLevel)
Target release SP..: $(/J2EE/ShadowSystem/SPLevel)
Current usages.....: $(/J2EE/StandardSystem/Usages/StrCurrentUsages)
ABAP stack present.: $(/J2EE/StandardSystem/BCSystemPresent)
The execution of ended in error.
Could not perform operation on secure store. See previous messages.
Could not perform operation on secure store. See previous messages.
Class com.sap.security.core.server.secstorefs.SecStoreFS method createStoreWithEncryption has thrown the exception com.sap.security.core.server.secstorefs.FileIOException
com.sap.security.core.server.secstorefs.FileIOException: I/O error on file "e:\usr\sap\PRD\SYS\global\security\data\JUpgrade.key".
java.io.FileNotFoundException: e:\usr\sap\PRD\SYS\global\security\data\JUpgrade.key (The system cannot find the path specified)
More information can be found in the log file .
Use the information provided to trouble-shoot the problem. There might be an OSS note providing a solution to this problem. Search for OSS notes with the following search terms:
com.sap.sdt.util.secstore.SecureStoreException
Could not perform operation on secure store. See previous messages.
INPUT_ADM_USER_PWD
INIT
PREPARE
NetWeaver Enhancement Package Installation
SAPJup
Java Enhancement Package Installation
Regards
Anwer Waseem
Edited by: Anwer Waseem on Nov 9, 2011 11:48 PMTROUBLE TICKET LOG
Trouble Ticket Report
Installation of enhancement package 1 for SAP NetWeaver 7.0
The execution of ended in error.
Could not perform operation on secure store. See previous messages.
Could not perform operation on secure store. See previous messages.
Class com.sap.security.core.server.secstorefs.SecStoreFS method createStoreWithEncryption has thrown the exception com.sap.security.core.server.secstorefs.FileIOException
com.sap.security.core.server.secstorefs.FileIOException: I/O error on file "e:\usr\sap\PRD\SYS\global\security\data\JUpgrade.key".
java.io.FileNotFoundException: e:\usr\sap\PRD\SYS\global\security\data\JUpgrade.key (The system cannot find the path specified)*
its locating on drive e:\ which is wrong directory, the global directory are avaiable on drive S:\; this is the reasons that processing are ending with error.
Please advise how to resolve ASAP.
More information can be found in the log file .
Use the information provided to trouble-shoot the problem. There might be an OSS note providing a solution to this problem. Search for OSS notes with the following search terms:
com.sap.sdt.util.secstore.SecureStoreException
Could not perform operation on secure store. See previous messages.
CHECK_PREPARE_UNIT
Regards
Anwer Waseem -
Unable to Execute a Report to send PAN XML messages out of SNC
Hi All,
We are unable to Execute a Report /SCA/DM_TIMESERIES_OUT to send Product Activity Notifications in the form of XML messages out of SNC. We have manitained some Planned Reciepts data in SNC and would like to transfer it out to ECC.
Could anyone help in understanding if we have to maintain mandatory settings before executing this report.
Thanks & Regards,
SadiqHi Pravin,
As per the documentation(http://help.sap.com/saphelp_snc70/helpdata/EN/48/6bdb4767a431cbe10000000a42189d/frameset.htm), we have tried both the manual and automatic features to configure the output from SNC in the form of XML messages.
The manual method gave a message "Time series data for selection is empty" and the Automated method could trigger the XML messages on every incoming message from ECC but we are unable to see the Planned Receipts in that XML messages.
Was just wondering if we can see the Planned Receipt info by changing the settings of this report or by using any other simillar report as the PR info is very important for our development.
Thanks & Regards,
Sadiq -
ECATT/ABAP code to close a session while executing a chain script
How to close the extra created session during the execution of chain script??
Details of the problem:
I'm using eCATT for automating different business flows in SAP,
For a particular scenario I have to create a chain script,
One chain script may contain up to 40 individual scripts,
This chain script will contain around 7 report programs using SE38 transation,
While executing SE38 script(report program), one extra session is opening (log display session),
but, my script can close the original SE38 screen only, not the extra created session,
So, after executing 5 scripts (SE38 scripts), then "sessions reached to its max" message is appearing, and the script is failing,
As it is a automation test script, no manual interaction will be there,
i.e - we should not close the extra session manually.
Now, my question is:
How to close the extra created session..??
How the recording should be done to handle this problem..??
or any extra code should be added to close the extra session..??
Is there any ABAP code.. or eCATT command available to handle this problem..??
If you have any idea to close the extra created session, please share it with me,
my effort:
I tried with "RESCON" command... this will close all the SAP sessions,
This will not work for my scenario,
and, I tried with "Close session after every RFC",
this will work, but, after executing 5 SE38 scripts, I'm facing the above problem.
Please suggest me a solution, Thanks in advance..
Regards,
Chandra shekhar.A
Message was edited by:
chandra shekhar
Message was edited by:
chandra shekharuser13490676 wrote:
could it be a problem with jmf itself that the endofstream doesnt get generated for the datasource being read from a fileIn this instance, that would be the problem... more than likely, there's something weird about the file, perhaps it doesn't have a duration set in the header and JMF treats it like a live stream.
You could always write a custom DataSource that just passes through the input of a normal data source, and then generate the EndOfStream event yourself... maybe based on a timeout or failure counter? I haven't received any data in x seconds or after x attempts, so I'm assuming the file is done... Or when you've read enough data that the file can't possibly have any more (read >= file header + file data)... -
Error executing BPC test script
Hi,
We are on HANA. Our performance team is trying to execute a test script from HP Load Runner. We are seeing the below error
HTTP/1.0 500 Internal Server Error\r\n
<TITLE>500 SAP Internal Server Error</TITLE>\n
ERROR: XSLT: No valid XML source (termination: RABAX_STATE)<P>\n
Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://fmsap980.erps.intel.com:8000/sap/bpc/files?method=list" [MsgId: MERR-26612]
when we try and execute the same script manually within BPC front end, then no issues. everything is fine. Automating the test script is an issue.
any script , same error.
thanks for the help.Hey Ravi:
Any chance you found a solution to this?
Thanks
Kalinga -
Hi All, -
Can somebody tell me, how can I use a variable instead of hardcoded value into a SAP GUI script?
Because the recorded file is a vbs-file, I have tried to declare a variable as usual:
Dim Count As Integer
Count = 58
But when I try to execute the updated script, even without assigning the Count variable to any places from the script, an error occurs u2013 u2018expected end of statementu2019 (the same error also occurs if I use Count instead of 58). Actually I want to replace all occurrences of number 58 in the script below. Can anybody help me?
Thanks,
Svetlana
If Not IsObject(application) Then
Set SapGuiAuto = GetObject("SAPGUI")
Set application = SapGuiAuto.GetScriptingEngine
End If
If Not IsObject(connection) Then
Set connection = application.Children(0)
End If
If Not IsObject(session) Then
Set session = connection.Children(0)
End If
If IsObject(WScript) Then
WScript.ConnectObject session, "on"
WScript.ConnectObject application, "on"
End If
session.findById("wnd[0]").maximize
session.findById("wnd[0]/usr/tabsTS_SCRIPT_EDITOR_0202/tabpECSC_ED/ssubTR_SCRIPT_REF1:SAPLECATT_MAIN:0402/cntlCC_ECSC_EDITOR/shellcont/shell/shellcont[1]/shell/shellcont[1]/shell/shellcont[1]/shell/shellcont[1]/shell").contextMenu
session.findById("wnd[0]/usr/tabsTS_SCRIPT_EDITOR_0202/tabpECSC_ED/ssubTR_SCRIPT_REF1:SAPLECATT_MAIN:0402/cntlCC_ECSC_EDITOR/shellcont/shell/shellcont[1]/shell/shellcont[1]/shell/shellcont[1]/shell/shellcont[1]/shell").currentCellColumn = "DATA"
session.findById("wnd[0]/usr/tabsTS_SCRIPT_EDITOR_0202/tabpECSC_ED/ssubTR_SCRIPT_REF1:SAPLECATT_MAIN:0402/cntlCC_ECSC_EDITOR/shellcont/shell/shellcont[1]/shell/shellcont[1]/shell/shellcont[1]/shell/shellcont[1]/shell").contextMenu
session.findById("wnd[0]/usr/tabsTS_SCRIPT_EDITOR_0202/tabpECSC_ED/ssubTR_SCRIPT_REF1:SAPLECATT_MAIN:0402/cntlCC_ECSC_EDITOR/shellcont/shell/shellcont[1]/shell/shellcont[1]/shell/shellcont[1]/shell/shellcont[1]/shell").modifyCell 0,"DATA","M_FORMOFADDR"
session.findById("wnd[0]/usr/tabsTS_SCRIPT_EDITOR_0202/tabpECSC_ED/ssubTR_SCRIPT_REF1:SAPLECATT_MAIN:0402/cntlCC_ECSC_EDITOR/shellcont/shell/shellcont[0]/shell").insertRows "58"
session.findById("wnd[0]/usr/tabsTS_SCRIPT_EDITOR_0202/tabpECSC_ED/ssubTR_SCRIPT_REF1:SAPLECATT_MAIN:0402/cntlCC_ECSC_EDITOR/shellcont/shell/shellcont[0]/shell").modifyCell 58,"PNAME","M_FORMOFADDR"
session.findById("wnd[0]/usr/tabsTS_SCRIPT_EDITOR_0202/tabpECSC_ED/ssubTR_SCRIPT_REF1:SAPLECATT_MAIN:0402/cntlCC_ECSC_EDITOR/shellcont/shell/shellcont[0]/shell").modifyCell 58,"PTYP","I"
session.findById("wnd[0]/usr/tabsTS_SCRIPT_EDITOR_0202/tabpECSC_ED/ssubTR_SCRIPT_REF1:SAPLECATT_MAIN:0402/cntlCC_ECSC_EDITOR/shellcont/shell/shellcont[0]/shell").setCurrentCell 58,"PTYP"
session.findById("wnd[0]/usr/tabsTS_SCRIPT_EDITOR_0202/tabpECSC_ED/ssubTR_SCRIPT_REF1:SAPLECATT_MAIN:0402/cntlCC_ECSC_EDITOR/shellcont/shell/shellcont[0]/shell").firstVisibleRow = 53
session.findById("wnd[0]/usr/tabsTS_SCRIPT_EDITOR_0202/tabpECSC_ED/ssubTR_SCRIPT_REF1:SAPLECATT_MAIN:0402/cntlCC_ECSC_EDITOR/shellcont/shell/shellcont[0]/shell").pressEnter
Edited by: Svetlana Balinova on Jul 21, 2009 3:12 PM
Edited by: Svetlana Balinova on Jul 21, 2009 3:13 PMHi Svetlana,
if I have understood correctly, could it be that the following link you could use a bit:
Referencing a variable in 'session findbyId' command (SAP GUI Scripting)
Regards,
ScriptMan
Maybe you are looking for
-
When I try to get into my itunes icon, a message comes up saying 'iTunes is not working'. I am beside myself as I have a lot of musice in this account. I can't get in on my computer (windows 7 professional) & therefore also not on my apple tv. Now
-
Safari 5.1.2 Lion crashes on startup
Hi, I downloaded and installed Safari 5.1.2 when it was released and everything was fine. This evening I left my work and Safari was fine, however when I returned I had a message on screen that Safari had quit working, I restarted it and every since
-
Imqadmin: No. of messages not displayed correctly in durable subs screen
This question applies to the standalone platform edition of Message Queue v3.5 SP2 running on solaris. I have a number of durable subscribers connecting to a topic. Each & all subscriber have a selector set to filter the data. From imqadmin I can sel
-
Making the switch from a mini to a classic
I have an old version of itunes and had an ipod mini, i upgraded to a classic ipod and downloaded itunes 7.7 from the web site and restarted my computer and itunes still tells me my classic cannot be used. I am virtually computer illeterate and need
-
I used Migration Assistant to transfer from MBP (Leopard OSX 10.6.8) to Mac Mini (Lion OSX 10.7). Documents cannot be "seen" or "found". Ditto Music , movies, and pictures.Stumped!