How to execute a scenario File to File with SAP XI ?
Hi all,
I'm starting study SAP XI, i see in the link follow:
[http://www.****************/Tutorials/XI/File2File/page8.htm]
a scenario to exchange file to file with SAP XI.
After designing and configuration everything (same as tutorial of this scenario), i don't known how to execute this scenario.
Anyone can answer my question: how to execute this scenario file to file?
Please see the link below to understand more about this scenario.
Thanks all a lot in advance,
Point will be reward for any valuable answer.
Vinh Vo
Hi Vinh,
Hope u read all the basic documents of the XI, if not please go through once u wil come to know how to execute a scenario.
the step-by-step procedure for a simple file-file scenario...
First u have to finish the Design Part in the IR
1) Create Data types
2) Create Message Types
3) Create Message Interface
4) Message Mapping
5) Message Interface.
Here it complete the desing part.
Then start thr configuration:-
1) Create the Configuration Scenario
2) Create the Business system and create the Communication Channel.
3) Sender Agreement
4) Receiver Determination
5) Interface Determination
6) Receiver Determination.
If u perfome this steps u wil be successfully complete u r File- File Scenario.
follow the below link to have clear picture of file-file scenario
STEP1:-
/people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-i
STEP2:-
/people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-ii
Hope this helps u a lot.....
Thankx
Anil
Edited by: Venkat Anil Gannavarapu on Jun 11, 2008 11:36 AM
Edited by: Venkat Anil Gannavarapu on Jun 11, 2008 11:40 AM
Similar Messages
-
How to execute ODI scenario from a web application
Hi
I need to execute ODI scenario from ApEx form.
how to execute ODI scenario from application. Using 10.1.3.5.5
-appIn the SQL property of the TQuery object, enter the call as an anonymous block:
begin
pkg_name.procedure_name(true);
end; -
How to execute a Scenario from Windows CMD prompt
Please can you let me know how to execute the Scenario from a Windows CMD prompt? I am not sure if it is any different from "ODIStartScen" command that ODI uses to execute the scenario.
Appreciate your help.
Regards
BHi SH,
I tried running the scenario from the command line, but the process was not completed and it came back with the below message
Session : 131774001 finished with return code : 7000
Do I need to set up any environmental variables or any other setups before I can run the scenario from the command line?
Appreciate your help.
Regards
B -
Can anyone explain how to download and upload TROY ECF fonts with SAP
Can anyone explain how to download and upload TROY ECF fonts with SAP.I have downloaded ECF font from TROY wesite as TTF format. but it is not getting upload with SAP.please kindly help me on this issue..
Hi,
You can use the SE73 Transaction and upload your TTF files.
Please check the link here for more details:
http://help.sap.com/saphelp_nw70/helpdata/en/36/5b3438fd263402e10000009b38f8cf/frameset.htm
Regards,
Siddhesh -
How to download and upload TROY ECF fonts with SAP for check printing
Can anyone explain how to download and upload TROY ECF fonts with SAP.I have downloaded ECF font from TROY wesite as TTF format. but it is not getting upload with SAP.please kindly help me on this issue..
Hi,
You can use the SE73 Transaction and upload your TTF files.
Please check the link here for more details:
http://help.sap.com/saphelp_nw70/helpdata/en/36/5b3438fd263402e10000009b38f8cf/frameset.htm
Regards,
Siddhesh -
How to open a trouble ticket/OSS note with SAP - Very Urgent
Hi Gurus,
I have the Logon and the password.
1)How to open a trouble ticket/OSS note with SAP.
Thanks
SimmiHi,
You could login to service.sap.com/inbox and then create a customer message using message wizard and send this to SAP. You can prioratize the ticket accordingly.
Sriram -
How to execute command(program) from external file in Oracle SQL developer
Hi,
Does anyone know, Oracle SQL developer version 1.0.0.14.67 got any function that can execute command from an external file?
Example, i have 100 insert SQL inside a text file,
and i want to use Oracle SQL developer to execute it. How do i read from my text file? Thanks a lots.If you're new to Oracle, do yourself and us a favour: read some tutorials and manuals. What sqldev's worth, better download the latest version (1.1.2), lots of fixes and enhancements...
Now for the big popper: to run an external file: @file
Best of luck,
K. -
How to execute code from a text file?
Hello all!
How to execute some code lines from a text file? For example my file is:
String varname = "somecontents";
JFrame frame = new JFrame();
frame.setVisible(true);How can I get contents of this file and parse them if I want get new JFrame and access to the variable varname?I mean the PHP would generate a readable Java source,
for example some variables with some data, and I just
dont know what to do with file if I want generate the
xls file from my saved data, could You help? :)Some variables, some data, PHP, Java, XLS file??? Al rather vague.
You need to explain in more detail what it is you're trying to do if you want an answer to your question! -
How to execute Struts program in jdeveloer(Oracle) with small example
Hi,
I want a small example on struts in Jdeveloper & how to diploy there.
Thanks & Regards
Rama KrishnaHi
Check the link below for using jdeveloper with struts:
http://www.oracle.com/technology/products/jdev/howtos/jsp/StrutsHowTo.html.
I am not aware whether Jdeveloper can be used with SAP web AS , if that's what you are looking at?
hope this helps , <b>please mark points for helpful answers</b>
regards
rajeshkr -
Hi all,
I learmed the basic stuff of XML, DTD, DOM, etc. long time ago. Now, I came back to resume my XML journey and try to learn the XML Schemas, XPath and XQuery. I have Microsoft SQL Server 2012 Management Studio (SSMS2012) in our computer network. From
Page 221 of the old Book "Beginning XML 2nd Edition" written by David Hunter, et.al., (published by Wrox), I copied the name5.xsd and name5.xml :
<?xml version="1.0"?>
<schema xmlns=http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.wrox.com/name" xmlns:target="http://www.wrox.com/name"
elementFormDefault="qualified">
<element name="name">
<complexType>
<sequence>
<element name="first" type="string"/>
<element name="middle" type="string"/>
<element name="last" type="string"/>
</sequence>
</complexType>
</element>
</schema>
<?xml version="1.0"?>
<name
xmlns=http://www.wrox.com/name"
xmlns:xsi="http://www.wrox.org/2001XMLSchema-instance"
xsi:schemaLocation="http://www.wrox.com/name name5.xsd"
title="Mr.">
<first>John</first>
<middle>Frizgerald</middle>
<last>Doe</last>
</name>
How can I execute these two files in my SSMS2012 for doing my first XML Schema trial?
Please kindly help, advise and respond.
Thanks in advance,
Scott ChangHi Eric Zhang, Thanks for your nice response.
1) I saw the CREATE XML SCHEMA COLLECTION (Transact-SQL) and tried its first example "Create XML schema collection in the database" in my SQL Server 2012 Management Studio (SSMS2012):
-- Create a sample database in which to load the XML schema collection.
-- Copied this set of code stsments from Microsoft Library (ms176009)
-- ColesMS12_20a.sql (saved in C:/Documents/SQL Server Management Studio)
-- 19 March 2015 1145 AM
CREATE DATABASE SampleDB
GO
USE SampleDB
GO
CREATE XML SCHEMA COLLECTION ManuInstructionsSchemaCollection AS
N'<?xml version="1.0" encoding="UTF-16"?>
<xsd:schema targetNamespace="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelManuInstructions"
xmlns ="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelManuInstructions"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
<xsd:complexType name="StepType" mixed="true" >
<xsd:choice minOccurs="0" maxOccurs="unbounded" >
<xsd:element name="tool" type="xsd:string" />
<xsd:element name="material" type="xsd:string" />
<xsd:element name="blueprint" type="xsd:string" />
<xsd:element name="specs" type="xsd:string" />
<xsd:element name="diag" type="xsd:string" />
</xsd:choice>
</xsd:complexType>
<xsd:element name="root">
<xsd:complexType mixed="true">
<xsd:sequence>
<xsd:element name="Location" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType mixed="true">
<xsd:sequence>
<xsd:element name="step" type="StepType" minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute name="LocationID" type="xsd:integer" use="required"/>
<xsd:attribute name="SetupHours" type="xsd:decimal" use="optional"/>
<xsd:attribute name="MachineHours" type="xsd:decimal" use="optional"/>
<xsd:attribute name="LaborHours" type="xsd:decimal" use="optional"/>
<xsd:attribute name="LotSize" type="xsd:decimal" use="optional"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>' ;
GO
-- Verify - list of collections in the database.
select *
from sys.xml_schema_collections
-- Verify - list of namespaces in the database.
select name
from sys.xml_schema_namespaces
-- Use it. Create a typed xml variable. Note collection name specified.
DECLARE @x xml (ManuInstructionsSchemaCollection)
GO
--Or create a typed xml column.
CREATE TABLE T (
i int primary key,
x xml (ManuInstructionsSchemaCollection))
GO
-- ////The following code statements are not used in order to create SampleDB
-- Clean up
---DROP TABLE T
---GO
---DROP XML SCHEMA COLLECTION ManuInstructionsSchemaCollection
---Go
---USE Master
---GO
---DROP DATABASE SampleDB
It worked and I got the following results:
1 4 NULL sys 2009-04-13 12:59:13.390 2012-02-10 20:16:02.097
65536 1 NULL ManuInstructionsSchemaCollection 2015-03-19 11:47:17.660 2015-03-19 11:47:17.660
http://www.w3.org/2001/XMLSchema
http://schemas.microsoft.com/sqlserver/2004/sqltypes
http://www.w3.org/XML/1998/namespace
http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelManuInstructions
But, I don't undertand (i) what SCHEMA COECTION is, (ii) what <xsd:schema targetNamespace=.....</xsd:complexType> are, (iii) How I can specify my "project specific" schema in the Microsoft SCHEMA COLLECTION to check my xml file.
2) I dived in the XQuery programmimng in SSMS2012 in the last few weeks. I used the examles of Ad-Hoc XML File Query by Seth Delconte (in
httpS://www.simple-talk.com/content/print.aspx?article=1756) in my SSMS2012. They worked. But I don't understand the (i) Importing XML data using a function, (ii) Using the XQuery contans()
function to find substrings, (iii)Efficiency comparisons in the article.
Please kindly help me in enlightening me to resolve the difficulties listed in 1) and 2).
Thanks,
Scott Chang -
How to execute sql statement under bat file?
I want to execute following statement
C:\>sqlplus /nolog
SQL> conn scott/tiger
SQL> select * from tab;
I know I can realize it as following test.bat and testdb.sql file
test.bat is follows:
sqlplus /nolog @testdb.sql
testdb.sql is follows:
conn scott/tiger
select * from tab;
Now I don't want to use sql file,I only want to use bat file,like follows:
test.bat is follows:
sqlplus /nolog
conn scott/tiger
select * from tab;
when I run test.bat,I find only sqlplus /nolog statement execute,the other statements don't execute.
1)I want to know whether there is a method to execute sql statement only by bat file without a sql file? How to realize it?
2)If I call sql file,how to hide passord of user? Because I don't want to other persons know scott password,if I use conn scott/tiger in testdb.sql,other person can see testdb.sql and know the password. Is there a good method to avoid?
Thanks!I'm running *NIX, but works the same on Windows
bcm@bcm-laptop:~$ cat here.sh
sqlplus dbadmin/admindb << EOF
select count(*) from user_objects;
exit
EOF
bcm@bcm-laptop:~$ sh here.sh
SQL*Plus: Release 11.2.0.1.0 Production on Mon May 17 18:14:09 2010
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
COUNT(*)
9
SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
bcm@bcm-laptop:~$ Edited by: sb92075 on May 17, 2010 6:15 PM -
How to execute sqlplus command in bat file ?
Hello
I have a simple script file that looks like this:
"sqlplus admin/admin as sysdba
shutdown immediate"
But.. when i start this file.bat my system logs but do not make any script. Sqlplus just waiting for command, and when i write "exit" i logout from sqlplus, and then system execute next command, that is "shutdown immediate" but beyond sqlplus (so my base is still working). Is it at all possible to log on and execute commands from file.bat or some other way ?
I'm using oracle 11g, windows 7x64
Regards and thx for help
Edited by: 879529 on 2011-11-27 04:52969970 wrote:
Thank you that worked for me.But I fear you don't really understand WHY it worked, and WHY your first attempts did not work.
So let me explain
Given this .bat file
sqlplus / as sysdba
shutdown immediateWhat happens when you execute the file? The windows command processor reads the file line by line and processes the command on each line. What is the first lilne?
sqlplus / as sysdbaSo what would you expect to happen when Windows processes that line? Remember, it's exactly as if you had entered that command yourself at the command prompt .... Answer: The OS locates an executable file named 'sqlplus', loads it into memory and passes control to it, along with a pointer to the rest of the command line ('/ as sysdba'). At that point, the executable sqlplus has control and will do whatever it wants with the command line it was passed ('/ as sysdba') and then waits for user input for more commands, including an 'exit' command. Where are those commands going to come from? They are NOT going to come from the next line in the bat file. They can't. The command processor that is running the bat file is still waiting for sqlplus to finish and return control. So you are stuck. The only way out is to break out of sqlplus with a 'ctl-break'. Once that happens, the command processor moves on to the next line in the bat file:
shutdown immediateSo now the os tries to locate an executable file named 'shutdown' .... you probably don't have an executable by that name (let's hope not!) so you then get an error message from the OS informing you that
'shutdown' is not recognized as an internal or external command,
operable program or batch file.Now, if you were using a real OS, you could achieve what you wanted by using input redirection, but unfortunately, Windows just has a toy for a command processor. -
How to execute a scenario from Windows command prompt
Hi,
I have a package which is executing fine from Designer. But the same scenario if I am trying to execute from windows command prompt, then it is giving error.
The package is getting a refresh variable, passing to interface which is creating a file from table, this file is then getting FTP'ed to another server.
I am executing following command -
startscen OB_TAB_TO_FILE_PKG 001 ODICTX "-v=2"
The error is -
A JDK is required to execute Web Services with OracleDI. You are currently using
a JRE.
OracleDI: Starting scenario OB_TAB_TO_FILE_PKG 001 in context ODICTX ...
java.sql.SQLException: socket creation error
at org.hsqldb.jdbc.jdbcUtil.sqlException(jdbcUtil.java:67)
at org.hsqldb.jdbc.jdbcConnection.<init>(jdbcConnection.java:2451)
at org.hsqldb.jdbcDriver.getConnection(jdbcDriver.java:188)
at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:166)
at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
at com.sunopsis.sql.SnpsConnection.c(SnpsConnection.java)
at com.sunopsis.sql.i.run(i.java)
DwgJv.main: Exit. Return code:-1
Please let me know where I am going anything wrong.
Thanks,
HimanshuHi,
you need to make the necessary changes to the %odi%\bin\odiparams.bat config file, under the "Repository Connection Information" section so that startscen knows how to extract metadata from your repository.
You apparently have left the default settings to the Hypersonic demo repository. Is that the technology your repository is hosted on? -
How to execute ODI scenarios from command line in Unix
Hi Friends,
I am using ODI 11g.
I want to execute ODI senarios using the command line argument in Unix.
Please let me know how to proceed with this.
Thanks,
LonyHi,
unser the /your_ODI_HOME/agent/bin folder.
Excute this
sh startscen.sh REFRESH_ID 001 GLOBAL 5 -NAME=agent_ODI
REFRESH_ID=Your Scenario name
001:Version
GLOBAL:Context name
5=Log Level
agent_ODI=Your agent name
Regards -
How to execute a Scenario from an HTTP URL
Hi All,
I tried to execute an ODI Scenario from an html page following the guide (all parameters are correct), but the result
is:
snps_exe_ok: false
snps_session_no: -1
snps_error_msg: MY_AGENT_NAME
When I try to start a Scenario from MDN the agent works fine.
Any suggestions?
Thanks in advance,
Ant<html>
<head>
<title>Script Example of HTTP StartScen</title>
</head>
<body>
<form action="http://MYSEVER:8080/oracledimn/startscen.do" method=post>
<input type="hidden" name="agent_name" value="MY_AGENT">
<input type="hidden" name="agent_port" value="20910">
<input type="hidden" name="master_driver" value="oracle.jdbc.driver.OracleDriver">
<input type="hidden" name="master_url" value="jdbc:oracle:thin:@AAAAA:1521:BBB">
<input type="hidden" name="master_user" value="odim">
<input type="hidden" name="master_psw" value="f8ypcHkKOSTrI6Qmd1wKRXWwy">
<input type="hidden" name="work_repository" value="WORKREP1">
<input type="hidden" name="snps_user" value="SUPERVISOR">
<input type="hidden" name="snps_psw" value="hZyHziYac7NsnHMh7Su9Js">
<input type="hidden" name="scen_name" value="MY_SCENARIO">
<input type="hidden" name="scen_version" value="001">
<input type="hidden" name="context_code" value="GLOBAL">
<input type="hidden" name="log_level" value="5">
<input type="hidden" name="http_reply" value="HTML">
<input type="hidden" name="MYPRJ.CompanyCode" value="485">
<input type="hidden" name="MYPRJ.YearPrompt" value="2008">
<input type="hidden" name="MYPRJ.PeriodPrompt" value="10">
<input type="hidden" name="MYPRJ.RunningMode" value="H">
<input type="hidden" name="MYPRJ.VersionMode" value="N">
<input type=submit>
</form>
</body>
</html>
Maybe you are looking for
-
Verizon lied for over a year.
My husband who is a pilot had problems with his Droid X. Because he is gone all the time and travels all over the country it is very important for him to have a functioning phone. So when he goes to a Verizon store while on the road in January of 201
-
I have a 44" LCD TV that was purchased in March 2005 and recently everything in the middle of the screen has a greenish yellow tint. Why is this happening?? It is a Zenith and there have never been any gaming systems connected to it.
-
The sound works fine on my computer, but there is no sound when I try to listen to a song on iTunes.
-
Reg: Missing segment E1EDP01 in outgoing IDOC
hello guys, I have got an issue in IDOC. The idoc has a missing segment E1EDP01. Flow is SAP to EAI to VENDOR. I wnt to know why idoc is triggered without this segment E1EDP01.
-
How to mass-delete unrated images in Lightroom?
Hi everyone and happy Memorial Day. I wonder if someone can help me with a Lightroom question. How can I erase all of my un-flagged images? I would like to quickly flag or otherwise mark all the keepers and maybe keepers and then delete all the rest.