Need to display data on the right side in the header area of alv report.

hi experts,
                   I want to display data in the header area of alv report on the right side  . I have already used function for events on the header side data is getting displayed on the left side .but i want data to be displayed on the right side.
regards,
andrews.

Hi,
Hope this below code helps you.
Take care,
Çağatay.
* build header for alv
FORM top_of_page_split USING r_top TYPE REF TO cl_dd_document.
DATA: s_tab TYPE sdydo_text_table,
      c_area TYPE REF TO cl_dd_area,
      text TYPE sdydo_text_element.
TYPES: BEGIN OF tab_text,
text TYPE sdydo_text_element,
END OF tab_text.
DATA: i_text TYPE TABLE OF tab_text.
DATA: w_text TYPE tab_text.
CALL METHOD r_top->initialize_document.
CALL METHOD r_top->vertical_split
EXPORTING
split_area = r_top
split_width = '70%'
IMPORTING
right_area = c_area.
CONCATENATE sy-datum+4(2)
sy-datum+6(2)
sy-datum(4)
INTO date1.
CONCATENATE 'DATE'  date1
INTO w_text-text
SEPARATED BY ':'.
APPEND w_text TO i_text.
CONCATENATE 'time:' sy-uzeit INTO w_text .
APPEND w_text TO i_text.
CONCATENATE 'uesr:' sy-uname INTO w_text .
APPEND w_text TO i_text.
CONCATENATE 'local date:' sy-datlo INTO w_text .
APPEND w_text TO i_text.
CONCATENATE 'time zone:' sy-zonlo INTO w_text .
APPEND w_text TO i_text.
s_tab[] = i_text[].
CALL METHOD c_area->add_text
EXPORTING
text_table = s_tab
fix_lines = 'X'
sap_fontsize = cl_dd_document=>medium
sap_emphasis = cl_dd_document=>strong.
CALL METHOD r_top->add_gap
EXPORTING
width = 60.
text = 'THIS IS REPORT HEADING'.
CALL METHOD r_top->add_text
EXPORTING
text = text
sap_emphasis = 'STRONG'.
CALL METHOD r_top->new_line.
CALL METHOD r_top->add_gap
EXPORTING
width = 70.
text = 'THIS IS REPORT HEADING1'.
CALL METHOD r_top->add_text
EXPORTING
text = text
sap_emphasis = 'STRONG'.
CALL METHOD r_top->new_line.
CALL METHOD r_top->add_gap
EXPORTING
width = 80.
text = 'THIS IS REPORT HEADING2'.
CALL METHOD r_top->add_text
EXPORTING
text = text
sap_emphasis = 'STRONG'.
CALL METHOD r_top->new_line.
text = 'Report Subheading1'.
CALL METHOD r_top->add_text
EXPORTING
text = text
sap_emphasis = 'NORMAL'.
CALL METHOD r_top->new_line.
text = 'Report Subheading2'.
CALL METHOD r_top->add_text
EXPORTING
text = text
sap_emphasis = 'NORMAL'.
CALL METHOD r_top->new_line.
text = 'Report Subheading3'.
CALL METHOD r_top->add_text
EXPORTING
text = text
sap_emphasis = 'NORMAL'.
CALL METHOD r_top->new_line.
ENDFORM. "TOP_OF_PAGE_SPLIT

Similar Messages

  • How can I reduce the display width of Firefox: I have my monitor in portriat mode, and the right side of the screen does not display.

    How can I reduce the size of the Firefox monitor display?
    I use my monitor in portrait mode, and the right side of the Firefox window is not displayed.

    Try using this extension. <br />
    https://addons.mozilla.org/en-US/firefox/addon/textarea-cache/

  • Position of the days and dates being on the right side of the day in the week calendar.

    I'm having a huge problem with the days and dates being on the right side of the day in the week calendar. Can I change that to the left upper side?
    it makes the whole schedule off balance you see.

    Thanks for stating that. So quickly. That *****. I also now see that more people have problems with this. Where can I complain?

  • I need to place icons (Next, Back, Print, Show) on the right side of the page.

    The current solution is to use the following in the CSS.
    div.options {
      position:relative;
            width:100%;
            left: 860px;
            padding:2%;
            background:transparent !important;
    However, this solution locks the icons to the right and they do not move when the window is sized:
    Is there a responsive method I can use to accomplish my goal?
    I am using RoboHelp 10.
    Thanks - Dan

    Hello William,
    Silly me. I’m using HTML5 – Desktop layout.
    I know just enough HTML to get myself in trouble. I started with your  “PnP-WH-Generic” layout and got it to this point:
    Your first suggestion moves the icons to the right side of the screen. I need them to be as shown above.
    Here’s the relevant (I believe) HTML:
    And here’s what I believe is the applicable CSS info:
    div.content
    div.toolbarbuttons
    div.toolbarbuttons > div
    div.logo
    div.searchsimple
    div.options
    div.printbutton
    div.header div.showhidebutton {
                    height: 23px;
                    line-height: 23px;
                    float: left;
                    margin-top: 5px;
                    margin-left: .8em;
                    font-size: .8em;
                    padding: 0;
                    width: auto;
    Thanks for your help!
    Dan

  • HT1171 I have the apple wireless key board.  There is only one delete key and it deletes all data to the  left side of the cursor.  Where is the delete function for deleting letters that are on the RIGHT side of the cursor?

    I have a new wireless apple keyboard. I can only delete items that are to the left of the cursor using the delete key.  What key do I use to delete items that are to the right side of the cursor?  I have only one delete key.
    My old apple wired keyboard has 2 delete keys that enabled me to easly delete data on either side of the cursor.
    Thanks

    Fn + Delete

  • How do you adjust Firefox to print what is on email page without adding a 1 inch left marghin to that page as it cuts off some of the right side of the page?

    When I receive an email the page often has a certificate that I would like to print. Using the print function at the top of the page brings up the email as a page as it looks in my web email. When I hit the print button on that page there is always a 1 inch margin added to the printed page cutting off the right side of the desired page to be printed.
    My printer accepts what ever I send it from word, pdf files as they appear on the screen, Why doe Firefox not send the same images as is displayed to the printer?
    This seems to occur whenever the screen shows an image that is almost border to border and not text. When a margin is part of the email message or it is text this doesn't seem to occur.
    HELP Please. I really need to be able to print what is displayed to print the proper document.
    Thanks
    Bob Ferguson
    Sonoran Consulting & Finance, LLC

    Some pages add their own margin to the minimum margin set in Page Setup. First you might reduce the margin here:
    Alt+f (displays the classic File menu) > Page Setup > Margins & Header/Footer tab
    Second, you could try using Shrink to Fit. However, if the image is a background image rather than part of the content of the page, that might not have any effect.

  • Black bar along the right side and the bottom of the screen- DV5-1007ca

    I have DV5 1007ca running Vista Home Premium 32-bit.My computer seems to suddenly think my monitor is a different size. I have a 3-inch black bar down the right side of the screen and about a 1/4 inch black bar along the bottom. My windows are still fully functional and completely fill the portion of the screen that is active. There is no loss of image, it's just framed by the black bars. If I do a Print screen and paste it into a document, the black bars are not there. It's as if the computer thinks the screen is a different physical size. This situation is present all the time, even when starting up. This is what I have done so far: -adjusted screen resolution settings = no change-rolled back my display drivers = no change-re-updated my display drivers = no change-rolled back my BIOS = no change-re-updated my BIOS = no change-System recovery = no change I searched posts here and elsewhere but the results were inconclusive. A couple of posters reported a virtually identical problem and were told they needed to replace either their screens or their graphics cards. Unfortunately, none of those posters ever reported back so it was unclear whether or not the issue was resolved. I doubt it is the screen since screen problem symptoms usually involve bits of screen not working and parts of the display being lost. My screen seems to be working fine, it just thinks it's smaller than it is. The graphics card is highly suspect. What's funny is that a little while ago, I started up my computer without changing anything and all was well for about a week and then it went back to the same old issue. Any helpful advice would be appreciated. This issue is driving me nuts!

    I found a real solution that is hardware related. I was given a laptop with this exact same problem for free since my friend thought it wasn't worth paying to repair a 3 year old laptop, and was dead for almost a year (I think they manufactured these in 2008, but HP has almost no specs or info about them, specially ours; DV5T-1100) I have the solution to this problem, and is a solution not found almost anywhere using Google, and HP support doesn't want to tell you, simply don't know, or would make them look bad. I was able to fix it myself by using a rework station (basically a dedicated hot air gun) that I used to "reflow" the graphics chipset's connection to the board (keep reading, because this method may vary on result details). This simply means that I opened the laptop, removed the copper heatsink connected to the fan to expose both the micro-processor, and the faulty graphics chipset, and started cutting  soda cans, or thick tin foil to cover the areas AROUND the graphics chipset, and leave the graphics chipset exposed so that the really hot air would concentrate only on TOP of the graphics chipset. Then, I put the device on 220 degress, with the tip of the gun 2 inches over the chipset, and circled the gun around heating that sucker for 5 minutes, then I did a 3 minute rest to cool off, and a final 5 minutes reheat again. Luckily enough it WORKED!, and it has been working for almost 10 months with heavy use. HOWEVER... doing a "reflow" like this on a micro component isn't reallt a proper fix. Sure you may get lucky, and I read of instances where the fix lasted for years, but also just months. This is because the problem is the old solder that connects each "ball" point under the chip to the motherboard may have a micro ultra tiny imperfections and misconnections on a few or many of the connected points cause by a long period of overheat of the chip due to both, a very bad heatsink, and heatflow of heat inside the laptop, and also (and usually) really bad maintenance on the user's part by having a really dirty and dusty vents, overuse, and blocking the ventilation exhaust of the laptop itself over time. A proper fix of this chip issue is another process called "reballing", where they actually properly overheat that particular chipset so much using IR heat, and an expensive machine, to "loosen" the solder of all connections and remove the chip itself to both, clean the old solder on the chip, and the old solder left on the motherboard, and actually REPLACE all solder with new lead solder. However, this process has to be very precise (hence the machine), and it maybe costly, and there's also the fact that MANY scammers out there either never really do a true reballing, ans just do a reflow to scam you, or don't have the experience to do a proper reball of the chip. So whose at fault here? Uneducated users that neglect learning how to properly maintain a laptop off its main enemies (dust and heat) no matter how good the hardware heatsinks may be, or is it poor hardware design by the manufacturer, where other brands or even other families of series off the same brand have actually better noticeable hardware design than these DV series that are so notorious to overheat easier than others out there? Well, I don't know, but I do know that you should be VERY careful having these laptops repaired and be scammed, because hey! Even so called "refurbished" or even so called "brand new" entire motherboard out there on Ebay are just bad reflow jobs with little to no warranty on them on purpose, to only last a few months on purpose. So, watch out, and THINK! before spending money on a beat up poor donkey.

  • Hi...I can't get a new window to come up when I click on the + sign at the little tab on the right side of the existing browser window. I also can not get a new window to come up when I click on "Control + T". Any suggestions? Thanks!

    I would like to be able to open a new window by clicking on the little plus sign at the right side of the existing open browser window. I used to be able to do that and something unknown happened that has taken that ability away. Thanks!

    You need to access the router and change the wifi network name from the default which right now is the router name (linksys, netgear ect).
    You want to use WPA2 encryption and you want a password that for now is 1,2,3,4,5,6,7,8. (no , in there). Put the same on the guest network.
    Don't setup the "N" network yet, just use the b,g,,n for now just to get it working.
    Save those settings on the left pane on the router page on the bottom.
    Go find the wireless with the name you put in, whatever you used.
    Settings, wifi
    Under choose a network the wifi you have just setup should be listed.
    If its not there do this
    Settings, cellular data.....is this an tion, is it on? Turn cellular data off if it's on. Then go back to settings, wifi and try that again.

  • When I boot Firefox on my laptop it quickly walks off the right side of the monitor and I cannot interact with the screen, even to pull it back onto the screen

    When I boot Firefox the initial screen comes up but it queickly 'walks' off the right side of the desktop screen, and I cannot locate it to bring it back into view. I recently added a graphics projector and had to change my display values so that the computer would output to the projector. Do I need to change something back. This only happens with Firefox.
    == This happened ==
    Every time Firefox opened
    == I change my display seetings to enable a graphics projector. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)

    looks like it is not the problem with firefox, ask your husband. through my experience of using firefox there is no poof-off stuff.

  • The drop down view by menu (Song, album, etc) at the right side of the iTunes window is like a ghost. It flashes into view for a millisecond once in awhile but never lets me click on it. Anyone know what this is about and what to do?

    The drop down view by menu (Song, album, etc) at the right side of the iTunes window is like a ghost. It flashes into view for a millisecond once in awhile but never lets me click on it. Anyone know what this is about and what to do?

    Short answer:
    Click Hide Song(s), it is what you wanted to do...
    Long answer:
    iTunes in the Cloud is a feature of your iTunes store account that allows you to redownload or stream your past purchases. When you delete a purchased track that is downloaded to your computer (like the first one shown here) you are asked if you also want to hide the song from iCloud. This would remove it from the computer and also stop it showing up with the iCloud symbol as the other tracks from that album (which are not downloaded) do.
    If a track shows with the cloud symbol you can play (stream) it by double-clicking the title, or click the cloud symbol to download a local copy to your library. If you try to delete one of these tracks you get a slightly different message confirming that you want to hide the track. Clicking hide will remove the listing from the library and any other device that shows your past purchases.
    Should you want to retrieve any item hidden in this way at a later date use Store > View My Account > iTunes in the Cloud > Hidden Purchases > Manage.
    To hide all your previous purchases that are not downloaded to your computer use Edit > Preferences > Store and untick Show iTunes in the Cloud purchases.
    tt2

  • Updated to Firefox 18.0 and now the windows are wrapping improperly, with more and more of the right side of the window showing up on the left as you go down.

    Updated to Firefox 18.0 on a MacBook running Mac OS 10.6. Non-static areas of the window (url & search boxes, main area of window, etc.) now display incorrectly, looking like what happens when a program thinks the image is (for example) 500 pixels wide, when its actually 512 pixels wide. Each line after the first starts with what's "leftover" from the line above it, resulting in an image that appears slanted, with what should be the right side of the image appearing on progressively more on the left side of the image. No other programs (including Safari) seem to be exhibiting this problem, and it appeared immediately after the upgrade. Minimizing the window into the Dock, then re-opening temporarily fixes the problem. As soon as I scroll the window, the problem reappears.

    I am having the same problem. the screen slants to the right making the navigation impossible, also some fields like the address bar are complely messed up-looks like a no signal TV screen. I have tried to reinstall and remove the plist file. Am using firefox 18 on a intel macbook running 10.5 thanks for any help

  • Using values in the right side of the shuttle on another page.

    Hello All,
    On page 1 I have a shuttle item. I select some values and move them to the right side of the shuttle. Now I need to navigate to a second page (currently I'm controlling the navigation with a button) and pass the values from the right side of the shuttle on page 1 over to page 2. How do I get the values from the right side of the shuttle on page one over to page 2. If it's easier to use a pop-up than a second page 2 I'd love to do that, but same problem, how to use the values from the right side of the shuttle?
    I've tried setting up a shuttle on page 2 and setting the values on the URL re-direct but, no luck! I also tried a PL/SQL (On Load- Before Header) page process on the second page (see code below) where I try to "work with" the shuttle values, also no luck.
    Any ideas?
    Thanks Much!
    declare
    l_selected APEX_APPLICATION_GLOBAL.VC_ARR2;
    l_set_id number;
    l_loopcount PLS_INTEGER := 0;
    BEGIN
    l_selected := APEX_UTIL.STRING_TO_TABLE(:P6_UNGROUPED_SETS);
    -- Loop through the array of selected fulfillment sets
    FOR i IN 1.. NVL(l_selected.count,0) LOOP
    l_loopcount := l_loopcount +1;
    l_set_id := l_selected (i);
    INSERT INTO TEST2
    (SETS)
    VALUES
    (l_set_id);
    END LOOP; -- Loop through Array
    :p7_loopcount := l_loopcount;
    end; -- Main End

    Hello
    >> I've tried setting up a shuttle on page 2 and setting the values on the URL re-direct but, no luck!
    The value of a Shuttle item is a colon-delimited string. As colon is used as a special character in the APEX URLs (what we call the f?p notation) you can’t pass a Shuttle value using a URL (similar to the limitation of passing a traditional time notation like 10:00 in a URL, for the same reason).
    Whenever you are submitting a page, APEX automatically saves the value of all the page items in session state, and it makes them available on any other page in the application. You can access them by using the bind variable notation with the item name (e.g. :P1_SHUTTLE1).
    In your case, all you need to do is to submit page 1 (even if you don’t run any after submit activities) and then you can use the Shuttle item value from page 1 as the default value of the Shuttle item on page 2, or use this value in any other way on page 2. Just remember that the value is a colon-delimited string and for any other use other than a Shuttle default value, you most likely need to parse it first.
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • When I click on a picture or map in i.e. Kijiji real estate pages, Firefox opens it all crunched to the right side of the page. How can I correct this?

    When I click on a picture or map in i.e. Kijiji real estate pages, Firefox opens it all crunched to the right side of the page. How can I correct this?
    For instance I view an apartment ad which has various pictures attached. It says click on the pictures to see an enlarged version. FF opens the page however most of the page is blank and the picture appears to be pushed to the right side of the page and shows as if it has been scrunched agains the right side not showing the whole picture.
    What Can I do to correct this?

    I see that you have increased some font sizes considerably.
    * font.size.fixed.x-western: 20
    * font.size.variable.x-western: 22
    This can effect margins when the website specifies these as em values and cause content to shift.
    If you have made changes to Advanced font settings like increasing the minimum/default font size then try the default minimum setting "none" and the default font size 16 in case the current setting is causing problems.
    *Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    Make sure that you allow pages to choose their own 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 to use an extension to set the default page zoom to prevent issues with text not being displayed properly.
    You can use the NoSquint extension to set font size (text/page zoom) and text color on web pages.
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/
    Note that your System Details List shows multiple Flash plugins.
    * Shockwave Flash 16.0 r0
    *Shockwave Flash 12.0 r0
    You can find the installation path of all plugins on the <b>about:plugins</b> page.
    *http://kb.mozillazine.org/Issues_related_to_plugins#Identifying_installed_plugins
    You can check the Flash player installation folder for multiple Flash player plugins and remove older version(s) of the plugin (NPSWF32) and possibly (re)install the latest Flash player.
    *(32 bit Windows) C:\Windows\System32\Macromed\Flash\
    *(64 bit Windows) C:\Windows\SysWOW64\Macromed\Flash\
    Your System Details list shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts.
    The user.js file is only present if you or other software has created this file and normally it wouldn't be there.
    You can check its content with a plain text editor (right-click: Open with) if you didn't create this file yourself.
    The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.
    You can delete this user.js and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences

  • My macbook keeps freezing with the left side of the screen on the right and the right side of the screen on the left. Help

    My 17-inch early 2011 macbook pro keeps freezing on me.  The freeze usually occurs when I'm importing or exporting pictures, when I stream anything, or If I am watching a dvd.  The left side of the screen shifts to the right and the right side of the screen shifts to the left.  lines also appear on my screen and I can not force quit any open application.  I have not dropped my laptop at all. 
    Mac OSX Lion version 10.7.5
    2.2 Ghz Intel Core i7
    I would like to avoid going to the an apple store to fix this problem if possible.  The closest one to me is 40 miles away. 
    Help : )

    If you don't have the Applecare extended warranty then you will need to pay for the fix. The fix is a New Logic Board. It seems as your Graphics card is failing in some way. No there is no software fix for this.
    The Graphic chip is soldered to the logic board and the only way to change/fix it is to replace the complete logic board.
    Good Luck and Best Wishes

  • 1px line created on the right side of the browser

    Hi All,
    I want to have a banner image, which fades into blackness so i have made the image smaller to fade into a black solid background. I have simply placed this behind the background image.
    When adding either a rectangle with a fill image or a solid black image to my banner, it is somehow creating a 1 pixel thin white line on the right of the browser. It's as if there is an element which is larger than my width (1400px including the 100px for left and 100px for right margins). It is also creating a horizontal scroll bar.
    Once i delete this rectangular fill/solid colour fill, i no longer have a horizontal scroll bar or a 1px thin line on the right.
    I have double checked every single element of the page that it does not exceed the canvas size and it touches the edges to create the red lines that it is 100% full browser width. I have checked the master etc.. everything seems to be fine and the correct 1400px width.
    Can anyone assist with what could potentially be causing this? I have attached some screenshots if you need any.
    PLEASE NOTE! This is only an issue with GOOGLE CHROME for desktop and on any browser for tablets (haven't tested on mobile yet as i have not optimised my site for mobile).
    I've tried this is Safari and it has no horizontal scroll bar or an issue with the 1px thin line on the right side of the browser.
    This is killing me because i can't find out what it is!

    Hi All,
    Anyone have any ideas?!

Maybe you are looking for

  • SSO 1.0.2.2 to 9.0.2 integration

    Hi- I have a scenario where i have perform some SSO integration between Oracle SSO 9iAS v 1.0.2.2 and Oracle 9iAS Release 2. That is, there is a partner application (in this case an oracle portal) protected by 1.0.2.2, and a J2EE web app protected by

  • Copy and paste ignores track text edit preview settings?

    Hi all, Working with FM9 and another editor that requires me to copy and paste from FM9 into the other. Enable and use tracking text edits in FM9. Preview Final to hide the edits. Copy and paste a paragraph that contains edits. When I paste into the

  • How do I retrieve my photos from icloud after backing it up

    I purchased an iphone 5. I backed all of my photos, music, etc. up and now I'm not sure how to get it back on my phone..HELP!

  • How can I stream videos that come into my imac directly to my AppleTV and then my TV

    how can I stream videos that come into my imac directly to my AppleTV and then my TV?

  • S60Emulator

    hi.. where should i place d writing text file in an S60Emulaor ?I mean d path of d text file?In a default colour phone, there is a filesystem root for storing such files.Because while transfering d jar file to N70 mobile ,that file is not reading whi