Sender JMS content conversion only header
I hav a scenario as shown in example 3.2. of Wiki given below and configured accordingly.
I only get NameA record but i do not get NameB or NameC.
can some one help me out if I am wrong some where
http://wiki.sdn.sap.com/wiki/display/XI/HowTo...ContentconversionmodulewithJ2EEJMS+adapter
Hi Robin,
Check whether you have added the conversion modules in the JMS adapter.
Check whether you have have defined the paramters listed below:
NameA.documentName
NameA.documentNamespace
NameA.recordsetName
NameA.recordsetStructure (Ensure recordSetStructure is defined correctly)
If any keyfield is used, then use nameA.keyFieldName, nameA.keyFieldValue
If the lengths of the fields are fixed then use NameA.fieldFixedLengths
Thanks,
Similar Messages
-
Hi
In the sender JMS content conversion, I do not want Recordset name hence I specified,
Parameter Name: xml.ignoreRecordsetName
Parameter Value: true
But am still getting the Recordset name in the payload...
Is this working for someone or a bug?
Thanks in advance!
Amulya>
Amulya Lewis wrote:
> Hi
>
> In the sender JMS content conversion, I do not want Recordset name hence I specified,
> Parameter Name: xml.ignoreRecordsetName
> Parameter Value: true
> But am still getting the Recordset name in the payload...
> Is this working for someone or a bug?
>
> Thanks in advance!
> Amulya
when using the MessageTransformBean do note that xml.ignoreRecordsetName does not work -
Sender JMS Content Conversion - How to process multiple records
Hi All,
I use a Sender JMS Channel with Content Conversion.
My message structure is like this
<root>
<rec> </rec>
<rec> </rec>
</root>
I have fixed length flat file with multiple records.
i have given the parameters FixedFieldLength, FieldNames and StructureTitle.
Which parameter i need to use specify the RecordDelimiter
Because my input file will have more than record
my input file -
xxxx
yyyy
if i dont specify any delimiter value, in the module parameter,then for each newline of the file, a new mesage is created.
<root>
<rec>xxxx</rec>
<root>
<root>
<rec>yyyy</rec>
<root>
But i want the output to be like this
<root>
<rec>xxxx<rec>
<rec>yyyy</rec>
</root>hi,
You can do your FCC for sender JMS by going through page 5 of this document.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50061bd9-e56e-2910-3495-c5faa652b710 -
JMS sender adapter content conversion error
Hi,
Kindly find the error report from MONI.. and have followed this document for sender JMS content configuration
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-adapters/how%20to%20use%20the%20content%20conversion%20module%20with%20xi%203.0%20j2ee%20jms%20adapter.pdf
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MM_NFEIN_</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException:</SAP:P2>
<SAP:P3>Content is not allowed in prolog.</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_NFEIN_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Content is not allowed in prolog.</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>hi folks i have resolved that issue it was mapping change...
Now i'm facing another problem .. I m gettin only header record but i don see me items...
my structure is like this field fixed length
HEADER ( 1 )
OrderDetail(Min - 1 and Max - Unbounded)
Trailer(Min - 1 and Max - Unbounded)
configuration of my JMS adapter :
Transform.Class :com.sap.aii.messaging.adapter.Conversion
Transform.ContentType :text/xml;charset=utf-8
xml.conversionType :StructPlain2XML
xml.processFieldNames :fromConfiguration
xml.documentName : MyDocument
xml.documentNamespace : http://xi.com/test
xml.recordsetStructure : Header,1,OrderDetail,,Trailer,
xml.recordsetName : Dataset
xml.Header.keyFieldName :abc
xml.Header.keyFieldValue :x1
XML xml.keyFieldType :CaseSensitiveString
xml.Header.fieldFixedLengths :1,2,3..
xml.Header.fieldNames :abc,cde,fgh...
Similarly for order and trailer
Kindly help in this regard.. i was not able to find in search -
Sender File Content Conversion Complexity
It is again time to dip into the well of knowledge that is SDN.
I have a question about sender file content conversion.
It appears that I can only create simple XML structures with it, but I'm hoping someone here can help.
Lets says I have a file where each record layout is the same. There are not header records, trailer records, etc. Basically only one structure within the recordset.
However the record itself may have a complicated structure. For example, the layout of each record may be:
String1, String2, String3, Array(0:3) consisting of String4, String5, String6.
Can I convert that to a structure of
<Node>
<string1>
<string2>
<string3>
<array>
<string4>
<string5>
<string6>
<array>
<string4>
<string5>
<string6>
</Node>
Or must I create a DT containing one node giving string4,5 and 6 a unique name for each occurance?
Thanks in advance.Hi,
You can go with generic structure and then either in the adapter module or Mapping, you can format the structure. Because content conversion has a limitation to upto one level.
check this for limitation-
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50061bd9-e56e-2910-3495-c5faa652b710
check this for generic structure-
/people/sravya.talanki2/blog/2005/08/16/configuring-generic-sender-file-cc-adapter
Rgds,
Moorthy -
JMS Content Conversion with spaces
Hi
I am using the JMS Content Conversion to transalte MQ messages ( they come from the Mainframe ),to XML Format.
These messages are in fixed lenghts structure , the fields contain blanks (spaces)
The adapter cannot deal with it,only fixed lenghts without spaces , the monitor gives the following error
XI inbound processing failed for message at 2006-08-24|07:45:25.518+0200. JMS and XI identifiers for message are ID:414d51204445564d41494e31202020207aabe04420c2ea13 and bd95c760-3333-11db-b915-001125a56002 respectively. JMS adapter will rollback database and JMS session transactions
Have some1 dealed with this issue? managed to solve it?
Thx,ShaiHi Shai.
Before you call him ,try to use the simple convertion in the sender JMS comm. channel,then after you got the first XML structure to the XI ,use a simple\advanced java function from the message mapping and get rid of the spaces if they bother you.
Can you post the fixed width message you get from JMS I'd like to have a look.
By the way ,how did you resolve the File content convertion with 4 levels?
Regarding Yaki's phone...well I'm sure your Boss have it.
8-)
Again ,good luck.
Nimrod
Message was edited by: Nimrod Gisis -
File sender adapter: Content conversion for very deep nested structure
Hi all
I have a file which looks like this
HDOCKET 9800000660980000061911062009AA123456bbWM100012349800000619
DDOCKET_TEST001 4012YAG1
WZOA00000000010000000001
WZOA00000000020000000002
WZOB00000000030000000003
IAAXX000001
IAAXX000002
C0000000000000000000100000000000000000001000000000000000000020000000000000000000300000000000000000004
T2
and my structure is
Header - 1
Detail - 0....Unbounded
Bag - 0.....Unbounded (sub node of detail)
Track - 0.....Unbounded (sub node of detail)
Customer - 0.....Unbounded (sub node of detail)
Trailer - 1
and in the file sender adapter i mentioned the following content conversion setting
HEADER,1,DETAIL,*,Bag,*,Track,*,Customer,*,TRAILER,*
But when i go and see in the monitoring i received the following conversion
<?xml version="1.0" encoding="utf-8" ?>
<ns:MT_REQ xmlns:ns="http://royalmail.com/dd_c">
<HEADER>
<ID>H</ID>
<INT>DD</INT>
<CAR>9899999660</CAR>
<CUS>9899999619</CUS>
<POST>11062009</POST>
<NUMBER>AA123456bbWM10001234</NUMBER>
<ACC>9899999619</ACC>
</HEADER>
<DETAIL>
<ID>D</ID>
<Bag>DOCKET_TEST001</Bag>
<S>4012</S>
<Code>YAG</Code>
<mat>1</mat>
<count/>
<Mixed />
</DETAIL>
<Bag>
<ID>W</ID>
<Zone>ZOA</Zone>
<Item>0000000001</Item>
<Number>0000000001</Number>
</Bag>
<Bag>
<ID>W</ID>
<Zone>ZOA</Zone>
<Item>0000000001</Item>
<Number>0000000001</Number>
</Bag>
<Bag>
<ID>W</ID>
<Zone>ZOA</Zone>
<Item>0000000001</Item>
<Number>0000000001</Number>
</Bag>
</Bag>
<Track>
<ID>I</ID>
<Item>AAXX000001</Item>
</Track>
<Track>
<ID>I</ID>
<Item>AAXX000001</Item>
</Tracked>
<Customer>
<ID>C</ID>
<OrigCustomer>00000000000000000001</OrigCustomer>
<Field1>00000000000000000001</Field1>
<Field2>00000000000000000002</Field2>
<Field3>00000000000000000003</Field3>
<Field4>00000000000000000004</Field4>
</Customer>
<TRAILER>
<ID>T</ID>
<Count>2</Count>
</TRAILER>
</ns:MT_REQ>
whereas i wanted it like:
<?xml version="1.0" encoding="utf-8" ?>
<ns:MT_REQ xmlns:ns="http://royalmail.com/dd_c">
<HEADER>
<ID>H</ID>
<INT>DD</INT>
<CAR>9899999660</CAR>
<CUS>9899999619</CUS>
<POST>11062009</POST>
<NUMBER>AA123456bbWM10001234</NUMBER>
<ACC>9899999619</ACC>
</HEADER>
<DETAIL>
<ID>D</ID>
<Bag>DD_TEST001</Bag>
<S>4012</S>
<Code>egg</Code>
<mat>1</mat>
<count/>
<Mixed />
<Bag>
<ID>W</ID>
<Zone>zzz</Zone>
<Item>0000000001</Item>
<Number>0000000001</Number>
</Bag>
<Bag>
<ID>W</ID>
<Zone>zzz</Zone>
<Item>0000000001</Item>
<Number>0000000001</Number>
</Bag>
<Bag>
<ID>W</ID>
<Zone>zzz</Zone>
<Item>0000000001</Item>
<Number>0000000001</Number>
</Bag>
</Bag>
<Track>
<ID>I</ID>
<Item>AAXX000001</Item>
</Track>
<Track>
<ID>I</ID>
<Item>AAXX000001</Item>
</Tracked>
<Customer>
<ID>C</ID>
<OrigCustomer>00000000000000000001</OrigCustomer>
<Field1>00000000000000000001</Field1>
<Field2>00000000000000000002</Field2>
<Field3>00000000000000000003</Field3>
<Field4>00000000000000000004</Field4>
</Customer>
</DETAIL>
<DETAIL>
<ID>D</ID>
<Bag>DD_TEST002</Bag>
<S>4012</S>
<Code>egg</Code>
<mat>1</mat>
<count/>
<Mixed />
<Bag>
<ID>W</ID>
<Zone>zzzzzz</Zone>
<Item>0000000001</Item>
<Number>0000000001</Number>
</Bag>
<Bag>
<ID>W</ID>
<Zone>ZOA</Zone>
<Item>0000000001</Item>
<Number>0000000001</Number>
</Bag>
<Bag>
<ID>W</ID>
<Zone>zzz</Zone>
<Item>0000000001</Item>
<Number>0000000001</Number>
</Bag>
</Bag>
<Track>
<ID>I</ID>
<Item>AAXX000001</Item>
</Track>
<Track>
<ID>I</ID>
<Item>AAXX000001</Item>
</Tracked>
<Customer>
<ID>C</ID>
<OrigCustomer>00000000000000000001</OrigCustomer>
<Field1>00000000000000000001</Field1>
<Field2>00000000000000000002</Field2>
<Field3>00000000000000000003</Field3>
<Field4>00000000000000000004</Field4>
</Customer>
</DETAIL>
<TRAILER>
<ID>T</ID>
<Count>2</Count>
</TRAILER>
</ns:MT_REQ>
i.e. i need all Bag ,Track and Customer inside detail tag.
could anyone help me in this..i've already searched SDN and got some link as useful but none of them were totally related.
Regards
NainaNaina
Pls. check my forum link, i had the single level hierarchy XML file which I converted into nested structure & then into flat file.
File Conversion in Rec File Adapter with subnodes
This can give you an idea how to go ahead. Let me know in case you need any more info about this. -
Sender File Content Conversion with headerline
Hi,
Is it possible to do via the sender file content conversion in the file adaptor for the following flat file?
Inbound flatfile format:-
FILEHEADER
HEADER1
DETAILS1
DETAILS2
DETAILS3
HEADER2
DETAILS1
DETAILS2
DETAILS3
Target XML file format:-
<XML>
<FILEHEADER></FILEHEADER> occurrence 1
<RECORDSET> occurence *
<HEADER></HEADER> occurence 1
<DETAILS></DETAILS> occurence *
</RECORDSET>
</XML>
Edited by: Bee Huat, Leonard Yong on Oct 16, 2008 10:52 AMI've read through all the blogs, and have no leads on how to get this done?
I tried putting the following into the recordset. FileHeader, 1, Header, 1, Details, *
But it does'nt seem to work, the above is expecting the Fileheader and header to be repeated in the file to be sent.
My file is in the following format.
Fileheader
Header1
Details1
Details2
Details3
Header2
Details1
Details2
Details3
I need the following XML format
<XML>
<Fileheader>
<invoice>
<header1>
<details1>
<details2>
<details3>
</header1>
</invoice>
<invoice>
<header2>
<details1>
<details2>
<details3>
</header2>
</invoice>
</XML>
Edited by: Bee Huat, Leonard Yong on Oct 16, 2008 5:34 PM -
JMS content conversion adapter module
Hi All,
In JMS Content conversion module Xml2Plain how do u put two new lines 'nl'.
I am using localejbs/AF_Modules/MessageTransformBean in adapter module.
If I put xml.record.fieldSeparator in parameter name and in parameter value if I put one 'nl' it gives me one new line. Now I require two new lines in my output text so I put 'nl' 'nl' in parameter value but it takes only one new line.
e.g
Vivek
mumbai
India
John
Delhi
India
Now I want the output as:
Vivek
mumbai
India
John
Delhi
India
Thanks in advance.
ravijeettry,
xml.record.fieldSeparator '0x0D''0x0D'
or
xml.record.fieldSeparator '0x0A''0x0A' -
Testing JMS content conversion
Hi Experts,
I have a scenario MQ-->PI--ECC.
MQ sends a flat file and there is JMS content conversion used in sender JMS channel. On MQ side channels are not yet setup. Now I need to test if JMS content conversion is working properly. I cannot test by triggering flat file from RWB.
Is there a way I can trigger a file from any third party tools and test the content conversion. Do you have any suggestions to make this test possible.
Thanks,
Avinash.Hi Avinash
One option is to create a temporary File/FTP sender channel and use it in the sender agreement replacing the JSM channel. In the File/FTP channel, use the MessageTransformBean to achieve content conversion. This way, you can test out the content conversion parameters, and once the JMS server is ready, you can just swap it.
Rgds
Eng Swee -
Need Help in Sender File Content Conversion
Hi All,
I request your expert advice on Sender File content Conversion. I need to process the below pasted file. I was able to achieve this by keeping a offset of 6 in Sender PI File Adapter (PI 7.1) to ignore first 6 lines and used a Unix script to remove last line"END OF REPORT".
Now my new requirement is I need to capture the date "DECEMBER 2009" from line 3. How can I do this. I have set offset as 6 so Adapter will start processing from line 7. If I don't set offset Interface fails. Please suggest. Thank you.
ABC LAB XYZ LIMITED"
TRIAL BALANCE"
FOR THE PERIOD ENDED DECEMBER 2009"
"TEST Bank","101000",-1589365.58,0.00,738295.08,0.00
"TEST Bank Clearing A/c","101200",0.00,0.00,14848018.55,0.00
"TEST Bank Sweeps","101250",104315957.19,0.00,7571985482.08,0.00
"TEST Receipts","101260",0.00,0.00,19788596.15,0.00
"TEST Corporate Deposits","101270",-7776629.87,0.00,-135914980.50,0.00
"SHARES","00SH",0.00,0.00,-7869890086.22,0.00
"END OF REPORT"Dear Phani,
Please go through the below blogs:
File content conversion sites
/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
Please see the below links for file content conversion..
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
File Content Conversion for Unequal Number of Columns
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns - FCC
Thanks,
Satya -
Doubt regarding sender file content conversion
Hi Experts
This is my source XML structure, how to define Sender file adapter (Content Conversion) and filed lenths: COMMIT_I 1, STUDENT 12, ID_TYPE 6, ID_NUMBER 60, VALID_FROM 8,VALID_TO 8
<?xml version="1.0" encoding="UTF-8"?>
<ns0:IDENTIFICATION_ADD_Req_MT xmlns:ns0="urn:passhe.com/UpdateIdNumberISA32">
<COMMIT_I>X</COMMIT_I>
<IDENTIFICATION>
<STUDENT>Student</STUDENT>
<ID_TYPE>New</ID_TYPE>
<ID_NUMBER>12345</ID_NUMBER>
<VALID_FROM>12/03/2008</VALID_FROM>
<VALID_TO>13/04/2008</VALID_TO>
</IDENTIFICATION>
</ns0:IDENTIFICATION_ADD_Req_MT>
Please suggest me how to configure Sender file content conversion
Thanks
Dhanush.hi sekhar,
Just go through this blogs & links.
/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
reward points if found helpfull
regards
chandra.k -
File sender with content conversion and ignoreRecordsetName
Him,
I have an scenario with a compressed file sender with content conversion.
In my sender cc i have:
1 AF_Modules/PayloadZipBean Local Enterprise Bean unzip
2 AF_Modules/MessageTransformBean Local Enterprise Bean transform
3 CallSapAdapter Local Enterprise Bean 2
In module configuration, I have also added:
xml.ignoreRecordsetName --> true
But RecordsetName is not removed from XML
Why?
thanks, in advance
CarmeHi,
No need to enter anything in module configuration. Just specify following Name-Value pair in the table provided on the Content Conversion tab of your file adapter.
Add a row with Name = ignoreRecordsetName and Value = true (Both case-sensitive)
For details, see [this link|http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm].
[some more here|http://www.riyaz.net/blog/index.php/2008/02/20/xipi-file-content-conversion-for-complex-structures/]
Regards,
Riyaz -
XML file conversion after sender file content conversion
Hi,
I have issue refarding file content conversion.
My input structure is
<MT_RCICrecords>
<TRNH>
<RCIC>
<RECH>
<RECL>
<RCIC>
<TRNH>
Afetr sender File content conversion (csv to xml) it produces xml file as below (since file conversion does not support 3rd level of hierarchy)
<TRNH>
<RECH>
</RECH>
<RECL>
</RECL>
</TRNH>
It does not recognize RCIC.
Now i am trying to map this to IDOC and getting error as
'MT_RCICRecords tag found instead of IDOC BEGIN ='.
CAn anyone suggest me how to chaage this xml output after File content conversion to add RCIC tag in xml file?
I am new to XI so please give me some sample code to.
Thanks.
Yashpal
Its urgent!My problem is xml generated from content conversion is like below
<MT_RCICrecords>
<TRNH></TRNH>
<RECH></RECH>
<RECL></RECL>
<TRLR></TRLR>
</MT_RCICrecords>
and i want it to be
<MT_RCICrecords>
<TRNH></TRNH>
<RCIC>
<RECH></RECH>
<RECL></RECL>
</RCIC>
<TRLR></TRLR>
</MT_RCICrecords>
which is not happening
My input message structure is
MT_RCICrecords
TRNH
RCIC
RECH
RECL
i hope it is clear now
TRLR -
Sender File Content Conversion. Pls suggest
Hi All,
I have to do the Sender File content conversion for the below file.
First Line is for Sender. Second Line is for Receiver. Third ,Fourth and Fifth lines are Invoice Numbers which can be more also.
The issue is coming that there is no Key Field defined for third ,fourth and Fifth line .
GB283032086 LANGFORD LODGE ENGINEERING
GB762702827 AIRBUS UK LIMITED
D58785 20030407 71.82
D58786 20030407 49.10
D58787 20030407 49.10
Pls let me know how will I do Sender File content conversion (to make it in XML) form.
RegardsHi Rachit,
In that case you can use temporary source structure to hold contents from the source flat file and using FCC you split the content by 'nl' and store it in one node (For rg:-<SDATA>) then using mapping you can map that to original source structure and then to target structure, here you need to use intermediate mapping (i.e two mappings) to archive the target structure.
Temp source structure
<SDATA>GB283032086 LANGFORD LODGE ENGINEERING </SDATA>
<SDATA> GB762702827 AIRBUS UK LIMITED </SDATA>
<SDATA>D58785 20030407 71.82 </SDATA>
<SDATA>D58786 20030407 49.10 </SDATA>
<SDATA>D58787 20030407 49.10 </SDATA>
Map the above to the actual source structure and the to target, hope it helps you to overcome your problem
[FCC for unequal entries|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414900)ID0137316650DB10272139644103542695End?blog=/pub/wlg/2740]
[Key field problem|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414900)ID0137316650DB10272139644103542695End?blog=/pub/wlg/3228]
Regards,
Prasanna
Edited by: PrasannaKrishna Mynam on Dec 1, 2009 8:14 AM
Edited by: PrasannaKrishna Mynam on Dec 1, 2009 8:17 AM
Maybe you are looking for
-
How to display an image on the HTML page by using applet
Dear friends, I am now writing an java applet, I want to display an image on the HTML page, and tried the following commands: {color:#ff00ff}{color:#000000}Image map; //put in the class definition map=getImage(getCodeBase(),"hhh.gif"); //put in the f
-
How to find the transport request which was released to Quality
Hi Friends, Could anyone please let me know, how to find the transport request that was already released from Development to Quality? there was some change in customization took place. I could find the user (through change log) who made these changes
-
Conditional Formatting - to display text instead of Image
Hi, We have a requirement in a BI Finance Report wherein for an amount if it is NULL or 0 it needs to show '-' symbol. Initially we placed a image in the Conditional Format Properties similar to that symbol, but it doesnt satisfy the requirement. The
-
Check Points for production server
Hi We are planning to update patch level of production server and Our SRM server is looking into this server. In this regards, I would like to know what are the check points in Production server after Patching up? I want to know the main areas which
-
windows xp