When to use "Use Temporary File" in receiver FTP adapter
Hi Experts,
I have nerver used "Use Temprary File" as the "Write Mode" in receiver ftp adapter.
I want to knwo under what kind of requirment we should use this option?
Thanks in advance.
Best Regards,
Hi Aditya
Usually it's advisable to use "use temporary file" as write mode when you want to avoid your file to be picked up by receiver while PI channel is still writing it.
Obviously larger the file, more chances you have that this issue could occur.
If you select the "use temporary file", XI will write the content to a temporary file with another name of your choice and only once writing has finished it will rename it to the actual name setup in the "file name scheme".
Regards,
Giuseppe
Similar Messages
-
Issue with List Files option in FTP Adapter-
Hi All,
I am getting the following error when I am using the list files option inside FTP adapter. The soa Version I am using is 11.1.1.5
Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'FileListing' failed due to: Error in listing files in the remote directory. Error in listing files in the remote directory. Unable to list file in remote directory. Please make sure that the ftp server settings are correct. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
I have configured FTP adapter successfully by giving the following details,
useSftp –
username –
password -
host -
port –
authenticationType –
preferredCipherSuite -
and it is working perfectly for getfiles option and it is reading files successfully, but it is throwing error when I am using list files option. I tried this option for listing the files that are in remote directory. Any Help would be appreciated.
Complete fault
<messages>
<input>
<Invoke1_FileListing_InputVariable>
<part name="Empty">
<empty/>
</part>
</Invoke1_FileListing_InputVariable>
</input>
<fault>
<bpelFault>
<faultType>0</faultType>
<bindingFault>
<part name="summary">
<summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'FileListing' failed due to: Error in listing files in the remote directory. Error in listing files in the remote directory. Unable to list file in remote directory. Please make sure that the ftp server settings are correct. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>
</part>
<part name="detail">
<detail>No such file</detail>
</part>
<part name="code">
<code>null</code>
</part>
</bindingFault>
</bpelFault>
</fault>
<faultType>
<message>0</message>
</faultType>
</messages>
May 9, 2013 4:32:00
Edited by: BK574 on May 9, 2013 2:47 PMIs this a bug in SOA suite?
Following are the properties inside JCA file
<adapter-config name="List" adapter="FTP Adapter" wsdlLocation="List.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/ftp/FTPService" UIincludeWildcard="*.*"/>
<endpoint-interaction portType="FileListing_ptt" operation="FileListing">
<interaction-spec className="oracle.tip.adapter.ftp.outbound.FTPListInteractionSpec">
<property name="PhysicalDirectory" value="*.*"/>
<property name="Recursive" value="true"/>
<property name="IncludeFiles" value="*.*"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>
Edited by: BK574 on May 10, 2013 6:30 AM
Edited by: BK574 on May 10, 2013 6:31 AM -
We are currently in a published desktop environment in Citrix XenApp 6.5. Server is running on Windows 2008 R2. Users are not able to save PDF's into the redirected folders (ie Desktop or My Documents). Exactly same issue described in "The disk you were saving to or the disk used for temporary file is full...." Anyone has any suggestion??
Same problem here. Any ideas?
Saving with Shortcut "CRTL+SHIFT+S" works just fine.
Using IE 11.0.9600.17728 and Adobe Reader 11.0.10 -
Unable to save PDF. The disk used for temporary files is full.
I just started getting the "Document could not be saved. The disk you were saving to or the disk used for temporary files is full. Free some space on this disk and try again, or save to a different disk" message.
I am running Windows 8. I've seen fixes for this on the Internet for previous versions of Windows on the Internet, but haven't seen one that works for Windows 8. Help, please.Same problem here. Any ideas?
Saving with Shortcut "CRTL+SHIFT+S" works just fine.
Using IE 11.0.9600.17728 and Adobe Reader 11.0.10 -
How to use XML Anonymizer Module for receiver mail Adapter?
Hi All,
I would like to know how to use XML Anonymizer Module for receiver mail adapter so as to change the namespace to http://sap.com/xi/XI/Mail/30 from my original namespace? Thank you all in advance?Hi,
This may help u:
Replacing one namespace with another using XML Anonymizer Module
Thanks
Amit -
Receiver FTP Adapter File Size Splitting
Hi,
I am receiving an IDoc from R/3 into XI.
I then map this IDoc into an xml file and use a receiver ftp adapter to drop the files onto a ftp server.
Is there anyway, that I can use the adapter to split the message interface into smaller files. For example, if I were to ftp the message interface into 1 file, the file size would be 1MB. I would like to split the 1 message interface into 4 x 250kb files without having to split the message interface?
Thanks,
MiguelHi,
If you split into 4 files each one should be a XML file right?
This is possible without BPM.
Go thro the blog:
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Wat u need to do is make the target side 0..unbounded. If u have 100 records, Map some 25 records in first occurence, 25 in second and so on. This way u can reduce file size.
Regards,
P.Venkat -
Having Some unknown characters in my file of Receiver Mail Adapter
Hi All,
I have a unique problem, I am having special characters( #S@u201D E" E$ u201Däu201Där 4TåE$R D0u201CC3 u0192 c@u201DÔôETÄPu201Du201Eu20220u201D 3@u201C ó ró# u20ACu201C ó# ó# u2019 ) in text file of Receiver Mail Adapter.I am providing you a part my input text file
1747021 000070 0001 Production Baseline ZTAN 100A 0039 2204229-1 50 PLANT3002 Honeywell Aerospace Bournemouth - R 3212774 NOZZLE HIS M22 12/31/2008 01/05/2009 1.000 1.000 1.000 01/05/2009
1745558 000100 0001 Production Baseline ZTAN 100A 0039 801137-1 80 304030 LUFTHANSA TECHNIK AG 45111378001 WHEEL HIS M22 12/30/2008 01/12/2009 3.000 3.000 3.000 01/12/2009 COOP Legacy Notes - Note Type: 07N UPDATE AS OF 11/8 SH AVS Legacy Notes - Note Type: AB 1. A QTY OF 53 NEW PARTS WERE PURGED ON 3-5-99 PER KAREN MOSS' REQUEST. PARTS ARE SUSPECT OF BEING DAMAGED DUE TO BEING STORED IN ASRS IN A METAL TO METAL SITUATION.
1740335 000100 0002 Production Baseline ZTAN 100A 0039 3176647-4 80 341734 SAUDI ARABIAN AIRLINES CORP 8233950 VALVE, CONTROL Jaroslav Kral M18 12/24/2008 12/31/2008 1.000 1.000 1.000 01/23/2009 COOP Legacy Notes - Note Type: 07N D PARTS NEED TO CHEC WITH LUPE WIN ISSUIN COOP Legacy Notes - Note Type: POG REPLCS 3176647-3 AS A MANDATORY CHANGE. 3399100-11 V17138 (TAKES -4 TO -11) 3399100-11 V17139 (TAKES -9 TO -11) 3399100-10 V17140 (TAK
1734808 000100 0002 Production Baseline ZTAN 100A 0039 3883240-6 80 300168 IBERIA LAE 48017888601 CONTROL FUEL HIS M13 12/20/2008 01/10/2009 1.000
1.000 1.000 04/29/2009 AVS Legacy No
Can any one help me out?Hi Stefan,
I am Using Transport Protocol as IMAP4
Message Protocol as XIPayload
Connection Parameters to Mail Server
URL -
.mycompany.com
Mail Attributes
Use Mail Package
content Encoding base64
Keep attachments
I have Used the following Modules
Processing Sequence
Module Name Module Type Module Key
localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean Payload
localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean Transform
sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean mail
Module Configuration
Module Parametername Parameter Value
Payload swap.KeyName content-type
Payload swap.KeyValue text/xml
Transform Transform.ContentDescription MyReport.txt
Transform Transform.ContentDisposition attachment
Transform Transform.Contenttype text/xml -
Dynamically generate terget directory in receiver FTP adapter
Hi guys,
I'm trying to set up a scenario where the file will be placed into a terget directiry based on values from the incoming message. I can't use variable substitution as my target message does not contain the needed value, so I'm trying to set up a dynamic configuration in an UDF. Unfortunately, this is not working.. Any ideas, what could be wrong? The receiver FTP adapter always just takes values from it's configuration. It doesn't help when I try to change it in mapping.
This is the java map code in the UDF:
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Directory");
DynamicConfigurationKey key2 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
conf.put(key, a);
conf.put(key2, "tfilename.txt");
return "";
Thanks a lot for any help,
OlianHi,
use below code it will work fine
DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Directory");
String a=conf.get(key);
String b=conf.get(key1);
var1 = a+b; ;
return var1;
map this udf to root element of your receiver structure.
Regards,
Raj -
Retaining the FileName in the Receiver FTP adapter
Hi experts,
I have a situation here, were i need to retain the FileName in the message header in the receiver FTP adapter.
I have tried using variable subtitution but seems the FileName is not supported in variable substitution.
Please help
ThanksHello,
if you need file name to be retained in the receiver adapter from the sender side. then u can do that by dynamic configuration using adapter specific message attributes, check this blog for details-
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
if you dont have a mapping in your interface to use dynamic configuration, then you can do it via adapter module also- have a look here, /people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi
regards,
francis -
Prerequisites for Sender and Receiver FTP adapter
Hi Experts,
I am new to PI and configuring simple file to file scenario. I need to know the prerequsites for sender and receiver FTP adapter. Scenario is System A -> XI -> System B .
What I want to know is:
1> What ports need to be opened?
2> Any service that I need to activate?
3> Do I need to install FTP server in any of the machine?
If I have missed something, please add.
Br,
NilzHi,
1> What ports need to be opened?
mentioned in below link as said its 21.
2> Any service that I need to activate?
No
3> Do I need to install FTP server in any of the machine?
THere are two ways by which u can pick ur file.
1) NFS by which u can put the file on XI appplication directory and pick up ur file.
2) FTP u have to put ur file on FYP server and XI will pick up the file from there. U can use freeware FTP and install it on ur Desktop search on goolge u will get ti FTP installtion.
refer the below configuration requirement for FIle adapter.
http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
ALso refer the end to end file to file scenario.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/flatFILETOFLATFILE&
chirag -
Unable to read PDF files created by FTP Adapter
Hi,
I am unable to read pdf files generated by FTP Adapter with its default settings.
Can anybody guide me how to proceed with it. I guess I need to change something in encoding mechanism in FTP Adapter Outbound Connection Pool, but not sure what has to be.
Thanks,
RichaHi all,
I have got its solution. I was unable to read .pdf files because FTP adapter was sending the files just by changing the extension from .txt /.xml to .pdf that is the reason that it was not readable.
We had to write an java code to convert .xml file to .pdf file and then paas it to FTP ADapter.
Thanks -
'Use Temporary File' in Receiver File channel
hi all,
I am facing a strange issue with receiver file channel which I am not sure if somene had already faced. I couldnt find any help from blogs..!
I have configured the Receiver File channel with Write mode as 'Use Temporary File' with a temporary file name(say tmp.xml) scheme and Empty-Message Handling set to 'Write Empty File'
When the scenario is executed, its so happening that the temporary file of 0 bytes(empty file) is being created as tmp<msgID>.xml before the actual file is being completely written. It is expected that once the Actual file is completely written, the tmp file should be deleted, but here is not the case.Thus causing both the files being present in the target location. This is not happening often though.
As the receiving application is processing all files from the target direcotry, the file is getting errored out in the target application.
I think the 'Write Empty File' has nothing to do with this as the option 'Write Empty File' is for empty payloads resulting from the message mapping.
Please correct me if am wrong and also provide me the inputs on my issue. Am on PI7.0
thanks in advance,Hi Tilak,
this is real time interface
real time by using a file... that's a non-sens according to me. You should use a non physical solution (web service, JMS, JDBC, etc...) but a not a file. well... Anyway, you can image that the receiver application schedule the folder every 30s or every 1min, that's almost a real time. Real time is mainly a conceptual view (only synchronous exchange needs really real time). Morevoer, if you really wanted a real time, you should not add a tool like PI (or other) between your source and your target system, the more we have systems, the less it's efficient (in term of delay and response time!).
Even if we propose that the receiver application should have a condition to its script to avoid picking the tmp*.xml files, after a period of time there would be a chance that the *tmp files may increase in number..
No ! coz if my theory is good, if your receiver application does not pick-up tmp.xml, that means this file is not currently treated and so PI is authorized to delete it. So no increase of tmp.xml files in this folder.
Another solution: to create the target file without option "temporary", but to create it in another folder than this one scheduled by your receiver application, and use an OS command AFTER processing, in your receiver CC, which move the created file from the "temp" folder to the target folder.
[http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature]
regards.
Mickael -
SAP PI: Using Variable Header Binding in Receiver Mail Adapter
Hello,
I try to use Variable Header Bindings in the Receiver Mail Adapter. Therefore I wrote the following User-Defined-Function in a mapping:
Java Function Start -
DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key1 = DynamicConfigurationKey.create(
"http://sap.com/xi/XI/System/Mail",
"XHeaderName1");
DynamicConfigurationKey key2 = DynamicConfigurationKey.create(
"http://sap.com/xi/XI/System/Mail",
"XHeaderName2");
DynamicConfigurationKey key3 = DynamicConfigurationKey.create(
"http://sap.com/xi/XI/System/Mail",
"XHeaderName3");
conf.put(key1, new String("Test1"));
conf.put(key2, new String("Test2"));
conf.put(key3, new String("Test3"));
Java Function End -
As expected I see the Attributes and Parameters in the Dynamic Configuration in the SAP XI Monitor:
Dynamic Configuration Informattion Start -
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Mapping der Request-Message
-->
- <SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Record namespace="http://sap.com/xi/XI/System/Mail" name="XHeaderName3">Test3</SAP:Record>
<SAP:Record namespace="http://sap.com/xi/XI/System/Mail" name="XHeaderName2">Test2</SAP:Record>
<SAP:Record namespace="http://sap.com/xi/XI/System/Mail" name="XHeaderName1">Test1</SAP:Record>
</SAP:DynamicConfiguration>
Dynamic Configuration Informattion End -
Now I configure my Receiver eMail Communication Channel and set the Variable Header Fields as follows:
Adapter Specific Attributes: Checked
Variable Transport Binding: Checked
Variable Header (XHeaderName1): TSender
Variable Header (XHeaderName2): TReceiver
Variable Header (XHeaderName3): TOther
With this configuration I would have expected three new Header fields in the Header of the eMail, the reicever gets. But they are not there.
When I set standard attributes like THeaderTO, THeaderSubject a.s.o this works fine and the values are also set accordingly. Where it the mistake here?
The PI version we are working with is PI 7.0 SP10.
Your help will be highly appreciated.
Thank you,
SteffenHi Luciana,
Honestly, I cant really remember how or if it was resolved and I was just helping out on the issue, but another consultant continued with it, so unfortunately I cant be any help on this.
Good luck!
Cheers,
Brad -
What is the max file limit for FTP adapter that uses FileIoInteractionSpec
Hi,
I know that Oracle provided some new features in 10.1.3.4 using which we can use the file and ftp adapter to move files in a more efficient way
http://download.oracle.com/docs/cd/E12524_01/relnotes.1013/e12523/adapters.htm#CHDGFAAB
Essentially it involves modifying the WSDL to use the new InteractionSpec="oracle.tip.adapter.file.outbound.FileIoInteractionSpec"
Now my question is, what is the file size limit which can be transferred using this.
I have tried with 20 mb file, it works. But I want to know the upper limit.
Thanks,
AmitTried with 31 mb file.
It successfully delivers the file but....
The instance never completes successfully in the BPEL Console. If I open the audit tab, it shows the following message
There is a system exception while performing the BPEL instance, the reason is "JTA transaction is not present or the transaction is not in active state. The current JTA transaction is not present or it is not in active state when processing activity or instance "7,200,001". The reason is The execution of this instance "7200001" for process "TestFTPLimit" is supposed to be in a jta transaction, but the transaction is not present or in active state, please turn on the application server transaction debug logs to get more information.. Please consult your administrator regarding this error. ". Please check the error log file for more infromation. Please try to use bpel fault handlers to catch the faults in your bpel process. If this is a system exception, please report this to your system administrator. Administrator could perform manual recovery of the instance from last non-idempotent activity or dehydration point.less
ORABPEL-02182
JTA transaction is not present or the transaction is not in active state.
The current JTA transaction is not present or it is not in active state when processing activity or instance "7,200,001". The reason is The execution of this instance "7200001" for process "TestFTPLimit" is supposed to be in a jta transaction, but the transaction is not present or in active state, please turn on the application server transaction debug logs to get more information..
Please consult your administrator regarding this error.
at com.collaxa.cube.engine.CubeEngine.store(CubeEngine.java:5514)
So does anybody know how to get over this.
I understand that sync read is a sync operation, so obviously it was going to timeout, as this transfer took around 4 minutes for me. But then, isnt this a bug from Oracle's side -
How to use a key file in the FTP Task using and SSL connection
In the past I have used this code to set the FTP pass word in an FTP component task in SSIS.
Does anyone know how to use a Key file in an SSL connection to download a file from an FTP site? If not can you tell me where I can get the C# code examples to learn how to create a script task or if there is another way in SSIS to download large files
from an SSL FTP site? Thank you for any help offered.
public void Main()
ConnectionManager FTPConn;
FTPConn = Dts.Connections["FTPServer"];
FTPConn.Properties["ServerPassword"].SetValue(FTPConn, Dts.Variables["FTPPassword"].Value);
Dts.TaskResult = (int)ScriptResults.Success;
AntonioYou can use SFTP for this.
This is a way of implementing SFTP in SSIS using standard tasks
http://visakhm.blogspot.in/2012/12/implementing-dynamic-secure-ftp-process.html
also see
http://blog.goanywheremft.com/2011/10/20/sftp-ftps-secure-ftp-transfers/
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs
Maybe you are looking for
-
1099 Issues in ECC6 -Urgen)
This is a new ECC6 implementation and first time 1099 reporting from SAP We are facing two issues with 1099-MISC reporting. I guess these are not unique problems and you might have faced in other projects as well. 1. We have multiple vendor records/n
-
Only V1 hub works on my line. 3 x V2 hubs wont con...
I've been with BT Broadband for years. The V1 hub was fine - but when I got the V2 hub a year or 2 ago, it just refused to connect to broadband. The light flashes, then settles on solid amber - no connection. I went through various tests with the cal
-
Very frequent system freezes on XI 3.1
Hello: We are experiencing very frequent system freezes where the system wont let you get pass the logon page for INfoview or CMC. It also wont allow any of the BOBJ tools to logon. The only way to resolve this issue seem to be to reboot the environm
-
I cannot get Apple TV to work through my Denon AVR. Is this a common problem as I have now heard that there maybe compatibility issues.
-
ITunes non-responsive after upgrade
My assistant has iTunes on her PC and it has all but stopped working completely. Upon clicking to launch it takes a good 10-15 seconds to do anything. Then, selecting anything again takes a good 10-15 seconds for a response... Is there any background