Getting Error while executing shell through Demantra workflow
Hi All,
I created .sh file(shell script) for sftp(transfer file from one instance to another instance) and created new workflow with executable step.
In command line I have given file path and file name(Example: /folder/data/bin/abc.sh). When I try to run this workflow by clicking start button it is not running. That current step is marked with red color. and below error I am getting.could u please help me
Error description 'Process terminated with errors ,please check the process logs for more
information.'
2013-10-31 05:42:02,307 CET [WFProcess_39] ERROR dpweb.general: ######################################################################################
2013-10-31 05:42:02,308 CET [Mail_Thread] ERROR workflow.steps: MailThread:run()::No Sender or Reciever
2013-10-31 05:42:02,323 CET [Mail_Thread] ERROR workflow.steps: MailThread:run()::No Sender or Reciever
2013-10-31 05:44:00,391 CET [ExeStepExecutionThread] FATAL workflow.general: java.io.IOException: /data/nani/bin/sh: not found
java.io.IOException: java.io.IOException: /data/nani/bin/sh: not found
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:429)
at java.lang.Runtime.exec(Runtime.java:326)
at com.demantra.workflow.step.ExeStep.run(ExeStep.java:336)
at java.lang.Thread.run(Thread.java:595)
When I try to run the same script through putty its working fine but not through demantra workflow.
Dear DeetiNaresh,
Sorry I don't have a solution for this problem. But I am having this same issue. And this is only hit I have found for this issue in metalink or google. Incase your issue is resolved, it would be of great help to me, if you could post your resolution for this.
Thanks.
Similar Messages
-
Getting error while executing workflow: java.lang.OutOfMemoryError.
Hi,
I am getting the below error while executing the unassigment workflow on AD resource having 160 user objects.
java.lang.OutOfMemoryError.
Please provid your inputs on this.
Your help wolud be appriciated.
Thanks
Renuka.Well, if you're getting an out of memory exception then your memory settings are too low. Odds are there's a period of activity where the memory usage spikes above what you've configured for the VM.
-
Error while executing query through rsrt
hello experts,
I am facing following error while executing one HR query through rsrt.
"System error in program SAPLRRI2 and form REP_ASSIGN_INITIAL_OPT-01- (see long text) "
while executing query through rsrt it automatically goes to debug mode, coming out of debug mode i get the screan showing above error message.
What would be an issue?
Regards,
Nirav
Edited by: Nirav Shah on Apr 21, 2008 8:19 AMHi ramesh,
I havent kept any execlusion selection. Though i saw long text, it is like this:
"Diagnosis
This internal error is an intended termination resulting from a program state that is not permitted.
Procedure
Analyze the situation and inform SAP.
If the termination occurred when you executed a query or Web template, or during interaction in the planning modeler, and if you can reproduce this termination, record a trace (transaction RSTT).
For more information about recording a trace, see the documentation for the trace tool environment as well as SAP Note 899572.
Notification Number BRAIN 299 "
Regards,
Nirav -
Command not found error while executing shell programs in terminal
I have written one sample shell program.
while executing shell program in terminal,it shows COMMAND NOT FOUND error.
How to slove this.Post the "Actual" error. It says more than command not found.
Post your script.
Post the output from:
echo $PATH
Post the output from:
which name_of_command_not_found -
Getting Error while Execute SSIS Package from Console Application
Dear All,
SSIS package working fine directly.
I got following error while execute SSIS package from C# console application.
The connection "{79D920D4-9229-46CA-9018-235B711F04D9}" is not found. This error is thrown by Connections collection when the specific connection element is not found.
Cannot find the connection manager with ID "{79D920D4-9229-46CA-9018-235B711F04D9}" in the connection manager collection due to error code 0xC0010009. That connection manager is needed by "OLE DB Destination.Connections[OleDbConnection]"
in the connection manager collection of "OLE DB Destination". Verify that a connection manager in the connection manager collection, Connections, has been created with that ID.
OLE DB Destination failed validation and returned error code 0xC004800B.
One or more component failed validation.
There were errors during task validation.
Code :
public static string RunDTSPackage()
Package pkg;
Application app;
DTSExecResult pkgResults;
Variables vars;
app = new Application();
pkg = app.LoadPackage(@"D:\WORK\Package.dtsx", null);
Microsoft.SqlServer.Dts.Runtime.DTSExecResult results = pkg.Execute();
I have recreate the application with again new connection in SSIS.
Still not working, Please provide solution if any one have.
DB : SQL Server 2008 R2
Thanks and regards,
Hardik RamwaniThe connection "{79D920D4-9229-46CA-9018-235B711F04D9}" is not found. This error is thrown by Connections collection when the specific connection element is not found.
Cannot find the connection manager with ID "{79D920D4-9229-46CA-9018-235B711F04D9}" in the connection manager collection due to error code 0xC0010009. That connection manager is needed by "OLE DB Destination.Connections[OleDbConnection]"
in the connection manager collection of "OLE DB Destination". Verify that a connection manager in the connection manager collection, Connections, has been created with that ID.
Are you sure that you are running the same package via .NET which works fine from Visual Studio?
By reading error message, I can say that you have copied OLEDB task from another package OR you have deleted one OLEDB connection manager. Now when package is run this task tries to use the connection manager and not found thus throws error message.
Open all OLEDB destination tasks and you find connection manager missing. Connection Manager name should be provided there
Cheers,
Vaibhav Chaudhari
MCSA - SQL Server 2012 -
Getting error while connect ucm through JAX-WS protocal
HI All ,
please help me to come out form this problem.
I have written the following code in my servlet and when I am trying to call the servlet I am getting following error.
I tried to access 'http://localhost:16200/cs/idcnativews/IdcWebRequestPort?WSDL' urs but I am unable to access it through browser.
Even I went to weblogic console deployment where these webservicess are deployed in mystem when tired to chage the ws plocy for ws I am getting messeg like*This page lists the policy files that are attached to the endpoints and operations of this Web service. The operations are listed below the endpoint; click on the + sign to view them. Click on the endpoint or operation name to attach a policy file. For example, you can specify that the policy file applies only for inbound (request) SOAP messages, and so on.*
You must start the Web Service to be able to view its associated WS-Policy file.
my servlet code is :+
// create the manager
IdcClientManager manager = new IdcClientManager();
// build a client that will communicate using the JAXWS protocol
JaxWSClient jaxwsClient = (JaxWSClient)manager.createClient("http://localhost:16200/cs/idcnativews");
JaxWSClientConfig jaxwsConfig = jaxwsClient.getConfig();
/// set the property
jaxwsConfig.setServerInstanceName("http://localhost:16200/cs/");
jaxwsConfig.setJpsConfigFile("config/fmwconfig/jps-config.xml");
IdcContext userContext = new IdcContext("weblogic");
// create an identity with a password
IdcContext userPasswordContext = new IdcContext("weblogic", "Accenture123");
// get the binder
DataBinder serverBinder = jaxwsClient.createBinder();
// populate the binder with the parameters
serverBinder.putLocal ("IdcService", "GET_SEARCH_RESULTS");
serverBinder.putLocal ("QueryText", "");
serverBinder.putLocal ("ResultCount", "20");
// execute the request
ServiceResponse cmsResponse = jaxwsClient.sendRequest(userContext, serverBinder);
// get the binder
serverBinder = cmsResponse.getResponseAsBinder();
DataResultSet resultSet = serverBinder.getResultSet ("SearchResults");
**Erorr:**
<Dec 29, 2010 10:46:22 AM IST> <Error> <Default> <BEA-000000> <Error while readi
ng from WSDL
java.io.FileNotFoundException: Response: '404: Not Found' for url: 'http://local
host:16200/cs/idcnativews/IdcWebRequestPort?WSDL'
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.
java:474)
at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLCon
nection.java:37)
at java.net.URL.openStream(URL.java:1010)
at oracle.stellent.ridc.protocol.jaxws.JaxWSClient.initialize(JaxWSClien
t.java:68)
at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:135)
at com.nbn.ucm.poc.ConnectingToUCM.doPost(ConnectingToUCM.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
tyHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
ervletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
ontext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
ava:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
java.lang.IllegalArgumentException: local part cannot be "null" when creating a
QName
at javax.xml.namespace.QName.<init>(QName.java:246)
at javax.xml.namespace.QName.<init>(QName.java:190)
at oracle.stellent.ridc.protocol.jaxws.JaxWSProtocol.authenticateUser(Ja
xWSProtocol.java:189)
at oracle.stellent.ridc.protocol.jaxws.JaxWSProtocol.writeRequest(JaxWSP
rotocol.java:106)
at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:149)
at com.nbn.ucm.poc.ConnectingToUCM.doPost(ConnectingToUCM.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
tyHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
ervletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
ontext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
ava:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Thanks in advance,
KishoreThe Site Studio designer that you are using to connect to content sever is not compatible with the SiteStudio component that you have installed.
Install the designer that is inside the site studio component zip and try.
regards,
deepak -
Getting error while running shell scripts
Hi DBAS,
I Have one requirement,i want connect n database dynamically by using dynamic password and execute some oracle commands,i written some script ,but while running i am getting error,please any one correct my error ,i am not able to getting error
passwrd.pw like this
abc@abc
aaa@aaa
# vi healthcheck.ksh
#!/bin/ksh
export PW=`cat /applis/forum/pune/dbhealthchecks/.pw/passwrd.pw`
for (( i = 0 ; i < ${#PW[@]} ; i++ ))
do
sqlplus -s larry/$PW<<EOI
spool sysdate.dat
select sysdate from dual;
done
exit;
EOI
error :
line 2: syntax error at line 11: `for' unmatched
thanks!
larry
Edited by: tmadugula on Mar 18, 2011 6:26 AMCould you explain the reason for the for loop and connection attempts while incrementing var $i?
It is also no a good idea to provide a password at the command line since it can be seen with 'ps' command.
Better:
sqlplus -s <<-EOI
connect larry/$PW
etc. -
Getting error while sending mail through javamail api
I can able to compile the following code successfully but while executing it showing the error
C:\Program Files\Java\javamail-1.4\demo>java msgsend -o [email protected] -M 203.112.158.188 [email protected]
Exception in thread "main" java.lang.NoClassDefFoundError: msgsend
import java.io.*;
import java.net.InetAddress;
import java.util.Properties;
import java.util.Date;
import javax.mail.*;
import javax.mail.internet.*;
public class msgsend {
public static void main(String[] argv) {
String to, subject = null, from = null,
cc = null, bcc = null, url = null;
String mailhost = "null";
String mailer = "msgsend";
String file = null;
String protocol = null, host = null, user = null, password = null;
String record = null; // name of folder in which to record mail
boolean debug = false;
BufferedReader in =
new BufferedReader(new InputStreamReader(System.in));
int optind;
for (optind = 0; optind < argv.length; optind++) {
if (argv[optind].equals("-T")) {
protocol = argv[++optind];
} else if (argv[optind].equals("-H")) {
host = argv[++optind];
} else if (argv[optind].equals("-U")) {
user = argv[++optind];
} else if (argv[optind].equals("-P")) {
password = argv[++optind];
} else if (argv[optind].equals("-M")) {
mailhost = argv[++optind];
} else if (argv[optind].equals("-f")) {
record = argv[++optind];
} else if (argv[optind].equals("-a")) {
file = argv[++optind];
} else if (argv[optind].equals("-s")) {
subject = argv[++optind];
} else if (argv[optind].equals("-o")) { // originator
from = argv[++optind];
} else if (argv[optind].equals("-c")) {
cc = argv[++optind];
} else if (argv[optind].equals("-b")) {
bcc = argv[++optind];
} else if (argv[optind].equals("-L")) {
url = argv[++optind];
} else if (argv[optind].equals("-d")) {
debug = true;
} else if (argv[optind].equals("--")) {
optind++;
break;
} else if (argv[optind].startsWith("-")) {
System.out.println(
"Usage: msgsend [[-L store-url] | [-T prot] [-H host] [-U user] [-P passwd]]");
System.out.println(
"\t[-s subject] [-o from-address] [-c cc-addresses] [-b bcc-addresses]");
System.out.println(
"\t[-f record-mailbox] [-M transport-host] [-a attach-file] [-d] [address]");
System.exit(1);
} else {
break;
try {
if (optind < argv.length) {
// XXX - concatenate all remaining arguments
to = argv[optind];
System.out.println("To: " + to);
} else {
System.out.print("To: ");
System.out.flush();
to = in.readLine();
if (subject == null) {
System.out.print("Subject: ");
System.out.flush();
subject = in.readLine();
} else {
System.out.println("Subject: " + subject);
Properties props = System.getProperties();
// XXX - could use Session.getTransport() and Transport.connect()
// XXX - assume we're using SMTP
if (mailhost != null)
props.put("mail.smtp.host", mailhost);
// Get a Session object
Session session = Session.getInstance(props, null);
if (debug)
session.setDebug(true);
// construct the message
Message msg = new MimeMessage(session);
if (from != null)
msg.setFrom(new InternetAddress(from));
else
msg.setFrom();
msg.setRecipients(Message.RecipientType.TO,
InternetAddress.parse(to, false));
if (cc != null)
msg.setRecipients(Message.RecipientType.CC,
InternetAddress.parse(cc, false));
if (bcc != null)
msg.setRecipients(Message.RecipientType.BCC,
InternetAddress.parse(bcc, false));
msg.setSubject(subject);
String text = collect(in);
if (file != null) {
// Attach the specified file.
// We need a multipart message to hold the attachment.
MimeBodyPart mbp1 = new MimeBodyPart();
mbp1.setText(text);
MimeBodyPart mbp2 = new MimeBodyPart();
mbp2.attachFile(file);
MimeMultipart mp = new MimeMultipart();
mp.addBodyPart(mbp1);
mp.addBodyPart(mbp2);
msg.setContent(mp);
} else {
// If the desired charset is known, you can use
// setText(text, charset)
msg.setText(text);
msg.setHeader("X-Mailer", mailer);
msg.setSentDate(new Date());
// send the thing off
Transport.send(msg);
System.out.println("\nMail was sent successfully.");
// Keep a copy, if requested.
if (record != null) {
// Get a Store object
Store store = null;
if (url != null) {
URLName urln = new URLName(url);
store = session.getStore(urln);
store.connect();
} else {
if (protocol != null)
store = session.getStore(protocol);
else
store = session.getStore();
// Connect
if (host != null || user != null || password != null)
store.connect(host, user, password);
else
store.connect();
// Get record Folder. Create if it does not exist.
Folder folder = store.getFolder(record);
if (folder == null) {
System.err.println("Can't get record folder.");
System.exit(1);
if (!folder.exists())
folder.create(Folder.HOLDS_MESSAGES);
Message[] msgs = new Message[1];
msgs[0] = msg;
folder.appendMessages(msgs);
System.out.println("Mail was recorded successfully.");
} catch (Exception e) {
e.printStackTrace();
public static String collect(BufferedReader in) throws IOException {
String line;
StringBuffer sb = new StringBuffer();
while ((line = in.readLine()) != null) {
sb.append(line);
sb.append("\n");
return sb.toString();
So please help me to resolve that error.The directory that contains msgsend.class (usually the current directory)
is not in your CLASSPATH setting. Be sure that "." is included as one of the
entries in CLASSPATH. -
Hi Gurus,
I'm getting an error while creating a New project.
My code looks like this:
APPS.PA_PROJECT_PUB.CREATE_PROJECT
(p_api_version_number => l_object_version_number --IN Parameter
,p_commit => l_commit --IN Parameter
,p_init_msg_list => l_init_msg_list --IN Parameter
,p_msg_count => l_msg_count --OUT Parameter
,p_msg_data => l_msg_data --OUT Parameter
,p_return_status => l_return_status --OUT Parameter
,p_workflow_started => l_workflow_started --OUT Parameter
,p_pm_product_code => g_pm_product_code --IN Parameter
,p_op_validate_flag => l_op_validate_flag --IN Parameter
,p_project_in => g_project_in --IN Parameter
,p_project_out => g_project_out --OUT Parameter
,p_tasks_in => g_task_in --IN Parameter
,p_tasks_out => g_task_out --OUT Parameter
The out put params are: p_msg_count => 1
p_return_status => E
p_workflow_started => N
g_project_out.pa_project_id => 170000000000000000000
g_project_out.pa_project_number => ^
g_task_out_rec.pa_task_id => 170000000000000000000
End process record p_proj_insert => 1
Resetting the task count variable
when I checked the API code I found this:
PA_INTERFACE_UTILS_PUB.G_PROJECt_ID := null; --bug 2471668 ( not in the project context )
PA_PM_FUNCTION_SECURITY_PUB.check_function_security
(p_api_version_number => p_api_version_number,
p_responsibility_id => l_resp_id,
p_function_name => 'PA_PM_CREATE_PROJECT',
p_msg_count => l_msg_count,
p_msg_data => l_msg_data,
p_return_status => l_return_status,
p_function_allowed => l_function_allowed
. I think I am getting the error because of this.
Now, question.
Do I need to run the Create Project from a specific Responsibility?
because when I ran the underlined query, I fpound the final status as 'N'.
I'm a HR guy and PA is a new world for me. Any help will be appreciated.
Thanks!!
VikyYou need to find any responsibility and userid that lets you create a project using the screen.
And then in your code, you need to set your context to that resp/userid.
Hope this helps
Sandeep Gandhi -
Getting error while executing a procedure and assign the output in BPEL
Hi
I am getting the Following error while deploying BPEL in 10.1.3.1. I have invoked Database Adapter and called a procedure and that procedure returns a output. I have assigned that output to a variable.
empty variable/expression result.
xpath variable/expression expression "/ns2:OutputParameters/ns2:GREETING" is empty at line 98, when attempting reading/copying it.
Please make sure the variable/expression result "/ns2:OutputParameters/ns2:GREETING" is not empty.
Please reply me with SolutionsHi,
Are you getting this error while deploying or testing ?
Normally this will happen due to namespace mismatch issue. But if you have auto-created the variables then JDev will take care of it so it should not be a problem
Also, please check if this also happens if the code is deployed to 10.1.3.3 ?
Regards,
ketan -
Getting error while importing data through IMPDB
Hi All ,
I am getting below error while importing.
Processing object type SCHEMA_EXPORT/TABLE/TABLE
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.POST_MT_INIT [SELECT SYS.KUPM$MCP.GET_ENDIANNESS@STAG_RISKCORE FROM SYS.DUAL]
ORA-04052: error occurred when looking up remote object SYS.KUPM$MCP@STAG_RISKCORE
ORA-00604: error occurred at recursive SQL level 3
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 9715
----- PL/SQL Call Stack -----
object line object
handle number name
0xc15928e18 21979 package body SYS.KUPW$WORKER
0xc15928e18 9742 package body SYS.KUPW$WORKER
0xc15928e18 2353 package body SYS.KUPW$WORKER
0xc15928e18 1563 package body SYS.KUPW$WORKER
0xbef8aa138 2 anonymous block
Job "SYS"."JOBDASPRD" stopped due to fatal error at Tue Jan 21 16:25:21 2014 elapsed 0 00:05:17
Thanks,It seems you are performing import via network_link option.
Ensure that the database link STAG_RISKCORE is valid and works. Also, check the TNS service associated to connect to remote database. -
Getting error while executing DTP
Hello,
I am learning BI 7.0, am trying load master data from a flatfile to InfoObject. I am getting error when I execute DTP.
I have 15 records in the file. Below are the message that I see in the DTP monitor
- Extraction DataSource ( shows green light)
- Filter out New Records with Same Key ( shows red light) Below are the messages for 15 records
' Record filtered in advance as error records with the same key exist'
Please help me how to resolve this error.I checked my flatfile it looks as following structure
LANG Material Number Mat Desc
E MAT001 text1
E MAT002 text2
E MAT003 text3
I checked the transformations, it shows 'Key' sign against both lang and material number field. I checked the datasource field list and I 'Key' column is not checked. I don't know where key field settings need to be done. According to my understanding combination of Lang and Material Number forms the key then it cannot be duplicate as the material number is different though the lang field is same.
Please advise. Thanks -
Getting error while executing this select statement
Hi All,
I am new to this community.
I am getting error whie compiling the below code. Its telling 'Text' is invalid identifier. Also i want to know how can we obtain 'parseable' version of the below query?
my basic intention is to create a trigger header through a select statement and show it the complete text as a single column..
select text from
(select 'CREATE OR REPLACE TRIGGER '||SUBSTR(column_name,2,4)||'aud
AFTER INSERT
OR UPDATE
OF '||column_name||',
OR DELETE ON '||table_name||'
FOR EACH ROW'
FROM(SELECT lower(REPLACE(column_name,'O_','')) column_name , /*changing O to O_*/
lower(replace(t.table_name,'_A_','_')) table_name,
lower(t.table_name) table_name1,
c.column_id
FROM all_tab_columns c,
(SELECT object_name table_name
FROM all_objects
WHERE object_name LIKE '%/_A/_%' ESCAPE '/') t
WHERE c.table_name(+) = t.table_name
AND SUBSTR(column_name(+),1,2) = 'O_'))thanks prathamesh. it solved the problem. i have one more question.
as of now it creates single create trigger statement for each column on a table.
example:
CREATE OR REPLACE TRIGGER ust_aud
AFTER INSERT
OR UPDATE
OF cust_id,
OR DELETE ON characteristic_t
FOR EACH ROW
however, i want to create trigger for all columns in a single statement. can you please help me how to do it?
basically want to 'CREATE TRIGGER' for all columns in a table. i am finding difficult how to change my query to suit this!!
i am pasting my original query again for your reference. pls advise...
example:
CREATE OR REPLACE TRIGGER ust_aud
AFTER INSERT
OR UPDATE
OF cust_id,
fixed_item_val,
copy_item_val,
rgn_id,
txn_id,
OR DELETE ON characteristic_t
FOR EACH ROW
ORIGINAL QUERY
select text from
(select 'CREATE OR REPLACE TRIGGER '||SUBSTR(column_name,2,4)||'aud
AFTER INSERT
OR UPDATE
OF '||column_name||',
OR DELETE ON '||table_name||'
FOR EACH ROW' text
FROM(SELECT lower(REPLACE(column_name,'O_','')) column_name , /*changing O to O_*/
lower(replace(t.table_name,'_A_','_')) table_name,
lower(t.table_name) table_name1,
c.column_id
FROM all_tab_columns c,
(SELECT object_name table_name
FROM all_objects
WHERE object_name LIKE '%/_A/_%' ESCAPE '/') t
WHERE c.table_name(+) = t.table_name
AND SUBSTR(column_name(+),1,2) = 'O_')) -
Error While Executing Transaction Through SSO
Hi Guys,
I am trying SSO between Portal 6.0 and BW 3.5
I have added my BW system into Portal, RFC as well as JCo is working fine.
While executing any transaction its giving me following error.
http://<host_name>:<Port>/sap/bc/gui/sap/its/webgui call was terminated because the corresponding service is not available.
The termination occurred in system <SID> with error code 403 and for the reason Forbidden.*
The selected virtual host was 0 .*
ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:<host_name>_<SID>_<nr>-v:0-s:403-r:Forbidden
Appretiate your response
Regards,
SachinSachin,
Please refer to these links, you can have a look at the check list to figure out if you might have forgotten or missed a step while configuring the SSO.
Single Sign On between EP6.0 and BW 3.5
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/ep/sso%2bchecklist
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6535e690-0201-0010-6989-9e27386e1f24
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/ep/portal+implementation&
http://help.sap.com/saphelp_nw2004s/helpdata/en/d3/41c8ecb31d11d5993800508b6b8b11/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21eb036a-0a01-0010-25a3-b2224432640a
Reward points if handy!
Cheers,
Sandeep -
"BAPI_SALESORDER_CREATEFROMDAT2" - getting error while executing in se37.
Hi All,
I am executing BAPI -("BAPI_SALESORDER_CREATEFROMDAT2") in SE37 and getting error - "Unpermitted combination of business object BUS2032 and sales doc. category 0".
I passed SD_Doc_Cat - 'C'.
Please suggest, where should i correct.
Regards,
Chessleo.
Edited by: chessleo on May 21, 2011 12:46 PMHi,
Passing values in BAPI :
_Header data :_
REFDOCTYPE ZGK
DOC_TYPE ZRPS
SALES_ORG PGBU
DISTR_CHAN PG
DIVISION PG
REQ_DATE_H 05/10/2010
PURCH_NO_C 123456 "Fixed values
PO_DAT_S 05/21/2011 "Fixed values
SD_DOC_CAT C
REF_DOC P057
COMP_CDE_B W001
REFDOC_CAT 0.
_Item data :_
ITM_NUM MATERIAL TARGET_QTY SHORT_TEXT SAL
100 R-I UNSP MAJ COMP 15 TESTING1 EA
200 R-I UNSP MAJ COMP 16 TESTING1 EA
Partners Data :
PA PARTN_NUMB
SP 603424
SH 200530
Purchase order no and date - Fixed values
Please find the passing values.
Regards
chessleo.
Edited by: chessleo on May 26, 2011 10:29 AM
Maybe you are looking for
-
When the image file is mounted, the Firefox icon has the Ghostbuster's logo on it
When I double click the .dmg file and desktop window for the mounted disc appears, on the icon of the file to be drug into the Applications folder has your familiar Firefox logo, however, superimposed over your logo is a circle with a slash through i
-
Itunes 11.1.4 for Windows: Iphone 4S not recognized in Windows and Itunes
I recently installed itunes 11.1.4 on my Windows 7 (64) laptop computer and my iphone 4S was no longer recognized in Windows or itunes. Previous versions of itunes had worked with no problems with this combination. I completely uninstalled itunes, ap
-
Can not open pdfs w/adobe reader for android on archos 10i tablet?
I can not open pdfs w/adobe reader for android on archos 10i tablet? How to fix it?
-
APACHE DAYING AFTER DR WATSON ACTION
Hi portal admins!! Does anybody implement patch no:2128936, with subject : "SECURITY HOLE : MODPLSQL VULNERABLE TO SERVER ATTACK" ? I got this patch as the solution for daying apache process on our IAS server. (there is no any entry in error log of a
-
I am running a Rube Goldberg backup system with a 32G USB key and Time Machine. Every week I run TM and then copy the file over to the USB key so that I can carry around my backup if necessary. In order to copy over a backup from TM I first need to d