on 06-18-2007 11:12 AM
Hi,
We are using J2SE Plain Adapter ...
In one of my scenario i need to send a flat file from one system to another.
To achieve this i have created a sender file adapter in J2SE with content conversion. file is picked successfully ..i have given a sample file as follows
123;abc;xyz
456;qwe;fds
then in moni i can see this file as in XML.
now i need to convert this xml file into flat file by using J2SE receiver file adapter.
Can anybody help me how to configure receiver file adapter in J2SE?
Please see the below code... for sender file J2SE adapter..
<b>## file adapter java class
classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
version=30
mode=FILE2XMBWITHSTRUCTURECONVERSION
Use Password Tokens
PWD.tokenHandler=PWtokens
Integration Engine address and document settings
XI.SLDConfiguration=SLDaccessor
XI.TargetURL=http://abc.com:8000/sap/xi/engine?type=entry
XI.User=xyz
XI.Password=xyz
XI.Client=100
XI.Language=en
Quality of Service (EO,EOIO,BE)
XI.QualityOfService=EO
Repository Information
##XI.SenderParty=ADAPTER
XI.SenderService=BS_SENDER_FCC
XI.Interface=MI_FCC1_Out
XI.InterfaceNamespace=http://www.sap-press.com/xi/training/00
#XI.ReceiverParty=
#XI.ReceiverService=
File processing config
file.sourceDir=f:/abc/
file.sourceFilename=xyz*
file.type=TXT
#file.encoding=UTF-8
file.pollInterval=10
file.processingMode=delete
xml.documentName=MT_FCC1
xml.documentNamespace=http://www.sap-press.com/xi/training/00
xml.recordsetName=Data
xml.recordsetStructure=item,1
xml.item.fieldNames=ID,Name,Address
xml.item.fieldSeparator=,</b>
Thanks in Advance..
Regards,
Reehan
use this help link as a reference;
http://help.sap.com/saphelp_nw04s/helpdata/en/95/bb623c6369f454e10000000a114084/content.htm
it is as similar to the sender side configuration
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.