File Adapter support for sFTP
Hi, Is there a way we can configure File Adapter to use Secured FTP protocol?
Hi,
yes this is possible if your XI is on SP13
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
Using FTPS (File Transfer Protocol using SSL/TLS)
Regards,
michal
Message was edited by: Michal Krawczyk
Similar Messages
-
Receiver file adapter - support for attachments
Hi,
Is it possible that the reciever file adapter can process a message with attachment and generate two files, one for the main payload and the other for the attachment?
Thanks,
AmolAmol,
Only File Sender adapter is capable of handling attachments not the receiver.
http://help.sap.com/saphelp_nw2004s/helpdata/en/4b/a20c4cfea96b498b1e1af3f32f0670/frameset.htm
Regards,
Jai Shankar -
Need Help in Creating adapter module for SFTP Sender in NWDS
Hi experts,
I have a scenario where i should write an adapter module for SFTP sender in NWDS.. need your help in achieving this..Hello,
>>i have followed the procedure of FTP but, adapter is not picking the file
Make sure u have written proper expression to pick file.
>>do we have any different adapter parameters for SFTP... the input file is .csv..
I don't think there are any specific parameters needed for SFTP (but in case u are reading file name in AM then u might have to adjust SFTP namespace)
Thanks
Amit Srivastava -
MalformedInputException Error in Adapter module for SFTP channel
Dear All,
I am using MessageTransformBean in adapter module for Plain to XML conversion. The channel works fine in all the cases but when I recieve " ì " or few more special characters in the file my channel does not pick file and show below error.
Error: com.aedaptive.adapter.sftp.SFTPException : Aborting processing: com.sap.aii.af.mp.module.ModuleException: Transform: failed to execute the transformation: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'sun.io.MalformedInputException'; nested exception caused by: sun.io.MalformedInputException caused by: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'sun.io.MalformedInputException'; nested exception caused by: sun.io.MalformedInputException
I am using below parameter value in adapter module.
Transform.Class : com.sap.aii.messaging.adapter.Conversion
Transform.ContentType : text/xml;charset=ISO-8859-1
Please help me if any of you have faces such error in your developments.
AvanishHi Grzegorg,
I have tried using UTF-8 encoding in my channel but this doesn't work. Communication cahnnel is still giving same problem.
Error: com.aedaptive.adapter.sftp.SFTPException : Aborting processing: com.sap.aii.af.mp.module.ModuleException: Transform: failed to execute the transformation: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'sun.io.MalformedInputException'; nested exception caused by: sun.io.MalformedInputException caused by: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'sun.io.MalformedInputException'; nested exception caused by: sun.io.MalformedInputException
The file which we are trying to process have character Ì and as far as my serach is concerned i think this belongs to charset ISO-8859-1.
Any more suggestion Guys to solve this problem.
Thanks and Regards
Avanish -
XI30 File Adapter - check for (NOT) incoming file
Hi!
We use XI30 SPS15 and have the following challenge: We expect every
week on a certain day a file coming from a customer. So far so good.
But now we want to check whether such a file has really come within a
given period of time and if not, we want to take some action (e.g.
trigger Alert or s.th. like that).
Business Background is: If the customer does not send the file or he
sends it too late, we cannot bill him in time, thus increasing our DSO.
Is there any mechanism within the XI to check things like these and to
trigger an alert? I've read the File Adapter Documentation as well as
the BPM documentation but I could not find any hint.
Any help would be great. Thanx!
Regards,
Volker kolberghi volker,
this is not supported in standard but...
you can do it very easily with standard ABAP job scheduling
- you schedule a job (every week, day etc.)
which starts a raport that send a RFC (or abap proxy call to the XI)
- then the RFC starts a BPM and inside it triggers a
java proxy that checks for a file
- if the proxy finds the file then if copies it to some other folder (which is monitored by another flow)
- if it doesn't find the file it triggers an error - sends mail or anything
the only thing you need to code is a few lines in java
to check the existance of a file + copying nothing else:)
this is the easiest way I believe till now <= Sp15
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a> -
Receiver file adapter error for special char.
I am using MTB in my receiver file adapter. I am getting a special character from source system at end of the string. How to resolve this type of error u2013 please advice.
This error is not coming for every message.
Error message:
Column value xxxx  too long - must stop, probably configuration error in file adapter
Thanks
VickHi,
Itu2019s basically IDOC to file scenario.
This error is coming for name field.
What I am thinking at this stage to do changes in MTB by define parameters like (NameA.enclosureConversion) -
Read uniquely named file. Sender File Adapter unsuitable for synchronous
Hi All,
We have a requirement to read a specific file that has a unique name based on a transaction ID. The transaction ID will be passed from the source application.
The communication is required to be synchronous. There could be multiple requests/files generated and present at the directory at any given time but each corresponding to a specific transaction ID. If the file is not yet generated for that transaction ID we return back an error to the calling system.
I think we can not use Sender File Adapter - because of the dynamic naming and also because we have to return a synchronous response back depending on the file availability. i.e. We can not have a defined pattern in the file name nor can we specify a wild card as there could be more than one files in the location.
In theory we could use the File Sender adapter to read all the files in the directory and a BPM with correlation set based on the transaction ID and let the process wait for the request. But as far as possible I want to avoid this unnecessary wait or extra demand on the system. More so because the files could get big.
If I were using a tool like SAP Business Connector or webMethods then I would I used a readFile Java service and given it a filename to return the required bytes in a synchronous read.
Is something like this possible in XI? If someone has written a synchronous Java to read file can they share the code? Or do you suggest I write a ABAP server proxy to read the file? The problem however will be how do we map the data to a XML within the code.
All suggestions welcome. There has to be a simple and effective solution to this mundane requirement !
Wishing all SDNers a bright start to this new year,
Thanks,
Charu
Message was edited by:
Charu Kulkarni
"The transaction ID will be passed from the source application so we know what file to pick"Hi,
You could make the scenario a little simple and avoid custom development if the logic can be put into scripts(out of XI).
Say all the files are coming into a directory called D1.
Here, you could use a script to arrange all these in an order (say ascending) and move the first file into another directory D2.
The sender file adapter would poll this directory D2. The adapter can have a wild card character for the filename field now.
Once the file is in XI, you could check this against the transactionId present(I am not sure how you get this though!), and determine whether to send a mail, or to send a file back.
Here, I have assumed that there is somekind of order present in the files placed in the directory D1.
Again, this is just a suggestion.. I might be wrong with all the assumptions.
Regards,
Smitha. -
Reciever file adapter configuration for Deep structure
Hi Experts,
I have a idoc to file scenario in which i used a data type for file in below format:
DT_Test
-->Recordset(0.unbounded)
>E21DPU1(0.unbounded)
>field1
>field2
>E21DPU5(0.unbounded)
>filed 3
>filed 4
>E21DP03(0.unbounded)
>filed 5
>filed 6
Here DT_test is datatype name,Recordset is a structure name which contain E21DPU1, E21DPU5,E21DPO3 stucture inside it.Now,E21DPU5 and E21DPO3 structures are under E21DPU1.
I am confused in creating content conversion parameters i.e what we have to mention in Recordset Stucture .
I used E21DPU1,,E21DPU5,,E21DP03,* .should it work for deep structure.
Thanks
DeepakHi,
file adapter does not handle 2 level deep structures
the easiest way to do it now is to go for abap or java mapping
and create a line for each of the output lines and handle this in the file adapter
so like <line> </line>
<line>E21DPU1(0.unbounded) with fields </line>
<line>E21DPU5(0.unbounded) with fields </line>
<line> etc. </line>
Regards,
Michal Krawczyk -
File Adapter problem for Fixed Length output file
Hi There!,
The following is my sample data format
ABCD 2345 03Accounting Swissland
ABCD 011234 1000Jack Gates 400000 03
ABCD 021234 1001Bill Welch 400000 03
In the first record has dept details:
DummyText, Row identifier(not given in case of dept), Identifier, Deptno, Deptname, Location
The second and third records are emp details:
DummyText,Row identifier, Identifier,EmptNo,Emp Name, Manager, Salary, Deptno.
Notice that the primary key is defined by the first three columns DummyText, Row identifier, Identifier.
When I use Native Format Builder from File Adapter and scan the first three columns I get all three records (i.e dept and both employees). I deleted the second employee and proceeded to finish the configuration. But, the problem I face is that the key value shows as "ABCD% 011234" for both the employee records where as I would like it to show as "ABCD 011234" for the first record and "ABCD 021234" for the second record.
How do I get around this problem?
Moreover if I have a group or recurring records and not just one record recurring. I mean assuming I have the following:
First row: Department
Second row: Employee
Thrid row: Manager
Fourth row: Employee
Fifth row: Manager
How do I get this done?
Does anyone have an idea where to find details of nxsd.
Thanks in Advance.Hi Manoj
Give the FCC parameter as
RecordSet Structure = Header,,Detaillnes,,Detaillines2,*
Header.endSeparator = 'nl'
Header.fieldFixedLengths = field length
Header.fieldFixedLengthType = char/byte
Header.fieldNames = field1,field2,field3,.....
Header.keyFieldValue = Header
Detaillnes.endSeparator = 'nl'
Detaillnes.fieldFixedLengths = field length
Detaillnes.fieldFixedLengthType = char/byte
Detaillnes.fieldNames = field1,field2,field3,.....
Detaillnes.keyFieldValue = Detaillnes
Detaillines2.endSeparator = 'nl'
Detaillines2.fieldFixedLengths = field length
Detaillines2.fieldFixedLengthType = char/byte
Detaillines2.fieldNames = field1,field2,field3,.....
Detaillines2.keyFieldValue = Detaillines2
The keyFieldValue should be the Value which identifies your record either as Header/Detaillines/Detaillnes2.
Regards
Santhosh
Message was edited by:
Santhosh Kumar V -
FTP adapter settings for SFTP connection
We are trying to connect an FTP adapter to a SFTP server.
After solving the license problem with Maverick/3SP class, the error we get now is:
"The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-11447
Error in establishing a session with SSH Server..
Unable to establish a session with the server."
Have done all steps required, set up the oc4j-ra.xml file, adding the license file to the jar, etc. The settings are as usual (following the instructions in the manual): password authentication, port 22, etc.
Taking a look at the SFTP/OpenSSH server log, we can see that OAS tries to connect, but the last log entry is "fatal: Read from socket failed: Connection reset by peer.". Of course, if we try to connect through the SFTP client from the OAS machine to the SFTP server, we can do it with no problems.
What can we do?Log a Service Request with Oracle. We are working with Oracle to resolve SFTP related issues as well.
Good luck, Sjoerd -
File adapter instances for BPM processing
I have two doubts. If I have a single file adpater polling an Input folder and the reciever is the BPM,and i have multiple files in the same folder to be picked up by the File adapter. Will the files be qued up to be picked by the file adpter, or will there be a multiple instances of the file adapter internally ?
The second issue is that, if i have multiple instances of BPM using the same outbound file adpater, then will the outbound messages be qued up or sent parallely
Please share any ideas on this.
RegardsHi,
1) Files with the same name cannot be in 1 folder. so if you need to pick up (say 3 files) u need to create 3 File sender channels and associated these channels to the corresponding sender agreements. So when ever an adapter find sthe file it will pick it up. So there will be queuing up at Adapter level.
2)In the secod case, all instances of BPm will send to the same file adapter, and the files will get overwritten unless you specify somethign like "append messad" or "add time stamp"
3)Each instance of your BPM is an indivual process. It doesn't care if the instace1 RFC has been suceessfully processed or not. So when file2 is sent, BPMInstance2 is created and RFCadapterInstance2 gets started processing....
Hope this helps you.
Cheers,
Siva Maranani. -
Mainframe adapter support for FOCUS apps
Does the WebLogic Mainframe Adapter support mainframe FOCUS applications? What about clists?
Thanks
GlenDoes the WebLogic Mainframe Adapter support mainframe FOCUS applications? What about clists?
Thanks
Glen -
FILE model support for CSV and fixed-length format!!
Hi all,
As I'm working on a data conversation project, we are in the middel to design whether the extraction for the data source should be in CSV or fixed-length. Here is the pros and cons:
CSV:
1. There are a lot of remarks field in the data which are all free text. It's really hard to define the record delimiter.
2. Extracted file size for CSV is relatively small compare with fixed-length.
fixed-length:
Even for fixed length, we can either
1. Extract the file without an separator/delimiter (1 row) with fixed column length
2. Extract the file with fixed column length per record and define the record delimiter to separarter the record.
I'd try all the above formats and it seems ODI is more prefer on CSV or combined mode (fixed column length) as:
1. The LKM (file to external table) need to be customzised to handle the file format which without any separator/delimiter
2. It is very hard to reverse the column definition for fixed-length (no delimiter)
Any suggestion?
TaoYou can transform your files to an xml format using respective tags:
eg:
<?xml version="1.0" encoding="UTF-8"?>
<MONEY>
<MoneyID>MoneyID0</MoneyID>
<ContractID>ContractID0</ContractID>
<EffectiveDate>2006-05-04T18:13:51.0Z</EffectiveDate>
<MessageDate>2006-05-04T18:13:51.0Z</MessageDate>
<ReversalIndicator>false</ReversalIndicator>
<PriorMoneyID>PriorMoney, something "ID0" for life;</PriorMoneyID>
<Amount>0</Amount>
<MoneyType>0</MoneyType>
<ExchangeDetails>
<CostBasis>0</CostBasis>
<ExchangeType>0</ExchangeType>
<MEC>false</MEC>
<LoanAmount>0</LoanAmount>
</ExchangeDetails>
</MONEY>
So, as you see, you can embed any symbol in a tag.
After creating this xml file, you can use XML technology in Topology Manager to map to this file and then create a data store based on this technology.
And you will be able to retrieve the data in this file under respective column headers without worrying about delimiters existing in the actual data. -
it seems to be File Adapter supports for all QOS -BE,EO,EOIO..
is that not a right assumption?
thanks-GSIndeed..
but a couple of days back, I have sent this link to XI beginner..
http://help.sap.com/saphelp_nw2004s/helpdata/en/0d/5ab43b274a960de10000000a114084/content.htm
but he was confused since the question was asked in XI certification..I think we need to take this to SAP.. anybody would prefer to get the answer from them, pls
thanks-Gopal -
File Adapter Sender - Does XI support Active connection mode?
Does the file adapter support Active connection mode?
What do you mean by this? R u talking about FTP connections?
VJ
Maybe you are looking for
-
Getting the text from a text area
I have a application and I wish to take in text typed in from the user into a textArea and then send it into a method however I need to be able to send this information to a static method which accesses a HashTable and then searches for the text inpu
-
Please Help. This is probably so simple but I don't how to do it. How do I connect an Epsom stylus R265 USB printer to my wireless network? I'm using a 17"Powerbook G4 and a G3 Imac both connected with Airport cards to a BT Home Hub and want to be ab
-
I "created a set of recovery media" for my laptop when I'd only had it a few days and it was at Windows 8.0. Well, a few days later I was offered to upgrade to 8.1, which I have done, and it looks like I'm stuck with the 8.0 recovery media. It says
-
Hi, That is my problem http://stackoverflow.com/questions/28991715/list-files-and-folders-in-office-365-sharepoint-site http://stackoverflow.com/questions/27226995/retrieve-sharepoint-site-collection-list-using-restful-api-in-office-365 http://sharep
-
Moving photo from LR into Ps CC 2014 stopped working
Hi! I used to edit my photos in PS CC when I was done with them in LR pressing Ctrl-E. I have uninstalled PS CC this weekend, since I have PS CC 2014 now. Today I wanted to work on some images but now there seems to be a problem. When I press ctrl-e,