How to do document offset in Simple Plain to XML for Zip file Sender side

Hi,
Scenario is .zip file to IDOC, A idoc per a record. .Zip file has simple Plain structure like below. Tab delimiter.
Name  number   code   country   Rating  Item
ABC    123        C4        IND           I2        PRD
ABD    123        C4        IND           I2        PRD
ABE    123        C4        IND           I2        PRD
I am using Adpater Module  and  Header is generating  a IDOC (total 4 IDOCs) in ECC. I would like to use similar to file 'document offset ' option in Adapter Module to skip the header row. so, I need only 3 IDOCS.
plain2XML and using MsgTransfermationBean.
I tried with
xml.documentSkipFirstRows=1
xml.documentOffset=1
xml.addHeaderline=0
I came to know that  above all for STRUCTURAL Plain parameters so no use.
I checked this http://forums.sdn.sap.com/thread.jspa?threadID=1223739
http://help.sap.com/saphelp_nw04/helpdata/en/70/f3cbad30ee479cb15672219f3405f0/frameset.htm
Could you please help me with proper parameter to skip the header/first record of the file.
Thanks
shoukat

Hi Shoukat,
Try with the following parameter:
xml.processFieldNames = fromFile
As of SAP Help: "means that the field name information is located in the header line of the file to be converted."
Hope this helps,
Greg

Similar Messages

  • Pdf on Windows 8;How do I get adobe to be the default app for pdf files.

    I installed pdf reader on my windows 8 laptop, but windows only opens with its "TWINUI". In its "other" option acrobat reader doesn't appear. It also doesn't appear on the windows desktop.
    How do I get adobe to be the default app for pdf files.

    http://winsupersite.com/article/windows8/windows-8-tip-change-file-associations-144102

  • How do I set up/install my complimentary "PDF Portfolio Templates" zip file?

    How do I set up/install my complimentary "PDF Portfolio Templates" zip file?
    The Download site says:  "Please click the button below and select “save” when prompted to download the files to your computer.* To add your content, simply open Acrobat XI and follow the instructions."
    The instructions say:
    "To install a custom layout, select File > Create > PDF Portfolio.
    In the “Create PDF Portfolio” dialog box, click Import Custom
    Layout. Navigate to the custom layout   le on your computer
    and select Open. Layout   les have a .nav extension.   e
    layout appears in the Portfolio Layouts list, where you can select it.
    Imported layouts are permanently added to the Custom
    Layouts section of the Portfolio Layouts panel."
    However, there is no "File>Create>PDF Portfolio" menu option...

    Acrobat Standard can't make Portfolios; you shouldn't have been offered that item when you registered. I suggest you contact Customer Support and ask for your selection to be reset.

  • How to disable Ctrl+W or Ctrl+C and Tab for .swf file

    How to disable Ctrl+W or Ctrl+C and Tab for .swf file
    ctrlKey = false; in KeyBoardEvents but how to apply it to the stage.

    Hello siva,
    Can I have what code return on your file..So that I can help some what
    Regards
    Kiran

  • How to extract a folder (and its contents) from inside a zip file?

    There is a zip file which contains a folder inside it. The folder itself contains a few files. I would need to know how to extract the folder (with its contents) from inside a zip file.
    I have found a few unzipping code samples which show how to handle a folder inside a zip file. An example is shown below:
    public static void extract(String workingDirectory, byte[] zipFile)
    throws Exception {
    ByteArrayInputStream byteStream = new ByteArrayInputStream(zipFile);
    ByteArrayOutputStream out = new ByteArrayOutputStream();
    ZipInputStream zipStream = new ZipInputStream(byteStream);
    ZipEntry zipEntry = null;
    String nameZipEntry = null;
    byte[] contentZiphttp://forum.java.sun.com/post!default.jspa?forumID=31#
    Click for code tagsEntry = null;
    boolean isDirectory = false;
    int indexFileSeparator = -1;
    String directory = null;
    String fileName =  null;
    while ( (zipEntry = zipStream.getNextEntry()) != null )
                nameZipEntry = workingDirectory + File.separator + zipEntry.getName();
                isDirectory = zipEntry.isDirectory();
                if (isDirectory) {
    File file = new File(nameZipEntry);
    file.mkdirs();
                else
                    // read zipEntry
                    byte[] buf = new byte[1024];
                    int c = 0;
                    while ( (c = zipStream.read(buf)) != -1)
                        out.write(buf, 0, c);
                    indexFileSeparator = nameZipEntry.lastIndexOf(File.separator);
                    directory = nameZipEntry.substring(0, indexFileSeparator);
                    fileName =  nameZipEntry.substring(indexFileSeparator+1,nameZipEntry.length());
                    FileSystemTools.createFile(directory, fileName, out);
                    out.reset();
                    zipStream.closeEntry();
            zipStream.close();
            byteStream.close();
    }The code sample which deals with the part where the zipEntry is a directory creates a directory with the same path and name. (highlighted in bold)
    Another similar variation is:
    File file = new File(dirDestiny.getAbsolutePath() + File.separator + zipEntry.getName() );
    if(zipEntry.isDirectory())
          file.mkdirs();When the code creates a directory for the folder, does it unzip the contents inside the folder as well?
    If not, how do I extract the files inside the folder?

    Have you already tried to see if the sample code you downloaded works or not? Maybe if you try out the code yourself you can see if it extracts files from a directory within a zip file?
    I like to use pkzip. It is a command line compression/uncompression tool that can be used from a batch file. If you assignment involves unzipping large amount of zip files on a regular basis, I recommend taking a look at pkzip.

  • How do I set itunes to be my default player for every file that I have (VLC is my default player now)

    How do I set itunes to be my default player for every file that I have (VLC is my default player now)

    Mac OS X: Double-Clicking a File Opens the Wrong Application - http://support.apple.com/kb/TS2291
    -= Changing the application used to open all files of a certain kind (written with reference to OSX 10.4 but may not have changed) =-
    1) In a Finder window highlight a file of the kind you want to change the application to open that kind of file.
    2) While that file is highlighted, select File > Get Info or press command (apple or propeller icon) + i to get a file information window.
    3) In the lower part of the info window there is an "open with" menu with a list of applications.
    4) If your application is already in the box then it is the default application for opening that kind of file and you don't need to do anything more.  Close the get info window.
    5) If the application showing in the menu is not the one with which you wish to open the file then select a new application. If your application does not appear there then select the "other..." and track down the application (usually in the Applications folder at the main level of the computer).
    6) If you wish to change all files of this type to open with this application in future, make sure the "change all" button is selected.
    7) Close the get info window.

  • HT2523 how do you change the format to plain in textedit for macmini os x 10.6.8

    i dont know how to change my textedit format to plain i have looked it up on multiple websites and i still cant find out how to do it

    Choose that option from the Format menu, or change the default setting in TextEdit's preferences.
    (74620)

  • How the external system will talk to ECXpert 3.5 for transfering files via HTTP SSl?

    We are using ECxpert3.5 on Solaris box. One of our Trading Partner want to communicate through HTTP-SSL and we are doing XML/EDI mapping. Could you guide us what steps we need to take care to implement this.
    How the external system will talk to ECXpert for transferring files. (We need the syntax for the URL). How ECXpert will receive XML file through HTTP-SSL protocol from External System and file submittion.
    Please send is there any other document which explain about. Thanks in advance for your help. [email protected] or [email protected]

    Hi Steve,
    You can bring the GRC framework to a state equivalent to a raw install by following options:
    Option 1.) You should have a base-line backup before GRC installation. If so then apply that base-lin backup and deploy GRC components. If there is no base-lin backup, then
    Option 2.) Uninstall and re-install J2EE and then follow up with rest of the installation process. If you don't want to go through re-install process, then
    **Correction to Option 3**
    Option3.) SAP is in process of creating a SAP Note for Delete script, Instead of delivering Delete Script script via OSS message.  Will update you as soon as the Note gets released.
    Please refere to Note # 1416728 to Manage your deletion in RAR 5.3 SP10.
    Hope this helps.
    Best Regards,
    Sirish Gullapalli.

  • How to get built.xml for ear file in jdeveloper?

    Hi,
    I am using JDeveloper to create EAR file for my ADF Fusion Application. I think Jdeveloper use ant to create EAR file. I know how to get built.xml for my war file.
    Can anyone tell how to get that built.xml that create EAR file in Jdeveloper.?

    This blog explains:
    http://adfhowto.blogspot.com/2011/03/ojdeploy-deploying-adf-application-from.html
    Based on the blog, I simply copied an existing project "deploy" target definition and augmented the project's build.xml with a new target "deployApp" that omits the Project parameter to ojdeploy. This causes ojdeploy to build the workspace-level deploy profile instead. I also omitted the output directory parameter (default is app's /deploy folder) and assume that there is only one application deployment profile (i.e. the default for profile parameter is the '*' wildcard). You can augment the build.properties file if you need to get fancier than that.
    <target name="deployApp" description="Deploy Complete YourFoo Application"
    depends="init">
    <taskdef name="ojdeploy"
    classname="oracle.jdeveloper.deploy.ant.OJDeployAntTask"
    uri="oraclelib:OJDeployAntTask"
    classpath="${oracle.jdeveloper.ant.library}"/>
    <ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
    executable="${oracle.jdeveloper.ojdeploy.path}"
    ora:buildscript="${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"
    ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml">
    <ora:deploy>
    <ora:parameter name="workspace"
    value="${oracle.jdeveloper.workspace.path}"/>
    <ora:parameter name="profile"
    value="${oracle.jdeveloper.deploy.profile.name}"/>
    <ora:parameter name="nocompile" value="true"/>
    </ora:deploy>
    </ora:ojdeploy>
    </target>

  • How to include attachments to the standard PO approval notifications attachments.zip file?

    Hi,
    Oracle EBS 12.0.6 and 12.1.3
    Following the ML Note Adding an Attachments Table Using Personalization [ID 790344.1], I have added an attachments table to the PO Supplier Change Request page. I am able to upload attachments and can see them in the tables. How can I include these attachments in the workflow notifications? When the notifications are received, PO pdf is attached and an attachments.zip file is included with other attachments but not the ones that I have uploaded using the new attachments table.
    To find how Oracle is able to attach files to a single zip file, I searched for "ZIP_ATTACHMENT" keyword in dba_source table and found it is being done in the APPS.PO_COMMUNICATION_PVT.GENERATE_PDF_BUYER package procedure.  Do I have to modify this procedure or is there a less invasive way, which is upgrade proof too?
    Thanks.

    Hi,
    Oracle EBS 12.0.6 and 12.1.3
    Following the ML Note Adding an Attachments Table Using Personalization [ID 790344.1], I have added an attachments table to the PO Supplier Change Request page. I am able to upload attachments and can see them in the tables. How can I include these attachments in the workflow notifications? When the notifications are received, PO pdf is attached and an attachments.zip file is included with other attachments but not the ones that I have uploaded using the new attachments table.
    To find how Oracle is able to attach files to a single zip file, I searched for "ZIP_ATTACHMENT" keyword in dba_source table and found it is being done in the APPS.PO_COMMUNICATION_PVT.GENERATE_PDF_BUYER package procedure.  Do I have to modify this procedure or is there a less invasive way, which is upgrade proof too?
    Thanks.

  • The document i download from OTN is a 29k-zip file,why?

    I try to download the OWB,but the document i downloaded from OTN was 29k-zip file. I have registed ,and I have try many times ,why?

    No. You would require a PC in order to run the executable which is an installer, not a disc image or an archive.

  • The background setting at the top of my Firefox page is too busy (beach scen) to read the tabs. How can I get just a simple plain background instead of the tropical beach scene?

    A cannot read all the tabs because the tropical beach scene background at the top of my firefox screne is too busy with dark objects like palm tree trunks. How can I change the screen background so I can read my tabs more easily?

    You can revert to the Default theme (Tools > Add-ons > Themes).
    See [[Using themes with Firefox]] and http://kb.mozillazine.org/Themes (Lightweight theme)

  • How to open document from mac when using windows without transferring the file?

    How can i open a document from mac when i am using windows without transferring it?

    depend on the document program more then anything else really
    when ever I open a doc with word it make a history for undo and redo action file in the same dir
    with bootcamp you only have read not write access to the osx partition so it would fail to be able to create that file
    but if you can get word or whatever program you use to open the file not to place a temp file in the same dir
    or use a program which did not make any type of temp file or used a program where the temp file would be located elsewhere where you decide it would work file

  • How to move documents into a new folder in Pages for iPad

    I have several files in a folder in Pages on my, and want to move some of them into a new folder. How can I do that?  Thank you.

    copy two of them out into the "root" folder, make a new folder with those two, and then start moving the others in that you want to put together.
    Jason

  • How to set the defualt directory of where to look for a file to read

    I am reading a file from a servlet. I wanted to see where Tomcat would write the file if I didn't specify a path. The results surprised me. It wrote the file in: "C:\Documents and Settings\myusername\Start Menu\Programs\Apache Tomcat 4.1". So I looked through server.xml to see if perhaps this path was set there but didn't find anything. I right clicked on the "Start Tomcat" target to see its properties and there it was. There was a field "Start in:" and it contained the aforementioned path. I changed it to what I wanted but there has to be a way to set this in server.xml. How do I do this. my guess would be something like :
    "<Context path="" docBase="c:/theDefaultDirectory" debug="0"/>", but this didn't work. Any light on this subject would GREATLY be appreciatted,
    silas

    Well, actually, it opens file where the process is currently located on your fileSystem. since you seems to be using windows, the process is started in the directory written in the "Starts In" field. Now you could use the command line (the ugly MSDOS like window), go to some directory and starts the tomcat process from there, and the files would be created in that place.
    The docBase tells where tomcat should look when looking for pages (html jsp, etc...). If you want to use it, you can still refers to it as :
    new File (yourServlet.getServletConfig().getContextPath("/myfile.txt"))Another track to check would be to look in the System.getProperties. There has to be some property that gives the current JVM path, try to change it to the location you'd like it to be and see if it conforms to how you'd like to see it works.
    Still, remember that you can have multiple Context in your servlet container, so there's no reason for tomcat to set the JVM default path to the docBase from one or another (File is a global JVM utility, not a J2EE only feature !!).

Maybe you are looking for