cancel
Showing results for 
Search instead for 
Did you mean: 

J2SE Plain Adapter

Former Member
0 Kudos

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

    1. Use Password Tokens

PWD.tokenHandler=PWtokens

    1. 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

    1. Quality of Service (EO,EOIO,BE)

XI.QualityOfService=EO

    1. 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=

    1. 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

Accepted Solutions (0)

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

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