on 10-16-2008 11:49 PM
HI folks,
These are my screen shot link of my receiver CC
http://farm4.static.flickr.com/3279/2946574549_aa08b8464c_o.jpg
http://farm4.static.flickr.com/3063/2946575933_e8689c240d_o.jpg
In my receiver Communication channel,
I mentioned these parameters also,
From : xxxxATxyz.com ( i could not at the rate symbol ..bec it considers as a email)
to : sapATmye.com
subject: test
Content encoding: none
I am mailing with in network only
I could get email in my receiver (sapATmye.com ) inbox but only i am getting message in text format only.
I could not get as a the attachment.
I want the output in text format as a attachment
My advanced thanks for the inputs.
Thanks
Prabaharan
Hi Prabhakar
I saw your configuration images
How are you getting data here.
1. Data is coming as an attachment
2. Data is coming as payload(XML).
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gaurav,
Thanks for ur intiative
I am getting Data as message only ( not as a attachment )
It does not have any format bec message is in the mail message itself.
I am getting Payload in the my mail message itself. (i have to do fixedfieldLengths..i am trying that also)..it is like text format...
Thanks
Prabaharan
Edited by: Prabaharan on Oct 17, 2008 2:08 AM
HI Prabhakaran
Try like this
for StrictXML2PlainBean
recordTypes = SalesEmployee
SalesEmployee.fieldSeparator = ','
SalesEmployee.fieldLengths = 4,4,4,4
SalesEmployee.fieldLengthExceeded = ignore
SalesEmployee.endSeparator = '\r\n'
contentType = text/plain
for MessageTransformBean
Transform.ContentDescription = payload
Transform.ContentDisposition = attachment;filename="XYZ.txt"
Transform.ContentType = text/plain
Thanks
Gaurav
HI Gaurav,
I am getting the error ( i tried like as u said) . even i tried that way before also ( i got the same error)
I am getting the error RWB , CC monitoring,
Message processing failed. Cause: com.sap.aii.af.modules.conversion.xml2plain.ConversionException: Insufficient number of fields read for structure SalesEmployee. Expected 4, got 3 at XML element MT_Receiver,SalesEmployee
Even link for Receiver CC
http://farm4.static.flickr.com/3289/2947598091_6dc5423a82_o.jpg
I do not know why i am getting this kind of error even though,
i mentioned SalesEmployee.fieldLengthExceeded ; = ignore
in my receiver message type 2 attributes has occurence as 1 to unbounded, another 2 attributes occurence as 0 to unbounded
Thanks
Praba
Edited by: Prabaharan on Oct 17, 2008 3:04 AM
Hi Prabhakar
Tell me the correct structure with the occurance then i can try to help.
om.sap.aii.af.modules.conversion.xml2plain.ConversionException: Insufficient number of fields read for structure SalesEmployee. Expected 4, got 3 at XML element MT_Receiver,SalesEmployee
This states that program is expecting 4 values as you have defined length for 4 fields and only 3 reach.
Make changes to this code it should work.
Thanks
Gaurav
hI,
I am having
In the message mapping , my receiver side XML str,
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Receiver xmlns:ns0="http://www.xmxyater.com/report">
<SalesEmployee> occurence 0 to unbounded
<No>0200</No> occurence is 1 to unbounded
<Place>Rama</Place> 0 to unbounded
<Total>200</Total> 1 to unbounded
<Sign></Sign> 0 to unbounded
</SalesEmployee>
</ns0:MT_Receiver>
U have said I need to change code ( i guess XI)?
what/where changes need to be done In XI?
when i see payload i am getting values (mandatory fields ie No and Total) for the all the salesEmployee records.
I doubt about the sign only.
Edited by: Prabaharan on Oct 17, 2008 2:30 PM
I am closing this thread. I guess moderator does not want this thread to continue..
Thanks for ur support Guys esp. Gaurav
Thanks
Praba
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do not know whay i am not getting reply option on this thread....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
I solved the issue by editing mapping..But still i could not resolve issue attachment
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.