Question on File Content Conversion
Hi all,
I went through this blog(/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1) for File content conversion and I have a question regading File Content Conversion. Is it always neccessary to have the data type structure as File, Record, Row and then the fields. Is it always neccesary to maintain this level of hierarchy for File content conversion to work.
Hi Sonia,
For FCC sender or receiver if you want text with delimieter / csv file process.
use the below parameters
You would have to use the Document name ,namespace,record set name ,record strucutre name ( and occurrences also) and processing parameters in Sender side
In receiver side Record structre, processing parameters.
see below links to have more details..
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/harrison.holland5/blog/2006/12/20/xi-configuration-for-mdm-integration--sample-scenario /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
/people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter -
Regards
Chilla
Similar Messages
-
Question about File Content Conversion and parent-child relationships...
Hello!
I have read probably every blog, article and SAP Help document on the topic, but I am stuck on this one. I am trying to convert a General Ledger flat file to an IDoc using the classic file --> IDoc scenario. The setup is done and working, but the IDocs are formatted incorrectly and I believe at least part of the reason is how I am converting the file content.
The root of my problem is that the flat file has a parent-child relationship between the document header and the document item and I want to maintain that since the IDoc type (FIDCCP01) has the same structure in the BKPF and BSEG segments.
Here is the flat (non-XML) file layout that is coming into the file adapter:
FileHeader
DocumentHeader
DocumentItem
DocumentHeader
DocumentItem
and so on (until the number of documents is complete
I would really like the content to be converted so that the line items stay under their parent document headers like this:
<FileHeader></FileHeader>
<DocumentHeader>
<ItemHeader>
</ItemHeader>
</DocumentHeader>
<DocumentHeader>
<ItemHeader>
</ItemHeader>
</DocumentHeader>
But I keep getting this, where it lists the document headers first (one after another), and then all of the line items after the document headers like this:
<FileHeader></FileHeader>
<DocumentHeader></DocumentHeader>
<DocumentHeader></DocumentHeader>
<DocumentHeader></DocumentHeader>
<ItemHeader></ItemHeader>
Is is possible to maintain that parent-child relationship from the flat file and pass it over to the XML?
Thanks,
JohnHi,
Check some links on FCC.
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Regards,
Phani
Reward points if Helpful -
Question regarding File Content Conversion
Dear SAP experts,
I need you expert advise regarding this.
I have here my sample structure,
CSV ---> this is the message type of the message
'-- ROOT --> this is the root node
'-- FieldA --> has a value of "Filename"
'-- Field B
'-- subfield1 --> has a value of "A"
'-- subfield2 --> has a value of "B"
'-- subfied3 --> has a value of "C"
I want to output this flatfile,
subfield1;subfield2;subfield3
A;B;C
the output flatfile must have Header lines (subfield1;subfield2;subfield3)
What will be the correct parameters in my File Content Conversion, so as, the value "Filename" will not be included in the output flatfile?
Recordset Structure: ?
Kindly advise.
Thank you very much!
FredRefer
FCC
Ref:
Sender -
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
Key value:
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter -
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
Receiver FCC no need of Endseparator
/people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
Receiver-
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion -
Hi Question about Sender File Content Conversion
Hi All,
I have a flat file i need convert that flat file to the below XML format using File content Conversion, can anybody help me on this with example File content Convertion parameters
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_FileSend xmlns:ns0="http://test">
<Recordset>
<Contact>
<Name>ABC</Name>
<Number>123</Number>
<Address>
<HouseNumber>246789</HouseNumber>
<StreetNumber>100</StreetNumber>
<Phone>
<Mobile>90000000</Mobile>
<LandLine>12345678</LandLine>
</Phone>
</Address>
<Email>
<Office></Office>
<Personal></Personal>
</Email>
</Contact>
</Recordset>
</ns0:MT_FileSend>Hi Sudheer reddy,
Good question.
File content conversion parameters are:
1) Doccument Name: Doccument name is nothing but message type name for file side: MT_FileSend
2) Doccument Namespace: mention the name space for the message type.
3) Doccument Offset: for which row and which coloumn doccument has to be write.
4) recordset name: mention the record set name: Recordset
5) Recordset Namespace: if the namespace is different for message type name space mention name space or otherwise it is blank.
6) Recordset Structure: Mention the structure name
7) Recordset Sequence: mention the sequence of the recordset Ascending or Decending
8) Recordset permessage: Would define no of record sets per message.
9) Key-field name: to query to the doccument
10) Key field type: string(Case-senstive)
fieldValues
fieldSeparator
endSeparator
Note: pls check in SDN about file content conversions it so many blogs are available, u can easily understand.
Regards,
Sateesh -
Problem with Sender Adapter File Content Conversion
Hi all!
I have a question about file content conversion in sender file adapter.
I have file like:
{field1
field2
field3
field4
$
{field5
field6
field7
field8
And i need to get file like:
<dealings>
<deal>
<field1>{field1</field1>
<field2>field2</field2>
<field3>field3</field3>
<field4>field4</field4>
<field5>-}*</field5>
</deal>
<deal>
<field1>{field5</field1>
<field2>field6</field2>
<field3>field7</field3>
<field4>field8</field4>
<field5>-}*</field5>
</deal>
</dealings>
I put content conversion parameters:
deal.fieldSeparator = $
deal.fieldNames = field1,field2,field3,field4,field5
And i get a file like:
<ns:mt_swift_file>
<dealings>
<deal>
<field1>{field1</field1>
</deal>
<deal>
<field1>field2</field1>
</deal>
<deal>
<field1>field3</field1>
</deal>
<deal>
<field1>field4</field1>
</deal>
<deal>
<field1>-}*</field1>
</deal>
<deal>
<field1/>
</deal>
<deal>
<field1>{field5</field1>
</deal>
<deal>
<field1>field6</field1>
</deal>
<deal>
<field1>field7</field1>
</deal>
<deal>
<field1>field8</field1>
</deal>
<deal>
<field1>-}*</field1>
</deal>
</dealings>
</ns:mt_swift_file>
What i do wrong?
As i understand, XI put string to a separate tag after symbol 'nl', but how can i get structure without unnecessary tags?Hi,
Check some links for FCC
Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
File Receiver with Content Conversion
Content Conversion (Pattern/Random content in input file)
NAB the TAB (File Adapter)
Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
How to send a flat file with various field lengths and variable substructures to XI 3.0
Content Conversion (Pattern/Random content in input file)
NAB the TAB (File Adapter)
File Content Conversion for Unequal Number of Columns
Content Conversion ( The Key Field Problem )
The specified item was not found.
File Receiver with Content Conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Regards,
Phani -
Query regarding file content conversion using file adapter
Hi All
I have a question regarding file content conversion in file adapter.
I have a file coming in the following format.
AA,111,222,333
BB,444,555,666
CC,777,888,999
My incoming message structure has a hierarchy. The CC record is a structure part of BB record. BB record is a structure part of AA record. It is like this:
AA,111,222,333
<<BB,444,555,666>>
<<<<CC,777,888,999>>>>
After file content conversion, in the resulted xml, i am getting a flat hierarchy instead of nested hierarchy.
Is it possible to get a nested hierarchy as a result of file content conversion?
Please let me know
Thanks
ChandraHi Udo
According to your suggestion, I am trying to use mapping.
I am getting a flat file and i am reading it.
This is my source structure:
AA,11,22,33
BB,44,55,66
CC,77,88,99
This is my required targer structure:
AA,11,22,33
<<BB,44,55,66>>
<<<<CC,77,88,99>>>>
To explain this, BB record can have multiple records of CC records.
AA records can have multiple records of BB record.
I am using removecontext node function.
CC (Source) (removecontext)-> CC (target structure)
But here, when i rightclick on source CC field in the mapping editor, i cannot see any other context except root node. So, how can i proceed here??
Many Thanks
Chandra -
EDI Flat file Content Conversion
Hi Experts,
I have got a question on File Content Conversion, Please have look the following structure, is it possible with FCC or what is the best possible solution for this, which is very big favour to me.
Some information about this structure,
This is EDI message in flat file structure, each segment has got 700 characters as a row, LIN item is repeating many times,
ST ,XQ , N1 , DTM, LIN, P04, N9,ZA , ZA ,ZA , etc are segments, LIN item is repeating, at the end CTT is last segment. Again from ST segment to CTT segment comes 3 more times.
ST 0000001 4444444
XQ H 20100531
N1 xxxxxxxx u 00000
N4 aaaaaaaa, kk xx87654
DTM600 20100531
LIN CB224790 HH002720033676 PP00027200336760 ZZ0
P0400001000000000 000000000 000000000 000000000000000000000000
N9 VN0000000594
ZA QA238.00000000000CT LJXX
ZA QN1.0000000000000CT LJXX
ZA QO000000000000000CT LJXX
ZA QP210.00000000000CT LJXX
ZA QS61.000000000000CT LJXX
ZA QW208.00000000000CT LJXX
LIN CB320275 SS004330033052 PP00043300330521 ZZ0
P0400001000000000 000000000 000000000 000000000000000000000000
N9 VN0000000594
ZA QA36.000000000000CT LJXX
ZA QN1.0000000000000CT LJXX
ZA QO000000000000000CT LJXX
ZA QP120.00000000000CT LJXX
ZA QS8.0000000000000CT LJXX
ZA QW36.000000000000CT LJXX
CTT00005300000000000000000000 00000000
ST 0000001 4444444
XQ H 20100531
N1 xxxxxxxx u 00000
N4 aaaaaaaa, kk xx87654
DTM600 20100531
LIN CB224790 HH002720033676 PP00027200336760 ZZ0
P0400001000000000 000000000 000000000 000000000000000000000000
N9 VN0000000594
ZA QA238.00000000000CT LJXX
ZA QN1.0000000000000CT LJXX
ZA QO000000000000000CT LJXX
ZA QP210.00000000000CT LJXX
ZA QS61.000000000000CT LJXX
ZA QW208.00000000000CT LJXX
LIN CB320275 SS004330033052 PP00043300330521 ZZ0
P0400001000000000 000000000 000000000 000000000000000000000000
N9 VN0000000594
ZA QA36.000000000000CT LJXX
ZA QN1.0000000000000CT LJXX
ZA QO000000000000000CT LJXX
ZA QP120.00000000000CT LJXX
ZA QS8.0000000000000CT LJXX
ZA QW36.000000000000CT LJXX
CTT00005300000000000000000000 00000000
Please I am really requesting you get appropriate answer and quick response please
Thanks in Advance
Regards
SandyaHi Suresh, Raj,
Thanks for quick reply, but we haven't got Seeburger Adapter in our landscape. Please one small clarification please this message looks to me, we can do with FCC, but i need some experties from you guys.
1. ST segment comes in one line with 700 characters - has got 5 fields 1..1 cardinolity
2. XO segment comes in another line with same length 700 ch, but 8 fields different lengths 1..1 cardinality
10 LIN segment comes in another line 700 characters, but 0..n
Can't we take structure as follows:
Header -- 0..n
SegID --- 1..1
field 2 -
1..1
field 3 -
1..1
field 4 -
1..1
field 5 --- 1..1
Row2 -
1..1
SegID -
1..1
field2 -
1..1
Row6 -
1..n (for LIN segment)
SegID --- 1..1
field 2 --- 1...1
Please can you give me your experties please??
Regards
Sandya -
Hi All,
I Want to Know the Interview Questions From File Content Conversion.
What type of Questions We can Expect Fron that ???
Please Let me know
Regards
VamsiDude,
Simple you need to be throughly prepared to answer about all the parameters in the FCC both for sender or receiver else you gonne face some tough time. For example you might be asked in the sender FCC why is ignoreRecordsetName used for>?, Why is Key field used for? or more usual ques u will face tell abt Sender FCC parameters you have to tell everything no other way out.There are no specific or pin point ques .
Cheers,
<b>RAJ*
*REWARD POINTS IF FOUND USEFULL*</b> -
Sender Adapter File Content Conversion - question
Hi!
Could you help me to make xml-file from csv?
I have file like:
12345#254#9765#89654
55#9066#77127#47
And i need file like:
<dealings>
<deal>
<field1>12345</field1>
<field2>254</field2>
<field3>9765</field3>
<field4>89654</field4>
</deal>
<deal>
<field1>55</field1>
<field2>9066</field2>
<field3>77127</field3>
<field4>47</field4>
</deal>
</dealings>
I haven't key fields - all fields are accidental. And lengths of all fields are accidental.
How to put content conversion parameters?
Thank you.HI
File Content prameters for the Sender Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
File content conversion sites
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Please see the below links for file content conversion..
The specified item was not found. - FCC
The specified item was not found. - FCC
File Content Conversion for Unequal Number of Columns
File Content Conversion for Unequal Number of Columns - FCC
Content Conversion (Pattern/Random content in input file)
Content Conversion (Pattern/Random content in input file) - FCC
XI Configuration for MDM Integration - Sample Scenario - FCC - MDM
XI in the role of a FTP
XI in the role of a FTP
File content conversion sites
Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
File Receiver with Content Conversion
Content Conversion (Pattern/Random content in input file)
NAB the TAB (File Adapter)
Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
How to send a flat file with various field lengths and variable substructures to XI 3.0
Content Conversion (Pattern/Random content in input file)
NAB the TAB (File Adapter)
File Content Conversion for Unequal Number of Columns
Content Conversion ( The Key Field Problem )
The specified item was not found.
File Receiver with Content Conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Please see the below links for file content conversion..
The specified item was not found. - FCC
The specified item was not found. - FCC
cheers -
Problem with File Content Conversion
Hi All
I am facing a problem with file content conversion.
This is my sample file structure:
Header_Record (Occurance - 1)
Field1 in Header
Field2 in Header
Item(Occ-1 to n)
Field3 in Item
Field4 in Item
<<ItemType>> (Structure in Item) (Occ - 0 to n)
<<Field5>> in ItemType
<<Field6>> in ItemType
<<ItemTypeCategory>> (Structure in ItemType)(Occ - 0 to n)
<<<<Field7>>>> in ItemTypeCategory
<<<<Field8>>>> in ItemTypeCategory
Footer_Record (Occurance-1)
Field9
Field10
There is a key field 'Type' in all the above records with unique value in each record.
Now, I defined Field content conversion as follows:
Recordset Structure: Header_Record,1,Item, * , ItemType, * ,ItemTypeCategory, * ,Footer_Record,1
Recordset Sequence: Ascending
KeyField Name: Type
Following are parameters defiled:
Header_Record.Keyfieldvalue: 00
Header_Record.fieldseperator: ,
Header_Record.fieldnames: Field1,Field2
Header_Record.endseperator: 'nl'
Item.keyfieldvalue: 05
item.fieldseperator: ,
item.fieldfieldnames: field3,field4
item.endseperator: 'nl'
ItemType.keyfieldvalue: 10
itemType.fieldseperator: ,
itemType.fieldfieldnames: field5,field6
itemType.endseperator: 'nl'
ItemTypecategory.keyfieldvalue: 15
itemTypecategory.fieldseperator: ,
itemTypecategory.fieldfieldnames: field7,field8
itemTypecategory.endseperator: 'nl'
Footer.keyfieldvalue: 20
Footer.fieldseperator: ,
Footer.fieldfieldnames: field5,field6
Footer.endseperator: 'nl'
Now, i pass the following file:
00,111
05,222
10,333
15,444
20,555
What i expect out of my FCC is this (Sample output to show the hierarchy of field values):
00,111
05,222
<<10,333>>
<<<<15,444>>>>
20,555
But, I am getting this output (Hierarchy is missing. All the structures are in the same order without hierarchy):
00,111
05,222
10,333
15,444
20,555
Field values are being identified according to field content conversion, but, the hierarchy of the fields is missing.
Can you please tell me how should i change my FCC config?
Sorry for this long question.
Many Thanks
Chandra
Edited by: Chandra Sekhar H on Jan 30, 2009 7:10 PM
Edited by: Chandra Sekhar H on Jan 30, 2009 7:16 PM
Edited by: Chandra Sekhar H on Jan 30, 2009 7:17 PMYou will always get a flat structure from FCC. If you want hierarchichal strucuture, you have to create a target and map. You will get only like -
Root
--Recordset
Group1
Fields
Grop2
Fields
Group3
Fields
VJ -
File-Sender: Verification of file content during file content conversion
Hello,
I have a question regarding file verification when using the file-sender adapter.
I got a flat file (.csv) that I convert into XML with the file-sender adapter and file-content-conversion.
In the file there is a column RecTyp that is my KeyFieldValue. Possible values for RecTyp are B, D, U, T.
So far so good. All this works perfectly.
If (due to an error) there is another value in RecTyp than the 4 mentioned above (B;D;U;T) the file adapter ignores this row today. And here begins my issue:
I want to change this behavior. That means in detail, I want to check if there is another value in my KeyFieldValue RecTyp than specified. If this is the case an exception should be thrown. The whole message should not be delivered.
We had the idea to use the module-processor for this verification .
But may be there are other suggestions. Or may be some one can provide an appropriate module that is already written, etc .
Does anyone have an idea?
Kind regards,
TobiasHi,
It is better to pick the file in generic way i.e Row by Row and then go with the validation with the help of Adapter Modules or in the Mapping.
For more-
/people/sravya.talanki2/blog/2005/08/16/configuring-generic-sender-file-cc-adapter
Thanks,
Moorthy -
Mail Adapter and File content conversion.
I have a scenario to send data from SAP to 4 different boards. I have used a Multi mapping for this scenario. I am using Proxy for SAP to xi and SOAP, File and Mail adapter for the external connections.
Questions:
1) I need to send a mail in CSV or Excell format in one scenario. I have used AF_StrictXml2Plain Module but its not working? any thoughts?
2) In the file adapter I have to add the YYYYMMDD (current Date) to the file name? when I use timestamp i get the time too, any way of getting only date? I cant use the Variable substitution as i dont have date in my payload.
3) Receiver File content conversion:
My Message Type Looks like this
MT_XX_XX
Row
title
xxx
I have used these parameters:
Recordset Structure: Row
Row.addHeaderLine : 0
Row.fieldSeparator : ,
Row.endSeparator: 'nl'
am I doing something worng, the file content conversion doesnt work.
Please let me know
Thanks in advanceHi,
Make sure u are using the bean before the mail adapter bean.
Before using the file content conversion make sure that there are no substructures in it , in order to use addheader line as 0. else use addheaderline 3 and give the headerline as comma seperated values
for e.g if this is the type then addheader line= 0
Type 1 :
Record_Mt
Row
field1
field2
else if this the type then addheaderline = 3
*Type 2: *
Record_Mt
Row1
field1
field2
Row2
field1
field2
add module like this
localejbs/sap.com/AF_Modules/StrictXml2PlainBean
with the module key e.g. key
for type 1 struct (as above )add parameter- key as singleRecordType and value as Row with comma seperated value. (remember header line is 0)
for type 2 structure (as above )add parameter- key as recordTypes and value as Row1, Row2 with comma seperated value. (remember header line is 3) -
Define attributes in Sender File Content Conversion
Hello everybody,
I have the following issue:
I have the next flat file:
0001;159;2008-04-03;Customer_2008-04-03.xml
0001;953;0;1;0
0002;2907;0;1;0
And I have to convert it to the next XML structure:
<DocumentsBatch id="0001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<BatchInfo>
<SumDocumenten>159</SumDocumenten>
<date>2008-04-03</date>
<name>Customer_2008-04-03.xml></name>
</BatchInfo>
<Document id="0001">
<Customer>953</Customer>
<Portnumber>0</Portnumber>
<denied>1</denied>
<Port>0</Port>
</Document>
<Document id="0002">
<Customer>2907</Customer>
<Portnumber>0</Portnumber>
<denied>1</denied>
<Port>0</Port>
</Document>
My question is: Is it possible to define an attribute (e.g. id="0001" in <Document id="0001">) in File Content Conversion? If so, how can I do that?
Your answers will be rewarded with points.
Kind regards,
KamranHi Kamran,
its not possible to define attribute in File Content conversion.Instead u can create one more field "id" under the segments DocumentsBatch, Document etc.
Thanks
Ritu -
IDOC to File - File Content Conversion Problem
Hi,
The scenario is IDOC to File. I am using file content conversion for my receiver adapter. The receiver adapter parks the file in the receiver system but the file has no data. In SXMB_MONI on checking the payload at every step, the data is transformed successfully. I am able to see the data at the receiver payload but the file in the receiver system has got no data.
I have used all possible parameters in the receiver adapter:-
Recordset.fieldFixedLengths 1,1,1
Recordset.endSeparator 'nl'
Recordset.fieldNames rec_type,action,del_in
Recordset.fixedFieldType char
Kindly advice if some more parameters need to be added.
Thanks in advance.
KrishnaHi,
if you're using stnadard SAP idoc
you can try using the same approach as specified
in this doc (but with module IDOC to XML insdead of XML to IDOC)
https://websmp203.sap-ag.de/~sapdownload/011000358700001795162005E/HowToIDocXMLToFlat.pdf
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Java Mapping Or Adapter Module for MultiLevel File Content Conversion ??
Hi Experts,
Hi All,
As we all know file content conversion cannot parse more than three level even if we use FCC paramenters or MessageTransform Bean /StrictXmlToPlain Bean.
Currently i am facing an scenario where i can expect an content coversion with four or five levels.
for ex.
Target Message Looks like
Header(0..1)
|_____X
|_____Y
|_____Detail(0.n)
|____A
|____B
|____SubDetail(0.n)
|_____Trailer(0.n)
|______rec1
|______rec2
|______rec3(0..n)
|______Subrec1
|______Subrec2
So my question how can i do the FixedLength/CSV in the target system ???
Shall i do java mapping ? if yes then any code example relevant to this type of scenario
Shall i do adapter module development ?if yes then any code example relevant to this type of scenario
Thanks In Advance
Ronit MishraTarget Message Looks like
Header(0..1)----
Level 1
|_____X
|_____Y
|_____Detail(0.n)----
Level 2
|____A
|____B
|____SubDetail(0.n)----
Level 3
|_____Trailer(0.n)----
Level 4
|______rec1
|______rec2
|______rec3(0..n)----
Level 5
|______Subrec1
|______Subrec2
Maybe you are looking for
-
How can i change date and time after importing a file
hello i'm importing AVI files first in iMovie because Final doesn't support (other question i put in) but when i see the scenes form 1993 they have the date 2004. i believe 2004 is the date i put them on the computer. Now i looked in the help files F
-
Cannot install 10.4.3 on my brand new mini
Help! I have a brand-new mac mini OSX 10.4, which is not connected to the internet. It tells me that the HD has 37.1GB, 25.2GB free. I downloaded the 10.4.3 update onto my 256MB "datakey" (USB flash drive) and tried to install it onto my new mini. Wh
-
MSI 7870 - Red flickering lines and screen flicker
About two weeks ago I was at a LAN with a couple of friends, where my computer had a couple of random BSOD's (Temperature was in the okay range in spite of the room temperature) - Then a couple of days ago, my screen has started having random red lin
-
Client , she usually makes payments using the payment wizard. she wants to pay an invoice early. can she do this ? This will not effect the payment wizard? Version 2005
-
Dear Experts, in some when we create outbound delivery with reference purchase order by T-Code VL10D, few article qty miss in outbound delivery why this happening has coming pls give the solution .... and that will allow manually qty fill after exte