on 06-05-2012 7:48 PM
Hi All,
My requirement is Proxy to File(File Content Conversion)... as i dont hv the access to view the files in SFTP specified path so for testing I used File adapter for receiver and used "File" as message protocol not file content. I followed the MessageTransformBean ie., xml2plain concept here are the screen shots which i followed in Integration Directory,
and the Message Transform Bean is as follows (Fixed length file),
and the message mapping is,
My issue is,
Original Output file should be like this,
0000100197676523420120605 5000.000. |
0000100197676523420120605 6000.000. |
0000100197676523420120605 7000.000. |
but I am getting the output file like this,
<?xml version="1.0" encoding="UTF-8"?>
<ns1:EmployeeData xmlns:ns1="urn:xyz.com"><EmployeeData><IDENTIFIER></IDENTIFIER><SEQNO>00</SEQNO><PLNNUM>001001</PLNNUM><SSN>976765234</SSN><TRADE_DATE>20120605</TRADE_DATE><PASRC></PASRC><AMOUNT>5000.00</AMOUNT><LOANNUM>0.</LOANNUM><FILLER> </FILLER></EmployeeData><EmployeeData><IDENTIFIER></IDENTIFIER><SEQNO>00</SEQNO><PLNNUM>001001</PLNNUM><SSN>976765234</SSN><TRADE_DATE>20120605</TRADE_DATE><PASRC></PASRC><AMOUNT>6000.00</AMOUNT><LOANNUM>0.</LOANNUM><FILLER> </FILLER></EmployeeData><EmployeeData><IDENTIFIER></IDENTIFIER><SEQNO>00</SEQNO><PLNNUM>001001</PLNNUM><SSN>976765234</SSN><TRADE_DATE>20120605</TRADE_DATE><PASRC></PASRC><AMOUNT>7000.00</AMOUNT><LOANNUM>0.</LOANNUM><FILLER> </FILLER></EmployeeData>
I am not getting any error in message mapping i hv tested...
This is my issue can you pls guide me how to achieve the solution.
Thanks in advance,
Vichu
Issue 2:- And I am there are many files are getting generated if i execute my proxy report once , why it is happening ??????? Message was edited by: Vichu 636
Hi,
Try changing the sequence of the modules used: MessageTransformBean first, and only then CallSapAdapter. This should solve your problem. The way you have it now, the content is first written to the file, and later converted to flat data.
Regards,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I could see that you have simply mentioned module name as MessageTransformBean.
Instead your module name should have this localejbs/AF_Modules/MessageTransformBean
Please refer this below link.
http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
File content conversion not working ,chech message transfier bean configuration once again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
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.