HTML TOP header is not shown in mail

Hi
I've an ALV for sending a list thru mail correctly,  but when user open it HTML top header is not shown
FM
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      i_callback_program          = sy-repid
      i_callback_html_top_of_page = 'HTML_TOP_OF_PAGE'
      i_structure_name            = 'ZMMALV_01'
      it_sort                     = gt_sortinfo
    TABLES
      t_outtab                    = it_data01.
FORM html_top_of_page
text = 'Time : '.
  CALL METHOD top->add_text
    EXPORTING
      text         = text
      sap_emphasis = 'Strong'.
  CALL METHOD top->add_gap
    EXPORTING
      width = 6.
  text = sy-uzeit.
  CALL METHOD top->add_text
    EXPORTING
      text      = text
      sap_style = 'Key'.
  CALL METHOD top->new_line.
Thanks in advance.

Hi,
Use the concept of Events.
I am giving you one of my requirement to show date and title on the ALV report.
Here it is:
Add this event in your report.
*--- Add events for the List
  wa_event-name = 'TOP_OF_PAGE'.
  wa_event-form = 'TOP_OF_PAGE'.
  APPEND wa_event TO it_event.
call function 'REUSE_ALV_GRID_DISPLAY'
  exporting
    i_callback_program       = sy-repid
    is_layout                = it_layout
    it_fieldcat              = it_fieldcat
    i_default                = 'X'
    i_save                   = 'A'
    it_events                = it_event
  tables
    t_outtab                 = it_outtab
  exceptions
    program_error            = 1
    others                   = 2.
After that use the 'TOP_OF_PAGE' event.
But make sure use the name of event as it is, otherwise it will give error to you.
*&      Form TOP_OF_PAGE
*     Top of page for ALV
FORM top_of_page.
  REFRESH it_header.
  CLEAR wa_header.
  DATA: lfl_date(10) TYPE c,
        lfl_title TYPE lvc_title VALUE 'PROJECT STATUS REPORT'.
* Title
  wa_header-typ  = 'H'.
  wa_header-info = lfl_title.
  APPEND wa_header TO it_header.
  CLEAR wa_header.
*mask date to dd-mm-yy format.
  WRITE sy-datum TO lfl_date USING EDIT MASK
  CONCATENATE 'RUN DATE :' lfl_date INTO wa_header-info.
  wa_header-typ  = 'H'.
  APPEND wa_header TO it_header.
*FM to display TOP_OF_PAGE
  CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
      it_list_commentary = it_header.
  CLEAR wa_header.
ENDFORM.                    "top_of_page
May it helps you.
Regards.
DS.

Similar Messages

  • Presence status not shown in Mail since Mavericks upgrade

    Hi there,
    In Messages I have two chat accounts, GTalk and Jabber with many contacts. Presence is shown here, I can chat with them, fine.
    Before I upgraded to Mavericks pesence of these contacts was also shown in Mail. Both when reading in incoming e-mail or composing a new one.
    Now it's nothing and I don't see a way to repair this, any ideas?
    Thanks!

    Today I had the chance to test this thoroughly.
    1st: MacOS 10.8.3 - contact is green in iMessage, mail from contact shows the green presence bubble in mail.app
    2nd: MacOS 10.9.1 -contact is green in iMessage, mail from contact shows nothing about presence
    It was the same contact, same e-mail, same machine.
    Is there anybody from Apple watching this?

  • Mail/Gmail/PDF attachments not shown in mail.

    I currently use apple mail to access my gmail emails however every so often I notice that some of the emails that mail picks up from gmail do not contain attachments (.pdf) that are visible when I log into gmail. Any suggestions as to how I can make them appear in mail? It is often very irritating.
    Mail version 3.5.

    Hi,
    Similar problem here with me.
    Also this thread - http://discussions.apple.com/thread.jspa?threadID=1997630
    Hopefully we can find a solution.
    I've rebuilt mailboxes and re-added accounts to no avail.
    Attachments are working fine in the web interface but when syched with IMAP to Mail - no worky.
    I get a winmail.dat file instead.
    Cheers

  • 'Email' address not shown in mail form (file export)

    Hi Gurus,
    I am working with Campaigns in SAP CRM EHP3.
    The problem appears when I execute Campaign through communication method "File Export" , because of  'Email' address doesn't appears in the file (although Business partners have them informed).
    The steps I followed :
    Create the Campaign with communication method "File Export"
    Create a new structure in the attributes contexts to add: BAPIBUS1006_ADSMTP to  dispose the field "Email" from BP
    Now, from therole IC_MANAGER , I created a mailform incluiding new field 'email'
    Execute campaign with a segment (all the BP in target group have Email address informed)
    Theoutput filedoesn’t showemails addresses..
    Thank you in advanced!
    Regards

    HI
    I NEED HELP !!
    IN MY CASE I HAVE IPHONE 5 LATEST UPDATE I NOTICE FROM A FEW WEEKS EVEN THE EXCHANGE MAIL IS ON BANNER MODE AND LOCK SCREEN IS SET ON TOO WHAT I ONLY HEARD IS THE SOUND WHEN IS PUSHED FROM SERVER THE EXCHANGE EMAILS DO NOT APPEAR IN THE NOTIFICATION CENTER BESIDE THIS EVERYTHING ELSE IS WORKING PERFECT.
    THANKS
    L

  • IN MY MAC option not shown on Mail left bar

    Hello everybody:
         I hope I can get some help on this.
         I use Mail for all my email activities.
         I like to move items from the Inbox, to a respective folder, using the right click, then Move to, and then it will appear the list of my folders.
         With the new Mountain Lion, A new step occur, since now I have to got through the In My Mac, and then the list of folder will appear. Previously, the In My Mac will appear in the left bar, but now It will only appear if I have the iCloud account activated. Something not optional, since this is my work Mac, and I use personal stuff in a different User Account.
         The main question is: How can I make to Appear the IN MY MAC option in the left bar on Mail?
    Thanks!
    Federico

    The first thing you need to do is to solve the problem of not being able to sign into iCloud.  Please describe your problem with that on the iCloud for Mac section.
    By the way, in the future try to use a reasonable short subject instead of trying to type your entire problem into that field.

  • Presence status from iMessage not shown in Mail since Mavericks upgrade

    I'm re-posting this in the Mail folder, maybe somebody here knows the answer:
    https://discussions.apple.com/message/24928633#24928633

    Hi,
    It seems it is a function that seems to have dropped by the wayside.
    There is nothing in the Mail Preferences that seem to enable it.
    Nor is there anything in the most likely menus (View, Window)
    8:28 pm      Saturday; February 22, 2014
      iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Facebook option not shown in Mail Setup

    I see all of the mail and Twitter options and the System Preference but I don't see FaceBook.
    Thanks

    Facebook integration is coming this fall in the form of an update.
    Matt

  • TS1627 I had my hard drive replaced within the last month.  Now I have trouble with the MAIL function.  Sometimes it is open in the menu on top, but does not bring up mail.  Then it grays out the QUIT MAIL function and I am stuck.

    I have problems closing my MAIL.  The function of Quit is grayed out.  I cannot turn off the computer because it says mail still open.  I have had this problem off and on ever since getting a new hard drive and reloading all the functions.  The only way I can clear it is to hold the power button down till it shuts off the computer, and then restart it.

    Cant get help with this issue on Apple Support, so I have to go to the Apple store to the Genius Bar to get assistance.  All the help issues are so technical in their jargon, that I cannot understand how to fix the issue.

  • Help is not shown in the window

    I have written the necessary documents (HelpSet, MapFile, HelpTOC).
    The Table-Of-Contents are shown in the left frame, but if I select them, the html-help-file is not shown in the right frame.
    Please help!
    HelpSet:
    <maps>
    <homeID>top </homeID>
    <mapref location="vcsMapFile.jhm" />
    </maps>
    <!-- views -->
    <view>
    <name>TOC</name>
    <label>Table Of Contents</label>
    <type>javax.help.TOCView</type>
    <data>vcsHelpTOC.xml</data>
    </view>
    HelpTOC:
    <?xml version='1.0' encoding='UTF-8' ?>
    <!-- was: <?xml version='1.0' encoding='ISO&#8722;8859&#8722;1' ?> -->
    <!DOCTYPE toc
    PUBLIC
    "&#8722;//Sun Microsystems Inc.//DTD
    JavaHelp TOC Version 2.0//EN"
    "http://java.sun.com/products/javahelp/toc_2_0.dtd">
    <toc version="2.0">
    <tocitem image="toplevelfolder"
    text="Virtual Circuit System">
    <tocitem text="Schaltungen erstellen" target="test">
    </tocitem>
    </tocitem>
    </toc>
    MapFile:
    <?xml version='1.0' encoding='ISO?8859?1' ?>
    <!DOCTYPE map
    PUBLIC "?//Sun Microsystems Inc.//DTD JavaHelp Map Version 2.0//EN"
    "http://java.sun.com/products/javahelp/map_2_0.dtd">
    <map version="2.0">
    <mapID target="test" url="test.html" />
    </map>
    test.html:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title></title>
    </head>
    <body>
    That is the help.
    </body>
    </html>

    The tutorial I believe you are referring to uses Visual Studio .NET 2003. So, it won't be in the exact same place as Visual Studio 2005.
    You should be able to right click on the database connection node and see an option for Query Window.

  • Module pool screen element not shown

    Hi,
    I have a module pool with table control.
    I have added a new field to the internal table and included it in layout-checked properties and it is active/shown in output and input enabled
    Also, when I checked in PBO debugging, loop at screen, when the screen element is this field, active/input/output = 1
    I have activated the program/generated it/logged off from system and logged in again (to take care of refreshing the screen)
    The internal table has values for this field.
    When I execute the screen directly instead of module pool program, field is shown in table control
    But when I execute the module pool program, this field and heading are not shown in table control but empty space allocated for this field is shown.
    May I know how can I resolve this.
    Thanks!

    Hi Vasu,
    Go through this [Sample|http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dbac5e35c111d1829f0000e829fbfe/content.htm].
    Regards,
    Maruthi

  • My iGoogle page does not render correctly - only header & footer are shown.

    Running on Windows 7 (64 bit)
    I was using Firefox version 3 (whatever the latest was yesterday)
    When I go to www.google.co.uk/ig I see only the header and footer of the page and no widget area in between.
    Page works fine in IE so it's not a Google thing.
    This happened following the installation of the Adobe Download manager.
    So far I have tried:
    # Disabled the Adobe DLM addin
    # Disabled all addins
    # Wiped the cache & cookies
    # Created a new profile
    # Deleted the profile folder
    # Installed FF4.0
    Still can't see my iGoogle page.

    Jaison_Sabu wrote:
    I have a particular jsp page, which has heavy volume of data and it does not load completely in IE, but loads perfectly in Firefox and Safari.
    It is a really perpleximg problem that occurs only when the volume of data is large. Why would you be sending large amounts of data to a JSP? Sounds fishy to me.
    None of the people in my team were able to solve this issue.Well if you provided your team with the same amount (none) of information you provided here, then I would understand.
    Please send in your suggestions as to why this is happening or if there are any known bugs in IE.Personally, I think it's the flux capacitor.
    In case you need an HTML version of the code, please do mail me at [email protected]
    Hope you're ready for some spam.

  • Mail: In 'classic layout' view the top header in mailboxes is grey.

    Hi,
    I am using Mail (version 6.0) in it's classic layout form.
    Since upgrading to OS X 10.8 I've noticed that the top header in my mailboxes is sometimes displayed in a grey font rather than in black, like the ones below it.
    Not that much of a problem in itself, but if I click on the header to highlight it the font remains grey, instead of changing to white against the blue highlighting. Grey against blue renders it almost unreadable; there is no contrast.
    If I click on another folder or mailbox in the left pane, then select a random messages in that, and then go back to where the grey header was, I sometimes find that the font has now changed to black and it behaves as it should when highlighted.
    Is anyone else experiencing this, or is it just me? Has anyone any idea ho to cure it please?
    Cheers.

    Further to the above, I've also just noticed that Mail is also sometimes adding the 'replied to' symbol, (the curved arrow thing), to message headers, even though I've not actualy replied to the messages.
    Again, opening another folder, randomly clicking on messages and then returning to the problem one again will often remove the erroneous symbol.
    I'm sure this must be a bug, mustn't it?

  • Text in PO(text tab in header & item) is not shown in the Print Preview

    Hi Guys,
                I face a problem in ME23N.Text maintained in Purchase Orders (text tab in header & item)  is not shown in the Print Preview.
                Can you guys help.Do I need to write a subroutine pool for this.
                <<text removed by moderator>>
    Regards,
    Rajiv
    Edited by: Matt on Nov 12, 2008 1:20 PM

    Hi ,
    Use bapi bapi_po_getdetail .
    CALL FUNCTION 'BAPI_PO_GETDETAIL'
        EXPORTING
          purchaseorder   = is_ekko-ebeln
          item_texts      = c_x
          header_texts    = c_x
        TABLES
          po_header_texts = it_header_text
          po_item_texts   = it_item_text.
    Regards
    Neetesh

  • I am using numbers in the new iWork. Just bought it 10 days back. I am not able to figure out how to add serial umbers from 1 to 100( for example) also i need to freeze the top header like in windows so that we can browse down without the heading going of

    i am using numbers in the new iWork. Just bought it 10 days back. I am not able to figure out how to add serial umbers from 1 to 100( for example) also i need to freeze the top header like in windows so that we can browse down without the heading going off. Can some one help?

    Hi Jay,
    Be aware that "Freeze Header Rows" and "Freeze Header Columns" apply only to rows and columns that are Header rows or Header columns. You can have up to five Header rows, Five Header Columns (and five Footer rows) on a Numbers Table.
    "Header rows" is a special designation. Besides being able to be frozen, Header and Footer rows are not included in formulas referencing whole columns, making it possible to place formulas such as =SUM(B) at the top (or bottom) of column B without causing a self-reference error, These designated rows are also not included in sorts of the rows in a table.
    Regards,
    Barry

  • The graphic HTML signature panel does not appear in my Mac mail

    The graphic HTML signature panel does not appear in my Mac mail. I have inserted the signature after reading on the forum. But the images do not download - the rest of the text in the signature is in place - just the logo and the baseline which is a graphic file does not download.  Please help.

    Hi, are the pics at a remote location, or on your Mac?
    Have you tried drag & dropping the graphics on the signature window?

Maybe you are looking for