How to process a file with out any CSV, Delimitaor, fixed length or Copybok

Hi Team,
i need to process below file in OSB and need to send mails to the concerns ids...
this file will have either 1 mail or multiple mails.
sample.txt file with 1 mail content
======================================
START
[email protected]
[email protected], [email protected],
END
Subject : CAL IND Renege #00424523 Hse580 CTH580
BODY:
User_ID: LARRY014
XXX Hse/Customer # : 580/1196310
X12 Order Number: 580094624
Customer E-Mail: [email protected]
Customer E-Mail 2: [email protected]
Customer Phone : 909312345
Dear Salesperson,
mysupply.com Order # : 00424523
mysupply.com User ID : LARRY014
Customer CALIFORNIA STEEL IND has entered order 00424523
through mysupply.com.
THIS ORDER HAS RENEGED for the following reason(S):
I. ORDER LEVEL
NOTE SEGMENTS FOUND IN INPUT - SENTRY
CDF REQUIRED CUSTOMER - ORDER RENEGED
II. ITEM/LINE LEVEL
LINE # ECOM LINE NAED QTY STATUS ALLOW SUBS
Please resolve the renege and release the order in Sentry
01 as soon as possible. Thank you.
EMAIL-END
====================================
Please help me ,how to process this file and send mail to the concern people, as its do not have neither CSV, nor Fixed lengthn or its not Cobol copybook nor its not DTD to convert it.
Thanks
Reddy
Edited by: KiranReddy on Feb 3, 2012 9:52 PM

you shouldn't need a csv if you want a fixed file you need some thing like
read:
<xsd:element name="C1" type="xsd:string" nxsd:style="fixedLength" nxsd:length="1" nxsd:paddedBy=" " nxsd:padStyle="tail" />
<xsd:element name="C2" type="xsd:string" nxsd:style="fixedLength" nxsd:length="xx" nxsd:paddedBy=" " nxsd:padStyle="tail" />
write:
<xsd:element name="C1" type="xsd:string" nxsd:style="fixedLength" nxsd:length="1" nxsd:paddedBy=" " nxsd:padStyle="tail" />
<xsd:element name="C2" type="xsd:string" nxsd:style="fixedLength" nxsd:length="xx" nxsd:paddedBy=" " nxsd:padStyle="tail" />
<xsd:element name="C3" type="xsd:string" nxsd:style="fixedLength" nxsd:length="5" nxsd:paddedBy=" " nxsd:padStyle="tail" />xx stands for the length of your line
hope this makes sense
cheers
James

Similar Messages

  • FILE model support for CSV and fixed-length format!!

    Hi all,
    As I'm working on a data conversation project, we are in the middel to design whether the extraction for the data source should be in CSV or fixed-length. Here is the pros and cons:
    CSV:
    1. There are a lot of remarks field in the data which are all free text. It's really hard to define the record delimiter.
    2. Extracted file size for CSV is relatively small compare with fixed-length.
    fixed-length:
    Even for fixed length, we can either
    1. Extract the file without an separator/delimiter (1 row) with fixed column length
    2. Extract the file with fixed column length per record and define the record delimiter to separarter the record.
    I'd try all the above formats and it seems ODI is more prefer on CSV or combined mode (fixed column length) as:
    1. The LKM (file to external table) need to be customzised to handle the file format which without any separator/delimiter
    2. It is very hard to reverse the column definition for fixed-length (no delimiter)
    Any suggestion?
    Tao

    You can transform your files to an xml format using respective tags:
    eg:
    <?xml version="1.0" encoding="UTF-8"?>
    <MONEY>
    <MoneyID>MoneyID0</MoneyID>
    <ContractID>ContractID0</ContractID>
    <EffectiveDate>2006-05-04T18:13:51.0Z</EffectiveDate>
    <MessageDate>2006-05-04T18:13:51.0Z</MessageDate>
    <ReversalIndicator>false</ReversalIndicator>
    <PriorMoneyID>PriorMoney, something "ID0" for life;</PriorMoneyID>
    <Amount>0</Amount>
    <MoneyType>0</MoneyType>
    <ExchangeDetails>
    <CostBasis>0</CostBasis>
    <ExchangeType>0</ExchangeType>
    <MEC>false</MEC>
    <LoanAmount>0</LoanAmount>
    </ExchangeDetails>
    </MONEY>
    So, as you see, you can embed any symbol in a tag.
    After creating this xml file, you can use XML technology in Topology Manager to map to this file and then create a data store based on this technology.
    And you will be able to retrieve the data in this file under respective column headers without worrying about delimiters existing in the actual data.

  • How to load a file with out specifying its absolute location

    Hi,
    I'm having some config files in a specific location. I'm setting that folder path to the CLASSPATH and trying access those file just by giving its name.
    For eg: contents are in e:\config folder
    I set e:\config to CLASSPATH
    and trying to load the file which is in the above said folder.
    using getResourceAsStream(filename).
    The above approach is working in certain cases, but not working when i try to do in a class which under a big package structure.
    Can someone help me out, the reason for this unexpected behaviour.
    Please do suggest me, if u know some work-around for this problem.
    Thnaks in advance,
    Chandrasekhar

    Hi,
    Thank you. I tried by adding a forward slash, it started working.
    But I still have one doubt, when the program is within the package structure, then we have to give forward slash, where as if the program doesn't have any pkg structure we have to give only the file name without prefixing the slash.
    Any idea, why is it so ??
    Is it bcz, that getOutputAsStream() will prepend the package names, if forward slash is not given. Even if this is true, why providing a forward slash in a program with no packages doesn't work ?

  • How to reduce pdf file with out losing image quality

    I have a few ai files that I converted to PDF files and I need to reduce the size of them without losing quality of image.....I selected document then selected reduce size. This gave me a smaller file but my images were low quality.

    That's what it does (secretly) ...
    Try the PDF optimiser under Advanced but remember to audit space use
    first - this ensures you can attacking the areas which are fat as such ...
    Jon

  • I need to add funds to a friends account how do i do this with out any other info besides there cell number

    i have a friend down on there luck i would like to add funds to there account  there phone ran out yestarday

        ArthurCarriere2015
    I'd love to help you add the funds needed on your friend's account! That's such a sweet gesture. Are you looking to add funds to a PrePaid account or help pay a PostPaid account? If PrePaid, you can reach out to the PrePay team directly at 888-294-6804. If for a PostPaid account, you can dial 800-922-0204!
    RuthW_VZW
    Follow us on twitter @VZWSupport

  • How do I print calendar with out any bug in

    I tried to print my calendar and every time it does not print my calendar the way I wrote it.  for exemple, if I put 3 names in one day and change the order the next day and so on and foward, it print it all mixe up and when I come back to the calendar, everything is OK like I wrote it.  I thing it is a bug in Ical but maybe somebody can tell me what I'm doing wrong.
    Thanks
    Clément Lapointe

    Please refer to this (extremely lengthy) thread, all possible options have been covered here: https://discussions.apple.com/thread/5460803?tstart=0

  • How to process pdf file in clower ETL

    Hi,
    I want process pdf document in clower ETL dataintegartor. I have created sample project and created ETL garph universal data reader, data i have imported pdf file, while openning the metta data information it's show encoding data format and invalid delimiter and while running error in the console
    Please assist me how to process pdf file with unstructured data format.
    I am getting below the error,
    ERROR [WatchDog] - Graph execution finished with error
    ERROR [WatchDog] - Node DATA_READER0 finished with status: ERROR caused by: Parsing error: Unexpected record delimiter, probably record has too few fields. in field # 1 of record # 2, value: '<Raw record data is not available, please turn on verbose mode.>'
    ERROR [WatchDog] - Node DATA_READER0 error details:
    org.jetel.exception.BadDataFormatException: Parsing error: Unexpected record delimiter, probably record has too few fields. in field # 1 of record # 2, value: '<Raw record data is not available, please turn on verbose mode.>'
         at org.jetel.data.parser.DataParser.parsingErrorFound(DataParser.java:527)
         at org.jetel.data.parser.DataParser.parseNext(DataParser.java:437)
         at org.jetel.data.parser.DataParser.getNext(DataParser.java:168)
         at org.jetel.util.MultiFileReader.getNext(MultiFileReader.java:415)
         at org.jetel.component.DataReader.execute(DataReader.java:261)
         at org.jetel.graph.Node.run(Node.java:425)
         at java.lang.Thread.run(Thread.java:619)
    please can any one help me.
    Thanks
    Rajini C
    Edited by: 954486 on Sep 19, 2012 11:19 PM

    There is a separate forum for the BI/Information Discovery application of Endeca software: Endeca Information Discovery You should post your message there.
    Thanks.
    Sean

  • How To Split File In to Multiple Files With out using B.P.M

    Hi Guys,
    How To Split File In to Multiple Files With out using B.P.M.
    Thanks in advance
    Regards's
    KIran.B

    Hello
    below r the links were u will find message spilitting by graphicaaly i.e without using BPM.
    /people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
    Sender File Adapter with file conversion  Multimapping --file content conversion with split messg mapping
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2748---- [original link is broken] [original link is broken] [original link is broken]
    multimappig
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    hope this resolve your problem
    thank's
    Chetan

  • How do I view ipod music files with out using I tunes?

    I trying to view my Ipod music files without using itunes. But when I conect my Ipod to my pc I can only view contacts, notes, and caladar through the driver.
    How do I view ipod music files with out using I tunes?

    they should be under ur my music folder if u have windows

  • How to delete the file with space in name

    Hi
    I want to delete the file "test ex.txt" file.
    i run the following command in command prompt.i can delete the file successfully.
    /bin/rm -f /mnt/"test ex.txt"
    I want to run the command from java.So i am using the following code
    String cmd = "/bin/rm -f /mnt/\"test ex.txt\"";
         Runtime rt = Runtime.getRuntime();
    process = rt.exec(cmd);
    The file was not deleted.
    How to delete the file with space in name?
    Help me

    Use the form of exec that takes an array of command + args.
    arr[0] = "/bin/rm"
    arr[1] = "-f"
    arr[2] = "/home/me/some directory with spaces";Or use ProcessBuilder, which is the preferred replacement for Runtime.exec, and which Runtime.exec calls.

  • How to create shipment document with out inbound delivery document

    Dear Friends
    How to create shipment document with out outbound/inbound delivery document.
    In my client scenario, there is no inbound delivery for normal purchases.
    Just there are raising the PO to vendor, then they are doing MIGO for goods receipt.
    Can we do shipment creation with reference to PO?
    If it is possible, how it will be?
    Please let it solve
    With regards
    Lakshmikanth

    Dear Sameer,
    Please go to transaction VT01N here you enter Transportation planning point and shipment type then press enter.
    Now system will take you to the shipment document creation screen here you click on Select deliveries or press F6 now system will take you to the select outbound deliveries screen in this screen you enter selection data then execute, now deliveries will get assigned to that shipment.
    After assigning the deliveries enter the remaining data then complete the shipment finally save the shipment document.
    For more information please go through this SAP help link
    Note:- Shipment process need to be carry out for the deliveries before PGI.
    http://help.sap.com/saphelp_47x200/helpdata/en/f5/04898047bd11d2bf750000e8a7386f/frameset.htm
    I hope this will help you,
    Regards,
    Murali.

  • How to Archive Source Files with error in XI ?

    Hi,
          How to archive source files where a permanent error occurred duing processing? and how to set it?
    Thank you in advance.
    Yinglak

    Hi,
    What exactly u want to do.........If u want to Archive ur sender file then give Archive directory path and if u process the file with error data or success data it will store in Archive directory.
    Archive Directory is used to store the sender files what ever  data ur sending ........not for only error records.
    Regards,
    Phani
    Reward points if Helpfull

  • HTTP Receiver Adapter payload as single line plain text with out any tags.

    Hi PI experts,
    I have a strange problem in http receiver adapter.
    Sender RFC (SAP)  Receiver: HTTP.
    Receiver system expects the output from XI in the below format in a single line plain text with out any tags in the payload. and the content type should be application/x-www-form-urlencoded
    Group=Test&Sentinel=Web%20Server&Facility=5345&Order Number=XT-XWHM-Y-NA&Serial Number=123456&@LABEL_QUANTITY=5&@LABEL_NAME=111114_Q
    Is there any way to achieve this using http receiver adapter. Business is not ready to accept the output from XI not even in a single element instead they only need it as a JUST a plain text.
    Appreciate early response on this.
    Thanks in Advance,
    Jitender

    Dear Ola,
    Could you elaborate how you achieved in catching the response data from the receiver in case of HTTP receiver adapter?
    The target service is not a WebService but some python script that must to receive some paramters via POST request.
         HOW can I post this parameters?
    Here you entered the fields of the message type of the request in the header parameters of the receiver adapter? Thats fine.
    But what about the message type and vice versa of the response from the receiver?
    Regards
    Rebecca

  • How to use NODIM func with out it's values being rounded

    I created a new calculated key figure in Query Designer 3.x, and used the function NODIM() - Value with out dimensions. When I use this function, the values are rounding off to the nearest value.
    For example, I have a value 0.000075 US$, when I use NODIM function the value is displayed as 0.000080. Value is getting rounded to nearest value.
    I tried using absolute value it did not work.
    Can any one tell me how to use NODIM function with out it's value being rounded to nearest value.
    Thanks,

    Hi,
    According to your description, you might want that "Notice" field has a default value when form is created and users can be able to change the value of that
    field.
    As a workaround, you can add an action rule in “Name” field via InfoPath to fill the default value in “Notice” field only when “Name” field is not blank and “Notice”
    field is blank.
    Settings of the rule are as below, you can modify it based on your need:
    Here is a link about how to add an action rule in InfoPath form, you can use it as a reference:
    https://support.office.microsoft.com/en-us/article/Add-rules-for-performing-other-actions-5322d726-b787-4e5f-8d37-ba6db68b451d?CorrelationId=8a64c12f-aa60-4d90-b1f9-a44fcc4e74b5&ui=en-US&rs=en-US&ad=US
    Best regards
    Patrick Liang
    TechNet Community Support

  • How to create pdf files with text field data

    how to create pdf files with text field data

    That looks like it should work, but it doesn't.
    I opened the PDF I had created from Word in Acrobat (X Pro). Went to File > Properties. Selected "Change Settings". I then enabled "Restrict editing...", set a password, set "Printing Allowed" to "none", "Changes Allowed" to "none", and ensured that "Enable copying of text..." was disabled.
    I saved the PDF file, closed Acrobat, opened the PDF in Reader, and I was still able to select text and graphical objects.
    I reopened the PDF in Acrobat, and the document summart still shows everything as allowed. When I click on "show details" (from File > Properties) it shows the correct settings.
    Any ideas?

Maybe you are looking for

  • Moving to a new laptop - how to move my itunes

    I just got a new laptop.  How do I move my library of songs, playlists, etc from my old one to a new laptop?

  • Unable to execute Abap mapping

    hi, i have implemented an ABAp mapping but the problem is i get an error message in PI telling me that the class is not found but the class do exist i checked in SE24. is there ayt explanation for this problem. thank you in advance.

  • Flash web radio help!

    I have been able to create a little flash based radio that would pick up music from flash media server. Now what i want to do is that create a small tab at the bottom of the screen that would be dedicated to this little radio. as far as i know i can

  • OBIEE 11.1.1.7 SSO for Windows Native Clients Error 401-UnAuthorized issue.

    I configured OBIEE to work with AD authenticator and AD authentication works fine. My AD users can login with their credential. I am having issues with Kerberos authentication. My keytab looks fine and kinit is successful too and do not have any dupl

  • How do I close Mozilla Firefox in order to instal an update of Adobe Flash Player?

    I installed FF very recently at the recommendation of Blue Mountain.com as I was unable to send their e-cards with messages. Now I'm trying to update Adobe Flash Player and cannot do so because of the message 'close Moxilla Firefox to continue'. I've