Top of page like Text Area

Hi experts,
  I want to have top-of-page like a text area where my grid title and program name I can have above one ALV grid. Could u say how it is possible. If u have the code, could u send me. I am not sure whether it is text area or not. It should come as result of report and not module pool program and It could have texts in different font sizes..
Thanks and regards,
Venkat

Use below code,
FORM TEXT_TOP_OF_PAGE USING DOCUMENT
                            TYPE REF TO CL_DD_DOCUMENT.
G_TEXT1 = 'Testing'.
G_DOCNO = 'You need to pass Document Number'.
G_TEXT = 'Heading'.
CALL METHOD DOCUMENT->ADD_TEXT
    EXPORTING
      TEXT      = G_TEXT
      SAP_STYLE = 'HEADING'
CALL METHOD DOCUMENT->NEW_LINE.
  CALL METHOD DOCUMENT->ADD_TEXT
    EXPORTING
      TEXT = G_TEXT1.
  CALL METHOD DOCUMENT->ADD_TEXT
    EXPORTING
      TEXT = G_DOCNO.
ENDFORM.
You should pass the below parameter in REUSE_ALV_GRID_DISPLAY
I_CALLBACK_HTML_TOP_OF_PAGE = 'TEXT_TOP_OF_PAGE'
Regards,

Similar Messages

  • Overlap of texts in web page when texts are enlarged

    When I display a webpage with texts in boxes, and I press Command + to increase the display size of the texts, usually the surrounding box also expands or adjusts to accommodation the larger texts. But when I press Command + again, then the texts from adjacent boxes start to overlap.
    A similar thing also happens with Firefox, except that I can press Command + a few more times before the texts start to overlap.
    Is there any preference in Safari that I can adjust to delay the overlapping of texts?

    Try
    http://au.yahoo.com/
    In Safari, as soon as I press Command + twice, then the texts in the top right corner about Mail and Weather start to overlap.
    But in Firefox, even after I press Command + 8 times to zoom to the maximum, everything stays in proportion without any overlap of texts.

  • How to display the  text in a classical report before top-of-page?

    Hi all,
    I am developing a classical report with top-of-page because i want to display the texts of cloumns  even users scroll down the output.
    But here the problem is i have to display a text and selection screen values in the ouput ,Before this top-of-page. But i couldn't find the way to do it.
    Please help me on solving this problem?
    Thanks,
    Vamshi.

    Hi Vamsi,
    whenever there is write statement and you are going to display some thing the system checks for the TOP-OF-PAGE and we are helpless here
    so declare your heading in the TOP-OF-PAGE only
    THIS is SAP provided way of the SYSTEM bahaviour
    Regards
    ramchander Rao.k

  • File upload component and text area issue

    Hi guys,
    I have static text, text area and button on the same page. Text area binded to session bean value and all works fine (I can input text into text area and press button to save changes).
    After adding file upload component to the same page I have got a problem - now after page refreshing the non english characters inside text gets trashed.
    Other non english characters - inside static text components remains the same - the problem relates only to text area.
    It looks like file upload component code has an encoding related bug. Is that a known issue?
    And may be somebody have a workaround?
    Thanks.

    Hi Rom@n,
    I did some checking and this issue is currently logged as: 6442528. It is scheduled to be available in the next patch release. I'm sorry I don't have a time frame for the patch since it is still waiting for other fixes.
    Sorry for the inconvience.
    Lark
    Creator Team

  • Display of date range in the top-of-page of report

    have a question like this.
    i have a date range selection on the selection screen where the user will enter the range from this to this.
    now whatever period he will enter,that range should be displayed on the output of the report in the top-of page.
    can we do like this.
    plz explain.
    thanks!

    Hi,
    Use the below logic.
    data:      events      type  slis_t_event,
          event       type  slis_alv_event,
          heading     type  slis_t_listheader,
          hline       type  slis_listheader,
    start-of-selection.
    "get the data into the internal table and fill your fieldcatalog table.
    then fill the event ... ie top of page like this.
      CLEAR event.
      event-name = slis_ev_top_of_page.
      event-form = form_name.
      APPEND event TO events.
    then fill the comments to display in the top of page event.
    DATA: text(50).
      CLEAR hline.
      hline-typ  = 'H'.
      hline-info = "report title".
      APPEND hline TO heading.
      CLEAR: hline,text.
      read table s_pernr index 1.
      IF s_pernr-low IS NOT INITIAL.
        WRITE: 'Sal Code:' TO text.
        WRITE: s_pernr-low TO text+15.
      ENDIF.
      IF s_pernr-high IS NOT INITIAL.
        WRITE: 'to' TO text+25.
        WRITE: s_pernr-high TO text+28.
      ENDIF.
      hline-typ  = 'S'.
      hline-info = text.
      APPEND hline TO heading.
    and then...
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                = sy-repid
         it_fieldcat                       = ist_fcat[]
          it_events                         = events[]
        TABLES
          t_outtab                          = ist_main[]
       EXCEPTIONS
         program_error                     = 1
         OTHERS                            = 2
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    and then create a subroutine for top of page.
    FORM top_of_page.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary       = heading[]
          I_LOGO                   =
          I_END_OF_LIST_GRID       =
          I_ALV_FORM               =
    ENDFORM.                    "TOP_OF_PAGE
    regards,
    Santosh Thorat

  • Text area submits

    I created a form that submits articles. Articles consist of
    paragraphs. Every time I insert a article into a database, I lose
    those paragraphs so when its posted on the website, its just one
    big blob of text. How can I keep my paragraphs when I submit a
    article. Also, when I click in the text area, I can pretty much
    click anywhere in the text area. How do I make it where the Cursor
    starts to blink at the very top left of the text area.

    I lose those paragraphs so when its posted on the website,
    its just one
    big blob of text.
    The paragraphs were not lost, you are dealing with different
    systems
    that handle paragraphs in different ways.
    In plain text, paragraphs are ended with some kind of
    carriage return
    and|or line feed. In windows systems this is almost always
    the ASCII
    characters (13) carriage return and (10) line feed.
    HTML does not recognize these carriage returns and line feeds
    and
    ignores them. So they where there in the output, but being
    ignored by
    the browser. What CJ's function is doing is converting the
    ASCII
    characters into the HTML <br> tag that the browser
    understands. The
    CHR() function is for working with ASCII characters by their
    code numbers.

  • How do you make a menu link to child pages instead of just top-level pages?

    I want two menus on my pages - one along the top which links to the top level pages like About, Contact, Services etc. That's easy enough. I also want another menu down the left hand side which links to the sub pages under Services, but I can't find a way to do it. If you make the menu automatic it links to the top level pages. If you make it manual I can't find a way of adding the link to the sub pages I want. Any advice? I'm running the newest version of Muse on a MacBook Air.

    Hi Michael,
    I am afraid that there is no automated way to create a menu for the sub pages. You will need to create a manual menu and then use the hyperlink drop down to link the manual menu items to the pages. Select the menu item and click on the hyperlink drop down and choose the page.
    - Abhishek Maurya

  • On some pages the text from more than one paragraph stack up on top of each other, like writing something then writing something else on top of it.

    On some pages the text from more than one paragraph stack up on top of each other, like writing something then writing something else over the top of it. Some pages will run text and pictures together, like a car rear-ending another or a train pile up. Other pages will cut an image or text short, i.e. it will display a portion of the top of the image or text but not the rest. This happens on Amazon for example, the section where it says "Customers who looked at this also looked at" will allow only a certain amount of the upper portion of the description immediately below the picture of the product but below that section everything is fine until I get to another section displaying more products and their descriptions and then it cuts the bottom portions off again. I've noticed this behavior mostly in the sections with product photos, the text sections seem okay. YouTube also displays this behavior. It's even doing it on this page right now. Below this box I can read "The more information you can provide the better chance your question will be answered " , but directly below that in the next sentence I can see the start of it with "Troublshootin" and the "Automatically Add" in a green field covering the "g". The next clear text is "A window will open in the top corner. Click Allow, and then click Install. If the automated way doesn't work, try these manual steps." I tried turning of pre-fetching, clearing history, cookies, and cache, scanning for malware with Avast and Windows Defender all to no avail. It began when I upgraded from dial up to DSL via AT&T Uverse. I have a Motorola NVG510 modem. The modem was replaced an hour ago along with new dedicated lines and DSL/Phone splitter from the box by an AT&T technician to make sure my incoming lines were up to par. He ran a connection test and verified everything is up to standards. IE does not display this behavior. I am running Firefox20.0.1 and all previous versions have acted the same way since I upgraded to DSL about 3 months ago.

    If you have increased the minimum font size then try the default setting "none" in case the current setting is causing problems.
    *Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    Make sure that you allow websites to choose their fonts.
    *Tools > Options > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"
    It is better not to increase the minimum font size, but use an extension to set the default page zoom to prevent issues with text not being displayed properly.
    You can use an extension to set a default font size and page zoom on web pages.
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

  • When I swipe my home screen,the apps stay there and the next page is superimposed over the top of them. Like they are stacked on top of each other.

    I have ghosting of some apps at the bottom of the screen, and when I swipe my home page the folders are frozen there and the apps from the next page
    move across and stack on top of the folder icon on the first page

    Initially they were stacked, then I tried to do a reset. Now the folders look like a screenshot of my first homepage, and the bottom bar is a ghost of the original

  • Text in color in ALV top-of-page

    Hi all,
    I am using REUSE_ALV_GRID_DISPLAY  and using REUSE_ALV_COMMENTARY_WRITE to display top-of-page.
    I need to show text in top-of-page in BOLD and RED color.
    I am able to diaply in BOLD by passing slis_listheader-typ = 'H'
    But I am not able to understand how I can achieve RED color.
    I have checked forums but could not get solution.
    Some of them are suggesting HTML top-of-page but they have not given details of how to use it and whether it can be used with REUSE_ALV_GRID_DISPLAY
    It would be great if you can help me in achieving this.
    Thanks in advance.
    Regards
    Vasu

    maybe u can use this sample code or html top of page
    FORM html_top_of_page USING document TYPE REF TO cl_dd_document.
    "tcode
      CALL METHOD document->new_line.
      CLEAR dl_text.
      CONCATENATE 'T-code : ' sy-tcode INTO dl_text SEPARATED BY space.
      CALL METHOD document->add_text
        EXPORTING
          text         = dl_text
          sap_emphasis = cl_dd_area=>heading
          sap_style    = cl_dd_area=>heading "bold
          sap_color    = cl_dd_area=>list_negative_inv. "red color
      CLEAR : dl_text.
    ENDFORM.

  • While looking at web pages like ebay and i click on a item to look at and then i click back page , the page starts at the top of the page instead of starting back at the item i was looking at. My Mac book pro will go back to the item i was looking at .

    While looking at web pages like ebay. When i click on a item to look at,then click on the previous page or swipe back to the first page the page will start at the top of the page instead of going to the item that i was looking at. My mac book pro will go back to the item that i was looking at but my mac mini goes to the top of the page. Do i have a setting wrong?

    What browser are you using?
    What OSX on Mini and on MacBook?

  • How do you add an image in the text area of a page/section?

    This has been driving me nuts!
    When I try to add an image to a page, it will ONLY go into the header.  If I try to drag the image onto the page where the text is, it gets hidden behind a layer.
    I've looked at the menu choices and I don't seem to be allowed to bring the image to the front.  Nor does clicking in the text area and then trying to paste or insert the image - it still goes up in the header.
    What is the secret to placing images along with your text on a page in the iBooks Author program?
    Thanks!

    Wow, Apple has really constrained the "box" that we have to fit our books into!
    I was hoping to take some iPad screenshots and put them inline with the text.  Since they are portrait iPad screenshots, the book that I'd like to create looks much better (and makes more sense) in portrait mode.
    Apple has released this awesome tool, yet they seem to have restricted the author from using any creativity at all.

  • Why are most websites only displaying code like text?

    Almost all of the web sites that I frequent have began displaying code like text on a blank white background. Some sites still have hyperlinks and images here and there with random text, but others are fully blank with what appears to be the code of the website showing. I wasn't able to access this web site until I tried multiple times and it magically worked, but others are still not working. The only sites that I have tested that have worked from the start are Google related sites (Gmail, Google, Youtube). My yahoo email is inaccessible, which is an important email for me and all other sites that i frequent are inaccessible. One major thing to note is that the sites are also inaccessible on Internet Explorer. This would typically lead you to believe that the problem lies with your connection in some way. I have reset my router/modem and it had no effect. I also have ran CCleaner and have deleted temp files, cookies, and caches. I have tried running Mozilla in safe mode with add-ons disabled as well. My malware protection and antivirus protection find no issues after completing full scans. One last thing to note is that, on both Firefox and IE, certain sites allow to me to access the homepage, such as yahoo, but once I attempt to check my mail the random display of code appears. On IE it simply says that the site cannot be displayed once I click to check my mail. Gmail works perfect on the other hand. The only things that I have done during this time are:
    Setup a LogMeIn account (Hamachi) and connected my PC to their service
    Downloaded and began using Malewarebytes software to remove malware that I had picked up
    Other than those two things it has been the same usual actions on my PC. Could the malware that I had still be effecting me somehow even though it was found/deleted? Is my router to blame even though resetting it does not help? After all the things I have tried, what could it be?

    What is the content type of those pages if you check that via Tools > Page Info > General?
    Is that text/html as it should be or text/plain as your screenshot would suggest?
    You can also check the Net log via the Web Console (Web Developer > Web Console;Ctrl+Shift+K)
    *https://developer.mozilla.org/en/Tools/Web_Console
    *https://developer.mozilla.org/en/Using_the_Web_Console
    This can be a problem with your firewall that modifies the server response headers if the settings in Firefox are correct.
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox
    *https://support.mozilla.org/kb/Basic+Troubleshooting
    A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    Try to boot the computer in Windows Safe mode with network support (press F8 on the boot screen) as a test to see if that works.

  • How do I sort LR4 Folders so newest photos are top of page instead of bottom?

    How do I sort LR4 Folders so newest photos are top of page instead of bottom?  It makes sense to me that the most recent photos, the ones I just downloaded, should be at the top of the Library page, not the bottom.  How can I reverse the order so the newest are at the top?

    SJClemens wrote:
    The placement of newest folders at the bottom of the list instead of the top has always annoyed me--it's just not logical in my book.
    I don't think Lightroom does this quite as stated - it sorts folders aphabetically, independent of folder "age". Granted if you use numerical dates that have most significant component first, and use same number of digits for each component, then it works out to newest at bottom.
    I have (and like) using folders as my primary organizational scheme. I also use metadata for scaring up images for various purposes too.
    But I name folders so they are ordered how I want them (I use a numerical prefix whose primary purpose is to define ordering).
    Granted it can be tricky if you want newest first, since that means you have to "reserve" lower alpha-numbers for "newer" photos.
    For example, if first folder of the year is 001, then folders (newest at bottom) might be:
    2011
      001 asdf
      002 qwerty
       132 I shoot too much...
    2012
      001 foo
      002 bar
    but if you want newest first, I dunno - especially tricky since you may want to add older years as well as newer. Maybe start at 500, and reserve older and newer slots.
    499 2013
    500 2012
    501 2011
    I must say, this seems pretty yucky to me, but it would accomplish your goal.
    I'd be inclined to get used to the present ordering, but maybe submit a folder sorting reversal request, like you can do now for images a-z vs. z-a:
    http://feedback.photoshop.com/photoshop_family/topics/new
    I mean, you can use collections instead of folders for organization, but collections have the same problem, if you have a hierarchy - they will be alphabetically ordered (ascending) too.
    Rob

  • Say subject A is on top of page 1 and subject B is on top of page 2.  As more text is added subject 2 will be pushed to page 3 eventually is there a way to always keep all Subjects on top of the page even it is pushed forward to a new page?

    Say subject A is on top of page 1 and subject B is on top of page 2. 
    As more text is added subject 2 will be pushed to page 3 eventually is there a way to always keep all Subjects always on top of the page even if they are pushed forward to new pages?

    Hi ameryfromny;
    We can place a pagebreak before the Heading or Sub-Heading manually prior to or even after creating a Table of Contents. So that the Heading or Sub-Heading is placed always on top of a page.
    To create a Table of Contents:
    Under Format panel, define paragraph text as Title, Subtitle, Heading, Heading2 ..... and so on for displaying in TOC.
    After completion of document writing, place cursor where a TOC is to be displayed.
                   Insert > Table of Contents > Document
    A table of contents generates automatically.
    Regards,

Maybe you are looking for

  • Can I use one CC account on both Mac and PC?

    At this moment I use CS6 on my Windows PC. I'm planning on buying a Macbook Pro this year and need a CC membership to use PS on the Macbook.  I'm wondering if it's possible to use "CC for Photographers" both on my PC and Macbook.  Thanks for your hel

  • 5700 transformers

    Hi, i wanna ask about the new phone 5700 transformesrs i've heared that it's at china now.. my question that when it will appear in the egyptian market? and if it will apear or not and also if it's real or fake i mean about the phone itself ... !! th

  • Emailing from iPhoto

    It seems that only option for sending photos by email right out of iPhoto are Mail or Entourage. I find both of these email clients lumpy and user unfriendly. Is there any way of using my preferred client, 'Mailplane' which allows me to use any of my

  • Content Scrolling is Inverse of Spaces Scrolling

    This has got to be the most unintuitive design decision I have ever come across... Affects OSX Lion. This is what is happening. With natural scrolling enabled: Swiping left in a text viewer will move the content left / scroll the content right - this

  • Currency with 3 decimal

    Hi, It's possible to make currencies with 3 decimals?? Thanks in advance Dimitri