Title of the TAB in the tabstrip control

Hi,
I need to change a title of the TAB dynamically in the program.
How can I do it?
Thanks.

Ok,  I just test this and it worked good. 
First, go to screen painter layout, where the tabstrip is,  double click on the tab name,   It should have a value in the Name box, if not put one there.  For the rest of this example we will call this name  TABA,  also while in this dialog, make sure to check the box on the Program tab below for "Output Field".  Also make sure to make the lenght of these fields more than the 4 characters that they probably are now, make them like 10 or so.  Do all this for each tab, each tab should have a different name, TABA, TABB, TABC.
Now in your program,  declare the variables for TABA, etc.
data: taba(10) type c,
      tabb(10) type c.
Now in your PBO, you can fill the text into the varaibles.
module STATUS_0100 output.
*  SET PF-STATUS 'xxxxxxxx'.
*  SET TITLEBAR 'xxx'.
TABA = 'This is tab A'.
TABB = 'This is tab B'.
endmodule.                 " STATUS_0100  OUTPUT
That should be it.
Regards,
RIch HEilman

Similar Messages

  • How to change the text for the tabs of a tabstrip control dynamically

    Hi Guys,
        I am having two screens in a transaction.
    1. 1st screen has material number as an input and submit push button
    2. 2nd screen has two tabs in a tabstrip control.
        I want to display material description and plant number as heading for the two tabs based on the material number entered by the user in the 1st screen. Means i want to change the text dynamically. Is there any possible way? If it is there please help me. Very urgent...
    Thanks in advance
    James.

    Hi,
    If you set the "Output field" attribute for a pushbutton/tab, you can also set its text dynamically in the ABAP program. To do this, you must create a field in the ABAP program with the same name as the pushbutton/tab. You must then assign the required text to the field before the screen is displayed.
    For example define a global field in your program called MATNUM(20) and use this as the name for the material number tab on the tabstrip. Then you can assign a text MATNUM = 'Material Number' and this will appear as the tab title. Don;t forget to set the "Output field" attribute on the tab.
    Hope it helps

  • Renaming the tabs on a tabstrip control for ME21N

    Hello SDNers,
    I am working on a screen enhancement for ME21N using user exit MM06E00.
    On ME21N a addiional tab called "Customer Data " has been added along with the standard tabstrip control.
    I wanted to rename this has "CFORM" now how do I do this.
    Please help me regarding this.
    Regards,
    Ranjith N

    Hi Nambiar,
    Go to the text symbols of Function Pool SAPLXM06 (function pool that contains the modules and includes and screens creatted using Enhancement MM06E005 ).
    Say you want to name the custom header tab (screen number 101) in PO as 'PO Header additonal data'.
    Then in the text symbols of Function Pool SAPLXM06 add '101' to "Sym" coulmn and 'PO Header additonal data' to "Text" column.
    Now after activating the text elements and the enhamcement project, if you run ME21N/ME22N/ME23N the name of the custom addtional header tab would be displaed as 'PO Header additonal data'.
    Hope this helps.
    Regards,
    Abhisek.

  • Need to set the tab order in HTMLB controls

    I readed in another thread that it was not possible to set the tab order in HTMLB controls on BSP forms.
    However it was possible to do a little workaround, by setting the tooltip property, and put in the tabindex in that. Because Browsers do understand the property tabindex.
    Examble:
    <htmlb:inputField id="authorfname1"
    tooltip='tooltip1" tabindex="2'
    value = "<%= authorfname %>" />
    HTML Output would be like this:
    <input title="tooltip1" tabindex="2" class="sapEdfTxtEnbl"
    size="20" name="authorfname1" id="authorfname1" value="">
    <b>It works a little bit differently in my HTMLB controls.</b> Output is like this:
    <input title="tooltip1&quot; tabindex=&quot;2" class="sapEdfTxtEnbl"
    size="20" name="authorfname1" id="authorfname1" value="">
    <i>It doesn't work. " becomes &quot; <b>How do I solve this?</b></i>

    thanks for sharing the info.
    to handle your issue you could do the following
    <% data: replace_string type string .
    clear replace_string .
    replace_string = `<input  tabindex="2"`.
                  %>
                  <bsp:findAndReplace find    = "<input"
                                      replace = "<%= replace_string                  %>" >
                   <htmlb:inputField id="authorfname1"
    tooltip="tooltip1"
    value = "<%= authorfname %>" />
                  </bsp:findAndReplace>
    Hope this helps.
    Regards
    Raja

  • Every time I launch Firefox 4 it opens 3 or 4 blank windows, no longer opens the tabs from the previous session and does not show my bookmarks sidebar.

    I have to manually close the extra windows and restore the tabs from the previous session, and reopen the sidebar. In disgust I uninstalled Firefox 4 and reinstalled 3.6. Everything works fine in 3.6. Looks to me like Firefox 4 has many major bugs and is not yet ready for prime time. I'll stay with 3.6 for now.

    This can be a problem with the files [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    Delete [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.<br />
    You will have to redo App Tabs and Tab Groups after deleting sessionstore.js.
    See:
    * http://kb.mozillazine.org/Session_Restore

  • I had about 17 tabs open on my browser. I clicked a link to open another one and when the tab opened the other tabs disappeared. What happened here?

    I had 17 tabs open. When I clicked a link to open a new tab all the other tabs disappeared. I thought a new window had been opened instead, but this is not the case there is only one window open on my mozilla browser. If I try to close the window I get a message that says there are 26 tabs opened, I opened 9 more tabs. Can anybody tell me what is going on here or how I might figure this out?
    Also, when I close a tab and try to reopen the tab using the right click menu, the 'undo closed tab' menu is disabled. What happened here? Can anybody tell me how to re-enable it?

    I've seen some occasional glitches with windows losing the toolbar area, but not one that disturbing.
    If you click and drag down on the 18th tab enough to tear it off into a new window (and possibly the same for the other newer tabs you opened), can you get the 17 tabs to re-appear in the first window? If not, I'm not sure there is a way to mend the window. If it's NOT a private browsing session, you might have to use Firefox > Exit (or File > Exit) and restore your session to get a working window. That won't work with a private window...
    As a backstop, you might also right-click a tab in the window > Bookmark All Tabs before ending your session. (Because session cookies and other transient data are not preserved when you reload bookmarks, this isn't as effective as restoring a session. On the other hand, bookmark storage is less fragile than session data storage.)
    Regarding Undo Close Tab, are the closed tabs listed on the History menu under Recently Closed Tabs? If so, that context menu item definitely should be enabled.

  • On Firefox 4, how can I put one "new tab" on the "tab bar" (The + sign) and one next to the "back/forward" buttons (as in FF 3.6)?

    On Firefox 4, how can I put one "new tab" on the "tab bar" (The + sign) and one next to the "back/forward" buttons (as in FF 3.6)?
    In my current Firefox, the "new tab" icon/item from the "customize" pop-up window menu of items is placed next to my home, back, forward buttons near the top-left of my header (Button 1 for "new tab"). Then, the tab bar automatically come with a small tab (with a + sign) to the right of your last tab opened (so you click on + and a new tab opens. Button 2 for "new tab"). I like to have this "new tab" button twice (as a + mini tab, and next to my "home icon".
    When I upgraded to Firefox 4, I seemed to be only able to "customize" or use the "new tab" in one place. Either as an icon next to home button, or as a "+ minitab", but NOT both.
    What can I do to put this button in Firefox 4 on BOTH places???
    Your help is really appreciated. I want to upgrade, but I want my buttons on both places...
    I upgraded to FF 4, but downgraded again just because this feature... that's just me of coarse :-)

    *New tab toolbar button: https://addons.mozilla.org/firefox/addon/new-tab-toolbar-button/

  • How do I add a tiny logo to the tab in the browser?

    How do I add a tiny logo to the tab in the browser?

    Hello,
    You're most possibly referring to "Favicons", and they can be added in a Muse site from the "File -> Site Properties -> Layout" section. Check this screenshot: http://jingsite.businesscatalyst.com/jing/2013-09-05_2332.png
    Hope this helps.
    Cheers
    Parikshit

  • I just got the new itunes and I can open itunes and see my music but whenI try and go to the itunes store it just loads to a white page. I try and refresh and go to the home page and nothing happens. I can sign into my account and the tabs for the itunes

    I just got the new itunes and I can open itunes and see my music but whenI try and go to the itunes store it just loads to a white page. I try and refresh and go to the home page and nothing happens. I can sign into my account and the tabs for the itunes store pop up like they normally would when browsing the itunes store but when I click on one of them, it is a blank page. Is there a setting I need to change? Does it just take an extremely long time to load? Please help!!

    Bucktr09:
    I'm having the exact same problem.  I upgraded to the newest version of iTunes on my iMac and ever since I did the store is a blank white screen.  I can get my library content but the store is a no go.  Is there any one out there with a solution?

  • When I right click on a link "Open link in new tab" since a few days, it "jumps over" the tab to the right and opens in the tab next to that. How can I change this back to opening in the tab next to the page from which I opened as it used to be?

    When I right click on a link "Open link in new tab" since a few days, it "jumps over" the tab to the right and opens in the tab next to that. How can I change this back to opening in the tab next to the page from which I opened as it used to be?

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • Is it possible to change the colors of the tabs in the pannelTabbed comp

    Hi Experts,
    Is it possible to change the colors of the tabs in the pannelTabbed component.
    suppose for the selected tab we need white color and non selected we need brown color.
    How can we achive this using ADF.
    Regards
    Gayaz

    [url http://download.oracle.com/docs/cd/E14571_01/web.1111/b31973/af_skin.htm#BAJFEFCJ]skinning

  • All of a sudden I can no longer open a new tab using either the icon on the tab bar, the keyboard short cut or the File menu option. I can open a new tab ONLY by clicking on a bookmark or link.

    All of a sudden I can no longer open a new tab using either the icon on the tab bar, the keyboard short cut or the File menu option. I can open a new tab ONLY by clicking on a bookmark or link

    This issue can be caused by the Ask<i></i>.com toolbar (Tools > Add-ons > Extensions)
    Your system details show that toolbar in the user agent as AskTbAD2/3.12.2.16749
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • How do I put shortcuts to web sites in a (?) tool bar/browser bar...don't know what it is called. With IE, I can just drag the tab for the site to the area I want.

    How do I put shortcuts to web sites in a (?) tool bar/browser bar...don't know what it is called. With IE, I can just drag the tab for the site to the area I want

    Near the right-end of the address bar is a white star which can be difficult to see, but look closely. When you wish to bookmark a shortcut to the toolbar, double click the star. A window will open with the name of the webpage. Under that is the folder box which will probably read 'Unsorted Bookmarks'. Click the drop down arrow and change it to 'Bookmarks Toolbar' then click done.
    I have several folders on my toolbar such as Music, Mail, etc. in which I add multiple websites. If you wish to add a folder, click the second drop down arrow next to 'Bookmark Toolbar' and click 'New Folder' and give it a name.
    To add a bookmark to a folder, again double click the star, make sure you are in Bookmark Toolbar and click one of the two drop down arrows to find the name of the folder.
    For other bookmarks use Bookmark Menu. Whatever is added here can be accessed by Bookmarks on the Menu Bar. If your Menu Bar with Bookmark, File, View, etc. is not visible, click the Alt key and they will become visible. To keep the Menu Bar, click View, Toolbars and check Menu Bar.

  • Additional tabs will not open when clicking the "+" tab at the top of the screen or by clicking "file + new tab"

    I've been using Firefox for several years and just ran across a problem within the past two weeks. I usually have several tabs open at the same time while browsing the Internet. Suddenly, when I tried to open a new tab by clicking on the "+" tab at the top right of the screen, a new tab would not open. Then I tried clicking on "file + new tab" and a new tab still won't open. If I click on a link within an email, then a new tab will open, but I cannot choose to open a new tab. Please help! Thanks! :)

    In addition to the above:
    Your above posted system details show multiple Java Console extensions.
    You can uninstall and remove Java Console extensions, you do not need them to run Java applets.
    See:
    * http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions

  • Since updating last time Firefox will not open new tabs unless I right click on a link. It won't open them via file or the tab at the top of the brwoser. Anyone know how to fix this?

    Since updating last time Firefox will not open new tabs unless I right click on a link. It won't open them via file or the tab at the top of the brwoser or usinf ctrl + t. Anyone know how to fix this?

    I can press ctrl for a new tab but otherwise a new tab does not open. I actually need help regarding this new Synch which apparently will be in Firefox automatically in an upcoming version so I am asking how that will synch with people who use LastPass-of course because I use this very successfully and really am not eager to change the set up that I have in place at this time.
    I have read through endless FAQ trying to find anyone else who has this question or concern but have found nothing. Can you please tell me how that service will get along with LastPass which does basically the same thing as Synch-it is probably spelled wrong as it looks wrong to me but if I click back to where this issue began, I will lose all of this question so please respond for the upcoming service synch.

  • When I scroll to the right I lose the tabs on the left. Fix!!

    When i scroll to the right, I lose the tabs on the left and can not recover them. This just started when I updated Firefox.

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

Maybe you are looking for