on 11-07-2012 4:55 PM
Hi All.
our scenario is Sender->Proxy to Receiver->SFTP(file).
How to use the functionality of File Content Conversion in sftp adapter?
There is no option called file content conversion in sftp, So we tried to use message transform beans in place of fcc.
in our receiver structure we have two sub structures like detail and trailer.
now how i can pass the data to detail and trailer using message transform beans.
my receiver data type:
my SFTP receiver communication channel,
Above mentioned Fixedlengths are for detail records. How can i pass the fixed lengths for trailer records?
As my output file will be containing multiple detail records and only one trailer record at the end. I am able to achieve it in normal file adapter with file content conversion mentioning both detail and trailer for the fieldfixedlengths.
In SFTP adapter how is it possible to declare for these 2 structures???
Thankyou,
vishnup.
Hi,
>>> There is no option called file content conversion in sftp, So we tried to use message transform beans in place of fcc.
Definitely a good idea, this is how it should be done
For an example on how to use multiple structures in the receiver SimpleXML2Plain, use SAP Help:
http://help.sap.com/saphelp_nw04/helpdata/EN/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
Regards,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Grzegorz.,
we follow your link but we got "processed successfully" in sxmb_moni.
but got an error in run time work bench.
error is:
Message processing failed. Cause: com.sap.aii.af.sdk.xi.adapter.trans.TransformException: Transformer Conversion3.0.5226 Error initializing Class: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: (4408) Parameter 'xml.fieldFixedLengths' or 'xml.fieldSeparator' is missing (4409) ; nested exception caused by: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: (4408) Parameter 'xml.fieldFixedLengths' or 'xml.fieldSeparator' is missing (4409) .
why we got this error?
and how we rectify this issue?
Thankkyou,
vishnu
Dear Vishnu,
Looks like you did not provide fieldFixedLengths or fieldSeparator for one of the structures. Even if Detail and Trailer use the same attribute here, you have to specify them separately in the Bean configuration, e.g. like this:
xml.Detail.fieldSeparator = ;
xml.Trailer.fieldSeparator = ;
Regards,
Greg
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
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.