on 11-16-2006 6:49 AM
Hi!
I am working on File(source.csv)->Xi->File(Target.csv) Scenario.
In my Source File i have 4 fields which are mapped to the target file which contains 2 additional fields with constant values mapped. So, I should get 6 fields at receiver end.
<b>Source structure</b>
CharacterName
Lowerlimit
Upperlimit
Targetvalue
<b> Target Structure</b>
CharacterName
Lowerlimit
Upperlimit
Targetvalue
Plant (constant value -1000)
Status (Constant value - Released)
But, While using file adapter it showing only 4 fields of my Source file at the receiver end , not the ones which have been mapped with constant values(It is with out Using FCC) .
When i use FCC under File Adapter, XI is not picking the file. These are the parameters I am defining at Sender Adapter:
Document Name : file_rece( Not sure whether it should be similar as of my Msg Type name)
RecordSet Name :Record (not sure abt naming conventions)
Recordset Structure : main,1
In parameters:
main.fieldNames:CharacterName,Lowerlimit,Upperlimit ,Targetvalue
main.fieldSeparator: ,
main.endSeparator : 'nl'
Receiving Adapter:
Recordset Structure : main,1
main.fieldSeparator :,
main,endSeparator : 'nl'
---I gone through some previous posts but cant able to resolve it.
Regards
Parth
<b></b>
Now i able to get my file to be uploaded at receiver side...
But still my receiver file doent contain additional fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI! Bhavesh
Its showing error at receiver side communication channel:
"Channel has not been correctly initialized and cannot process messages"
**Error Exception caught by adapter framework: null
Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi! Bhavesh
<b>This is the source Data type xml format generated in IR:</b>
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http:
bSU1" targetNamespace="http:
bSU1">
<xsd:element name="bsu_source" type="Bbsu_target_dt" />
<xsd:complexType name="Bbsu_target_dt">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
853e43e0755211dba7bf001560a58e89
</xsd:appinfo>
</xsd:annotation>
<xsd:attribute name="CharacterName" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
a9f9a8a073a911db9df8f654ac1116d8
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="LowerLimit" type="xsd:integer">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
a9f9a8a173a911dbaaabf654ac1116d8
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="UpperLimit" type="xsd:integer">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
a9fb2f4073a911db868ef654ac1116d8
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="TargetValue" type="xsd:integer">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
a9fb2f4173a911db9ed2f654ac1116d8
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:schema>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your valuable inputs..
Now, XI is picking my file after changing the FCC parameter suggested by : Vijay
But the XI is not updating my file on receiver side...
And the XML format XI showing is :
- <record>
- <main>
<CharacterName>,,,,,</CharacterName>
</main>
</record>
- <record>
- <main>
<CharacterName>Diameter,5.98,6.05,6,,</CharacterName>
</main>
</record>
- <record>
- <main>
<CharacterName>Flatness,0.032,0.038,"0,03",,</CharacterName>
</main>
</record>
<record>
- <main>
<CharacterName>,,,,,</CharacterName>
</main>
</record>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please go through this link for various parameters in content conversion.
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Regards,
Sudheer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
DocumentName is the name of the MESSGATE YPE.
Can you also post your source Datatype XML so that we can validate your Content Conversion?
The content conversoion listed below will create a source strucutre of format,
<file_rece>
<Record>
<main>
<CharacterName>
<Lowerlimit>
<Upperlimit>
< Targetvalue>
</main>
</Record>
</file_rece>
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<i>Document Name : file_rece( Not sure whether it should be similar as of my Msg Type name)</i>
>> it sud be you message type name.
<i>In parameters:
main.fieldNames:CharacterName,Lowerlimit,Upperlimit ,Targetvalue
main.fieldSeparator: ,
main.endSeparator : 'nl'</i>
>>>
try using
main.fieldSeparator: 'nl'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Partha
This shud work without FCC inplace. Can you letme know if the MT in the target interface has the target DT linked to it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
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.