Remove header/footer/concatenate?

Hi All,
I'm new to the PI developmental game and am just back from a couple PI classes. I have been tasked with the following as my first developmental challenge and am really not sure where to start. Hopefully someone can point me in the right direction to get this one solved.
I'm currently working on a process that allows our customers to query the location of their product during shipment.
We receive flat text file updates from the shipping company 4 times a day and sometimes in multiple files.
Each file contains a header of undetermined rows and character length
Each file contains a footer of undetermined rows and character length
The file we receive is a text file that is not tab delimited and not in csv format.
The needed data resides between header/footer and has only 3 constants
Constants: the first 10 characters are the individual truck identifier name and as imagined are all unique alpha-numeric
                  following the rail car identifier is the date in YY/mm/dd format
                  the last constant is another date at the 40th character in YY/dd/mm format
I need to strip the header/footer and only keep the needed data in between. I also need to concatenate the messages (if there are multiples) in our inbound directory into a single file for outbound after processing.
My idea for processing is to use the truck name length (with a requisite entry length of 10 characters) that must be followed at the 11th character by a valid date in YY/mm/dd format. Using a rule of a requisite valid date at character 40 would further strengthen the guarantee of needed data delivery while further strengthening the removal of the header/footer/unneeded data.
Does this sound like a rational plan  and if so does the content conversion have to take place in the file adapter? Inbound or outbound? How to concatenate these files into one?
Any help would greatly be appreciated!
Don

Hi Donald,
For PI to receive the file you need to use the SENDER file adapter and you can use it with File Content Conversion.
Here are details how to use that: [help.sap|http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm]
and here is some more information on the same:
[more|http://www.riyaz.net/blog/xipi-file-content-conversion-for-complex-structures/technology/sap/79/]
For the concatenation it looks like you will need BPM as mentioned also by the others.
Kr
Robert

Similar Messages

  • Removing header/footer from CHM printout WITH code

    How can I remove the header and footer of a CHM printout (from the PRINT button) with HMTL code?
    I've tried adding this to the CSS style sheet but it doesn't work:
    <style type="text/css">
    @media print{
      body{ background-color:#FFFFFF; background-image:none; color:#000000 }
      #ad{ display:none;}
      #leftbar{ display:none;}
      #contentarea{ width:100%;}
    </style>

    This does the trick for WebHelp, so I won’t be surprised if it’ll work in CHM as well:
    @media print {
                    div#header { display: none; }
    Greet,
    Willam

  • Remover Header/Footer Preset when printing from Safari

    I just bought a MacBook Air and I've connected it to my wireless HP 8100 OfficeJet Printer. Anytime I print from safari it automatically prints the header and footer - how can I change this setting?

    You can change it by unchecking the "Print Headers and Footers" box at the bottom when you do:
    File > Print and click the "Show Details" box at the bottom.

  • How to remove Header and Footer from Flat File

    Hi,
    In a scenario , we are going to recieve a flat file which will contains header , footer and data. We have to have to load data in Oracle tables and remove header and footer.
    once the data load is complete , we have to delete flat file from source directory.
    Please help me in solving this issue.
    Thanks,
    Kamlesh

    You have a header parameter in the file datastore. You can provide any number to skip rows from top of the file. For footer you can create a filter in staging area.
    Filter coould be something like this.
    where source_alias.source_column not like '%FOOTER_OR_ANY_VALUE_AS_PER_YOUR_REQ'

  • Remove Header and footer from Word Docs

    Is it possible to remove the header/footer from Word docs?
    The html output from ctx_doc.markup gets the header/footer and (specialy)page numbers all messed up.
    []'s
    thanks

    Please define 'messed up'. I'll reproduce here and then try to find a cause/solution. I checked a couple of other forums and Metalink with no good discussion on the topic.
    -Ron

  • Remove header and footer from blank left-hand pages

    Are there any scripts to automatically remove header and footer on a blank left-hand page for an InDesign CS3 document? I have a book with many chapters and it would be more efficient than removing them by hand.

    It's a one liner from a much longer script that does quite something else -- this is merely a side effect, a quick way to get a page range (i.e., I need the range "251-256" to appear on my first page, excluding an optional blank last one) [*].
    Perhaps I could write a full script, but for that I need a bit more information. Is your document an InDesign Book, with each chapter in a separate document? If so, any empty frame on a last leftmost page can safely be deleted. If your book is in a *single* InDesign document, this line can only be used if a left hand page has *no objects at all* -- not even an empty frame. That's the easy case -- in English "if there are no objects on the page, apply the "[None]" master. If there *is* a frame, however, it cannot be removed right away, even if it seems empty. That's because in that case you probably have inserted a page break somewhere on the previous page, and if the frame is deleted, tht page break will push off the text on the *next* page (the right hand). It also depends on what kind of page break -- as a character or as a paragraph Keep Option; Next Page, Next Frame, Next Odd Page, Next Column. Way too complicated to script right off the bat.
    All in all, applying that empty master maually is much easier :-)
    [*] Sure, I know how to use the Next Page Number trick. However, I also need the range in my XML output, and the Page Number markers do not play nice when written out in ASCII.

  • Adobe Acrobat Pro 9 Header/Footer

    It is easy to add, edit or remove a footer on a PDF document.
    It is possible to add the page number, the date, or a text by the "Document - Header & Footer".
    My question is: Is it possible to include an AutoText in the footer of a PDF? I need the Filename in the text of the footer. Now, the only way I found is to manualy type all the differents file names but I have a lots of documents.
    How can I include the FileName on a foother of a PDF document and is it possible to easily apply this setup to hundreds of documents.
    Thanks in advance

    You could use the watermark feature to stamp the information

  • Acrobat 8.1.2 crashes when Document Header & Footer Add .. is invoked

    I'm running Acrobat 8.1.2 PPC on a PowerBook G4/1.67 Ghz running Leopard 10.5.4. I haven't used the page numbering function in quite a while, since before I upgraded to Leopard. Today I assembled a course packet of 150+ pages from 50 or so individual pdf documents. All was fine until I wanted to put a page number in the footer by invoking Document > Header & Footer > Add.... It either crashes Acrobat after putting a spinning system cursor (more frequently) or simply does nothing. I've tried "Examine" to remove things, but it doesn't help (and it removes bookmarks even when you tell it not to!). Running the PDF Optimizer on this document crashes Acrobat as well!
    Invoking Document > Header & Footer > Add.... on other documents does work. Let me stress that this composite document was created by Acrobat itself! The workaround I found was to open the document in Preview, do Print > Save as pdf, and *then* invoke Document > Header & Footer > Add....
    Has anyone else seen these problems? Are these remaining incompatibilities with Leopard? Advanced > Document Processing > Number Pages doesn't seem to add page numbers!

    I don't think it makes a difference. An Adobe engineer has confirmed that this doc has revealed a bug in both Acrobat Pro 8 and 9.

  • XMLPub 5.6.3: Data fields missing in Header/Footer

    Hello,
    I am having a problem with an RTF template, where the data fields in the
    template Header or Footer that should display data do not appear at all, while
    the fixed text that is in the Header/Footer is shown.
    This template is built with the start:body/end body syntax to separate
    the fields that belong to the Header/Footer from the body of the report. The
    body has a for-each@section that works fine and a split-by-page-break at the
    end, after the Footer fields.
    I played a little bit with the template and I found out, that:
    - if I change my template not to use the start:body/end body syntax, but I use
    the Header/Footer Word functionality with the explicit field names specified in
    the header or footer, the data fields will not be displayed;
    - if I remove the for-each@section, the data fields in the Header (before the
    start:body) and in the Footer (after the end body) are displayed correctly;
    - if I duplicate in my XML file one of the elements that are in the Header and I put it
    in the child group that is displayed in the repeating section and I add another data
    field in that section, it will display both in the Header and in the repeating section;
    This very template works fine on an E-Biz instance at another customer site, but
    only here it's showing this issue.
    It also looks like a different problem than the one caused by the Microsoft
    security update. In fact, I cannot not find any "/headerr" or "/ footerr"
    strings in the template RTF. (Anyway, is there a patch for version 5.6.3?)
    Can anybody shed some light on this strange issue? Any advice?
    I am using XMLPub Desktop 5.6.3 and MS Word 2000 9.0.6926 SP-3.
    If someone wants to have a look, I've prepared a small test example to show this weird behavior.
    Thanks,
    Paolo

    ashee1,
    Please refer XMLP User Guide Chapter 9. You need to define data definitions and upload the data template to DataTemplate filed.
    Create the Template Definition and upload your RTF Template.
    Create a Report Definition in Concurrent Program/Manager and set the executable as XDODTEXE. make sure the program short name is the same as Data Definition.
    Set the output type as XML and the OPP will pick your RTF Template.
    -Ashish

  • Header Footer tool replaces headers and footers in PDF

    The header/footer tool replaces the headers and footers in my PDF, this header and footer I am referring to was not added in Adobe but was added in Word 2010, when I tried to add an additional header to my PDF (I added a page number) it replaced the footers that was already in my document. The only way I could get around this is with adding a header instead of replacing, which is quick fix, but as soon as you add more pages to your PDF and want to re-apply the header/footer to update the page number that I added to the header it would remove ALL headers and footers from the PDF.

    I am having the same problem.  Here are the steps.  We created a series of documents in WORD 14.0.7143.5000 32 bit.  Each WORD document has a footer specific to that document (i.e. WORD documents are: Business Plan, Market Study, etc. which are each a separate WORD document, each with a separate WORD footer).  Each WORD document is converted to PDF with Adobe X.  The PDF documents are then combined into a single document with Adobe X.  Then with Adobe X we create a new footer (i.e. Document Package, with date, etc.) which is applied to each page of the Document Package.  So each page of the Document Package SHOULD have a Footer of : (1) On the Left Margin - the original WORD document (i.e. Business Plan) and (2) on the right margin - the footer inserted with Adobe X (Document Package footer).
    Here is where it breaks.  The WORD footers are retained when we convert from WORD to Adobe.  The WORD footers for each document are also retained when we combine the several PDF's into a single PDF (Document Package).  It is only when we add the Adobe Footer to the Document Package that we lose all the original WORD footers.  The result is the Document Package has only that one Document Package footer (on the right margin), and we lose each of the footers which were in the original WORD documents (left footers).  I tried this two ways.  First was to modify the footer, and the second way was to add a new footer - neither works - both delete the original WORD footers.  Also, it is interesting because the original WORD footers do not show up in the ADOBE footer box (the screen where you enter the text and other information for the footer).
    The use of the Watermark might be possible, and it is probably the work around we will need to use, but it is a poor solution.  Please let me know when fixed.

  • Pages 5.5 Header/footer alignment

    How to align text to the left in Pages 5.5 in all 3 boxes in header or footer?

    I've just found another solution:
    1. create 3 columns table in Pages 4.3
    2. input text in those 3 columns, make alignment whatever you like
    3. copy text from each cell of Pages 4.3
    4. paste text into each box of Pages 5.5 header/footer
    5. voilà

  • Report header/footer not getting displayed ondashboard

    We added deault header/footer to OBI reports as per the steps given in OBI Presentation services
    administrator guide (section 3: Administering Oracle BI Answers):
    By adding xml code as below under 'OracleBIData\web\msgdb\customMessages' folder
    <WebMessage name="kuiCriteriaDefaultViewElements" translate="no"><HTML>
    <view signature="compoundView" >
    <pageProps pageSize="a4">
    <pageFooter showOnDashboard="true" show="true">
    <zone type="top"><caption>Footer Text</caption>
    <displayFormat fontColor="#FF0000"/></zone>
    </pageFooter>
    </pageProps>
    </view>
    </HTML>
    </WebMessage>
    The 'Footer text' is coming in all new requests created, but when we add that request to a
    dashboard as embedded section, the footer is not displayed. Can anybody please provide some
    information that how we can get any customized text/link added in report footer to get displayed
    on the dashboard page.
    Thanks!

    Hi..
    yes, whatever the headers/footers you have mentioned in report will not be shown in dashboard..
    But if you mention the report link - download (don't specify headers/footers for dashboard at this time), when you download that report you can see the headers/footers in that report..
    But when you use download option for whole dashboard, you can't see those h/f s unless you mention the h/f s for the dashboard...
    This is expected, because when user download the dashboard he shouldn't see the 2 h/f s.
    So, you need to mention the print pdf s in edit dashboard.
    Hope it's clear..
    Thanks & Regards
    kishore Guggilla

  • I have 5 html pages that share a common header, footer, and sidebar. how do i use my nav bar to change the content of the body without duplicating a lot of code?

    i have 5 html pages that share a common header, footer, and sidebar. how do i use my nav bar to change the content of the body without duplicating a lot of code? thank you!

    i inherited the website. It’s for a non-profit and is not very
    sophisticated, and neither am I in webdesign. It currently has multiple
    pages that are identical except for that body section, so whenever i change
    the navigation (in the sidebar) I have to update every html page.  I want
    to have one basic page, and just call in the different body content based
    on the link the user selects from the nav bar. How can i do that using a
    script? i am using Dreamweaver.
    ~ in love and light ~
    Jeannie
    On Sat, Feb 7, 2015 at 4:07 AM, Ben Pleysier <[email protected]>

  • Why is my header/footer missing when I mail merge in Word 2013?

    I have just converted from Word 2007 to 2013 and now I am having an issue with my mail merge document. My mail merge document has our company letterhead set up in the header/footer. When I finish the mail merge by selecting 'Edit Individual Documents' using
    an Outlook contacts list - the first page is missing the header/footer but all the others are correct. 
    I use this document and mail merge every few days so this is going to cause me much grief if it can not be resolved.
    I have never experienced this issue before and I consider myself an advanced Word user.
    Has anyone else had this issue and knows how to fix it?

    Hi,
    According to your description, my understanding is that the first page of the Word document lost
    the header/footer, but the other page display well.
    If it is, please try the methods and check if it is helpful:
    Click on File>Options>Display and make sure that there is a tick mark in the box for "Show white space between pages in Print Layout view."
    Then, do you use DOC file (Create in Word 2007) or DOCX file?If
    you use Doc file, I recommend you convert it to DOCX file to test.
    If I misunderstand something, please let me know.
    Regards,
    George Zhao
    TechNet Community Support

  • Why is my header & footer cut off by Dreamweaver?

    Greetings. I would highly appreciate any help in resolving this issue.
    I created a website using dreamweaver. Upon publishing it, I noticed that the header, footer, and sidebar have been cut off. I have an image in the header and footer, and only 1/4 of the image is showing on the website.
    Furthermore, the second part of the sidebar, starting with the black area is supposed to extend all the way down to the bottom of the page (right on top of the footer), yet only about 1/4 of that is showing as well.
    please  let me know what I can do to resolve this issue.
    http://www.ziyah.com/
    Thank you in advance.
    if it helps, the following is my code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Ziyah.com</title>
    <!-- TemplateEndEditable -->
    <link href="../twoColLiqLtHdr.css" rel="stylesheet" type="text/css" /><!--[if lte IE 7]>
    <style>
    .content { margin-right: -1px; } /* this 1px negative margin can be placed on any of the columns in this layout with the same corrective effect. */
    ul.nav a { zoom: 1; }  /* the zoom property gives IE the hasLayout trigger it needs to correct extra whiltespace between the links */
    </style>
    <![endif]-->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <style type="text/css">
    .ziyahED {
        display: block;
        width: 150px;
        margin-right: auto;
        margin-left: auto;
    h1 {
        font-size: 50%;
    h2 {
        font-size: 50%;
    h3 {
        font-size: 50%;
    h4 {
        font-size: 50%;
    h5 {
        font-size: 50%;
    h6 {
        font-size: 50%;
    </style>
    </head>
    <body>
    <div class="container">
      <div class="header">
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p><!-- end .header --></p>
      </div>
      <div class="sidebar1">
        <ul class="nav">
          <li><a href="../index.html">Home</a></li>
          <li><a href="../classiccollection.html">Classic Collection</a></li>
          <li><a href="../peaceblossom.html">Peace Blossom</a></li>
          <li><a href="../colorsoflove.html">Colors of Love</a></li>
          <li><a href="../fruitgarden.html">Fruit Garden</a></li>
          <li><a href="../policies.html">Policies </a></li>
          <li></li>
        </ul>
        <p> </p>
    <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
      <!-- end .sidebar1 --></div>
      <div class="content"><!-- TemplateBeginEditable name="Page Content" -->
        <h1 align="center">Welcome To Ziyah Jewelry Boutique</h1>
        <p align="center">  </p>
        <p align="center">A decadent collection of jewelry that will make you feel elegant awaits you.<br />
          <br />
          Classic colors and modern styles are brought together to create jewelry that is romantic, sexy, and<br />
          stunning.  <br />
      <br />
          Treat yourself to a gorgeous piece to wear for a party, special evening, or accent a sophisticated <br />
          look. Jewelry by Ziyah is destined to heighten the loveliness of any outfit for those moments you <br />
          want to look extra special. </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"><img src="../images/Ziyah_GiftBox2.jpg" width="290" height="376" alt="ziyah giftbox" /></p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center">Free Shipping on all orders in the U.S.A.</p>
        <p align="center"> </p>
      <!-- TemplateEndEditable --><!-- end .content --><img src="../images/ZIYAH_ED.gif" alt="ziyahed" width="150" height="25" class="ziyahED" /></div>
      <div class="footer">
        <p> </p>
        <p> </p>
        <p> </p>
        <!-- end .footer --></div>
    <!-- end .container --></div>
    </body>
    </html>

    In the header, you have your image as a background image.  A BG image does not change the height of the container, so the only thing that is giving your height is your use of
    <p></p>
    which is not the correct way to go.
    Set a new rule in your .header for a min-height of however large your background image is, that is will solve the header/image issue.
    In the side nav, change the background color to your menu color, see if that solves your problem, if not a better option would be to use a faux column, you can read about them here.
    http://www.paulgdesigns.com/faux-columns.php
    Your footer you have the image set to 25 px in height, and that appears to be what you are getting.
    Gary

Maybe you are looking for

  • ((  BLOB IMAGE  *NOT*  being saved !  ))

    Hello, I am new to APEX. I am working with the SAMPLE APPLICATION that comes with the free APEX.ORACLE.COM account. I am creating 2 pages similar to the PRODUCTS report and the PRODUCTS form. (Page 3 and PAGE 6) I am creating my own table and my own

  • E mail attachments showing entire text instead of just an icon

    can some tell me where to find the settings to keep the attachments in an email as just the icon not the entire text showing in the body example - when I attach a PDF article to an email the entire text shows in the body instead of just the icon - HE

  • English version of Firefox in China

    I am an English speaker working and living in China. I just updated firefox (while on my VPN) for Windows 7 to Firefox 24 English version and I am now somehow running the Chinese version. I have uninstalled and reinstalled multiple times and checked

  • ORACLE performance monitor

    Hi All, Please advice me for the ORACLE system performance Monitor. Client asl us that they are facing speedy issues every morning over the past fortnight with our SEER reports in business objects where the pages are taking a long time to access or r

  • Sync Firefox on iPad with iMac

    I'm having a problem with getting new Firefox (24.0a2 - Aurora) bookmarks onto my iPad. I suppose this is a "sync" problem, but please let me know if I'm wrong.) I have a number of new bookmarks in a new bookmark folder on my iMac Firefox. My iPad, w