on 08-05-2009 12:20 PM
Hi,
Working on a very simple file 2 file scenario , where input contains 1 header record identified with a key field and detail record conntains more than 1 records identified with key field. Used very specific FCC. But it was unable to generate the output file (a simple text file without any translation) giving errors as below -
1. File Adapter Receiver Channel cc_target: Not initialized - cannot proceed: null
2. MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: Channel has not been correctly initialized and cannot process messages
3. Adapter Framework caught exception: Channel has not been correctly initialized and cannot process messages
4. Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Channel has not been correctly initialized and cannot process messages.
Input File structure is like
H1,XXXXX
D1,YYYYYY
D1,ZZZZZ
D1,NNNN
H1 and D1 are key identifiers of header and detail record
Need same format output file, used FCCs (1) fieldSeperator (2) endSeparator (3)ignoreRecordsetname (4) fieldNames (5) keyfieldvalue.
Can anyone pls suggest ?
AC
HI
Please chck out the link this may help,
/people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
Some FCC field(s) may not be properly defined...you need to take into account case-sensitivity
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you specified record set struture for target correctly ?
This error surely because of inappropriate FCC paramters
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Use FCC Like this.
Doccument Name MT_Source( Your Source Message Type name)
Doccument Namespace http://xxxxxx(Your Message type Name space)
Recordset Structure Header,1,Detail,*
Key Field Name field1
Key Field Type String
Header.fieldSeparator ','
Header.fieldNames field1,field2
Header.keyFieldValue 'H1'
Header.endSeparator 'nl'
Detail.fieldSeparator ','
Detail.fieldNames field1,field2
Detail.keyFieldValue 'D1'
Detail.ignoreRecordsetname true
Detail.endSeparator 'nl'
Let me know if you are getting any problem.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Through fieldSeperator property I could not solve the problem , so used fieldFixedLengths property and it worked. Also like to mention that there were few specific suggestions where keyFieldValue was given within quote like 'H1' etc. But it should be noted that those parameters do not work with quote.
Anyway thanks all.
Arnab
Hi,
Please check in the visual administrator whether the adapter service is mounted correctly and it is running or not.
Thanks,
Arijit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
Obviously your file adapter service is not running. Or do work other scenarios with file adapter?
Check RWB and/or NWA if services are started.
Regards,
Volker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi AC,
Check the parameters of FCC properly, they are case sensitive; keyfieldvalue is actually keyFieldValue, ignoreRecordsetname is ignoreRecordsetName
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ,
ASk your Basis guys to check for Adapter Services running.
GOTO RWB --> Check File Adapter Status in Adapter monitoring. It should be green.
Check in IR that File Adapter Metadata is correctly imported.
REgards,
Anurag Garg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.