on 10-18-2012 11:08 AM
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
Hi,
Why you want java code for this, if you are using few fields in IDoc then create target file staructure with required field and convert in to text as per your requirement.
You need to tweak file receiver structure.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any Ideas ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.