File Receiver cotent conversion
All,
we have an xml message of the following structure.
<target>
<data><name>j</name><title>manager</title></data>
<data><name>j2</name><title>manager2</title></data>
</target>
While we write the output flat file using content conversion. There is an empty line that is added on the top of the output text file. We have the following setting in the content conversion settings.
data.fieldFixedLengths 50,100
data.addHeaderLine 0
What might be the issue?
Thanks
I think i figured out why this happening. not sure how to resolve this. Note the highlighted line in the following xml. This node occurs once in the entire message and is used as a variable substitution parameter for the name of the output file.
<target>
<b><filename>output08142007.txt</filename></b>
<data><name>j</name><title>manager</title></data>
<data><name>j2</name><title>manager2</title></data>
</target>
In the content conversion recordset structure - I have only given the <data> (since we dont need the filename inside the file). Due to the <filename> node, it is putting an empty line. If i remove the <filename> and hard code the value of theouput file in the comm channel, it writes the file without any empty lines.
Is there a way we can overcome this? or should we open an OSS ticket for this?
Thanks.
Similar Messages
-
XML-IDOC to Plain File: File Receiver Cnt Conversion Problem Nested Stucts
Hi all,
I have an IDOC-XI-File scenario and I have a problem with the file receiver adapter and the content conversion parameters when the final data type has nested structures. Imagine that I have something similar to the following:
My desire is to get something similar to this in the output file:
SEGMENT0;HEADER
SEGMENT1;100
SEGMENT2;0200000716
SEGMENT3;1000
SEGMENT2;0200000717
SEGMENT3;1000
SEGMENT3;1001
SEGMENT3;1002
But what we are getting is this:
SEGMENT0;HEADER
SEGMENT1;100
SEGMENT2;0200000716;SEGMENT3;1000
SEGMENT2;0200000717;SEGMENT3;1000;SEGMENT3;1001;SEGMENT3;1002
The content conversion parameters of the file receiver are as follow:
Recordset Structure: IDOC,EDI_DC40,E1STATS,Z1HDSTAT,Z1ITSTAT
IDOC.fieldSeparator: ;
IDOC. endSeparator: nl
IDOC. addHeaderLine: 0
EDI_DC40.fieldSeparator: ;
EDI_DC40. endSeparator: nl
EDI_DC40. addHeaderLine: 0
E1STATS.fieldSeparator: ;
E1STATS. endSeparator: nl
E1STATS. addHeaderLine: 0
Z1HDSTAT.fieldSeparator: ;
Z1HDSTAT. endSeparator: nl
Z1HDSTAT. addHeaderLine: 0
Z1ITSTAT.fieldSeparator: ;
Z1ITSTAT. endSeparator: nl
Z1ITSTAT. addHeaderLine: 0
Ive tried to use the parameter beginSeparator=nl for the segments Z1ITSTAT but its not working. I havent been able to find a solution in the other forums. Can anybody help me?
Thanks in advance
Roger Allué VallCan you explain it with my example? I can't see what you mean.
<ZSYSEX01>
.<IDOC BEGIN="1">
....<EDI_DC40 SEGMENT="SEGMENT0">
........<FIELD1>HEADER</FIELD1>
....</EDI_DC40>
....<E1STATS SEGMENT="SEGMENT1">
........<FIELD2>100</MANDT>
........<Z1HDSTAT SEGMENT="SEGMENT2">
...........<FIELD3>0200000716</FIELD3>
...........<Z1ITSTAT SEGMENT="SEGMENT3">
...............<FIELD4>1000</FIELD4>
...........</Z1ITSTAT>
........</Z1HDSTAT>
........<Z1HDSTAT SEGMENT="SEGMENT2">
...........<FIELD3>0200000717</FIELD3>
...........<Z1ITSTAT SEGMENT="SEGMENT3">
...............<FIELD4>1000</FIELD4>
...........</Z1ITSTAT>
...........<Z1ITSTAT SEGMENT="SEGMENT3">
...............<FIELD4>1001</FIELD4>
...........</Z1ITSTAT>
...........<Z1ITSTAT SEGMENT="SEGMENT3">
...............<FIELD4>1002</FIELD4>
...........</Z1ITSTAT>
........</Z1HDSTAT>
....</E1STATS>
.</IDOC>
</ZSYSEX01>
Regards, -
Complex file receiver content conversion
Hi
My challenge is to change this xml structure to a flat file structure using content conversion in a file receiver adapter. My problem is, that I have a record within a record and both records can occur multiple times:
<statusUpdate_response>
<ProcessID/>
<SenderSystem/>
<Results>
<ResultList> (0..unbound)
<OKKode/>
<Reference/>
<Result/>
<ResultDetail> (0..unbound)
<TYPE/>
<ID/>
<NUMBER/>
</ResultDetail>
</ResultList>
</Results>
</statusUpdate_response>
Any suggestions?
Maybe some sort of xml flattener before doing the content conversion would do the trick, but then again how is that to be done?
BR MIkaela small trick might help - /people/shabarish.vijayakumar/blog/2010/01/14/file-conversion-using-nodeception
Also do read - /people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts -
File receiver content conversion fields attributes
hi,
i am trying to use file adapter to write this xml to flat file but all attributes of the fields are not written to file ( only elements are written).
the xml file is:
<?xml version="1.0" encoding="utf-8"?>
<n0:MT_Mits_Claims xmlns:prx="urn:sap.com:proxy:DE1:/1SAI/TAS6EAA2B8AB4A5D2DA4145:700:2008/06/25" xmlns:n0="http://colmobil.com/wty/1162/claims_to_manufacturer/mits/">
<Header>
<File_ID>GDM001</File_ID>
<Dist_Code>KS</Dist_Code>
<Header_Code>H1</Header_Code>
<File_Descr>CLAIM RESULT DATA</File_Descr>
<Total_Records>0000008</Total_Records>
<Filler/>
<Filename>GDM0010812100016.DAT</Filename>
</Header>
<Details>
<Header_EA File_ID="GDM001" Dist_Code1="KS" Detail_Code="D1" Domestic_Export="E" Dist_Code2="KS" Dealer_Code="2110" Seq_No="0902" Sub_Seq_No="" Page_ID="01" Line_ID="EA" Claim_Type="P" Division="" RFC_Seq_No="" Filler=""/>
<Header_HA File_ID="GDM001" Dist_Code1="KS" Detail_Code="D1" Domestic_Export="E" Dist_Code2="KS" Dealer_Code="2110" Seq_No="0902" Page_ID="01" Line_ID="HA" VIN="VIN260" Faliure_Date="200810" Odometer_Reading=" 1204" Sold_Date="080820"/>
<Header_HB File_ID="GDM001" Dist_Code1="KS" Detail_Code="D1" Domestic_Export="E" Dist_Code2="KS" Dealer_Code="2110" Seq_No="0902" Sub_Seq_No="" Page_ID="01" Line_ID="HB" Position_Code="111221" A_Code="12" B_Code="03" C_Code="1" Ref_Code="" Manual_Control="" Comment_Code="" Ratio_Labor="" Ratio_Parts="" Manuf_Code="" Filler=""/>
<Details_LA_LE File_ID="GDM001" Dist_Code1="KS" Detail_Code="D1" Domestic_Export="E" Dist_Code2="KS" Dealer_Code="2110" Seq_No="0902" Sub_Seq_No="" Page_ID="01" Line_ID="LA" Labor_Pos_Code="" Work_Code="99" Qty="10" Amount="" Ratio="" Comment_Code="" Factory="" Filler=""/>
<Details_LA_LE File_ID="GDM001" Dist_Code1="KS" Detail_Code="D1" Domestic_Export="E" Dist_Code2="KS" Dealer_Code="2110" Seq_No="0902" Sub_Seq_No="" Page_ID="01" Line_ID="LA" Labor_Pos_Code="231110" Work_Code="10" Qty="01" Amount="" Ratio="" Comment_Code="" Factory="" Filler=""/>
<Details_PA_PK File_ID="GDM001" Dist_Code1="KS" Detail_Code="D1" Domestic_Export="E" Dist_Code2="KS" Dealer_Code="0211" Seq_No="0902" Sub_Seq_No="" Page_ID="01" Line_ID="PA" Parts_No="" Qty="01" Faliure_Origin="X" Price="0050000" Ratio="" Comment_Code="" Factory="" Filler=""/>
<Total_Claim_Lines>6</Total_Claim_Lines>
</Details>
<Trailer>
<File_ID>GEE</File_ID>
<Dist_Code>KS</Dist_Code>
<trailer_Code>E1</trailer_Code>
<End_Code>END</End_Code>
<Filler/>
</Trailer>
</n0:MT_Mits_Claims>
the content conversion paramters are:
Header.addHeaderLine 0
Header.fieldFixedLengths 6,4,2,30,7,31,0
Header.fixedLengthTooShortHandling Cut
Details.addHeaderLine 0
Details.fieldSeparator 'nl'
Trailer.addHeaderLine 0
Trailer.fieldFixedLengths 3,4,2,3,65
the output file that i get is:
GDM001KS H1CLAIM RESULT DATA 0000008
6
GEEKS E1END
What i need to do to get attributes in file?
Thanks
TomerHi
Assuming the scenario you are trying to implement is XML file to Flat file. You need to map the input structure including attributes to the flat file structure. Then in your content conversion output the flat file structure.
Thanks
Damien -
Issue with Xi File Receiver "Content Conversion" fixed length and kanji
I need to create a fixed length file for a customer that has kanji (SJIS) characters in it. The issue is when the length of the value is less than the fixed length. It is padding out with spaces, but it is putting 2 bytes per space instead of one (But it seems to have counted the padding in characters...).
.fieldFixedLengths: 8,6,40,40
.fixedLengthTooShortHandling: Cut
.fieldNames: date,time,name1,name2
Receiver, please don't answer for sender.
File AdapterPaul,
Can you please tell what is coming in the output file if the values are:
date: 062309
time: 2240
name1: hello
name2: hello2
When you put space here and if it is not showing correctly just to interpret you can use S which will stand for space.
---Satish -
File Receiver Content Conversion
I have the following XML:
<n0:CostCentreServiceCreateRequest>
<n0:ESB_Header>
<MessageId>4E77E43F-1D1D-0096-E100-8000AC182411</MessageId>
<Timestamp>2011-09-19T14:00:00Z</Timestamp>
<SourceSystem>SAP</SourceSystem>
<TargetSystem>MDS</TargetSystem>
<ActionType>CostCentreServiceCreateRequest</ActionType>
</n0:ESB_Header>
<n0:CostCentre>
<Record>
<Cost_Centre>0010100010</Cost_Centre>
<Valid_From_Date>1900-07-01</Valid_From_Date>
<Valid_To_Date>9999-12-31</Valid_To_Date>
<General_Name>Edu and Train Access</General_Name>
<Description>Education and Training Access</Description>
<Person_Responsible>Shala Karan</Person_Responsible>
<Department>ErlyChld Prg</Department>
<Cost_Center_Category>1</Cost_Center_Category>
<Company_Code>1010</Company_Code>
<Currency_Key>AUD</Currency_Key>
<Costing_Sheet>Z00001</Costing_Sheet>
</Record>
</n0:CostCentre>
</n0:CostCentreServiceCreateRequest>
I want to write it to a CSV file. However, I only want to write the values in the <Record> element and ignore everything else. Is this possible? At the moment, in my content conversion, I have Record entered in the Recordset Structure field. In the details below that I am setting the Record.addHeaderLine, Record.headerLine, Record.fieldSeparator, and Record.endSeparator attributes.
However, what this generates is the following:
CODE,NAME,vaild_to_date,vaild_from_date,description,person_responsible,department,category,company_code,currency,actual_primary_posting_locked_flag,actual_revenu_posting_locked_flag,costing_sheet
4E77DA9E-8943-0099-E100-8000AC182411|2011-09-19T14:00:00Z|SAP|MDS|CostCentreServiceCreateRequest
0010100010
It includes the <n0:ESB_Header> values (which I dont want) and only the first value of <Record>.
Ideally the output would look like this:
CODE|NAME|vaild_to_date|vaild_from_date|description|person_responsible|department|category|company_code|currency|actual_primary_posting_locked_flag|actual_revenu_posting_locked_flag|costing_sheet
0010100010|Edu and Train Access|1900-07-01|9999-12-31|Education and Training Access|Shala Karan|ErlyChld Prg|1|1010|AUD|Z00001
Notice also that the Header is pipe delimited. Is there anyway to set this? So far I can only get the header to be comma delimited.
Thanks,
KrishneelI want to write it to a CSV file. However, I only want to write the values in the <Record> element and ignore everything else. Is this possible?
Yes its possible. Rest all configuration seems to be fine. Refer the following link.
http://help.sap.com/saphelp_nwpi71/helpdata/en/44/686e687f2a6d12e10000000a1553f6/frameset.htm
Try to refresh cache as well. It might be taking old configuration.
Regards
Raj -
Content Conversion Parameter in File Receiver Adapter
Hi all,
I have created one File Receiver Adapter with Message Protocol 'File Content Conversion' and with the following configuration:
Recordset Structure: Message
Message.fieldFixedLengths: 1000
My Message Type is:
LogErro_MT
Message (Type: String) (Occurrence: 0..Unbounded) (Details: Min,Max Length: 1000)
But the file created by it has no data inside it. If I change the Message Protocol to 'File', the content of the file is the XML generated by the Outbound Proxy.
Would someone can help me?
Thanks in advance
LeoHi,
Please create a data type with
Records
Message ---0..unbounded
and hten MT for the same.
In the receiver file adapter:
Recordset Structure: Message
Message.fieldFixedLengths: 1000
Please check this weblog for the same:
/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
IS this what you are trying to do.
Regards
Vijaya -
Content Conversion in File Receiver Adapter
Hi,
I am doing a Content Conversion in File Receiver Adapter.
Input to the Adapter is:
<ns1:FileResponse_MT xmlns:ns1="http://www.bpmtest.com/bpm">
<OrderID>123</OrderID>
<Quantity>98</Quantity>
<Price>76.23</Price>
</ns1:FileResponse_MT>
Desired output is: <b>OrderID# Quantity# Price (123#98#76.23)</b>
I tried to accomplish this with different settings in Recordset Structure and Conversion Parameters but could not achieve it, every time an empty file is produced.
Would appreciate any help on this.
Best Regards,Hi,
Enclose your structure with a parent element like this.
<ns1:FileResponse_MT xmlns:ns1="http://www.bpmtest.com/bpm">
<parent>
<OrderID>123</OrderID>
<Quantity>98</Quantity>
<Price>76.23</Price>
</parent>
</ns1:FileResponse_MT>
Then give the parameters, it will work.
parent.fieldSeparator = '#'
parent.endSeparator = 'nl'
Regards,
P.Venkat -
File Receiver Adapter - Content Conversion
Dear All,
We are using <b>DB to file Scenario</b>.We are using File Content conversion to get a File Comma Separated.
Data is picked up from the DB and our payload before getting in to File adapter is given below.
<?xml version="1.0" encoding="UTF-8" ?>
<ns6:AssoInfo_MT xmlns:ns6="urn:NDB2File2DB">
<AssoInfoList>
<AssoInfoNode>
<Name>ABCX</Name>
<ID>31154</ID>
<Salary>10000.0</Salary>
</AssoInfoNode>
<AssoInfoNode>
<Name>ASDAS</Name>
<ID>18978</ID>
<Salary>10000.0</Salary>
</AssoInfoNode>
</AssoInfoList>
</ns6:AssoInfo_MT>
In File content conversion we are giving
<b>AssoInfoNode.addHeaderLine = 0
AssoInfoNode.fieldSeparator = ,
AssoInfoNode.endSeparator = 'nl'</b>
We are getting output as
<b>ABCX,ASDAS</b>
But the <b>expected</b> output is
ABCX,31154,10000.0
ASDAS,18978,10000.0
What change we need to do in our File Receiver Adapter configuration.
Regards,
VedavyasHello,
Test without these 2 options :
AssoInfoNode.addHeaderLine = 0
AssoInfoNode.endSeparator = 'nl'
I think your problem is with the "endSeparator", it is not necessary.
A new line is created for each new AssoInfoNode automaticaly.
Regards,
Chris -
Content Conversion - File Receiver
Hi All,
I am facing problems with File Content Conversion in the File Receiver adapter.
Input XML File
===============
<?xml version="1.0" encoding="utf-8"?>
<ns:mt_Hyp_FICO057 xmlns:ns="http://Astra-Honda.com/Prime/FICO/FICO057">
<userlist>
<user>
<Year>2005</Year>
<Month>Jan</Month>
<Version>0</Version>
<Value>64</Value>
<CostCenter>P13000</CostCenter>
</user>
<user>
<Year>2006</Year>
<Month>FEB</Month>
<Version>0</Version>
<Value>264</Value>
<CostCenter>P13000</CostCenter>
</user>
</userlist>
</ns:mt_Hyp_FICO057>
I have set the Content Conversion parameters in receiver File Adapter as
Recordset Structure = user
user.fieldSeparator = ;
but i am getting the output only as
Output
======
2005;2006
it is not considering other fields.
Can anyone help.
Thanks in Advance
Chemmanzhey
also specify the end separator
<b>user.endSeparator='nl'</b>
rgerads
jithesh -
Adapter file Receive - conversion file problem
Hi everybody,
In an adapter file receiver, I want to convert an XML structure to a "flat file".
here is my xml structure
<ns1:MT006_blabka>
<RECORD>
<LIGNE>TEST1</LIGNE>
<LIGNE>TEST2</LIGNE>
</RECORD>
<FILE>
<FILENAME>fichier.dat</FILENAME>
<DIRECTORY>//server1/root/</DIRECTORY>
</FILE>
</ns1:MT006_blabla>
and the text file I want to receive is
<BOF>
TEST1
TEST2
<EOF>
The problem is with the paramter of conversion I use I receive
<BOF>
TEST1
TEST2
<EOF>
I always receive an empty line at the end
The record set define in conversion are "RECORD,FILE"
in parameter i put
RECORD.fieldSeparator value : 'nl'
FILE.fieldFixedlengths value : 0,0
My problem is to eliminate the empty line at the end of the file.
Is there someone who can help me ?
Thank you in advance for your collaboration.
Regards
Eric.Hi,
You will have to modify your target structure from this
<ns1:MT006_blabka>
<RECORD>
<LIGNE>TEST1</LIGNE>
<LIGNE>TEST2</LIGNE>
</RECORD>
<FILE>
<FILENAME>fichier.dat</FILENAME>
<DIRECTORY>//server1/root/</DIRECTORY>
</FILE>
</ns1:MT006_blabla>
To this
<ns1:MT006_blabka>
<RECORD>
<Struct>
<LIGNE>TEST1</LIGNE>
<LIGNE>TEST2</LIGNE>
</Struct>
</RECORD>
<FILE>
<FILENAME>fichier.dat</FILENAME>
<DIRECTORY>//server1/root/</DIRECTORY>
</FILE>
</ns1:MT006_blabla>
use the content conversion as
recordset structure = RECORD,Struct,File,
Record.fieldSeparator = 'nl'
Struct.fieldSeparator = 'nl'
file.fieldFixedLengths = 0
file.fixedLengthTooShortHandling = Cut -
How to do structure conversion for J2EE File Receiver Adapter
Hi,
I am trying to move my adapter configuration from J2SE to J2EE. My J2SE file inbound adapter has:
mode=XMB2FILEWITHCONVERSION
I am unable to find a similar feature with the J2EE File Receiver's Communication Channels configuration.
Pls advise.
Thanks.Per a similar topic submitted previously (File Adapter in XI 3.0), this feature requires SP Stack 04.
Regards,
Bill -
Adapter Module Filename in File Receiver Channel
Hi All,
is it possible to set the Filename in File Receiver Adapter from Adapter Module?
I know that it is possible to read the data
Channel ch = new Channel(moduleContext.getChannelID());
path = ch.getValueAsString("file.targetDir");
I Need to set the filename in Adapter Module, using of Payload is not possible because Payload is not xml.
Dynamic Parameters in Message Header is not possible because it is an multi mapping process an i need dynamic Filename for each Part
payload after mapping is like
MainDocument
SubMainDocument
MainDocument
SubMainDocument
i need special Name for each SubMainDocument in FileReceiverAdapter
regards
ralfHello Stefan,
interface mapping is an mapping like this:
outbound_interface => Inbound_Interface1
=> Inbound_Interface2
=> Inbound_Interface3
in sxmb_moni this looks like this
Soap_Header
Soap_Body
Payloads
=>MainDocument ( application/xml )
=> SubMainDocument ( text/xml )
=>MainDocument ( application/xml )
=> SubMainDocument ( text/xml )
First SubMainElement is routing to FileReceiverAdapeter A where Filename has to be like "NameA%nr%"
second SubMainElement is routing to FileReceiverAdapeter B where Filename has to be like "NameB%nr%"
%nr% is som value from the Payload.
Payload is not xml because using of Conversion Argent!!
I Think there is only one Dynamic in Header for all subelements, i have test it!
ralf -
Variable Substitution File Receiver Adapter
Hi,
I am in the process of implementing a scenario involving the conversion of a .jpg file to .bmp. In my scenario, I'd like to the .bmp file name to be dynamically controlled; therefore, I have used the Variable Substitution option in the File Receiver Adapter.
In both the File Sender & Receiver comm. channels, I have ticked 'Adapter Specific Messsage Attributes' check-box and selected the 'File Name' option.
The File Receiver comm. channel also has the following:
File Name Scheme*: %File_Name%.bmp
Variable Name: File_Name
Reference: message:FileName
Having done the above, I am getting the following error message in Comm. Channel Monitoring:
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: Unknown message header category 'FileName' for variable 'File_Name'.: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: Unknown message header category 'FileName' for variable 'File_Name'.
Would really appreciate your assistance on this.
Regards,
Reuben.
PS: The Sender File Adapter has theHi,
The full error message is s follows:
Runtime exception during processing target field mapping /ns0:MaterialBITMAP_In. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._Test_Conversion_ method setfilename$[17092008, osinef, com.sap.aii.mappingtool.tf3.rt.Context@d3b0d3b] com.sap.aii.mappingtool.tf3.MessageMappingException: Runtime exception during processing target field mapping /ns0:MaterialBITMAP_In. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._Test_Conversion_ method setfilename$[17092008, osinef, com.sap.aii.mappingtool.tf3.rt.Context@d3b0d3b] at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:350) at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:401) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:142) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431) at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0.execute(MapServiceRemoteObjectImpl0_0.java:301) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0p4_Skel.dispatch(MapServiceRemoteObjectImpl0_0p4_Skel.java:146) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:312) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:215) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Root Cause: com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._Test_Conversion_ method setfilename$[17092008, osinef, com.sap.aii.mappingtool.tf3.rt.Context@d3b0d3b] at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:56) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:294) at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:401) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:142) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431) at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0.execute(MapServiceRemoteObjectImpl0_0.java:301) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0p4_Skel.dispatch(MapServiceRemoteObjectImpl0_0p4_Skel.java:146) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:312) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:215) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Root Cause: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:47) at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:294) at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:401) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:142) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431) at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0.execute(MapServiceRemoteObjectImpl0_0.java:301) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0p4_Skel.dispatch(MapServiceRemoteObjectImpl0_0p4_Skel.java:146) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:312) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:215) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Caused by: java.lang.NullPointerException at com.sap.xi.tf._Test_Conversion_.setfilename$(_Test_Conversion_.java:61) ... 24 more RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:MaterialBITMAP_In. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._Test_Conversion_ method setfilename$[17092008, osinef, com.sap.aii.mappingtool.tf3.rt.Context@d3b0d3b]
11:15:02 End of test
Reuben. -
What are all the fields covered in the Raw file received from the Card Co
Hi Experts,
I want to know what are all the fields covered in the Raw file received from the credit card company say AMEX before uploading the data into ASP system i.e. CCD format file to be uploaded in T-Code PRCC
Some of the fields I know:
1. Name of the Employee
2. Company ID
3. Credit card number
4. Currency
5. Amount
6. Exchange rate
7. Date of Transaction
8. Description
9. Document no.
10. Expense type
11. Expenses paid by company
Waiting for a positive response from your side
Regards,Hi
The below mention is the possible values/records will be received from Banks regarding credit card expenses
ORGANIZATION / HIERARCHY HEADER RECORD
FIELD NAME
RECORD TYPE
TYPE INDICATOR
COMPANY NAME
COMPANY ID
SUB COMPANY ID
EFFECTIVE / FILE DATE
CCF VERSION
COMPANY NUMBER
TRANSACTION POSTING DATE START
TRANSACTION POSTING DATE END
FILLER
TRX CONTROL DATA
ORGANIZATION / HIERARCHY DETAIL RECORD
FIELD NAME
RECORD TYPE
TYPE INDICATOR
COMPANY ID
SUB COMPANY ID
CORP PARENT NODE
CORP CHILD NODE
PAST DUE BUCKETS RECORD
FIELD NAME
RECORD TYPE
TYPE INDICATOR
COMPANY ID
SUB COMPANY ID
STATEMENT DATE
AMOUNT PAST DUE
30 DAYS PAST DUE
60 DAYS PAST DUE
90 DAYS PAST DUE
120 DAYS PAST DUE
150 DAYS PAST DUE
180 DAYS PAST DUE
180 PLUS DAYS PAST DUE
PREVIOUS BALANCE
FILLER
TRX CONTROL DATA
CARDHOLDER HIERARCHY RECORD
FIELD NAME
RECORD TYPE
TYPE INDICATOR
COMPANY ID
SUB COMPANY ID
NODE ID
ACCOUNT NUMBER
FILLER
TRX CONTROL DATA
ACCOUNT HEADER RECORD 1
FIELD NAME
RECORD TYPE
TYPE INDICATOR
COMPANY ID
SUB COMPANY ID
PROCESSOR
ACCOUNT NUMBER
ACCOUNT TYPE
LAST NAME
CARDH FIRST NAME
CARDH MIDDLE NAME
ADDRESS LINE1
ADDRESS LINE2
ADDRESS LINE3
ADDRESS LINE4
ADDRESS LINE5
CITY
STATE / COUNTY/ PROVINCE
POSTAL CODE
COUNTRY
NATIONAL ID
TELEPHONE NUMBER
WORK PHONE NUM
ID VERIFICATION CODE
DATE OF BIRTH
CYCLE CODE
FAX NUMBER
E MAIL ADDRESS
EMPLOYEE ID
CLIENT ID / CUSTOMER NUMBER
CUSTOMER VAT NUMBER
TITLE
STMT DATE
GENDER
FILLER
TRX CONTROL DATA
MAIN TRANSACTION RECORD
FIELD NAME
RECORD TYPE
TYPE INDICATOR
COMPANY ID
SUB COMPANY ID
CBS TR RUN DATE
ACCOUNT NUMBER
TRANS DATE
TRANS TIME
POST DATE
FILLER
AUTH REQUIRED
AUTH ID
CONVERS DATE
POS ENTRY
POS COND CODE
ACQUIRER ID
REFERENCE NUM
TRACE NUMBER
FILLER
TRANS ID
MCC
MCC INFO DATA
MERCH ACCEPTOR ID
MERCH DESCRIPTION
MERCHANT CITY
MERCHANT STATE / PROVINCE
MERCHANT POSTAL CODE
MERCH COUNTRY
MERCHANT VAT NUMBER
MERCH DESC FLAG
MERCHANT REFERENCE NUMBER
SOURCE CURRENCY
SOURCE AMOUNT
BILLING CURRENCY
BILLING AMOUNT
SETTLEM CURRENCY
SETTLEM AMOUNT
US DOLLAR CURR
US DOLLAR AMT
GB POUND CURR
GB POUND AMT
EURO CURRENCY
EURO AMOUNT
ASIA YEN CURR
ASIA YEN AMT
SWED KRON CURR
SWED KRON AMT
CANADIAN CURR
CANADIAN AMT
CONVERSION RATE
DB CR FLAG
MEMO FLAG
CORP ACCT NO
SALES TAX
SALES TAX FLAG
VAT TAX
VAT TAX FLAG
PURCHASE ID
PURCH ID FLAG
TRAN TYPE
NO OF ADDENDUMS
VISA_MCI TRAN CODE
ADDENDUM KEY
TICKET NUMBER
MSG TYPE
FILLER
VAT EVIDENCE FLAG
CUSTOMER REFERENCE NUMBER
DISCOUNT AMOUNT
MESSAGE ID
SUMMARY COMMODITY CODE
CUSTOMER VAT NUMBER
FILLER
TRX CONTROL DATA
The above mentioned is Just 50% of data will be received form the banks. Still footer details have to added.
Thanks,
Nandagopal C
Edited by: Nandagopal Chiranjeevi on Feb 6, 2009 5:40 AM
Maybe you are looking for
-
Itunes cannot locate files all of a sudden. Why?
I had recently went to a friends house who had home sharing turned on. I do not have this feature turned on. When I left her house, I could no longer play my music. It says " Itunes cannot locate file " The songs that it is doing this for are songs I
-
Download software site not working for Financial Data Quality
Hi Financial data quality management site download site not working. it's showing error message below error message. Error message: "We're sorry,the page you requested was not found.We have recorded this error (404) to help us fix the problem" Site:
-
Hi, I have to generate sequence numbers in Oracle and access it through my JSP page. For that i created a sequnce in Oracle as: create sequence trans_no increment by 1 start with 1 maxvalue 10000 minvalue 1; and in my JSP page, the following code is
-
Can't recognize music files on nano
when i plug in my nano to my computer it says that it cannot recognize any files on the nano and that i need to use the ipod updater to do a factory reset. I tried a factory reset...a manual reset....and updated all the programs on my computer. I don
-
Code to generate Combinations???
Hi All I have this problem. The maximum no. of combinations of n items taking none or all items at a time is 2^n. so say I have 5 records so max combinations possible is 2^5 = 32. but the issue is that how to write code to generate all possible combi