Processing length specific file in XI

Hi All,
Is it possible to process lenghth specific file in XI.
Can any one gives some idea how to do that.
If I have a very big file like this and want to test mapping by taking that file as input.
Is it possible or do we need to convert that file into XML format and need to test it..
Regards,
venu.

Hi Bavesh,
Still I'm getting runtime exception in mapping transfermation.
Following is the file
"V00",10,"venu",144857,77,29
"A11","ARC",240904,20050,9
"A12","ARC",12345,990,9
"A27","Va2440094"
Following is the payload in SXMB_MONI view
<?xml version="1.0" encoding="utf-8" ?>
- <ns:FILEINPUTCSV xmlns:ns="urn://f1send">
- <Root>
- <H1>
  <F1>"V00"</F1>
  <F2>10</F2>
  <F3>"venu"</F3>
  <F4>144857</F4>
  <F5>77</F5>
  <F6>29</F6>
  </H1>
- <sub1>
  <KF>"A11"</KF>
  <S12>"ARC"</S12>
  <S13>240904</S13>
  <S14>20050</S14>
  <S15>9</S15>
  </sub1>
- <sub2>
  <KF>"A12"</KF>
  <S22>"ARC"</S22>
  <S23>12345</S23>
  <S24>990</S24>
  <S25>9</S25>
  </sub2>
- <sub3>
  <KF>"A27"</KF>
  <S32>"Va2440094"</S32>
  </sub3>
  </Root>
  </ns:FILEINPUTCSV>
Following is the error in SXMB_MONI
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--  Request Message Mapping
  -->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
  <SAP:Category>Application</SAP:Category>
  <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
  <SAP:P1>com/sap/xi/tf/_FILE_TO_FILE_CSV_</SAP:P1>
  <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
  <SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
  <SAP:P4 />
  <SAP:AdditionalText />
  <SAP:ApplicationFaultMessage namespace="" />
  <SAP:Stack>During the application mapping com/sap/xi/tf/_FILE_TO_FILE_CSV_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
  <SAP:Retry>M</SAP:Retry>
  </SAP:Error>
Following is the Adapter configuration
Document Name FILEINPUTCSV
DocumentNamespace urn://f1send
Recordsetname Root
Recordsetstructure H1,1,sub1,,sub2,,sub3,*
Recordsets per msg *
Key Field name KF
H1.fieldNames     F1,F2,F3,F4,F5,F6
H1.fieldSeparator     ,
H1.endSeparator     'nl'
H1.processFieldNames     fromConfiguration
sub1.fieldNames     KF,S12,S13,S14,S15
sub1.fieldSeparator     ,
sub1.endSeperator     'nl'
sub1.processFieldNames     fromConfiguration
sub2.fieldNames     KF,S22,S23,S24,S25
sub2.fieldSeparator     ,
sub2.endSeparator     'nl'
sub2.processFieldNames     fromConfiguration
sub3.fieldNames     KF,S32
sub3.fieldSeparator     ,
sub3.endSeparator     'nl'
sub3.processFieldNames     fromConfiguration
H1.keyFieldValue     "V00"
sub1.keyFieldValue     "A11"
sub2.keyFieldValue     "A12"
sub3.keyFieldValue     "A27"
Exactly where I'm doing.
Do we need to check any service pack updates..If that case how to check whate exactly need to check and where I need to check. In system status I'm not getting all components updation like Adapters, Integration servers..etc
Regards,
venu.

Similar Messages

  • Script Alert: "Sorry I could not process the following files" (Error Message using Image Processor)

    I'm a seasoned Photoshop/Bridge CS5 user who recently upgraded to CS6.  In Bridge I just ran my first Image Processor batch, trying to convert a set of RAW .NEF files to .PSD files with a basic editing action I created applied to them.  Photoshop CS6 opens the files from Bridge and applies the actions, but then I get the "Script alert" error message "Sorry I could not process the following files" and a list of all of the files in the batch I was trying to run the script on.  The files all remain open and are saved on my hard drive in a folder created by the Image Processor script, but do not close unless I manually close them.  I never had this problem in CS5 where the image processor would apply the desired actions to the batch of photos one at a time, then save and close.  Thoughts on how I can fix this bug?

    Hey Jeff--
    No specific action steps to make the image safe - no flattening, etc. Had problems narrowing down the specific action step causing the problem. So I ran the Image Processor script in the ExtendScript ToolKit and debugged in. (I'm using the version that shipped with CS4.)
    Turns out what was happening is that the app.activeDocument.close() command on line 1490 was never getting called, because the this.SaveFile() above it was throwing an exception. More debugging got me to the problem - SaveFile() tries to restore the history state after making a doc safe for saving as a JPEG. This causes an exception. So I commented out line 1571:
    // app.activeDocument.ativeHistoryState = historyState;
    The script runs just fine after this. I commented out the close to see what history states got added to the doc, but no new states are recorded, so commenting out the restore line should not cause any problems.
    Of course, my solution does not solve the problem and I may need to comment out all the saveFile() lines that does this. Not sure why some actions have this problem and others don't. The actions I am running have about 25 steps. Perhaps PS is not catching up quick enough. I added a $.sleep(2500) after the restore history but that didn't help.
    So, not sure where this gets us. I will check about posting an action set with just one of the actions that cause the problem. But I may also have our customer comment out that line of the Image Processor script.
    Hope this helps. May post more next week.

  • Exporting Crystal .rpt to a fixed length text file

    Post Author: jnesbitt
    CA Forum: Exporting
    I am attempting to write a Crystal report that formats data to be exported to a fixed length text file. Each record will be made up of a number of fields with specific start locations and lengths. Is there any way to set the field start position and field length. I've been able to adjust the character per inch text export parameter to get close, but I can't update the paramete any longer.
    How can I reset the "Characters per inch" text export parameter?
    Version: Crystal 9.2

    Hi Jakob
    Take a look a this
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/edc2f3c2-0401-0010-8898-acd5b6a94353
    Regards
    DV

  • Do you store IDE-specific files in your repository?

    Hi ,
    In [Continuous Integration|http://martinfowler.com/articles/continuousIntegration.html] , The author state that
    "You must put everything required for a build in the source control system, however you may also put other stuff that people generally work with in there too. IDE configurations are good to put in there because that way it's easy for people to share the same IDE setups."
    This is quite contradict with my personal believe that IDE-specific configurations shouldn't be check-in to source repository. Doesn't it mean that team members have no freedom in choosing their IDE? Even they agree to use the same IDE, how can you manage the compatibility of IDE configuration files across various versions. Different team members may prefer different version of the IDE. Even with the same version, the IDE configuration files are very easy to get modified by all sort of actions. Do all those changes should be check-in to the repository?
    I am re-organizing my repository so I am interested to know whether you keep your IDE-specific files in your repository. If you do, please share with me how you deal with the above problems.
    Thanks very much
    Edited by: chutchai.chailuecha on Apr 5, 2008 5:11 AM
    Edited by: chutchai.chailuecha on Apr 5, 2008 5:12 AM

    The story:
    A programmer left the organisation about two years ago. Part of the exit process is to totally wipe the harddisk (stored passwords, history, etc, etc). We lost the only working ant-build-scripts for our production branch... Not long after that the decree came down from on high that every-single-iddy-biddy-farking-file used to build the sucker WILL BE IN VSS.... ABSAPOSITIVELY NO EXCEPTIONS!
    I for one agree whole heartedly with that decree, because I was the poor noobie (as in new to the job, java, weblogic, and web-apps) who having just sat in the nice hot seat, had to learn all about "building big complex java projects" really farking soon now, like yesterday... it delayed the release of a "critical" production patch for a month... after two weeks of me trying to get it building (with no real end in sight) we stripped all the high/medium risk RFC's out of the development branch, tested it double time, and shipped it.
    It's not fascism... it's professionalism.... McRisk McManagement.

  • How to pull a Specific files from the local path using SSIS package

    Hi Friends,
    I have 15 Dealers files .With the Files name as follows
    1. ''ACTEST00001_20141112_0408_INV.TXT''
    2. ''ACTEST00002_20141112_0408_INV.TXT''
    I will get these files through FTP on Daily basis with changes on date alone.
    I will have 4 files for each dealers.like INV,SERVICE,SALES,APPOINTMENT.
    SO i need to fetch a particular dealer with particular date.
    I need to create this scenario in SSIS package.Please suggest me how to create this and what are all the Tasks i need to use to implement this process.
    Arunraj Kumar

    http://microsoft-ssis.blogspot.jp/2011/08/foreach-ftp-file-enumerator.html
    http://www.bidn.com/blogs/MikeDavis/ssis/559/ssis-skip-certain-files-in-a-for-each-loop
    http://www.sqlis.com/sqlis/post/Looping-over-files-with-the-Foreach-Loop.aspx
    http://www.rad.pasfu.com/index.php?/archives/22-Looping-through-specific-files-SSIS.html
    http://www.mssqltips.com/sqlservertip/1641/get-list-of-files-from-an-ftp-server-in-sql-server-integration-services/

  • Could not load the following distribution specification files

    I am attempting to use LabWindows/CVI 9.0 to creat a distribution package.  At some point in the process something breaks, and then I can make all the changes I want, but CVI will crash when I close it, so none of my changes to the .cds file will get written.  The error on crash-exit is this:
    "Unrecoverable Internal Error at 001b:104FB24C. LabWindows/CVI will be aborted."
    and/or
    "Panel, pop-up, or menu bar handle is invalid"
    And often, when I re-open CVI, it deletes the .cds file and gives me this error:
    "Could not load the following distribution specification files: xxx.cds"
    Please advise,

    I found that everything is fine with the PRJ, CWS, and CDS, *until* I add the automatic "Project Output (Project.exe)" in the "Files" tab of the "Edit Installer" dialog box.
    As a work-around I have added the release .exe as a file in the project, and then I link that file in the "Files" tab.
    Attachments:
    Files_Tab.JPG ‏119 KB

  • Processing a jsp file through a servlet first

    At my company we have a lot of code tied up in servlets for our website. We would like to integrate JSPs along side the servlet architecture. We need to process the html files though both our serlvet architecture (Our website menu system and security are handled here) and the jsp tags.
    Here is what currently happens. We write a webpage, the servlet archtecture process the pages, doing substitutions on specific objects and running code in specific objects to build the html that is sent to the users browser. Instead of immediately sending the output to the users browser, i'd like to process it through the jsp servlet first. How would I go about running the newly substituted code through the jsp engine?
    Thanks in advance,
    Jeff

    That I probably wasn't clear enough with what is happening on our site.
    Let me walk you through how our site works.
    Here is an extremely simple page, and i'll walk you through what happens.
    <HTML>
    <HEAD></HEAD
    <BODY>
    Welcome {!s:username!}
    <!--#SQLLOOP name="SELECT" QUERY="SELECT year, name FROM programs where program_group_id = 35"-->
    {!r:select:name!}--- {!r:select:year!}
    <!--#/SQLLOOP-->
    </BODY>
    </HTML>When that page is called, the servlet starts. It opens up the file, does a substitiution on {!s:username!} for the username variable from session data. It then will execute a javaclass for the SQLLLOOP statement and output the year and name for all values where the program_group_id = 35. After the substitutions are done, then spits the html back at you.
    Now what I would like to do is to get this code to play nice with JSPs.
    the <jsp:include> tag does not appear to work.

  • Batch processing of audio files?

    Hello,
    Is there a way to easily apply a particular process to multiple audio files without having to set it for each file individually?
    For example, if I wanted to apply a fade out of a certain length - say 5 ms - to about 80 small audio files...
    A friend of mine uses PEAK for sample editing... In PEAK, this can be acheived very easily by turning on the "batch processor", tweaking the settings, and then it applies that process to every file you import until you turn the batch processor off, and since you can import multiple files at once, voilla!
    So if there is a way to do this sort of thing in Logic, or any of the other apps that came in Logic Studio, please do share.
    Thanks in advance

    Actually, you could use SoundtrackPro, which is bundled with Logic Studio. I didn't try fades but I have a few other AppleScripts that I use for batch processing. What you have to do is to open an audio file, do whatever you need and save that as an AppleScript. After that, all you have to do is to drag your files on the AppleScript icon in the Finder.

  • InDesign quits unexpectedly - specific file

    Hi all,
    I have an issue with InDesign quitting 'unexpectedly' every time I open one specific file and try to work on it. Other files works fine and the App is updated with the most recent update.
    I have pasted the error report here: Process: Adobe InDesign CC 2014 [1345] Path: /Ap - Pastebin.com
    Hope the link works.
    I would really appreciate all the help I could get.
    Thank you,
    Emelie

    Hi Emma,
    Could you share the file with us at Adobe to have a look at and see what is causing InDesign to quit unexpectedly on opening it?
    You could send it at :  [email protected]
    Thanks,
    Adobe InDesign team

  • Search For Specific File Type (eg .txt)

    I know how how to find files in a folder using Java but how do you search for specific file types. I am looking only include files with the extension .txt in my search.

    Cheers. I already looked at that. Got a program that parses a XML and had a play about with it. Can print the contents of tags in my XML. Its just that im trying to parse my XML and have the contents of the starts_with tag to appear in startsWith(or a variable to which this has been assigned) and the contents of the extension tag to appear in endsWith. Totally clueless on how to go about it.
    Below is my class. Would be greatful if you have any ideas.
    import java.io.File;
    public class FindLatestFile {
                 public static File getLatest(File thisDir){
                         long latestModDate = -1;
                         File latestFile = null;
                         File[] fileList = thisDir.listFiles();
                         for(int i=0; i < fileList.length; i++){
                             File file = fileList;
         if (file.lastModified() > latestModDate & (file.getName().startsWith("A") & file.getName().endsWith(".txt"))) {
         latestModDate = file.lastModified();
         latestFile = file;
                             return latestFile;

  • Why dont all my photos (345) play when i select a specific file?

    Why dont all my photos (345) play when i select a specific file?

    Hey there Mrk_wrd,
    It sounds like you can successfully sync with iTunes and get no error messages, but when you try and play your music, the songs just scroll through and will not play.
    I think I would start with closing the Music app on your phone and restarting it. Then try again to play your music.
    Restarting your iOS device
    Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider.
    After the device has turned off, press and hold the Sleep/Wake button until the Apple logo appears.
    From: iOS: Turning off and on (restarting) and resetting
              http://support.apple.com/kb/ht1430
    If the issue persists then I would resync your content to your phone.
    Plug your device into iTunes and click it. Then go to your Music tab and uncheck the Sync Music checkbox, and click apply in the lower right corner. That will remove the music from the iPhone.
    From: iTunes 11 for Mac: Set up syncing for iPod, iPhone, or iPad
              http://support.apple.com/kb/PH12113
    When that process is done, restart both your iPhone and the computer, then go back into iTunes and recheck the Sync Music checkbox and click apply again to resync your music to the phone and test it again.
    Thank you for using Apple Support Communities!
    All the best,
    Sterling

  • How to open a specific file in projector.

    Hi to all
    can any body tells me that how to open a specific file in
    projector with an application not in browser????
    and also want to add a button to mute the sound just like in
    intros with fade in and out effect.
    its urgent....
    Thanks in advance

    Hi,
    You can use FlashJester JStart
    http://jstart.flashjester.com
    that will open up any file the has been associated in Window
    Explorer.
    Download a FREE evaluation copy and try it for yourself.
    Please look at the example files given.
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

  • Weird open command stuck under menu bar for just one specific file

    I'm having a weird problem where a little arrow in a small grey box sits under the menu bar, no matter which program is active. If I roll over it, an icon for a quicktime file shows. Clicking it open a specific file. It's one I had dragged to the desktop from the trash. If I click the icon, it opens the file from the trash. If I delete the trash, the little grey box and arrow stays there, pointing to the file in the trash even though it doesn't exist anymore. I cannot get rid of it!
    Here are some screenshots since this is hard to explain.
    MacBook   Mac OS X (10.4.9)  

    Hi Jerymander , Welcome to Apple Discussions,
    Have you tried starting in "Safe Mode"?
    Let us know.
    -mj
    [email protected]

  • How do I replace bookmark bar that was lost when a new Mozilla Fox Start page suddenly appeared with a Zone Alarm Community Toolbar, and nothing I have so far tried, working with "Show all Bookmarks", works ("Unable to process the backup file).

    My current version is 6.0.2. A box appeared a few days ago informing me of an update to 7 (x?). I declined for the time being.
    Then a Start Page just showed up missing the bookmark tool bar. I tried to import a bar from another browser. Nothing showed up. Then, I went to "Help". First, I clicked on "About Firefox" where I was informed of an update. This time, I tried it. When I clicked on "Apply Update", I received a message; 'Update could not be installed" despite there being no other Firefox browsers running.
    I went back to "Help" and clicked on "Firefox Help". A page came up with the URL in place, but the page would not load ("Cannot find server at support.mozilla.com"). After several clicks on "Try Again" with the same result, I copied the URL and pasted it into a different browser, from which I am now working.
    Before sending this question, I tried the two procedures ("Manual Backup" and "Restoring From Backup") found on Bookmarks/Show All Bookmarks/Import And Backup/Restore, using both "stored backups" from Mozilla's Profile folder and "Choose a file", as well as Bookmarks/Show ... /Backup. In each case, the response was, "Unable to process the backup file".
    I had previously tried another method I found on Google which involved copying and saving a Mozilla backup file (this is the file I used in the procedure above - "Choose a File") found in the C:/Documents And Settings/.../Profile Folder, then renaming the original file "backup.HTML" and saving it in a folder one level up from its original location. The Bookmark bar was to show up after shutting down and reopening Mozilla - it never happened. I replaced the original backup file.
    It occurred to me to locate the Bookmark File for this browser (Chrome) and using it in the "Choose a File" method, referred to above. But there is no extension included in the file name, and I was afraid to try it.
    I'm out of ideas. Is there something else to try?

    Check that the Bookmarks Toolbar is visible and that the "Bookmarks Toolbar items" is still placed on the Bookmarks Toolbar.
    If the menu bar is hidden then press F10 or hold down the Alt key, that should make the "Menu Bar" appear.
    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"
    * Open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout" (Linux, Windows)
    * Check that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    * If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the toolbar palette in the customize window to the Bookmarks Toolbar
    * If you do not see the "Bookmarks Toolbar items" or other items that are missing in the toolbar palette or on a toolbar then click the "Restore Default Set" button
    See also:
    *http://kb.mozillazine.org/Uninstalling_add-ons
    *http://kb.mozillazine.org/Uninstalling_toolbars

  • The latest issue of Pages for iPad: 1. Very slow. 2. Late in reacting to typing. 3. When I go to a specific file, informs me that some images were deleted and therefore file has been changed. Then when OPEN option used, opens file slowly. Please, help!

    What I have to do to correct the following problems with Pages app. For iPad:
    Hesitates to display results of typing, some times for 5-6 characters;
    Very slow in opening files;
    Before opening of a specific file displays message: DOCUMENT DETAILS. SOME CHANGES WERE MADE TO YOUR DOCUMENT. SOME IMAGES ARE MISSING BECAUSE THEY WERE DELETED FROM YOUR DOCUMENT. We'll, nothing is missing. But it takes forever to open this file. The previous issue of Pages worked very good. But they would not let me to go back to it. Please, help!

    Tmobile did the exact same thing to me. So that is customer service at work in general. Nice try though lol.
    To the OP
    I see you said You paid for shipping, did you Insure it? Claim insurance on it. If you did not, It may not be Verizon or your fault in the sense of the phone not making it to the warehouse. There are people out in the postal world that will steal phones that are not insured. It could have been a Verizon employee, i suppose.
    But, if this was to be a bought in court, if you shipped it with out insurance, sadly your at fault.
    Do you still have the Serial number of your old phone? If so, you should be able to track where your phone is (if it is reported as a defect/damaged) If so, you may be able to use that as proof. If it does not show up as a defect or what ever they determine use as a loss, then you know it did not make it to the warehouse to be checked in. I would suspect Apple or Verizon could tell you what the Serial number came up as.

Maybe you are looking for