File-to-IDoc, but the file structure is equal to the IDoc structure

hi,
we have a scenario where the incoming message has to be picked up by FTP. The incoming message is a flat file, no delimiters, no separators, nothing, however is exactly the IDoc structure.
Since the file adapter does not know how the structure is set up, because no tags are present, it can not translate the filestructure into any format. Therefore it can not be processed further.
Is there a way for a fileadapter to convert this plain file to an IDoc format, or to call the file-to-IDocadapter up front, the same way as if you would use in SAP the fileport in IDoc processing ??
thanks!

Hi Alexander,
XI understands ONLY XML. All messages to and from XI are always XML messages.
Now, if the file being placed by your Legacy System is not going to be an XML file, then you can use the content conversion of your sender File adapter to convert this non XML file to an XML file.
Same way, if the file that is required by your 3rd party application should not be in a XML format, you can use content conversion of the receiver adapter to convert XML to text and so on.
Basic point, all messages that reach the inegration engine of XI need to be in XML format and so you need content conversion to conevrt non xml to xml and vice versa.
To make note mapping cannot be performed with a flat file as XI understands only XML. Hence content conversion required.
Please go thru these links for step by step procedure to do the same:
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
/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/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
http://help.sap.com/saphelp_erp2005/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
I hope I have answered your query.
Regards,
Abhy

Similar Messages

  • I am trying to re-install Photoshop CS6. The files have downloaded but I get and error message that the Adobe Support Advisor is required to determine what the installation probIem is. I click on the link that says "get the Support Advisor here only to be

    I am trying to re-install Photoshop CS6. The files have downloaded but I get and error message that the Adobe Support Advisor is required to determine what the installation probIem is. I click on the link that says "get the Support Advisor here only to be told the Support Advisor no longer exists!! A blind loop. I need to have Photoshop CS6 installed...what do I do from here??

    The CC Cleaner Tool assumes the Akamai Download Manager is activated and it has not. It seems to be the missing file that triggers the error message. \in a previous re-install I was prompted to download & install the Akamai Download Manger, but not this time. Is there somewhere on the Adobe website that I can download it??

  • HT202152 I have tried updating my apps and software but it says my startup disk or hard disk is full. I deleted a lot of files and apps but they won't be erased from the trash. Please help

    I have tried updating my apps and software but it says my startup disk or hard disk is full. I deleted a lot of files and apps but they won't be erased from the trash. Please help.

    For information about the Other category in the Storage display, see this support article. If the display seems to be inaccurate, try rebuilding the Spotlight index.
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
              iPhoto ▹ Empty Trash
    In Photos:
              File ▹ Show Recently Deleted ▹ Delete All
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then restart the computer. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation—not the mythical 10%, 15%, or any other percentage. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as  Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Ask for instructions in that case.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) or GrandPerspective (GP) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one. Note that ODS only works with OS X 10.8 or later. If you're running an older OS version, use GP.
    Deleting files inside a photo or iTunes library will corrupt the library. Changes to such a library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS or GP can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Install the app in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the corresponding line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C.
    For ODS:
    security execute-with-privileges /A*/OmniDiskSweeper.app/*/M*/* 2>&-
    For GP:
    security execute-with-privileges /A*/GrandPerspective.app/*/M*/* 2>&-
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Paste into the Terminal window by pressing command-V. You'll be prompted for your login password.
    The application window will open behind other open windows. When you scan a volume, the window will eventually show all files in all folders, sorted by size. It may take a few minutes for the app to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with the app, quit it and also quit Terminal.

  • Is it possible to play a swf file over html, but still be able to click on the html site below?

    I have a website built in html, with normal clickable content - a few buttons scattered around the centre.
    An absolute positioned div sits on top of the site and plays a swf file which moves out of view and stops. I have set everything to transparent and the user can see the site below as it is revealed.
    But once the swf file has moved off screen, none of the content is clickable (as I suppose the flash object is still there).
    I've no idea if this is normal, or if there is a work around so that the user can reach the html content below after the anim has moved out of the way... ?

    I'm sorry I wasn't very clear. When I just try to open the SWF file by double clicking it, it opens in FireFox and it is resized to fit the screen.  When I open the html file that flash provides it looks great, it is the perfect dimensions.  There is probably no way to make the swf file limit it's size when it is opened by itself, I just wanted to hear someone say it.

  • I'm using the Internet Personal Ancestral File Family Search but I'd like to work with the old version. Could you help me how to use it? Thank you

    I was working with the old version of Family Search Personal Ancestral File through Internet but I cannot deal with the new version which uses Firefox. Could you help me to work with the old version? Thank you

    Junho wrote:
    However, in Numbers, I cannot do the same thing with same procedure..
    What should i do to get all of those 4 at the same time?
    Please let me know..Thank you!
    First, be aware that Numbers is not MS Excel, and Excel is not Numbers. Features available in one of these two applications are not necessarily available in the other.
    LINEST in Numbers works somewhat differently from what you describe. The function is well described in the "iWork Formulas and Functions Help" document, available through the Help menu.
    I'd start there, with a search for LINEST.
    Regards,
    Barry

  • I can open pdf files in emails, but not on websites. I have the new Reader.

    I can open pdf files in emails, but not on websites, as I was able to a couple of weeks ago. On websites I get the message, "Adobe Acrobat has crashed". I downloaded the new Adobe Reader and that didn't help. I don't have Adobe Acrobat, on Adobe Reader.

    Windows 7, Google Chrome and the most recent Adobe Reader (just downloaded the same day). The problem is with Google Chrome, as Fire Fox works fine. I tried enabling and disabling what would read pdf files in Chrome plugins and found that the only thing that worked was to disable adobe reader and enable chrome reader, which is the opposite of what was reccomended in answer to other adobe forum questions that were similar to mine.

  • Indesign CS4 double click the file opens app. but not file

    One of our systems that is running Win XP Pro SP3 with InDesign CS4 loaded and file associations fixed, when an INDD file is double clicked the application opens but the file does not. If we open INDD and go to file open and select the file it opens. Just not when double clicked. If I put the file on another system everything is fine. Anyone seen this before.

    I'm pretty much at a loss. You might want to make sure that the open action is programed correctly in Windows.
    Open Explorer and go to Tools > Folder Options... and scroll to .indd, then click the advanced button and select the Open action. Click Edit, and make sure that the "Application used to perform action" line includes "%1" (in quotes) after the path to InDesign. I believe the "confirm open after download" box should also be checked in the edit screen.
    If that's OK, I'm guessing it has to do with SP3. Doe you have SP3 installed on the machine where it works?

  • Hi, I migrated from PC to Mac, but I can't find some files I had in the PC, this files were invisible but just before migrating I switched off the "hidden" option, ¿Does this files migrated as hidden files or they didn't migrated?

    Hi, I migrated from PC to Mac, but I can't find some files I had in the PC, this files were invisible because I had them as hidden but just before migrating I switched off the "hidden" option, ¿Does this files migrated as hidden files or they didn't migrated?

    If the filename starts with a dot (.thisfile), then it will be hidden on the Mac.
    You can use a 3rd party App, such as EasyFind to search for the file on your Mac, and then re-name (remove the dot)

  • I made an account to convert a .pdf file to Excel but it didn't work. Now the file's gone from my computer. How can I retrieve it?

    The product doesn't work and it removed an important form my computer. Anyone know how to retrieve it? I also don't need an account anymore, so how do I delete it?

    By uploading a document to Acrobat.com the file will not disappear; it should still be in its original location.
    To cancel your subscription see Cancel your membership or subscription | Acrobat.com online services
    [topic moved to ExportPDF forum]

  • Double-click/Drag-&-drop Photoshop files opens application but not file or I get a message saying that some files in Application Support are missing and I have to reinstall. (Photoshop CS/CS2/CS3)

    This is most commonly due to installing Photoshop CS/CS2 <i>before</i> doing an archive and install of Mac OS10.3 or OS10.4.<br /><br />One solution is to reinstall Photoshop 7/CS/CS3 after you have installed Mac OS10.3 or OS 10.4.<br /><br />If you have Photoshop 7 and 8(CS), the easiest way to reinstall Photoshop (without disturbing the original installation) is to install to your desktop. After the install is done just trash the Photoshop folder on the desktop.<br />Note: This will only work with Photoshop 7 and 8(CS) but not with 9 (CS2).<br /><br />Photoshop CS2 you must delete the Photoshop CS2 folder. If you have any 3rd party Plugins or presets remove them from the folder before deleting. Just placing the folder in the trash will not work it must be deleted. After reinstalling CS2 you can now put all 3rd party Plugins and presets back in the new folder.<br /><br />---------------------------<br />Another solution courtesy Anne Shelbourne<br /><br />Open your Previous System folder. <br />Find "Adobe Unit Types". <br />Copy it into: <Your current system Hard Drive>/Library/ScriptingAdditions/<br />Then reboot your Mac.<br /><br />---------------------------<br />However, if you happen to be running a non-English version, like Photoshop CS CE or Photoshop CS ME, it appears the missing file does not get installed. You would need to install and delete the international English version first.

    The problem you got into is a known problem after updating to Tiger. It is a small 4K file that gets trashed with the update. It is called the Adobe Unit Types. Both Photoshop and Photoshop Elements need this file to function.
    One way to get it back is to reinstall Photoshop, the other is to add this file again.
    You can get the file from here http://www.dd.se/Tips/bildbehandling/downloads/AdobeUnitTypes.zip
    It is only 3,7 KB big.
    You put the file you download here:
    [hard disk] /Library/ScriptingAdditions. If you don't have a Scripting Additions folder, you create it.
    As you trashed Photoshop, you need to completely deinstall it to be able to reinstall it.

  • All my files appear gone, but I didn't delete anything and the capacity is still accounted for

    I'm looking to update my old 2007 Macbook from Mac OS 10.5 to 10.6, but I've run into a problem..
    Before I've even got to copying the .iso file I have (file in on my Macbook Pro at the moment) onto the computer I've gone to delete all of my music and other data so I have room as there was currently only about 400MB available on the hard drive. If I go into any folder, all my data appears to be gone.. Documents is empty, Movies is empty, Pictures is empty, Music has the iTunes folder but otherwise empty. I never deleted any of this stuff, and the capacity of the drive according to Finder is just as I'd expect it to be. My desktop picture is the same so that file at least is still there...somewhere!
    Can anyone shed some light onto how I can make these files visible? They're obviously still there, just not accessible..

    Hmmm, in Sys Prefs>Acounts, how many users show up there.
    Let's see if we can find any of those files...
    Find Any File...
    http://apps.tempel.org/FindAnyFile/
    Hold Option or alt key when selecting Find to Find All.

  • Lightroom 5 - I downloaded original purchase 2.14.  After a crash I reloaded today.  I can see the files but can't open. I don't want monthly cloud subscription I want open the program.  Customer Care (no phone support and email are awful)

    Why won't my LR 5 open?

    I have described the whole issue here.  It seems like there is NO support unless I buy a subscription. 
    After paying for this CD (Amazon) and I have the serial # .  The files are there but nothing opens. 
    Customer Care on the website is useless!  All it does is go to troubleshooting which didn’t help at all.  That’s how I got to forums. 
    I have WIN 8.  No screen capture, all you see are files/folders.
    Carol

  • How to convert IDOC to flat file in XI

    Hello SDNers
    I have a scenario IDOC --> XI  --> Flat file. My question is how to conver IDOC to flat file. At least there are two ways to do that:
    1) Define a flat structure in PI that reflects the IDOC structure, then using content conversion to convert the flat structure to flat file in hte receiver communication channel.
    2) There is a [document |https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a] talking about using a generic ABAP mapping to map any IDOC to flat file.
    For the option 1, I don't want that way, because I would need to define a flat structure in PI for each IDOC which is too much effort. (I would have dozens of IDOC scenarios)
    The second one is very attractive. However the document is not complete to follow. Basically it does not explain how the inbound flat structure looks like. I guess the generic ABAP mapping is used to map any IDOC_XML structure to a flat structure, then in the file receiver communication channel to convert the flat structure to flat file format. But the document does not mention how the flat structure looks like. Has somebody tried this scenario? If yes, can you please let me know the steps to do in ESR (IR) and ID? Basically what structure the IDOC_XML should be mapped to using the generic ABAP mapping class?
    Or somebody has other ideas on how to convert IDOC to flat file?
    Thank you so much
    Eric

    > 1) You are saying that for Java mapping and abap mapping, the target data type (messag type) is just a dummy one, the real (XML) message the receiver will recieve is the one (stream) produced by the java or abap mapping. Is that correct?
    Definitely yes!
    >
    > 2) For the abap mapping option, I would define a dummy target data type. Do I need to do any content conversion in the receiver adapter (communication channel)?
    None wat so ever.The output of your Java Mapping will be the Native Idoc Format.
    >
    > 3) I tried with a dummy target data type as mentioned in my second post, can you see any clue in the error message what is wrong?
    Dats one thing I cant help much. Just make sure that the ABAP report is valid and take the help of a ABAP'er to debug what is going wrong. Not much of a ABAP guy, can read ABAP code, but cant write one myself
    Try to test the program standalone to see how it works. Maybe take some Idoc XML file as input and then dump the output to a .txt file and so on.
    Regards
    Bhavesh
    PS : All this is from what I have read of this guide. I have not convert Idoc XML to Native Idoc but have used this guide to convert Native Idoc to Idoc XML .

  • Tuning the file adapter to parse subnodes

    I have been looking for a solution, that how to handle Hierarchies in receiver file content conversion but everyone's suggestion is to make it as flat structure, were subnodes cant be handled by File Adapter. But in my case, I should handle the hierarchies. So I traced the File adapter behaviour and now I'm able to achieve it in my case.
    My source data will be as follows,
    <Root>
    <Lineitem>
    <no>101</no>
    <name>pen</name>
    <Comment>
    <color>red</color>
    <price>20</price>
    </Comment>
    <Comment>
    <color>blu</color>
    <price>50</price>
    </Comment>
    </LineItem>
    </Root>
    My Receiver FCC parameters are
    LineItem.fieldFixedLengths = 3,3
    LineItem.absoluteRowWidth = 6
    Comment.fieldFixedLength = 3,2,3,2
    Comment.endSeparator = 'nl'
    Output:
    101pen
    red20
    blu50
    The reason I used 3,2,3,2 for Comment.fieldFixedLengths though it has only 2 fields because the parser considers the 'comment' as a field of 'lineitem' but for the 'comment' I had specified 'fieldFixedLength' parameters so it gets the fieldlength of 3rd field and omits the first two were it already passed.But for the other occurrances it going to take first two field lengths.
    The absolute row width is to make the subnode to be on next line.
    Though I achieved my need through this method, it has some drawbacks like
    >The number of elements in parent node must be greater or equal to child node.
    >Applicable only for fixedlength files.
    >wont applicable if it has more then two levels
    It works well, with many occurrences of both lineitem and comment.
    I would like to receive the suggestions,  since its not SAP recommended method.
    <<<soon to be blog'd in detail>>>

    Hi,
    Have a look at this.
    /people/karthiknarayan.kesavan2/blog/2007/08/22/file-content-conversion-for-multi-hierarchical-structure
    Regards,
    Akshay Jamgoankar.
    Reward Points if find useful.

  • Spry compare the file size

    So for the example :
    http://labs.adobe.com/technologies/spry/demos/gallery/
    I have to say that those Spry .js includes are huge in file
    size for what they do :
    http://labs.adobe.com/technologies/spry/includes/xpath.js
    64.9 KB
    http://labs.adobe.com/technologies/spry/includes/SpryData.js
    90.4KB
    http://labs.adobe.com/technologies/spry/includes/SpryEffects.js
    52.5
    So just including the .js and not including the overhead of
    the xml and images the application file size is at 207.8 KB now
    that is fat for what is a very simple photo gallery. Something like
    this built in Flash would probaly be a quater or less than this in
    file size and would look a hell of a lot better. I cant really
    understand the rationalle to doing it like this when a flash client
    is more reliable and in the odd case of not having Flash the
    install is not equal to the overhead of all these .js files. What
    you guys think ?

    The benifits of Spry, as mentioned by Andrew, became obvious
    to me on a recent project. I am co-developing a site and my partner
    has no Flash skills. We wanted to expose enough of the code and/or
    file structure of the site so that he could do updates without
    flash and eventually teach the client to do their own updates.
    We're using the gallery widget where the client needs to have the
    pics changed quite often. So, all we have to do is change the pics
    and update the xml files. I have used xml files with Flash, but my
    partner feels less intimidated with the 2 step process. Plus, the
    code used on the html pages is exposed enough for us to easily
    change many other settings.
    Also, I'm encouraged by the news that the Spry js will be in
    a compressed/ condensed version soon.
    I do love Flash, but Spry came along kind of like the Perfect
    Storm for use in my project.
    I fell it will be another tool in my box to use when
    appropriate.
    stmark

Maybe you are looking for

  • Delete lines from a text file

    i need to delete (or replace them with white space) a few lines from a text file. I have a text file with first few lines & last few lines containing "<"or ">". I need to delete/replace with white space, the entire line. i need to do this urgently Co

  • My InDesign Crashes In Leopard 10.5.1

    Program: InDesign 5.0 and Photoshop 10.0 from CS3 Design Premium Computer: Mac OSX leopard Version 10.5.1., Intel core 2 Duo. Problem: When I launch Photoshop I get this message: "Could not initialize Photoshop because the file is locked. Use the 'Ge

  • Photoshop CC crashing on initial load

    In December I ditched my trusty Photoshop CS4 and subscribed to CC.  All was well for about a month and then it developed a problem whereby it would crash and display the "Adobe Photoshop CC has stopped working" window.  It crashed most often when I

  • String to timestamp conversion

    I have a string of the format yyyyMMdd:hh:mm:ss.SSSSS. I need to convert it to a timestamp value of the format dd-MMM-yy hh.mm.ss.SSSSS. I tried the following SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd:hh:mm:ss.SSSSS"); java.util.Date date

  • Very ugly fonts after uppgrade

    Hi , after latest uppgrade all my fonts ,are ugly like hell. Below are some screenshots. http://img242.imageshack.us/my.php?imag - nu2yl2.png http://img242.imageshack.us/my.php?imag - nu3qo3.png As you see ,they arent "sharp" ,and are not even as bla