Simple File to Database Scenario
Dear Experts
I am working on a File to Database scenario. My requirement is to update the database with latest information. For example
1. First day i got a file of 100 records...Insert all the 100 records.
2. Second day i will get 110 records (here 100 records is old data and 10 records is the delta). Now PI needs to lookup with DB and insert the updates of 100 records and insert the delta 10 records...
3. Third day i got 125 records file (here 110 is previous days data and 15 is todays delta). I need to update the changes of all the 110 and insert 15 delta records
Thanks
Hi,
Since you want to update the existing records and insert the delta, the 'update_insert' option of JDBC receiver should fulfill your requirements.
Refer the following links for more help on this
Re: jdbc update_insert
Jdbc Reaciver UPDATE_INSERT
Regards
Similar Messages
-
File to database scenario in JCAPS513
Hi ,
I ma trying to do File to database scenarion in Jcaps513. here i am using Oracle 9i as database . I m using prepare statement for it .
I m trying to fetch data from databse and write into simple text file . But after deployment i am getting following error.
please suggest me solution for the same.
[#|2009-06-18T17:32:34.085+0530|SEVERE|IS5.1.3|prj_Database_File.cm_database_jcd_Database_File_1.jcd_Database_File_Runtime_Handler|_ThreadID=14; ThreadName=Worker: 4; Context=project=prj_Database_File,deployment=dp_databse,collab=cm_database_jcd_Database_File 1,external=File1;stacktrace-id=1;|com.stc.codegen.framework.runtime.ServiceInitializationException: Error in allocating a connection. Cause: Connection could not be allocated because: invalid arguments in call
com.stc.codegen.framework.runtime.ServiceInitializationException: Error in allocating a connection. Cause: Connection could not be allocated because: invalid arguments in call
at com.stc.oracle.runtime.ejb.OracleEWayRuntimeHandler.initializeService(OracleEWayRuntimeHandler.java:262)
at prj_Database_File.cm_database_jcd_Database_File_1.jcd_Database_File_Runtime_Handler.handleRequest(prj_Database_File.cm_database_jcd_Database_File_1.jcd_Database_File_Runtime_Handler:355)
at sun.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:140)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:135)
at $Proxy39.handleRequest(Unknown Source)
at com.stc.connector.codegen.fileadapter.AbstractFileAdapterMDB.sendMessage(AbstractFileAdapterMDB.java:153)
at com.stc.connector.codegen.fileadapter.AbstractFileAdapterMDB.onContents(AbstractFileAdapterMDB.java:104)
at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.security.SecurityUtil$2.run(SecurityUtil.java:146)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.enterprise.security.application.EJBSecurityManager.doAsPrivileged(EJBSecurityManager.java:940)
at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:151)
at com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:948)
at com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:42)
at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:136)
at $Proxy43.onContents(Unknown Source)
at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.stc.connector.framework.eway.EndpointProxy.invoke(EndpointProxy.java:175)
at $Proxy42.onContents(Unknown Source)
at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.stc.connector.framework.eway.MessageResourceManager$MessageSender.run(MessageResourceManager.java:245)
at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:54)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:382)The message: "Error in allocating a connection. Cause: Connection could not be allocated because: invalid arguments in call" could be a sign that you should double-check configurations in your Environment.
Regards -
Problem in file to database scenario
Hi friends,
I have done file to database(oracle) scenario. I have tried to push the data to database.but it is not reached to database.
I have tested my scenario in Integration Directory.I didn't get any error msg under test configuration.
Pls verify the main and sub table levels in oracle database.
ORDERSDEMO -
> ORDERSTEST -
> ORDERSTABLE
Data base connection In ID:
JDBC Driver -
com.oracle.jdbc.Driver
Connection -
jdbc:oracle://aljs047:1521\ORDERSTABLE
Kindly guide me if I have done mistake in the connection.
Your valuable cooperation is greatly appreciated.
Points will be awarded.
Thanks in advance.
Best Regards,
Naresh.You have given the Connection like this right?
Connection: jdbc:oracle://aljs047:1521\ORDERSTABLE
But the right one is
Connection: jdbc:oracle://aljs047:1521/ORDERSTABLE
(Just check that forword slash & Backword Slash)
Where:-
aljs047: is the host name
1521: is your port
ORDERSTABLE : is your Database Table Name -
Simple File - PI - SOAP scenario
Hi,
I'm trying to create a scenario to send a binary file via webservice in PI, the receiver webservice is expecting to receive a base64 string representing the binary file.
My question is if to achieve this do I need to create a Java Mapping, or can a message mapping be used in IR to achieve this?
Regards,
Leandro FonsecaIf you want to send data in a single field of receiver webservice, then you may pass it using message mapping. If you want to convert the base64 data to understandable format (encoding or decoding), you may write the java code in UDF for the conversion.
For decoding or encoding the data, a simple way there would be directly use of java mapping or adapter module.
/people/farooq.farooqui3/blog/2008/05/22/decode-base64-incoming-encoded-information-in-sap-xipi-using-java-mapping
Regards,
Prateek -
File to Mail Scenario - Need help
Hi all,
I am trying a simple file to mail scenario in which i am using following data types .
Source datatype -
Scr_File_DT
-- Root
Material_no
Plant
Target datatype -
Tgt_Mail_DT
--Content
In the message mapping i am concatenating material_no and plant and mapping it to content.
The receiver mail adapter parameters are as follows -
Transport protocol - SMTP
Message Protocol - XIPAYLOAD
URL: smtp://gmail.com
Configure User Authentication: X (Check box is selected)
Authentication Method: Plain (from drop-down box)
User: [email protected]
Password: ****
from: mail address
to: mail address
subject : test mail.
Just wanted to confirm whether these settings are correct or not? Because i am not getting the mail in my mailbox.
Can anyone please help me on this.
Also are there any other settings required for using mail adapter ?
Thanks.Hi,
you should add your email address to your user,add specific users list add you r user in alrtcatdef.
generally you should maitain the email data type format like
subject,from,to,content-type..
se below link
http://help.sap.com/saphelp_nw2004s/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
Regards
Chilla.. -
Error in simple(File-XI-File)scenario
Hi,
Using this blog i was doing simple(File-XI-File)scenario.
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
But i am getting the error
Runtime error
com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_FILE_TO_FILE_CC_: Fatal Error: com.sap.engine.lib.xml.parser.
What could be the problem ?
Thanks.Hi,
Check ur Mapping objects and do test it in the test tab of MM or IM before activating.Once it is done do activate it.
Refer to below links as well:
/people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-i
/people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-ii
Cheers,
Prasanthi. -
Encountering error in simple file 2 file scenario
Hi,
Working on a very simple file 2 file scenario , where input contains 1 header record identified with a key field and detail record conntains more than 1 records identified with key field. Used very specific FCC. But it was unable to generate the output file (a simple text file without any translation) giving errors as below -
1. File Adapter Receiver Channel cc_target: Not initialized - cannot proceed: null
2. MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: Channel has not been correctly initialized and cannot process messages
3. Adapter Framework caught exception: Channel has not been correctly initialized and cannot process messages
4. Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Channel has not been correctly initialized and cannot process messages.
Input File structure is like
H1,XXXXX
D1,YYYYYY
D1,ZZZZZ
D1,NNNN
H1 and D1 are key identifiers of header and detail record
Need same format output file, used FCCs (1) fieldSeperator (2) endSeparator (3)ignoreRecordsetname (4) fieldNames (5) keyfieldvalue.
Can anyone pls suggest ?
ACHi ,
Use FCC Like this.
Doccument Name MT_Source( Your Source Message Type name)
Doccument Namespace http://xxxxxx(Your Message type Name space)
Recordset Structure Header,1,Detail,*
Key Field Name field1
Key Field Type String
Header.fieldSeparator ','
Header.fieldNames field1,field2
Header.keyFieldValue 'H1'
Header.endSeparator 'nl'
Detail.fieldSeparator ','
Detail.fieldNames field1,field2
Detail.keyFieldValue 'D1'
Detail.ignoreRecordsetname true
Detail.endSeparator 'nl'
Let me know if you are getting any problem.
Thanks. -
Problem in Simple file to file scenario
Hello,
I am new to SAP PI 7.3. I am doing a simple file to file scenario. The source file contains key,name,id,gender,role & location field. I have done a simple mapping to create the same file in the target side. I have done all the configuration in ESR & ID.
But the problem is that in the target file ( Destination File ) i am getting only key field and the other fields are missing.
Note: In communication channel monitoring, the communication channel is functioning properly and in message monitor also, the status is 'delivered'.
The source payload also contains all the fields correctly. In message mapping (in ESR) also, the target payload is also generating correctly. But in the destination file I am getting the key field only and the rest fields are missing.
Can you please suggest me what to do and where is the problem?
Thanks & Regards,
MoumitaHello,
Do u have any MT name above Record node? If yes, then u have to change ur structre little bit. Check my reply in the thread pasted below.
problems with MessageTransformBean SimpleXML2Plain
BTW, if i am not wrong Iñaki has also suggested the same.
Thanks
Amit Srivastava -
Simple (File-XI-File)scenario
Hi,
I am going through Venkat Donela's simpe (File-XI-File)scenario Part1 and part2.
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1345. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
But my XI did not pick up the input file. I use SXMB_MONI and look at the message monitoring. It says "No message has been selected'. I don't see "adapter monitoring" option on my "Runtime WorkBench".
Is there anybody could tell me how I can monitor the scenario execution? I checked the every step states in Venkat Donela's sample.
Any comments and advice will be highly appreciated.
MeiyingHi,
The best way to check if your file is being picked is to set the "Processing Mode to Delete"....So then you will know if your file is actually being picked...
Also go to Message Monitoring of RWB and check for the status. Because if you have content conversion problems then it will show there in MDT(Message Display Tool under Message Monitoring).
And if you are using NFS connection for Sender File Adapter, try to check for the checkBox "ReadOnly Files".
Pls go through the explanation of a simmilar scenario that i have explained below and compare it with what you have done..
Please go thru the following links and clear all your doubts.
Communication channel:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/65/b11c409ce22402e10000000a1550b0/frameset.htm">Assigning Communication Channels</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/2b/d5653fd1d3b81ae10000000a114084/content.htm">Communication Channel</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm">Configuring the Sender File/FTP Adapter</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm">Configuring the Receiver File/FTP Adapter</a>
Receiver agreement:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/56/02e63f48e58f15e10000000a155106/frameset.htm">Receiver Agreement</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/c1/5194426b44c56ae10000000a155106/frameset.htm">Creating a Receiver Agreement</a>
Sender agreement:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/db/73e03fc2269615e10000000a155106/frameset.htm">Sender Agreement</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/22/522041cfb7f423e10000000a155106/frameset.htm">Creating a Sender Agreement</a>
For detailed info, I would suggest that you go through these weblogs:
<a href="/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1">Introduction to simple(File-XI-File)scenario for Starters</a>
<a href="/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2">Introduction to simple (File-XI-File)scenario for starters part2</a>
I hope it helps.
Regards,
Abhy
Message was edited by: Abhy Thomas -
File content to database scenario
Hi All,
I am doing file content conversion to database scenario.
In this scenario i got the following problem.
Error during database connection to the database URL 'jdbc:mysql://ibxi:3306/javatest' using the JDBC driver 'org.gjt.mm.mysql.Driver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:mysql://ibxi:3306/javatest': SAPClassNotFoundException: org.gjt.mm.mysql.Driver'
In this i am connecting to mysql database.at that time in receiver side i got the problem.
please do the need ful.
Thanks & Regards,
Kakshayini.Sorry for the above post..
First check whether the required drivers has installed on your J2EE Engine or not. If it is not installed, please follow the bellow steps,
1.Get the existing <b>aii_af_jmsproviderlib.sda</b> file from your SAP XI installation (if you already have JDBC or JMS drivers deployed).
2. Unzip the file, add the required .jar files (each database has it's own .jar file that has
to be deployed on your J2EE Engine ).
For example if it is SQL server db -mssqlserver.jar
3. Again zip the flies including all .jars with the name "aii_af_jmsproviderlib" and it has
to be deployed in to the J2EE Engine.
4. Start the SDM (Software Deployment Manager) and select the
aii_af_jmsproviderlib.zip file and start the deployment.
I hope once you have done this thing, the problem will be solved.
Regards,
Velan
<b></b><b></b> -
Help with simple file to file BPM scenario
Hi Gurus,
I am doing simple file to file BPM scenario.
I am getting an error in SXI_CACHE with status code 99.
I activated the business process then status code changed to 2.
When i tried to activate the process again i am getting prompted to enter access key details.
Is there any other way to get rid of the error i.e., to get the status code to zero with giving access key details.Sample access key details are also greatly appreciated.Hi Bhavesh,
I tried doing that but of no use.
I registered at https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/minisap/minisap.htm
and got a mail with details.I was actually looking for access key details in the mail from sap.The details in the mail contains License key but not access key .Are the both access key and license key same? -
Cache Error in simple file to file scenario
Hi,
I installed a new xi with SP9 yesterday, and created a simple file to file scenario, but I face the error as follows while checking the SXMB_MONI,
Error Category : XICACHE
Error ID : UPDATE
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="XICACHE">UPDATE</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>HTTP status code401 Unauthorized</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>An error occurred when refreshing the XI runtime cache</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
What can be the problem?
Regards,
NickThanks Chandra,
But this did not solve my problem.
I am getting this error message:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
<SAP:P1>af.arb.dl380a-wm\arbdb</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>2: Unable to find URL for Adapter Engine af.arb.dl380a-wm</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error when reading the access data (URL, user, password) for the Adapter Engine af.arb.dl380a-wm\arbdb</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
<Trace level="1" type="B" name="PLSRV_CALL_ADAPTER" />
- <!-- ************************************
-->
<Trace level="1" type="Timestamp">2005-12-28T04:00:48Z CET Start of pipeline service processing PLSRVID= PLSRV_CALL_ADAPTER</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV" />
- <!-- ************************************
-->
<Trace level="3" type="T">Calling pipeline service: PLSRV_CALL_ADAPTER</Trace>
<Trace level="3" type="T">Reading Pipeline-Service specification...</Trace>
<Trace level="3" type="T" />
<Trace level="3" type="T">Pipeline service specification (table SXMSPLSRV)</Trace>
<Trace level="3" type="T">PLSRVID = PLSRV_CALL_ADAPTER</Trace>
<Trace level="3" type="T">PLSRVTYPE = =SWITCH=</Trace>
<Trace level="3" type="T">ADRESSMOD = SD</Trace>
<Trace level="3" type="T">P_CLASS =</Trace>
<Trace level="3" type="T">P_IFNAME =</Trace>
<Trace level="3" type="T">P_METHOD =</Trace>
<Trace level="3" type="T">FL_LOG =</Trace>
<Trace level="3" type="T">FL_DUMMY = 0</Trace>
<Trace level="3" type="T" />
<Trace level="3" type="T">Unknown channel type: File</Trace>
<Trace level="3" type="T" />
<Trace level="3" type="T">Pipeline service specification (table SXMSPLSRV)</Trace>
<Trace level="3" type="T">PLSRVID = PLSRV_CALL_ADAPTER</Trace>
<Trace level="3" type="T">PLSRVTYPE = AENGINE</Trace>
<Trace level="3" type="T">ADRESSMOD = SD</Trace>
<Trace level="3" type="T">P_CLASS = CL_XMS_PLSRV_IE_ADAPTER</Trace>
<Trace level="3" type="T">P_IFNAME = IF_XMS_PLSRV</Trace>
<Trace level="3" type="T">P_METHOD = ENTER_PLSRV</Trace>
<Trace level="3" type="T">FL_LOG =</Trace>
<Trace level="3" type="T">FL_DUMMY = 0</Trace>
<Trace level="3" type="T" />
<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL" />
It seems my adapter engine has some problem, how can I solve it?
Regards,
Nick -
Strange error in File-XI-JDBC scenario
Dear All,
I am working currently on File-XI-JDBC scenario and is facing with a stange problem.
I have writtern one simple query which is downloading the data from R/3 and is sending to XI Server local folder. From that folder File is getting picked by XI and is posted into SQL database.
Now, when I am generating the required file from R/3-DEV server then my scenario is getting executed successfully but if file is generated thru R/3-QAS Server then the scenario is giving the following error "Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'MARA_UPDATE' (structure 'Statement'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Error converting data type nvarchar to smalldatetime."
Also, if I am copying the complete data from the error file and paste it into a new file and executing again then the scenario is executing correctly.
I have checked the payload and didn't find anything there.
Kindly help me in solving this error.
Regards,
N.JHi Farooq,
Thanx for your reply. But this scenario is running when we are sending the file from R/3-DEV Server and also if I am copying all the contents of the error file and pasting it into a new file and then processing the file then the scenario is getting executed and I am getting no error with the same data which I have processed earlier and has thrown error.
Reg, -
Step by Step Guide Details for RFC to File and File to RFC scenario
Hi Guru's
Good day to you. I am tyring to develop some scenarios based on RFC adaptor. so i want to start up with basic scenarios like RFC to File scenario(Here i just want to pull some data from SAP using RFC and put it in destination folder as an text file) and FILE to RFC scenario (Here i just want to take some data from the file and update into SAP).
For doing these scenarios i would like to request you people to send me the step by step guide which explains me about the complete steps of configurations required to do the RFC to FILE scenario and FILE to RFC scenario.
I found some scenarios and i am in confused state. so i request you to please put your experience to help me out.
thanks in advance.
Regards
RajHi Aaron,
I don't know your scenario and your ECC and PI versions but I learned how to use ABAP Proxy more than 1 year ago with the following tutorial:
Edit--> The forum doesn't allow me to post external link, just search "ABAP Proxy Communication Scenario" in google and visit the 1st result
The way to develop ABAP Proxys has changed a little if your PI is 7.1. In the ECC side, the transaction SPROXY looks much better too if you have a recent version of the ECC.
Edited by: Marshal on Oct 8, 2009 5:08 PM
I've found that SDN Document. Maybe the scenario is not the most simple to start with ABAP Proxy but is very well documented and is for PI 7.1. The document also handles the inbound and outbound proxys
[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2b08f&overridelayout=true]
Edited by: Marshal on Oct 8, 2009 5:22 PM -
Problem in text file to xml scenario
hi,
while executing the Flat file (txt) to xml file scenario, the txt file picked up from my source directory, but i could not find in my target directory.
when i check message monitoring, it is showing successful.
Audit Log for Message: af840930-3fa2-11dc-a345-000423c7753d
Time Stamp Status Description
2007-07-31 16:14:47 Success Channel CC_sender: Entire file content converted to XML format
2007-07-31 16:14:47 Success Send text file "xi_input.txt" from FTP server "64.72.230.130:/praba_source", size 353 bytes with QoS EO
2007-07-31 16:14:47 Success Application attempting to send an XI message asynchronously using connection AFW.
2007-07-31 16:14:47 Success Trying to put the message into the send queue.
2007-07-31 16:14:47 Success Message successfully put into the queue.
2007-07-31 16:14:47 Success The application sent the message asynchronously using connection AFW. Returning to application.
2007-07-31 16:14:47 Success The message was successfully retrieved from the send queue.
2007-07-31 16:14:47 Success File "xi_input.txt" deleted after processing
2007-07-31 16:14:47 Success The message status set to DLNG.
2007-07-31 16:14:48 Success The message was successfully transmitted to endpoint http://xiserver1:8000/sap/xi/engine?type=entry using connection AFW.
2007-07-31 16:14:48 Success The message status set to DLVD.
2007-07-31 16:14:48 Success The message was successfully delivered.
I followed the Venkat Donela blog
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
IN sender CC, i used file content conversion(mesage protocol), file name scheme xi_input.txt
In receiver CC , I used file (message protocol),file name scheme xi_output.xml
In both CC , transport protocol is FTP.
so i gave server name, port, username, password.
could you help me out to find the error for this scenario also?
Thanks in advancehi,
when i click on this adapeter engine xiserver1, it is changing to green color,
if i double click nothing is happening as u said
but it is showing like this Central CCMS monitor not available
anyway i giving all my values in sender CC:
in sender communication channel
TP : FTP
MP: File content conversion
AE: IS
File access parameters:
sD: /praba_source
FN: xi_input.txt
FTP access parameters:
server: xx.xx.xxx.xxx
port: xx
username: xxxxx
password: xxxx
connection mode: permanently
transfer mode: Binary
Processing Parameters:
QoS: exactly once
poll interval: 60
Processing mode: Test
File type: Binary
Content Conversion Parameters:
Document name dt_outbound
Document namespace urn:xxxxxx
record name: record
recordset str: row,*
recordset seq:Ascending
key fiedl type: string(case-sensitive)
name: value
row.fieldNames: FirstName,LastName,MiddleName,City,Place,State,Country
row.fieldSeperator: ,
row.processConfiguration: FromConfiguration
row.endSeperator: 'nl'
my input file which i kept in source directory is xi_input.txt
content of this file (xi_input.txt) is
Samuel,J,Jackson,Lakefront Drive,Earth City,Missouri,USA
Kenny,m,George,North Beauregard street,Alexandria,Virginia,USA
my dt_outbound structure like this,
dt_outbound (complex type)
then lower element is record
then lower elemnt is row
then FirstName
LastName
MiddleName
City
Place
State
Country
anyway i pasted my sxd dt_outbound type
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:praba_flatfile2xml07"
targetNamespace="urn:praba_flatfile2xml07">
<xsd:complexType name="dt_outbound">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
2bc3c190404611dc88a3000423c7753d
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="record">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
35982b703f7911dc871cd71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="row"
maxOccurs="unbounded">
<xsd:annotation>
<xsd:appinfo
source="http://sap.com/xi/TextID">
359f57603f7911dcca2ed71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name="FirstName" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57613f7911dc8d9cd71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element
name="LastName" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57623f7911dca6e8d71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element
name="MiddleName" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57633f7911dcc31ed71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element
name="City" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57643f7911dc8c7ad71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element
name="Place" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57653f7911dca7dbd71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element
name="State" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57663f7911dcbd52d71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element
name="Country" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
359f57673f7911dca78ad71bc0a8016d
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
Maybe you are looking for
-
ADOBE Reader issues with Macbook Pro
Was trying to view a pay document from my HR site and it said Iwas missing Adobe Reader plug in. I have it downloaded - twice and still no luck. The Adobe reader is in my applications, but the website can not seem to use it.
-
Calendar is now unusable on the iPhone
I used to use iCal on the iPhone and it was great, the only view I used most of the time was list view where it listed all the up and coming events on one screen for each and every day. All I had to do was scroll. Perfect!. In the new Calendar this o
-
Windows 8.1 will not install on my HP 2000-2b53CA
I have googled and tried every fix I have seen on the net but no matter what I can't upgrade to Windows 8.1 No matter what I do I get "Something happened and the install of Windows 8.1 can't be completed." I have no peripherals installed, not even a
-
TS1717 How do I save my iTunes library from my windows pc to my iCloud account?
How do I save my iTunes library from my windows pc to my iCloud account?
-
hi everyone, We need a procedure to change SID of a CRM system. We want to known the steps to make it. We have a solaris system with an oracle database. thanks in advance. Fitto