on 11-22-2013 8:15 PM
Hi,
I have a scenario where xml-->flatfile conversion with && as a field separator it is 1 level of hirarchy.
When I am trying to process the file, I dont see any errors in CC monitoring or SXMB moni.
I am able to see the xml message in moni, but I am not seeing any data in file, but file size is 46bytes not 0bytes.
I also have some empty fields at target side which doesnt have any value.
Can someone suggest me, why I am not able to do the CC.
Thanks
Sarada
as you are able to see the XML in moni there shouldn't be any issue with the content conversion.
Take the XML from sxmb_moni and test the message mapping in the repository and check if you are getting the output
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I dont think your configuration is valid..
you have xml.end separator,xml.field separator/xml.processfieldnames which are applicable when you are doing content conversion on the sender side i.e. flat file->xml
for the receiver side please check here explained with an example..
http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
Hi Hareesh,
Source is xml structure and message mapping was done.
Target side of the structure has 250 fields like below
MT_DocumentName
abd
def
123
.
.
.
.
. etc.
but some of the target fields are not mapped to the source but I still need those fields as empty at my target side. so I am trying to change from xml to text in which fields should be seperated by "&&"
Thanks
Sarada
Hi,
Please follow the below steps.
Change your msg type as below..create a node like Records and move all your 250 fields should be under it.
MT_Document Name
Records
field1
field2
field250
Use the below parameters in your receiver channel.
Transform.Class - com.sap.aii.messaging.adapter.Conversion
Transform.ContentType - text/plain;charset=utf-8
xml.Records.fieldSeparator - &&
xml.addHeaderLine - 0
xml.conversionType - StructXML2Plain
xml.recordsetStructure - Records
Please try and let us know.
Regards,
Veerendra
Hi Hareesh,
I have checked in this,
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
So I tried doing that.
Thanks
Sarada
Hi Sarada,
Please check your output XML, there should be some structure problem.
Please chenge the Processing tab Empty-file Handling to Ignore. with this configuration you will not get the empty file at receiver end and it help you to debug the issue.
Regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.