File ContentConversion

Hi Expert's ,
                  Please fined my mistake in FCC.
sampleinput:
Dec 17 2007 | 18:39:15 | SDINT011 | xxx | xxx: No such file or directory
Dec 18 2007 | 18:36:31 | SDINT011 | bbb | bbb: No such file or directory
dataType:
Error_Line
     Date
     Time
     InterfaceName
     FileName
    Error_Msg
FCC Parameter's
RecordSetName:Error_Line
RecordSetStructure:Error_Line,*
Recordset per Message: *
name                                      value
Error_Line.fieldNames :Date,Time,InterfaceName.FileName,Error_Msg
Error_Line.fieldSeparator     |
Error_Line.endSeparator     'nl'
ignoreRecordsetName     true
This is i done at Design &config . But still i am unble Converting FaltFile into XML.
Please help Regrading this.
Thanks In Advance
Regards
upendra

HI,
R u using the same strucutre which is mentioned in Link:
http://help.sap.com/saphelp_nw04/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm
Thnx
Chirag

Similar Messages

  • Sender File ContentConversion for 5 levels.

    Hi Friends,
    I got a peculiar requirement.
    My scenario is flat file to Idoc.
    The main problem is on the source side we have 5 levels to handle.
    Pls give some suggestions how to handle if we have more than 3 levels.
    Regards,
    Jeevan.

    are you talking about creating a 5 level hierarchy with the file adapter?
    if that is so then please note that it is not possible. you can only create a flat XML for eg.
    <recordset>
    <NameA>
    <field-nameA1>field-value</field-nameA1>
    <field-nameA2>field-value</field-nameA2>
    <field-nameA3>field-value</field-nameA3>
    </NameA>
    <NameB>
    <field-nameB1>column-value</field-nameB1>
    <field-nameB2>column-value</field-nameB2>
    <field-nameB3>column-value</field-nameB3>
    </NameB>
       </recordset>
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    you will have to use a java or XSLT mapping to create the hierarchy for you.

  • File Content Conversion Generate Incomplete XML

    Dear Expert,
    I am doing the File Content Conversion ...
    Process in sender file adapter is working fine. However, when I check in the receiver folder, the XML file is incomplete after 4 records ...
    The Flat File structure :
    20100120;SAPQL0;0000000013380325
    20100120;SAPQL0;0000000013380332
    20100120;SAPQL0;0000000013380333
    20100120;SAPQL0;0000000013380334
    20100120;SAPQL0;0000000013380337
    20100120;SAPQL0;0000000013380338
    20100120;SAPQL0;0000000013380402
    20100120;SAPQL0;0000000013391225
    20100120;SAPQL0;0000000013394988
    20100120;SAPQL0;0000000013416842
    20100120;SAPQL0;0000000013420424
    20100120;SAPQL0;0000000013420616
    20100120;SAPQL0;0000000013420621
    20100120;SAPQL0;0000000013420624
    20100120;SAPQL0;0000000013420627
    The XML result was truncated(incomplete) :
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_EDIFILE_LOG xmlns:ns0="http://zasp.edi.siemens.com/zedi/contentconversion">
    <Record>
      <EDIFILE>
        <credate>20100120</credate>
        <port>SAPQL0</port>
        <idocnumber>0000000013380325</idocnumber>
      </EDIFILE>
      <EDIFILE>
        <credate>20100120</credate>
        <port>SAPQL0</port>
        <idocnumber>0000000013380332</idocnumber>
       </EDIFILE>
       <EDIFILE>
        <credate>20100120</credate>
        <port>SAPQL0</port>
        <idocnumber>0000000013380333</idocnumber>
       </EDIFILE>
       <EDIFILE>
        <credate>20100120</credate>
        <port>SAPQL0</port>
        <idocnumber>0000000013380334</idocnumber>
       </EDIFI
    Please kindly suggest, which area should I check and correct...
    Thank you very much expert.
    Best Regards,
    Y

    Dear All,
    I believe that the file adapter has finished writing the file. Not sure, How to check whether the adapter is still working or not since from the SXMB_MONI, I see the mssage processing has been completed.
    Further information
    The data type structure :
    1. DT_EDIFILE_LOG     
    1.1         Record --> occurence 1               
    1.1.1      EDIFILE --> occurence 1..unbounded
    1.1.1.1   credate --> occurence 1
    1.1.1.2   port  --> occurence 1
    1.1.1.3   idocnumber --> occurence 1
    In content conversion parameters :
    Recordset Name : Record
    Recordset Structure : EDIFILE,*
    Thank you very much for your suggestion.
    Best Regards,
    Y
    Edited by: Yonisiwa on Jan 22, 2010 3:34 PM

  • Flat file into XML

    Hi,
    I have a requriment like source will be sending IDoc DELVRY03 in form of flatfile(fixed length).So i have  to convert to XML so that PI can do transformation.I cant do file content conversion.Target is also IDoc DELVRY03.
    Kinldy suggest me how to convery flat file into XML.
    Regards,
    Anitha M
    Edited by: Anitha m on Aug 3, 2010 10:07 AM

    Hi Anitha,
    You should use File content conversion to convert flat file into XML file.
    Please check the below link, which help you to know how to do it.
    http://saptechnical .com/Tutorials/XI/Contentconversion/page2.htm
    Please check the weblink given below for converting the file content:
    http://help.sap.com/saphelp_srm40/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    Thanks,

  • Problem with end seperator in file content conversion parameters

    Hi All
    I have a proxy to file scenario, and i am writing the file using file content conversion.
    In my message type, there can be multiple object records in a single data record, as shown here:
    <Data_Record>
      <Field1>111</Field1>
      <Field2>222</Field2>
      <Object_Record>
        <Field3>333</Field3>
        <Field4>444</Field4>
      </Object_Record>
    </Data_Record>
    Recordset Structure: Data_Record, Object_Record
    Content conversion parameters:
    Data_Record.fieldseperator: ,
    Data_Record.end_seperator: 'nl'
    Object_Record.fieldseperator: ,
    Object_Record.end_seperator: 'nl'
    My requirement is, every data record should be followed by new line character and every object record should be followed by new line character:
    111,222(new line character)
    333,444(new line character)
    But, my current output is:
    111,222,333,444(new line character)
    The problem is, as the data record ends only after object record, i am getting new line character only after object record. (technically, the end tag of data record occurs only after the end tag of object record).
    Now, how can i get a new line character after data record and after object record?
    Thanks
    Chandra

    Hi Sekhar,
    We know the input which you are trying to use(in XML ).
    Can you please tell us the output which you are expecting here after using ContentConversion at receiver side.
    Regards,
    Prakash.

  • Reg: FILE CONTENT CONVERSION

    Hi,
    Is any one explain me about File content conversion in SAP XI and how to understand the requirements.Please tell me the procedure how to do it.
    With Regards,
    Kiran.
    Edited by: ravikiran123 on Sep 6, 2010 8:37 AM

    Hi,
    Refer the below links:
    http://saptechnical .com/Tutorials/XI/Contentconversion/page1.htm
    http://help.sap.com/saphelp_srm40/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    http://help.sap.com/saphelp_srm40/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/frameset.htm
    Search in SDN, before posting...........

  • Can PI handle IDocs in ASCII Format directly, without ContentConversion?

    Hi,
    I got IDocs from vendor in ASCII Format, like that:
    EDI_DC    700  64  2SAPPRO   LSSAPROM100...
    E1EDK01   000001   DOL
    E1EDKA1  000002   LF  001012323443     Fashy Co., LTD....
    E1EDKA1  000003  RE                                YXZ Co., LTD....
    E1EDK02  000008  009234255234....
    E1EDK02 000009  123432432534....
    E1EDK03....
    E1EDK05...
    E1EDK05...
    My Question: whehter there is an adpater or a function in XI7.0 that can input such IDoc in ASCII Format without ContentConversion?
    Otherwise, I must ask vendor to provide me IDoc in XML Format.
    Any hints would be appreciated!
    Regards
    Rene

    Hi Jackson,
    thank you for your suggestion!
    Just now, I called the customer. They used seeburger adapter before. Now they can use Seeburger Adapter to read IDoc ASCII Format.
    But they want to discard seeburger in the future. Therefore it is not neccessary to integrate Seeburg adapter into XI.
    Have you heard anything about fileport in SAP?
    Can I just transfer flatfile to SAP internal folder and SAP picks files and convert them into IDoc-Schema automatically?
    Regards
    Rene

  • Flat File Into DW

    Hi All,
    I have many flat files in xls, access, csv format to be brought into the OBIDW. I have a EBS Financials, OM and SCM modules which also has some flat file data as sources.
    1. whats is the general approach to bring in the flat file data to the OBIDW (I have DAC 7.9.5 and INFA 8.1.1).
    ---is the approach like - just build a fully customized INFA mappings with flat file as source?
    OR
    --first bring in the flat file data into a local staging DB without any business logic (just Data migration) and then use them as additional  
    tables in the pre-built INFA mappings? how are the relations between new OLTP tables built?
    OR
    --what is the best practice? (ppl having experience of having done this pls answer, its very critical!)
    2.what is the industry standard. PLs let me know ASAP!
    3. In OOTB DAC 7.9.5 I see some execution plans/ subject areas called 'Flat File' what are they used for? Any relation to the above question.??
    4. any documents/ links are appreciated.
    5. How is the Change Capture Mechanism realized for BI Apps as EBS as source. In Siebel I am used to Image tables. But i do not see any image table concept here in EBS. Pls help me in this regard also.
    Thanks You Very much.

    Hi Anitha,
    You should use File content conversion to convert flat file into XML file.
    Please check the below link, which help you to know how to do it.
    http://saptechnical .com/Tutorials/XI/Contentconversion/page2.htm
    Please check the weblink given below for converting the file content:
    http://help.sap.com/saphelp_srm40/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    Thanks,

  • Delete File From Mounted Volume

    Hey,
    I am trying to delete the "Calendar Cache" files on both my laptop PowerBook G4 and the Mac Pro Quad that I sync my calendars with. I am using ChronoSync and the individual calendars sync fine, but there is a little house keeping needed with the cache file. They need to be deleted on both systems in order to "refresh" the views of the calendars.
    So after the sync of calendars, I have the software initiating an AppleScript that deletes both. Here's the script:
    +(* PowerBook Files / delete cache file *)+
    +(* Please note that both systems have the same username. This may be arise a conflict *)+
    +tell application "Finder"+
    + activate+
    + tell application "Finder" to delete file "Calendar Cache" of folder "Calendars" of folder "Library" of disk "useranthony"+
    +end tell+
    +(* Mac Pro Quad/ delete cache file *)+
    +tell application "Finder"+
    + mount volume "afp://10.10.10.1/anthonyabraira"+
    + tell application "Finder" to delete file "Calendar Cache" of folder "Calendars" of folder "Library" of disk "/volumes/useranthony"+
    +end tell+
    I am having trouble addressing a deletion on the networked Mac Pro Quad.

    why send it to the trash — just delete it...
    (* PowerBook Files / delete cache file )
    try
            do shell script "rm -rf /Library/Calendars/Calendar\\ Cache"
    end try
    you may need a delay for the Mac Pro Quad to mount
    ( Mac Pro Quad/ delete cache file *)
    --the mount and then the delay
    delay 4
    try
            do shell script "rm -rf /THE-CORRECT/PATH-HERE/Library/Calendars/Calendar\\ Cache"
    end try
    Tom

  • How Open And Print Proc C Genrated Text File Based Report ON Browser

    Dear Sir
    I have my old 6i forms from which i runs some Pro*c programmers with the help of HOST() command ,and then that generates a normal text file as a resultant report like file name "kha10"
    which i can easily open with any text client ,,,
    now what i want is that, to open this file on browser like web Report on my forms 10g like report builder 10g
    can anyone help me as it will be a gr8 help otherwise i would have to develop approx 100 reports.....
    any solution or any technique plzz help me

    bro my work is almost done apart from this virtual directory , how to make a virtual directory so that is dosent comes under
    http://........../form/
    i mean where to put my
    <virtual-directory virtual-path="/procrepo" real-path="c:\" />
    as my original file looks like bellow
    <?xml version="1.0"?>
    <!DOCTYPE orion-web-app PUBLIC "-//ORACLE//DTD OC4J Web Application 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-web-9_04.dtd">
    <orion-web-app
         deployment-version="10.1.2.0.2"
         jsp-cache-directory="./persistence"
         temporary-directory="./temp"
         servlet-webdir="/servlet/"
    >
    <context-param-mapping name="configFileName">D:\DevSuiteHome_1/forms/server/formsweb.cfg</context-param-mapping>
         <virtual-directory virtual-path="/html" real-path="D:\DevSuiteHome_1/tools/web/html" />
         <virtual-directory virtual-path="/java" real-path="D:\DevSuiteHome_1/forms/java" />
         <virtual-directory virtual-path="/webutil" real-path="D:\DevSuiteHome_1/forms/webutil" />
         <virtual-directory virtual-path="/jinitiator" real-path="D:\DevSuiteHome_1/jinit" />
         <session-tracking cookies="disabled" />
    <!-- Uncomment this element to control web application class loader behavior.
    <web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />
    -->
    <security-role-mapping name="administrators">
    </security-role-mapping>
    </orion-web-app>
    plzzzzzzzzzzz help

  • If image file not exist in image path crystal report not open and give me exception error problem

    Hi guys my code below show pictures for all employees
    code is working but i have proplem
    if image not exist in path
    crystal report not open and give me exception error image file not exist in path
    although the employee no found in database but if image not exist in path when loop crystal report will not open
    how to ignore image files not exist in path and open report this is actually what i need
    my code below as following
    DataTable dt = new DataTable();
    string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
    using (SqlConnection con = new SqlConnection(connString))
    con.Open();
    SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
    cmd.CommandType = CommandType.StoredProcedure;
    SqlDataAdapter da = new SqlDataAdapter();
    da.SelectCommand = cmd;
    da.Fill(dt);
    foreach (DataRow dr in dt.Rows)
    FileStream fs = null;
    fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
    BinaryReader br = new BinaryReader(fs);
    byte[] imgbyte = new byte[fs.Length + 1];
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dr["Image"] = imgbyte;
    fs.Dispose();
    ReportDocument objRpt = new Reports.CrystalReportData2();
    objRpt.SetDataSource(dt);
    crystalReportViewer1.ReportSource = objRpt;
    crystalReportViewer1.Refresh();
    and exception error as below

    First: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
    Second : Drag And drop this image Filed Where I want.
    private void LoadReport()
    frmCheckWeigher rpt = new frmCheckWeigher();
    CryRe_DailyBatch report = new CryRe_DailyBatch();
    DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
    DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
    DataTable dt = GetImageRow(table, "Footer.Jpg");
    report.SetDataSource(dt);
    crv1.ReportSource = report;
    crv1.Refresh();
    By this Function I merge My Image data into dataTable
    private DataTable GetImageRow(DataTable dt, string ImageName)
    try
    FileStream fs;
    BinaryReader br;
    if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    else
    // if photo does not exist show the nophoto.jpg file
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    // initialise the binary reader from file streamobject
    br = new BinaryReader(fs);
    // define the byte array of filelength
    byte[] imgbyte = new byte[fs.Length + 1];
    // read the bytes from the binary reader
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dt.Rows[0]["Image"] = imgbyte;
    br.Close();
    // close the binary reader
    fs.Close();
    // close the file stream
    catch (Exception ex)
    // error handling
    MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
    return dt;
    // Return Datatable After Image Row Insertion
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • How do I find, at-a-glance, the sample size used in several music files?

    How do I find, at-a-glance, the sample size used in several music files?
    Of all the fields available in a FInder Search, "Sample Size" is not available. Finder does offer a "Bits per Sample" field, but it only recognized graphic files and not music files.
    Running 10.8.5 on an iMac i5.
    I did search through a couple of communities but came up empty.
    Thank you,
    Craig

    C-squared,
    There is no View Option to allow display of a column of sample size. 
    For WAV or Apple Lossless files, it is available on the Summary tab (one song at a time, as you know).  For MP3 and AAC it is not available at all.
    You can roughly infer it from the files that are larger than expected for their time.
    99% of the music we use is at the CD standard of 16-bit, so I can guess that displaying it has never been a priority.  However, if you want to make a suggestion to Apple, use this link:
    http://www.apple.com/feedback/itunesapp.html

  • Windows no longer boots up, paging file error

    I just reinstalled windows on my mac last week because until now I had been running the old beta version of boot camp.
    Just a few days ago I started getting blue screens every so often and it happened again (twice to be exact) yesterday, however one of the times it booted up and informed me I might want to change my paging file size. Not quite sure what this was I went and found the paging file option in settings and found it was clicked on a set size...so I figured I'd set it on the option that lets windows decide for me hoping this would fix the blue screen problem.
    I shut down my computer later that night and now windows won't get to the desktop.
    When I start it up normally it runs the system check (which I cannot skip for some reason) which gets to 84% and then says \windows\Dump3865.tmp is cross-linked on allocation unit 1731772
    Above it it mentions there is an invalid size for my page file.
    I tried booting it up the in safe mode multiple times and every time it generates a list in dos and stops on windows\system32\Drivers\mup.sys
    I really don't want to have to reload windows again. Is there anyway to skip the system check (it says press anykey, but that has never worked for me) or any other way to get my paging files back to the way they were?
    Thank you.
    Oh I'm running leopard with windows XP professional on a macbook pro (last years model) if that helps in anyway.
    Message was edited by: Tommmmm

    A. run chkdsk
    B. What happens if you boot from XP CD and Repair System
    C. system file checker - from command "sfc /scannow"
    http://www.informationweek.com/news/windows/showArticle.jhtml?articleID=18530125 1
    http://windowshelp.microsoft.com/Windows/en-US/Help/f768809f-ed90-415f-a83f-89b4 2108b3551033.mspx

  • ITunes & Windows Vista Home - Error File C:\Program Data\Apple Computer\Installer\Cache\iTunes 10.5.142\iTunes.msi was rejected by digital signature policy.

    Tried
    https://discussions.apple.com/thread/2713232?start=0&tstart=0
    and
    http://www.vistax64.com/vista-general/159940-computer-blocking-anything-no-digit al-signature.html
    with no avail!!!
    iTunes opens after I click OK on the above message however I cannot do anything within the app its like Windows it preventing it from running.
    PLEASE HELP!!!

    Update:
    I tried what the diagnostic told me to do, and repaired the installation. I was able to burn a CD in iTunes, but after I restarted, the drives have disappeared again! Here's the diagnostic info now:
    Microsoft Windows Vista Home Edition (Build 6000)
    MICRO-STAR INC. MS-6728
    iTunes 7.6.0.29
    QuickTime 7.4
    CD Driver 2.0.6.1
    CD Driver DLL 2.0.6.2
    Apple Mobile Device 1.1.3.26
    iTunes Serial Number 20D6EAF059AB94B4
    Current user is not an administrator.
    The current local date and time is 2008-01-15 19:09:32.
    iTunes is not running in safe mode.
    Video Display Information
    ATI Technologies Inc., Radeon X1600/X1650 Series
    ATI Technologies Inc., Radeon X1600/1650 Series Secondary
    ** External Plug-ins Information **
    Plug-in Name: Last.fm iTunes plugin
    Plug-in Loaded: Yes
    Plug-in Version: 0.0.13
    Plug-in File Version: 2.0.13.0
    Plug-in Path: C:\Program Files\iTunes\Plug-ins\itw_scrobbler.dll
    No drives showed up to be tested.

  • Error while deploying a PAR file from NWDS into an ECC.

    Hi all,
    I am getting this error while deploying a PAR file from NWDS into an ECC.
    Operation Failed: Please make sure the server is running or check the log (sap-plugin.log) for
    more detail.
    My server is running properly
    1 - Where is sap-plugin.log file? I don´t find it. 
    2 - Could there be another file with another name with information about the error?
    3 - Is there another way to deploy the file directly from the ECC?
    Regards,

    Hi,
    Just make sure you have maintained correct server setting to check the same open the NWDS and follow this path
    Windows/ Prefereces / SAP Enterprise Portal
    Check the following enteries
    Alias
    Host
    Port
    Login etc.
    Regards,

Maybe you are looking for