To display a text on the right hand corner of an ALV list in SAP

Hi All,
I need to display a text on the right most corner of the ALV list output where there are some details present at the top of the list.
I tried using the statement  
CONCATENATE space space space space space space space space space space
              space space space space space space space space space space 'required text" INTO ls_line-info.
This ls_line is of type slis_listheader. But this statement did not work.
Can anyone please help me how do i display this "required text" at the right most corner above the ALV list?
Thanks.
Taarikha

Hi,
You will have to use I_CALLBACK_HTML_TOP_OF_PAGE instead of I_CALLBACK_TOP_OF_PAGE.
See the below sample code.
FORM html_top_of_page USING lw_document TYPE REF TO cl_dd_document .
  DATA : doctable TYPE REF TO cl_dd_table_element,
  col1_t1 TYPE REF TO cl_dd_area,
  col2_t1 TYPE REF TO cl_dd_area,
  col1_t2 TYPE REF TO cl_dd_area,
  col2_t2 TYPE REF TO cl_dd_area.
* add quick table with five columns
  CALL METHOD lw_document->add_table
  EXPORTING
  no_of_columns = 2
  border = '0'
* cell_background_transparent = ' '
  width = '100%'
  IMPORTING
  table = doctable.
* Filling columns in row
  CALL METHOD doctable->add_column
    EXPORTING
      width  = '40%'
    IMPORTING
      column = col1_t1.
* Filling columns in row
  CALL METHOD doctable->add_column
    EXPORTING
      width  = '60%'
    IMPORTING
      column = col2_t1.
  CALL METHOD doctable->new_row.
  CALL METHOD doctable->add_column
    EXPORTING
      width  = '40%'
    IMPORTING
      column = col1_t2.
* Filling columns in row
  CALL METHOD doctable->add_column
    EXPORTING
      width  = '60%'
    IMPORTING
      column = col2_t2.
*Now adding the texts
  DATA lw_text1 TYPE sdydo_text_element VALUE 'Danish'.
*lw_text1 = 'your first text'.
  CALL METHOD col1_t1->add_text
    EXPORTING
      text = lw_text1.
    CALL METHOD col2_t1->add_text
    EXPORTING
      text = lw_text1.
*Similarly add text for other columns
*Adujust % in width to adjust the column as required
ENDFORM.                    "html_top_of_page
Regards,
Danish.

Similar Messages

  • How can I print in the right hand corner of the paper (no borders)?

    How can I print in the right hand corner of the paper (no borders). I have Adobe 7.

    Is that elements 7 or photoshop 7? It can make a difference.
    What you can do is create a new document that is the size of the paper, then place your document in the new document. You can now align your document to the right side of the page.
    Now print.
    Borders can have two meanings here. You can add a border to an image such as a stroke for example. The other meaning is the printer has a non-printing area called a border.
    In the former there is nothing to do as long as you did not add one. In the latter some printers do have a print to edge option, but it has to be a feature of that printer. It would be located in the print options. If the printer does not have such a feature, there is nothing you can do, short of manually cutting the paper with a paper cutter, scissors, or x-acto knife.

  • IPhone is plugged in to my laptop and is charging but will not sync. The phone logo doesn't appear in the right hand corner.  i have updated itunes restarted both phone and laptop, changed connectors and still nothing. help?

    IPhone is plugged in to my laptop and is charging but will not sync. The phone logo doesn't appear in the right hand corner.  i have updated itunes restarted both phone and laptop, changed connectors and still nothing. help?

    Same thing happened to me, nothing is working. I've updated everything, restarted everything, nothing seems to work.

  • Icons in the addon bar have moved from the right hand corner to the left

    Hi everybody,
    I've recently updated to the most current Firefox 4b10. I'm currently using the addon bar on the bottom that holds several addon-related icons (like firebug etc.). Those do still work, but for some reason they have moved from the right-hand corner of the addon-bar (where they have always been) to the left side for no apparent reason.
    I know it's kind of a little issue, but it is really disturbing since I keep looking in the wrong corner after having the icons there for so many years. Is there any way I can revert that?
    Thanks!
    mrmister

    Please report this problem to Firebug team,
    http://code.google.com/p/fbug/issues/list

  • Mouse pointer stuck at the right-hand corner of the screen.

    Hello all,
    I am writing to find help for my girlfriend in Nepal. She says the mouse pointer is stuck in the right-hand corner of the screen, and won't move. I suspect it's a software glitch but since I'm in the US, I can't look at it. This is an old G3 iBook in which we replaced the battery just before she left, and she reports that the battery may be connected to her problem. Anybody have any ideas for fixing this?
    Any help really appreciated!
    Thanks!
    mike simpson
    < Edited by Host, for your protection, no personal information please. >

    Hi, and welcome to Apple Discussions.
    If the iBook is running OS X 10.2 or above, have her try booting into Safe Mode. This will take quite awhile longer than a normal startup because it does a file check and repair of the hard disk.
    If this works she will see the normal desktop. Once completely started up in Safe Mode, have her try to restart normally, and go to Applications > Utilities > Disk Utility.
    Select the named boot volume in the left sidebar, ("Macintosh HD" unless it's been renamed). What is the hard drive capacity and how much space remains available on it? Repair permissions on it.
    See if a little hard drive maintenance helps things out.

  • How do you add music to iPhone in Itunes it doesn't show up in the right hand corner anymore?

    How do you add music to iPhone in Itunes it doesn't show up in the right hand corner anymore?

    Reboot your computer. In iTunes go to View menu. Does it say Hide Sidebar? If it does look the iPhone in the left sidebar in iTunes.
    If it says Show Sidebar and you still don't see the iPhone on the upper right try choosing Show Sidebar and look on the left.
    If it's still not showing see: http://support.apple.com/kb/TS1538

  • How to move the Firefox 'close window' x icon to the right-hand corner?

    I've just been given the option to upgrade my Ubuntu Linux (from Karmic Koala to Lucid Lynx). Although the updated colour scheme and Fire fox look great, one annoyance is that the 'close window' X-icon has moved from the right-hand corner to the left-hand corner.
    As a right-handed person, my mouse pointer drifts over to the right-hand side of windows, so moving this icon from the right corner to the left corner doesn't make sense to me, as a right-handed person (~90% of the world are right-handed?).
    I know that there's almost definitely a keyboard shortcut for 'close window' but I would like to see the 'Close window' 'x' back in the right-hand corner, or an option/preference to put it back where it always used to be! (as far as I know...).
    == This happened ==
    Every time Firefox opened
    == When I upgraded Firefox to 3.6.3 as part of Ubuntu upgrade from KK to LL release. Think I might have been running an older 3.6.x version of Firefox prior to this.

    This problem is not particular to Firefox but rather a design scheme that is applied to all programs running Lucid Lynx.
    Solution 1.
    Go to System > Preferences > Appearance. Choose a Theme that has the right orientation rather than the left.
    Solution 2.
    Open up a Terminal and run this snippet to move everything to the right again:
    gconftool-2 --set /apps/metacity/general/button_layout --type string menu:minimize,maximize,close

  • What does the icon in the right hand corner of some movie clips mean.

    I have my movie almost done but now I find many of the clips have a small screen looking icon in the right hand top corner of the clip.  I can't delete those.  What does it mean and where do I get rid of it?

    Can you post a screen-cap, showing that icon in question? This ARTICLE will give you one workflow for screen-caps.
    Good luck,
    Hunt

  • I was on a secure site because of the little lock in the right hand corner, now that I've installed this new version I don't have the lock any longer. What happened to the locket and how do I know if the site is safe for me to use a credit card on?

    where is the lock in the right hand side saying your on a secure site?

    The padlock has been replaced by the site identity button, for details on using it see https://support.mozilla.com/kb/Site+Identity+Button
    If you want to add a padlock icon to the location bar, you can use the Padlock add-on - https://addons.mozilla.org/firefox/addon/padlock-icon/

  • On my MacBook Pro, the time is correct up in the right hand corner on the blue line, but when I post something, it is two hours off. How can I correct it?

    How can I sync the correct time on my macbook pro (which is correct) so that when I post something it will be the same time. It is exactly 2 hours earlier in my post.
    Thanks for any help.

    Is the timezone correctly set up on the Mac?
    Cause the time may be right, but if the Mac announces being in an incorrect timezone, the server at the other end may be adjusting to what it thinks is the "right" time.
    System Preferences / Date & Time / Time Zone

  • My iPhone caller image is still appearing full screen instead of in the right-hand corner,even though I've assigned the images to them on my mac.

    I had originally assigned images to my contacts through my iPhone which made them appear full screen when recieving/making a call, but now I want the images to appear in the top-right corner. I've assigned all new photos to override the old photos through my Address Book on my Mac, but they still continue to be full screen. Can anybody please explain to me what's going on? I'm an intermediate-advanced user. Thanks!

    You did not try what I provided. There is a difference between syncing and replacing.
    As with MobileMe, there should be an option with iCloud to replace info on cloud with what is available in the Address Book - all at once. This may not make any difference in this regard.

  • My itunes account doesnt recognise my phone when i plug it in . how do i get the phone icon to appear again in the right hand corner?

    Help

    Hello Vita_,
    I understand that your iPhone 5 is not recognized by iTunes. I have included the relative articles for troubleshooting this issue based on what operating system you are using:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/TS1591
    Thanks,
    Matt M.

  • I am in FCPX and can't find the Inspector button. How to find it? It's not in the right hand corner where it's supposed to be.

    I am in FCP X editing. I need help locating the Inspector. It's not where it usually is. Canyou help me?

    Is it not here?
    And does Command+4 open it?
    Russ

  • Hi, it looks like entire toolbar is hidden, I can bring it up by brushing the mouse on the right hand corner, but the Mozilla Firefox button is missing, so I have no access to my bookmarks.

    Can anyone explain what happened and how do I get the toolbar and the Mozilla button back?I don't remember doing anything different, the toolbar just disappeared. Nothing brings the toolbar permanently on screen and even when it's on screen the Mozilla button (tab?) is missing.

    Try:
    * http://kb.mozillazine.org/Corrupt_localstore.rdf

  • The trashcan is not showing up in the upper right-hand corner of my photos, so I can't delete them. Can anyone address this problem?

    The trashcan is not showing up in the right hand corner of my photos on my iPad. So I can't delete pictures. Can anyone solve this problem?

    Where did the photos come from ? Only photos taken with the iPad, copied onto it via the camera connection kit, or saved from emails/websites etc can be deleted directly on the iPad - photos that were synced from your computer are deleted by moving/removing/de-selecting them from where they were synced from on your computer and then re-syncing.

Maybe you are looking for

  • Printer needs output as an .ai (.pdf won't work): please help me explain

    Hello, any help would be greatly appreciated. I have this client who is a great client but for various reasons their print vendors for packaging are incredibly special. I've begged them to change vendors, but it's not going to happen. Their paper pri

  • Bug in LabVIEW 6.1 with Windows 2000 permissions

    This is a bug I've discovered when using LabVIEW 6.1 in a multi-user Windows 2000 environment. After underlying software changes and the like, it is common that when exiting a VI, a message pops up saying that an underlying VI has changed and must be

  • AP not associate with occur electrical cut

    Hi I have a different models of Access-Point, but when occur electrical cut, the ap not associate againt to controller, additional lost a domain and dns. All AP have static ip address, dns and domain. I configure HA Regards.

  • Adobe Design Premium 5.5 freezing on Mac 10.6.8

    I have had 2 different licensed copies (both legitamite copies) installed and both instances result in them freezing. The only messaging I get is by looking at my force quit menu where it shows "application not responding". I have performed all the l

  • Connecting to OpenLDAP through Meta-directory

    Is it possible to connect to other LDAP servers, like OpenLDAP, directly through the metadirectory, or does an LDIF dump have to be created? I tried setting up a connector view and also creating a universal connector for OpenLDAP, but it gives me the