on 06-15-2017 11:43 AM
Hello Experts,
Currently I am working on SFTP adapter. The same configuration is working fine for FTP adapter.
Below is my structure.
<Record> (1..1)
<Header>(1..1)
<Imp/> (1..1)
</Header>
<Item>(1..unbounded)
<Data/>(1..1)
</Item>
</Record>
Recordset structure in channel : Header,1,Item,9999
FCC parameters :
Header.fieldSeparator 'nl'
Header.fieldNames Imp
Item.fieldSeparator 'nl'
Item.fieldNames Data
In SFTP i am facing below issue (error is highlighted in bold):
Recordset structure
1. Header,1,Item,5(exact number of line item from sample file) : interface is running fine.
2. Header,1,Item,* : Exception received: com.sap.aii.adapter.sftp.ra.rar.conversion.exception.ParserException: Record type: Header missing in the end of the file
3. Header,1,Item,9999 : Exception received: com.sap.aii.adapter.sftp.ra.rar.conversion.exception.ParserException: Record for segment:Item not found
Can anybody help me with this??
Regards
Ankyy
Hello All,
We actually changed Data type structure and little changes in mapping. Interface is working now.
Thanks for your help.
Regards
Ankyy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you try once using Module Beans?
we also faced similar kind of issues that's because of bug in SFTP adapter FCC.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you have deployed SFTP PGP Add on 1.0, then it should work fine.
Anyway, try once putting additionally below -
igoneRecordSetName = true
Header.endSeparator = 'nl'
Item.endSeparator = 'nl'
If still the issue will be there, then you should definitely check the patch level and talk to SAP or else you can use MessageTarformationBean to do the FCC
Thanks,
Apu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ankyy!
In case of recordset with "*" occurence I guess, that you shoud define keys for recordsets.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There may be some bugs on the SFTP adapter. Which SP/Patch Level are you on?
You can check a workaround on: https://archive.sap.com/discussions/thread/3959970
Or maybe you need to update your system according to SAP Note 2144272 - SFTP Adapter Support for Large File Handling and Content Conversion.
Regards,
Luis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.