Error in executing eCATT GUI Script
Hi
I am getting following error (in bold) while executing eCATT GUI Script. This happens only for GUI Scripts and not for TCD scripts. Please help me to solve this issue.
<b>0000000195 Test Scrpt ZGUI_SCRIPT4 Version 1 - SECATT [Without Interruption]
R01 800 SANDEEPK1 E 620 sapnw10 Windows NT MSSQL 26.05.2006 12:42:29
ZGUI_SCRIPT4 [0,109 sec] Version 1 ZGUI_SCRIPT4
Tgt System TEST_ECAT->ECATT_SAPNW10_800_E->T90CLNT090 (R01 800 ALEREMOTE E 620 sapnw10
Windows NT MSSQL)
Error in eCATT function SAPGUI
Destination ECATT_SAPNW10_800_E RFC error
service 'sapgw-1' unknown / CPI-C error CM_PRODUCT_SPECIFIC_ERROR.</b>
Thanks in Advance.
Regards,
Sandeep K.
Hi Sandeep,
My self , Sreedhar D, working eCATT using SAPGUI recording.
i think ur problem is resolved. Can u help for the below issue.
Scenario:
And i working on testing server which does not have any trasaction, i have to record the transaction using RFC connection to different machine.
I did all the that process and able to connect remote machine.
i started doing the recoding in SAPGUI after creation of sys. Data container by specifying RFC connection.
I recorded the script, but when i try to execute the same this attached error r coming.
But i recorded the same using TCD(Recorded) using remote connection and able to sucessfully execute.
One more thing also, we used write the script for reading the test data from Excel and pass as parameters using TCD(Recording).
Below is the error
Target sys ECATT_SAPTD120_400_E_0002
Destination ECATT_SAPTD120_400_E_0002 RFC Error
Waiting for ur response. Thanks in Adavance.
Sreedhar d
Similar Messages
-
RPT_ECATT_EXECUTE_TEST to execute eCATT Test Scripts in background
Hi everyone,
Found this program RPT_ECATT_EXECUTE_TEST to execute eCATT Test Scripts in the background. However, when i try to run a TCD test script in the background, im getting a "Control Framework: Fatal error - GUI cannot be reached" error in the job log.
Is there a workaround for this?
Thanks in advance.Hello,
If the recording is done using SAPGUI , here is the solution .
Say there are 3 radio buttons.
First time record with only one radio button clicked , complete the entire recording and save the script.
Split the recording using Methode wise, once this done you will have one SAPGUI for each operation performed.
Reopen the script in the change mode and also open the transaction screen where you want to record the remaining radio buttons.
Do a SAPGUI attach twice once for each radio button after the SAPGUI of the first radio button .
Once all the recoding is complete.
Declare 3 different input parameters (basically 3 flags), one for each radio button.
Note: SAPGUI recording is done only for checking the radio button and not unchecking.
IF ( input_parameter_radio_button_1 = 'x' ).
SAPGUI ( first radio button).
endif.
IF ( input_parameter_radio_button_2 = 'x' ).
SAPGUI ( second radio button).
endif.
Similarly for the third one.
Hope you understood the logic.
Thanks & Best regards,
Ajay -
Error while executing a uinx script in BODS job - exit code 127
I am executing a UNIX script using BODS job and it is giving an error message saying 'Program terminated because of exit code 127'. The same script i am able to execute in UNIX. I am not able to find the solution for this.
Using a print command with return code 8 should give more insight to the error.
print(exec('sh \bin','<your command>',8)); -
Error while executing unix shell script from java program
Hi All,
I am trying to execute unix shell script from a java program using Runtime.execute() method by passing script name and additional arguments.
Code snippet :
Java Class :
try{
String fileName ="test.ksh";
String argValue ="satish"; // value passed to the script
String exeParam = "/usr/bin/ksh "+fileName+" "+argValue;
Process proc = Runtime.getRuntime().exec(exeParam);
int exitValue = proc.waitFor();
sop("Exit Value is : "+exitValue);
catch(Exception e)
e.printStackTrace();
}Test.ksh
export -- application realated paths..
nohup abc.exe 1> test.log 2>&1;
$1
exit.By running the above java class , i am getting exit Value: 139 and log file test.log of 0 bytes.
when i am running the same command (/usr/bin/ksh test.ksh satish) manually, it's calling abc.exe file successfully
and able generate the logs properly.
Pls let us know where exactly i am stuck..
Thanks in advance,
Regards,
SatishHi Sabre,
As per the guidelines provided by the article, i had done below changes..
InputStream is = null;
InputStreamReader iStreamReader = null;
BufferedReader bReader = null;
String line = null;
try{
String fileName ="test.ksh";
String argValue ="satish"; // value passed to the script
String exeParam = "/usr/bin/ksh "+fileName+" "+argValue;
Process proc = Runtime.getRuntime().exec(exeParam);
is = proc.getErrorStream();
iStreamReader = new InputStreamReader(is);
bReader = new BufferedReader(iStreamReader);
System.out.println("<ERROR>");
while((line = bReader.readLine()) != null)
System.out.println("Error is : "+line);
System.out.println("</ERROR>");
int exitValue = proc.waitFor();
sop("Exit Value is : "+exitValue);
catch(Exception e)
e.printStackTrace();
Now , it's showing something like..
<ERROR>
</ERROR> -
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 -
Essbase error 1033, executing a calc script through HAL
A daily HAL job executes a calc script that returned a 1033 error.
Any ideas? Essbase 7.1.6, HAL 7.3 build 327
"error code - 1033: Essbase Error, <full path with calc script name> at ...."Sorry, no answer yet.
Our job that failed which runs about 6 times daily successfully ran on the next scheduled run with zero changes. Some sort of hiccup (unexplainable). -
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 -
Runtime Error while executing eCATT Script
Hello @All,
I worte a small eCATT script to stop the time a certain process needs to finish. The way I did this was to use the SAPGui (Record) method in eCATT.
This does work fine.
The second step I tried was to log the time and write it in a table to work with the times.
If I do this I always get an runtime error, I know why it appears but I do not have any idea how to solve this.
My script is:
message ( UZEIT ).
SAPGUI ( CC04_100_STEP_1 ).
SAPGUI ( CC04_1100_STEP_1 ).
endmessage( UZEIT ).
settab ( ypdm1t001, UZEIT ).
UZEIT is an Inputparameter with no reference.
The short text of the runtime error is:
Access not possible using 'NULL' object reference.
If I delete the definition of the parameter UZEIT the runtime error does not appear but I get the error in the Log that the parameter UZEIT is not defined.
Does anyone has a solution for this problem?
greets
manuelHi Harsha,
UZEIT is a command interface (I changed it so that is no more an parameter).
There seem to be no restrictions to add values in the table. I already spoke to collegues here and they cannot find a mistake.
I would further try to describe you what I want to do. Perhaps you have better ideas.
What I want to achive is to get an overview over response times of defined transactions.
We have a system landscape with local SAPGUIs and with installations on WTS and we want to compare response times from both sides.
Therefore I made the eCATT skripts.
Now I want to write the times somewhere so that I need not to write them down from every log file.
At this point I wanted to write the times (which should be stored in UZEIT) to a table so that afterwards a report can write those times in an excel file.
If you have better ideas to realize this please tell me.
Thank you in advance for helping me.
greets
Manuel -
Command not found error while executing a shell script
Hello,
I am a newbie to linux.I am attaching the code which gives me following errors..
error list:
1. no such file or directory enviornemnt
2. command not found
3. ambiguous redirectline
Script
cd $HOME/wkdir
rm /tmp/*.log
# source environment
. ./env
# Run the install script to setup the database
# Configure SH account
sqlplus "/ as sysdba" <<! > /tmp/perflab_install.log 2>&1
grant connect, resource, dba to SH;
alter user sh account unlock;
# create the fetch_n_rows procedure
sqlplus "$PERFLAB_USER" <<! >> /tmp/perflab_install.log 2>&1
drop index sales_time_bix;
drop index sales_time_idx;
create index sales_time_idx on sales(time_id) compute statistics;
-- fetch_n_rows: fetches 'n' rows from the specified statement --
CREATE OR REPLACE PROCEDURE fetch_n_rows(
stmt VARCHAR,
name VARCHAR,
nexec NUMBER := 1,
nrows NUMBER := 0,
debug BOOLEAN := FALSE)
IS
-- Local variables
curs INTEGER := null;
rc INTEGER;
nexec_it INTEGER := 0;
nrows_it INTEGER;
BEGIN
dbms_application_info.set_module('DEMO', name);
WHILE (nexec_it < nexec)
LOOP
curs := DBMS_SQL.OPEN_CURSOR;
DBMS_SQL.PARSE(curs, stmt, DBMS_SQL.NATIVE);
rc := DBMS_SQL.EXECUTE(curs);
nrows_it := 0;
LOOP
IF (dbms_sql.fetch_rows(curs) <= 0 OR (nrows <> 0 AND nrows_it = nrows
THEN
EXIT;
ELSE IF (debug = TRUE)
THEN
DBMS_OUTPUT.PUT_LINE(nrows_it);
END IF;
END IF;
nrows_it := nrows_it + 1;
END LOOP;
DBMS_SQL.CLOSE_CURSOR(curs);
nexec_it := nexec_it + 1;
END LOOP;
dbms_application_info.set_module(null, null);
END fetch_n_rows;
show errors
# Start the workload
. ./start_workload.sh > /tmp/setup_perflab.log 2>&1
# Wait two minutes for workload to get going
sleep 120
# Modify snapshot interval
sqlplus -s /NOLOG <<EOF >> /tmp/setup_perflab.log 2>&1
connect / as sysdba
set head on
set feedback on;
set pagesize 40
rem -- event to allow setting very short Flushing interval
alter session set events '13508 trace name context forever, level 1';
rem -- change INTERVAL setting to 2 minutes
rem -- change RETENTION setting to 6 hours (total of 180 snapshots)
execute dbms_workload_repository.modify_snapshot_settings(interval => 2,-
retention => 360);
EOF
Note : start_workload.sh is also in the same directory..
Any help would be greatly appreciated.Please put your script between "code" format delimiters.
http://wiki.oracle.com/page/Oracle+Discussion+Forums+FAQ
You can add the line "set -x" at the beginning of your script to see at which line it fails? I suspect the . ./env line. -
Error while executing the perl script txkChkFormsDeployment.pl
I run adstrtal.sh after update EBS from 12.1.1 to 12.1.3, when execute adformsctl.sh , it prompt the following error
We have determined that you need to redeploy Forms (using txkChkFormsDeployment.pl).
But could not do it automatically for you, due to some issues.
For details refer the log files.
Follow Note: 397174.1 to redeploy Forms manually.
I try to run perl %FND_TOP%\bin\txkrun.pl -script=CfgOC4JApp, which tell me the blow info
*** OPERATION is reload ***
Execute SYSTEM command : /d01/oracle/PROD/apps/tech_st/10.1.3/opmn/bin/opmnctl reload
/d01/oracle/PROD/apps/tech_st/10.1.3/opmn/bin/opmnctl: line 1150: /nfs/bld/d26/PRDXBLD9/apps/tech_st/10.1.3/opmn/bin/opmn: No such file or directory
opmnctl: opmn is not running.
=================================================
**************** IMPORTANT NOTE *****************
=================================================
Script failed to deploy formsapp.ear.
Follow Note: 397174.1 for deployment of formsapp.ear manually.
ERROR DESCRIPTION:
(*******FATAL ERROR*******
PROGRAM : /d01/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl(/d01/oracle/PROD/apps/apps_st/appl/fnd/12.0.0/bin/txkrun.pl)
TIME : Mon Jul 25 15:55:38 2011
FUNCTION: TXK::RunScript::unDeployOC4JInstance [ Level 1 ]
ERRORMSG: Application undeployment failed.
what can I do?
thanks================================
Inside unDeployOC4JInstance()...
================================
Undeplolying Application : "forms" from OC4J instance: "forms"
Execute SYSTEM command : /d01/oracle/PROD/apps/tech_st/10.1.3/jdk/bin/java -jar /d01/oracle/PROD/apps/tech_st/10.1.3/j2ee/home/admin_client.jar deployer:oc4j:opmn://ebs.upway.cn:6500/forms oc4jadmin ******* -undeploy forms
Failed at "Could not get DeploymentManager".
This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
Application undeployment failed.
Stopping FORMS oc4j... -
Error while executing a simple script....
Hi,
I am trying to run the following simple script in Oracle 8i:
UPDATE
vcad_ocorrencias
set tipo_situa_solic = 'E', desc_obs_atendente = 'ACERTO DE BASE -
18/10/2004'
where cod_solicitacao = 7
and tipo_situa_solic in ('N', 'P')
and cod_contrato_Inter not in ( 2247,2295,2296,2297,2278,2269,2168)
and dthora_geracao < '07/10/2004'
order by cod_contrato_inter;
And it is returning the following message error:
ERRO na linha 8:
ORA-00933: SQL command not properly ended
Well this script was made by a developer and now I have to run it in production environment...
Does someone know why it is failing?Get rid of your 'order by statement'.
order by cod_contrato_inter;
Also make certain that the 'NLS_DATE_FORMAT' is set to 'DD/MM/YYYY' or change
and dthora_geracao < '07/10/2004'
to
and dthora_geracao < to_date('07/10/2004','DD/MM/YYYY')
UPDATE
vcad_ocorrencias
set tipo_situa_solic = 'E',
desc_obs_atendente = 'ACERTO DE BASE - 18/10/2004' -- not sure if it is a date column
where cod_solicitacao = 7
and tipo_situa_solic in ('N', 'P')
and cod_contrato_Inter not in ( 2247,2295,2296,2297,2278,2269,2168)
and dthora_geracao < to_date('07/10/2004','DD/MM/YYYY') -
[SOLVED] error when execute a python script in home partition
Friends,
After of install the Arch in my notebook (note: "/" and "/home" in separated partition) if I open a terminal/shell and try execute a python program/script in the /home partition I receive many erros and the program don't run:
[leandro@professionalit ~]$ alacarte
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/usr/bin/alacarte", line 22, in <module>
from Alacarte.MainWindow import MainWindow
ImportError: No module named Alacarte.MainWindow
[leandro@professionalit ~]$
[leandro@professionalit ~]$ dropbox start
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/usr/bin/dropbox", line 26, in <module>
import optparse
File "/usr/lib/python2.6/optparse.py", line 75, in <module>
import sys, os
File "os.py", line 2, in <module>
import socket
File "/usr/lib/python2.6/socket.py", line 92, in <module>
__all__.extend(os._get_exports_list(_socket))
AttributeError: 'module' object has no attribute '_get_exports_list'
But, if I go to another partition, for example, the folder opt in partition / (/opt) and try execute the program it run OK.
Any idea ?
Best regards,
Leandro.
Last edited by LeandroTiger (2010-05-21 23:02:29)[leandro@professionalit ~]$ pwd
/home/leandro
[leandro@professionalit ~]$ python
'import site' failed; use -v for traceback
Python 2.6.5 (r265:79063, Apr 1 2010, 05:22:20)
[GCC 4.4.3 20100316 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.path
['', '', '/usr/lib/openoffice/basis-link/program/', '/usr/lib/python26.zip', '/usr/lib/python2.6/', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload']
>>> import site
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/site.py", line 62, in <module>
import os
File "os.py", line 2, in <module>
import socket
File "/usr/lib/python2.6/socket.py", line 92, in <module>
__all__.extend(os._get_exports_list(_socket))
AttributeError: 'module' object has no attribute '_get_exports_list'
>>> import Alacarte
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named Alacarte
>>> -
Getting SP2-0306 error while executing a scrpt.
Hi all,
We are using oracle version 11GR2 .
I am getting the below error while executing a unix script which connect to DB and returns a value. Why we get such issues/ anything wrong in the setup ?
Same code working fine in old db. any idead how to resolve this?
SP2-0306: Invalid option. Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM}] [edition=value]] where <logon> ::= <username>[/<password>][@<connect_identifier>] <proxy> ::= <proxyuser>[<username>][/<password>][@<connect_identifier>] ERROR: ORA-01017: invalid username/password; logon denied SP2-0306: Invalid option. Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM}] [edition=value]] where <logon> ::= <username>[/<password>][@<connect_identifier>] <proxy> ::= <proxyuser>[<username>][/<password>][@<connect_identifier>] SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*PlusPlease let me know if you need any details.
Thanks and Regards
NagarajaThanks for the response rp.
I am calling the script checkdbtoproceedjob from another script as below.
DBVALUE=`checkdbtoproceedjob ODS_LOAD $1` >> $LOGFILE
echo "dbvalue is "$DBVALUE
if [ $DBVALUE != "DBCONTINUE" ]
then
echo "**** job will be exited as db says no *****"
exit 0
fi
echo "***** Job will be continued as db says yes ******" >> $LOGFILEDBVALUE is coming as null and I am getting the error.
HOwever, If I execute the script alone as below it is returning the values. I don't think there is issue with credentials.
checkdbtoproceedjob ODS_LOAD FORWARDARTICLE
checkdbtoproceedejob
#! /bin/bash
. config
set -x
checkdbtoproceedjob()
CONTROLFLAG=`sqlplus -s $CONNSTRODS << EOF
whenever sqlerror exit sql.sqlcode
set TRIMSPOOL ON
set serveroutput on
set pagesize 0 feedback off verify off heading off echo off
declare
pv_control_flag varchar2(50);
pv_feed_name varchar2(100) := '$2';
pv_job_name varchar2(100) := '$1';
begin
SP_CHECK_PROCEED_JOB(pv_job_name,pv_feed_name,pv_control_flag);
dbms_output.put_line(pv_control_flag);
end;
exit;
EOF`
checkdbtoproceedjob $1 $2
echo $CONTROLFLAG
set +x
exit 0am i doing something wrong? Please let me know.
Regards
Nagaraja Akkiivalli.
Edited by: Nagaraja Akkivalli on Mar 28, 2012 1:50 PM -
Difference between SAP GUI scripting and eCATT
HI,
What is difference between SAP GUI Script and eCATT.
I know that SAP GUI Script can be used for transaction that have activex controls but can we use these script in eCATT also.
If yes, how?
Thanks,
PriyaHi Priya,
SAPGUI script will only work from an external program, may be VB or vbScript. ECATT can only execute a fixed set of commands e.g. (TCD, SAPGUI etc) or a block of ABAP code. ECATT can both work in foreground and background mode.
In foreground mode you would be able to see the script running on your frontend whereas background mode will create a job in the SAP system.
You can convert your SAPGUI scripts to SAPGUI commands and execute. If you strictly want to execute SAPGUI script from ECATT then you would have to save the script somewhere on your desktop computer and call it from an ABAP block in ECATT.
Bikash -
error while executing script for sharepoint online (office 365) - the remote server returned an error: (503) server unavailable.
I am creating many site collections reading records from sharepoint list using powershell in sharepoint online tenant (office 365).
Few site collections are created and then getting above error so this error record will be skipped then few succeeding record processed then again getting error.
pattern is like:
success
success
success
success
Error
success
success
success
success
success
success
error
successHi,
As it is an online environment, to troubleshoot this issue in an easier way, I suggest you contact Office 365 Support to see if there is any useful information in
the log files in the server side:
https://support.office.com/en-us/article/Contact-Office-365-for-business-support-32a17ca7-6fa0-4870-8a8d-e25ba4ccfd4b?ui=en-US&rs=en-US&ad=US
Best regards
Patrick Liang
TechNet Community Support
Maybe you are looking for
-
X1 Carbon touchpad and trackpad stops working.
Received my new X1 Carbon 2014 this week. After only two minutes of use, the trackpad and toucphpad stopped working. I hade to use an external mouse, and even after all driver updates it still didn`t work. If I restart the machine, sometimes the trac
-
Procedure must be declared error
I am trying to create an anonymous block that will invoke both the packaged procedure and function in the package to test, using basket id 12. Package CREATE OR REPLACE PACKAGE order_info_pkg IS FUNCTION C (p_basket IN NUMBER) RETURN VARCHAR2;
-
How to use print functionality in Java Studio Creator
Hi, I am working on one JSF project using Java Studio Creator. I have requirement where I have one table and print button. By clicking the print button, I want the contents of table to be printed. I have configured all the required properties of this
-
When validate item for a particular item number
hi all i am using forms 6i In a master detail form the block XXNP_JL_OO1 has 2 fields like Manual--checkbox item Field--text item (populated from Lov RECORD group names Field) the query for the record group of FIELD is select flex_value from fnd_flex
-
Adobe Premiere Pro Help | Editing multi‑camera sequences (CS6)
This question was posted in response to the following article: http://helpx.adobe.com/premiere-pro/using/editing-multi-camera-sequences1.html