on 07-19-2006 11:00 AM
Hi,
I created two communication channels to map a source
file with a recordset (separated by semicolon) to a
destination file. The adapter monitor shows, that
he could read the file. The transaction sxmb_moni
shows an error:
"Zielelement /ns1:FileInf_Riek2/f_path kann nicht angelegt werden. Prüfen Sie, ob die XML-Instanz für die Ausgangs-XSD und die Zielfeldzuordnung die Anforderungen der Ziel-XSD erfüllt. at com.sap.aii.mappingtool.tf3.AMappingProgram.start"
The communication channel for reading the source file
has as Message-Protocol : "Umwandlung des Datei-Inhalts" (Transformation of File value).
Here are parameter given that reads the element of
my record-set. In the source file is only one record
set with two elements : filepath and filename
Do I have to do the same in my destination communication
channel? I choose there as Message-Protocoll : Datei (File).
What else could be wrong?
thanks
regards
chris
Message was edited by: Christian Riekenberg
If your message is not an XML then use the option File Content conversion to read the file .....
Ref:
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
Also > /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
Message was edited by: Shabarish Vijayakumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check these blogs for a file to file,
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part 2
Regards,
Bhavesh
in the reverse scenario too if you want to write a file u can use file content conversion.
Ref: /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
It something similar to the sender adapter but some changes need to be done. If you just need a XML file then use the FILE option and a XML file will be written.
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
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.