Adding current chapter in header

hi
i have made the chapter headings in a document to be a "Heading" style so i can automatically build a table of contents
is there a way by which i can insert a field into the header of the document that displays the chapter that each page belongs to? i guess that would be showing the first text on the page that is formatted as Heading, or if there is no such text on a page, showing the previous Heading text.
alternatively, does adding a section break change the headers for that section? doesn't solve my problem, but might be a compromise.
thanks, J

Hi Sanjay,
This is what I can think off at the moment without the run date.
For this solution, we need to store the value of sequence number. It can be a table or a property file.
Lets assume it is a table.
When you get the flag as Y for the initial load, you go and check the table if date exists already. If not, then you populate the current date and assign number 1 to the entry. This will happen for the initial load. When an incremental load happens, you go with current date and refer this table, if it matches, get the sequence number and populate in the data. So the incremental load will pick the value 1 on the first day's run
Your query is not clear if initial load will happen again the next day.I assume it is not going to happen daily which looks logical to me.
Now on the interface run the next day.
When an incremental load happens, you go with current date and compare with date in the table.it will not match, then update the number as n+1 and read the number and populate in the target side.
Simple!
Now coming back to how you can implement this solution. It can be done by an RFC call. The table can reside on ABAP stack of PI or ECC.
Hope it helps!
Ambrish

Similar Messages

  • Help adding current Date and Time stamp to file name

    I need help with my script adding current Date and Time stamp to file name.
    This is my file name = myfile.htm
    I would like to save it as = myfile.htm 8/29/2007 11:41 AM
    This is my script:
    <script>
    function doSaveAs(){
         if (document.execCommand){
              document.execCommand('SaveAs','1','myfile.htm')
         else {
              alert("Save-feature available only in Internet Exlorer 5.x.")
    </script>
    <form>
    <input type="button" value="Click here to Save this page for your record" onClick="doSaveAs()"
    </form>
    Thank you

    I agree, I guess I overlooked that!
    I would like to save it as = myfile 8/29/2007 11:41 AM .htm
    I need help with my script adding current Date and Time stamp to file name.
    This is my file name = myfile.htm
    I would like to save it as = myfile 8/29/2007 11:41 AM .htm
    This is my script:
    <script>
    function doSaveAs(){
    if (document.execCommand){
    document.execCommand('SaveAs','1','myfile.htm')
    else {
    alert("Save-feature available only in Internet Exlorer 5.x.")
    </script>
    <form>
    <input type="button" value="Click here to Save this page for your record" onClick="doSaveAs()"
    </form>

  • Any way to override adding hidden chapter?

    Hi, I'm new to Encore (had it one day).
    My first DVD showed something unexpected and annoying to me, which apparently is a "feature" added to Encore 2.0. I made a simple DVD with a single title ("timeline" in Encore speak) and set it's end action to jump to the first chapter of the same timeline. It seems that instead of doing that Encore added an extra chapter at the end with a chapter end action. See this previous thread:
    jbowden, "Encore 2.0 adds an empty chapter??" #1, 27 Feb 2006 12:11 pm
    This is a problem for me because I am making DVDs to use with Pioneer's industrial DVD players (ie: DVD-V7400) and those players will not play a chapter that is too close to the end of the disc.
    My video clip is exactly 108900 frames and contains a chapter 2 mark 5 seconds before the end. I can not have an end action on chapter 1. The disc must play through the chapter 2 mark for at least a couple of seconds. Encore is adding an extra 12 frames and calling it chapter 3.
    In the past I have exported MPEG-2 clips from Premiere and transfered them over my LAN to a Mac with DVD Studio Pro, where I authored the DVDs. I never had problems with the resulting discs, which only contained the 2 chapters, and had a title end action to jump back to chapter 1. I wanted to simplify my workflow and decided to buy Encore, figuring it was a professional grade authoring program.
    Has anybody found a way to disable this "feature"? Or to adjust how many frames are added by it to the additional chapter? Besides the annoyance of the disc being created differently than I specified, it is causing me a problem because these Pioneer industrial players will not play a chapter that is shorter than 15-20 frames at the end of the disc. The chapter being added by Encore is 12 frames (at least it was on the disc I created).
    If I could adjust the number of frames it adds, to make it say 20 frames instead of 12, then the "feature" would actually function for me. As it is this "feature" is breaking my disc and making it not do what it is intended to do. Of course I would rather just disable this "feature" and have the disc created the way I told it to.

    I haven't done any real experimenting yet. I had other things to get done today so I thought I'd ask about it here while working on those. I'll try some experiments over the weekend. I'm sure I can make it work by adding another chapter 20 frames or so before the end of my clip and having a chapter end action jump from there. But it just seems silly to have to do workarounds like that to get around this "feature". I was hoping there would be a way to turn it off or adjust it's size rather than to add more chapters on top of an extra one already.
    I burned 5 copies of that project for use in a multi-channel DVD synchronizer that I manufacture, and in this specific case I don't need the jump to work. I added it to this project because most discs I make will need it and I wanted to test it out. So I'm OK for today on this project, but next week I'll be making more projects, some of which must have working end jumps.

  • Is there a limit to amount of code that can be added to the HTML Header?

    I've got several javascript functions in the HTML Header section of the page attributes. I recently added another function and now receive an HTTP 404 Not Found error at runtime when navigating to the page. When I remove the function the error is gone. I don't think there is anything wrong with the function because even when I copy and rename an existing working function, this error occurs...as if I've exceeded some size limit. Any ideas?

    I now have a better understanding after reading this thread: Javascript as static file or on filesystem?
    As the post indicates, there are essentially two ways of including a .js file:
    1) upload as static file to the workspace or application and refer to it using the #APP_IMAGES# or #WORKSPACE_IMAGES# tag.
    2) put it on the webserver as a file on the filesystem under the images directory and refer to it using the #IMAGE_PREFIX# tag.
    For now (since I don't have permissions to the file server directory) I have created a .js file and uploaded it as a static file in Shared Components. I referenced the file as below, but when I go the page at runtime, none of my functions are being utilized. Is it because the web server is not using this static file yet because of caching? Does it need to be restarted in order to start using the uploaded js file?
    <script type="text/javascript" src="#WORKSPACE_IMAGES#apex_selection_criteria_page.js">
    </script>

  • Adding Date to Column Header

    Hi
    I'm having some issues getting a date into a column header for a tab report I am creating.
    this thread
    Re: sysdate in region header
    suggested using a hidden item and having a pl/sql function body and including the item in the header.
    So I set the Column title up with "Outdoors <br> &P1120_DISPLAY_DATE"
    In the item source I set
    begin
    :P1120_DISPLAY_DATE := sysdate;
    end;
    However I end up with a syntax error message when the page starts to draw ...
    ORA-06550: line 1, column 27: PLS-00103: Encountered the symbol "BEGIN" when expecting one of the following: ( - + case mod new not null avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date pipe
         Error      ERR-1020 Error in PLSQL item processing (function).
    When I just use sysdate as a test method ( no additional pl/sql) the error goes but the item does not appear to be set. In the Column title I get the item name not the value.
    I wanted to have the column set to Outdoors <br> 12-Mar-05
    Appreciate some guidance on this one.
    Stephen

    Thanks Denes
    That sorts the item out but I can't get it into the column header.
    My item is called P1120_Display_date.
    I have the report column header set to Custom , and the code in the header is
    Col1 < b r > &P1120_Display_date
    and apart for doing the line break thats how it displays. I'm sure its possible I just can't seem to get it.
    Cheers
    Stephen
    Message was edited by:
    StephenP

  • Adding "next chapter " functionality to menus ?

    Is there a way direct the next and previous chapter buttons on a MENU to another menu or track? (not the arrow keys!)
    WMP dosent seem to recognise transparent buttons with the mouse, and it dosent include arrow keys for navigation..
    Its tough as Im building a "power point style" presentation and trying not to junk it up with buttons.
    Oddly enough, Apple's DVD player seems to have simmilar problems, even though they work fine in the simulator.
    Personaly I think it would be nice to add this functionality, as on many dvd players the chapter forward and back buttons are more easily found than the arrow keys. So if nothing else, just used for redundancy and added functionality.
    Thanks!
    - Ty

    The problem occurs when invisible buttons are not detected by software players. (WMP) Visible ones seem to work.
    So, "Click anywhere on the screen to proceed" does not work. And it looks like the answer is to just add visible buttons to everything. If chapter forward worked, it would solve this. Is there any way it run using a script?
    This works great on a $30 hardware dvd player, just wish I could get everyone to use it on one. But that just isnt going to happen.

  • Display Current Date on Heading Title (TTITLE)

    I am using sql*plus to write a report. I would like for the current date (and time if possible) to be displayed in the title of my report (TTITLE.) It appears that I'm supposed to use a system variable called, _DATE, but I'm not sure what to do.  I'm running sql*plus v.10.2.
    Here is my code. How can I include the current date to be displayed in the "RIGHT" side of the TTITLE heading?
    TTITLE ON
    TTITLE LEFT 'MY COMPANY' CENTER 'Weekly Invoice Totals for Cost Center: 10 - MANAGEMENT' RIGHT 'Date: '
    set pagesize 66
    set linesize 120
    set wrap off
    column vendor_name heading 'Supplier' format a40
    column invoice_num heading 'Invoice Number' format a30
    column invoice_amount heading 'Invoice Amount' format 999,999,999.99
    set underline =
    compute sum label TOTAL of invoice_amount on vendor_name
    break on vendor_name skip 2
    SELECT
    po_v.vendor_name,
    ap_inv.invoice_num,
    ap_inv.invoice_amount,
    FROM
    ap.ap_invoices_all ap_inv,
    po.po_vendors po_v,
    WHERE
    ap_inv.vendor_id = po_v.vendor_id and
    ap_inv.creation_date > SYSDATE-10;

    Hi,
    Define a substitution variable, then use that variable in your TTITLE statement:
    COLUMN     report_date_col     NEW_VALUE  report_date
    SELECT     TO_CHAR ( SYSDATE
              , 'DD-Mon-YYYY'
              )     AS report_date_col
    FROM     dual
    TTITLE LEFT 'MY COMPANY' CENTER 'Weekly Invoice Totals for Cost Center: 10 - MANAGEMENT' RIGHT 'Date: &report_date' SQL*Plus can't execute functions (like SYSDATE).
    To get function results into a substitution variable, you can use the COLUMN ... NEW_VALUE command, as shown above, then call the function in a query.
    Note that both the substitution variable and the title are static. That is, if you include the hours-minutes-seconds in the format, and run the SELECT statement at 17:00:00, then execute the TTITLE command at 17:00:05, and run reports at 17:01:00, 17:02:00 and 17:03:00, the title on all the reports will say 17:00:00.

  • PO - adding field in VA03 header - order data

    Hi all,
    i am facing some problem to find out the user - exits, 
    in VA03 - header - order data    i added a text field in that Order data tab , and also i appended a field ZZSCON in VBKD
    where should i add the code to insert the text field in the DBtable(VBKD)
    Edited by: vijay krishna on Jan 3, 2008 10:34 AM

    Hello,
    Maybe you can try searching for the user-exits in standard code. Debug the transaction and set breakpoint in desire statements.
    Breakpoint --> Breakpoint at --> Breakpoint at Statement
    and then here write: CALL CUSTOMER-FUNCTION
    Then pressing F8 it will go directly to the next breakpoint (next user-exit in standard code). Verify that you have access to your customer field in user-exit parameters.
    I hope it will help you.

  • Adding Encoding in XML header without mapping

    Hi Gurus,
    I am stuck in a situation where in a pass through scenario, I need to add encoding type in XML header.
    Below is example -
    Current Situation - <?xml version="1.0"?>
    Expected result -  <?xml version="1.0" encoding="UTF-8"?>
    Can anybody help me in this regard? how to achieve this?
    Regards
    Vidhi S

    Hi Vidhi
    Use it in the below way in the receiver adapter.
    Module name: AF_Modules/XMLAnonymizerBean
    Parameter name: anonymizer.encoding
    This will work. I have tested already.

  • Adding 7th Chapter Button

    Hello,
    I created a series of slideshows in iDVD, each of which is represented by a chapter button on the menu. I know that I'm supposed to be able to have up to twelve chapters, but when I go to add the 7th button (there will be 7 or 8 slideshows total), it simply gets added to the first and only chapter menu, and crowds the menu. What I would like to have is the little arrow button that will take you from Chapters 1-6 on the first page, to Chapters 7-8 on the second page, and then the second page would have an arrow to take you back to the first page.
    In other words, shouldn't iDVD automatically create a second chapter menu page when I add the 6th, 7th & 8th chapter (slideshow) buttons, rather than cramming them all into one page? I'm using the "Shelves" theme and the shelves only hold three buttons each (six per page).
    Thanks for your help.

    iDVD6 doesn't deal well with overload. It's a consumer app. As such it has presumed settings and calculations. It can't be all things to all people .... no way.
    On the other hand, as your stated your objective:
    What I would like to have is the little arrow button that will take you from Chapters 1-6 on the first page, to Chapters 7-8 on the second page, and then the second page would have an arrow to take you back to the first page.
    I can do this no problem within DVDSP .....works like a charm!

  • Adding tabs at the header

    Hi Experts,
    I have added some tabs at the header  for Order,Order from Template and Order Template. Problem I am facing is when I am clicking on those tabs it is working fine everywhere except when I am in catalog page.
    Has anybody faced the similar issue. Please advice on this.
    Thanks in anticipation.
    Regards
    Harshmeet Singh

    Hi,
    I have added tabs for Order,Order from template and OrderTemplate in header.jsp which are in the form of links in welcome.jsp. I am not able to go back to any of the pages from catalog page. It is giving an error at the bottom of the page saying location is null or not an object.But the same links are working if I am in any other part of the web shop.
    @Arshi
    Thanks for your input. Will work on it and will let you know if I still face any issues.

  • Adding arbiitrary chapter markers

    I have a timeline for export from FCP to DVD SP and I have added 5 chapters just for viewing or FF purposes, in other words these do not lead anywhere. Can I just add chapter markers without adding compression markers.
    Thanks
    Jeff

    The reason I am inserting these chapter markers is basically for the viewers convenience. what I mean is they go to a specific chapter (usually sequentially in the timeline) but do not have a chapter button on a menu. These chapter markers can only be accessed using the remote for the DVD player. The FF I was referring to meant FAST FORWARD.
    Now the reason for my posting was to refresh my memory as to if I am inserting chapter markers in this fashion, when in FCP (Final Cut Pro) do I need to make both chapter marker and compression marker.
    Thanks

  • Adding port in http header information??

    I have a standard HTTPS to HTTP conversion going through a CSS 11506. The CSS terminates the SSL and then passes the cleartext traffic to the backend server via port 8011. The backend server receives this traffic on port 8011 but the http header does not specify port 8011 at the end of the url (e.g. http://mywebsite.com:8011/content but only passes through http://mysebsite.com/content). The backend server thinks this traffic has come in on port 80 and reports a 302 error (redirect). Is there some way the CSS can add the :8011 port number into the http header for all traffic bound to the backend server?
    Many thanks,
    Frank

    No, there is no way to add the port to the host info.
    You can run 2 different instances of the server - each one on its own port - so they don't need to verify the port inside the http request.
    Gilles.

  • Adding current date to text field w/ Javascript in Acrobat 8

    I am trying to add the current date to a text field using javascript in Acrobat 8 Professional. I am using the util.printd function in a javascript function but the date of creation shows in the text field, NOT today's date. Any clues??
    var f = this.getField("myField");
    if (!f.value) f.value = util.printd ("m/d/yyyy", new Date());

    Thanks. I've used it also without the empty value check and had the same result of showing the creation date and not the current date.

  • Adding image in the header?

    hi
    I would like to know how I could add an image in the report on the left hand side of the header section.
    And do I need to include the image in the path or where?
    Please help me out
    Thanks

    Go to file import images and import the image and then place it adjust to the size you want thats it.
    Cheers
    Rao

Maybe you are looking for

  • Lightning to SD Card Camera Reader OR Lightning to USB Camera Adapter?

    I should buy one or the other for a Nikon D3100 since they are sold separately nowadays. Which is the best choice? Considering the (not so good) reviews for both of them, I have the impression that the USB camera adapter is more universal and less pr

  • Trouble connecting to PC by name

    Hi I am trying to use Remote Desktop Connection to access a Windows XP Professional PC. I recently found out that I can get in by using the IP address. However, if I try to identify the PC by name, the program returns a message saying I may not have

  • Attr changes runs for  all Infoobject in a process chain

    Hi, I have a process chain for the master data ( ATTR, TEXT and HIER),I want a Hierarchy/attribute change run like a last process in my chain and actives all the InfoObject and Hierarchy. How can I carry out the structural changes for all InfoObject

  • Latest price of a material

    i want to know  the table where latest price of a material is updated irrespective of material whether it is internal material or mpn material. plz give me reply as soon as possible. prasad.

  • Delivery Completed indicator of Production Order

    Dear Experts, I met a problem. Our production order goods receipt is in the last operation with a automatic 101 goods movement control key. I found that the production orde qty. is 8. And in some operation do scraping. The scrap qty. is 1. And at las