Skip to Content
0
Oct 18, 2012 at 10:08 AM

Sender IDoc FCC using JAVA module

16 Views

I have a sender Idoc as a flat file which will be placed on FTP location , I donot want to use flat file to xml convertor module since I want the IDoc xml to fit in my sender structure for further mapping

Please help me with the JAVA code for thiis adapter module since I cannot use FCC to parse such type of files

My sender structure is like this

IDOC_DT Complex Type null

RECORDSET Element 1..unbounded f

IDOC_CR Element 1 false

TABNAM Element xsd:string 1

MANDT Element xsd:string 1 false

DOCNUM Element xsd:string 1 false

DOCREL Element xsd:string 1 false

STATUS Element xsd:string 1 false

DIRECT Element xsd:string 1 false

OUTMOD Element xsd:string 1 false

EXPRSS Element xsd:string 1 false

TEST Element xsd:string 1 false

IDOCTYP Element xsd:string 1 false

CIMTYP Element xsd:string 1 false

MESTYP Element xsd:string 1 false

MESCOD Element xsd:string 1 false

MESFCT Element xsd:string 1 false

STD Element xsd:string 1 false

STDVRS Element xsd:string 1 false

STDMES Element xsd:string 1 false

SNDPOR Element xsd:string 1 false

SNDPRT Element xsd:string 1 false

SNDPFC Element xsd:string 1 false

SNDPRN Element xsd:string 1 false

SNDSAD Element xsd:string 1 false

SNDLAD Element xsd:string 1 false

RCVPOR Element xsd:string 1 false

RCVPRT Element xsd:string 1 false

RCVPFC Element xsd:string 1 false

RCVPRN Element xsd:string 1 false

RCVSAD Element xsd:string 1 false

RCVLAD Element xsd:string 1 false

CREDAT Element xsd:string 1 false

CRETIM Element xsd:string 1 false

REFINT Element xsd:string 1 false

REFGRP Element xsd:string 1 false

REFMES Element xsd:string 1 false

ARCKEY Element xsd:string 1 false

SERIAL Element xsd:string 1 false

IDOC_DR Element 1..unbounded false

TABNAM Element xsd:string 1 false

MANDT Element xsd:string 1 false

DOCNUM Element xsd:string 1 false

SEGNUM Element xsd:string 1 false

PSGNUM Element xsd:string 1 false

HLEVEL Element xsd:string 1 false

SDATA Element xsd:string 1 false