on 11-13-2007 4:38 PM
Hi guys,
i have following scenario: FTP -> XI ->RFC that is currently working.
XI gets a file (ftp sender channel), maps it and 'sends' it to the target system (SAP) via RFC receiver channel.
However, my client requires to have the source file in the target system as well as the data that is receiving now.
Is it possible? I think so.
Could you please give any idea of how to implement it?
Best regards,
David
>>However, my client requires to have the source file in the target system as well as the data that is receiving now.
does this means you want to send files to 2 different system?
if yes,then simply configure one more receiver in the receiver determination.(you do need Recv. CC,Recv Agreement,Interface det. for this new system)
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yeah,to convert the XML into flat file,use FCC on receiver side.
and to pick up a flat file from the sender system you need to use FCC on sender side.
in your case i guess the sender FCC was already there(as you had a working File to RFC scenario).you just need to configure FCC parameters for the new File receiver adapter you created.
Thanx
Aamir
Yes, you are right.
But i cannot find the error.
This is the target XML i am receiving (from rwb):
<i><ns:MT_FTP_SPAIE004>
<IT_FICHERO>
<item>
<CAMPO1>N20070818998 0067218 10109173 20070+</CAMPO1>
</item>
<item>
<CAMPO1>0000000 00000000 0000000000000000000+</CAMPO1>
</item>
...
</IT_FICHERO>
</ns:MT_FTP_SPAIE004></i>
And these are my FCC parameters on receiver side:
<i>Recordset structure: item
item.fieldNames CAMPO1
item.fieldFixedLengths 212
item.endSeparator 'nl'</i>
Just the same as they are on Sender FCC (that works).
and this is the error message i get:
<i>Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value 'N20070807546 0219750 10109147+')', probably configuration error in file adapter (XML parser error)': java.lang.Exception: Exception in XML Pa.</i>
Could you please help?
Best regards,
david
>>Consistency error: more fields found in XML structure than specified in conversion parameters! (Value 'N20070807546 0219750 10109147+')'
can you paste the XML from sxmb_moni(specially the part where you are getting 'N20070807546 0219750 10109147+ )
also u dont need item.fieldNames CAMPO1 on the receiver side,delete it and then try again
Thanx
Aamir
Hi,
I tested deleting the item.fieldnames parameter with no success.
This is the XML from sxmb_moni:
<i><ns:MT_FTP_SPAIE004 xmlns:ns="http://bancaja.com/SPAIE004">
<IT_FICHERO>
<item>
<CAMPO1>N20070818998 0067218 10109173 20070103941394120070927 200709012007093000000000 00000000 00000000 00000000 00000000 00000000 00000000000000000000000000000000000000000000000000020050000000000000000000000+</CAMPO1>
</item>
<item>
<CAMPO1>N20070807546 0219750 10109147 20070023941394120070924 200709012007093000000000 00000000 00000000 00000000 00000000 00000000 00000000000000000000000000000000000000000000000000033660000000000000000000000+</CAMPO1>
</item>
......
</IT_FICHERO>
</ns:MT_FTP_SPAIE004></i>
And, again, the error:
<i>Consistency error: more fields found in XML structure than specified in conversion parameters! (Value 'N20070807546 0219750 10109147 20070023941394120070924 200709012007093000000000 00000000 00000000 00000000 00000000 00000000 00000000000000000000000000000000000000000000000000033660000000000000000000000+')', probably configuration error in file adapter (XML parser error)'</i>
Any ideas?
Best regards,
David de Miguel
Hi,
Sure,
Create one more Configuration alone and Just FTP the source file ..
Regards
Agasthuri Doss
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
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.