Changing TABs texts in PCUI on runtime

Hi All.
Does somebody know if is it possible to change the text of a TAB on runtime in PCUI ? maybe implementing some logic in the MAC ? any idea is welcome.

Hi Raja,
I have the same case, I am working with CRM 4.0 Channel Management and try to change the name of the TAB in the run time. I am not so familiar like my colleage with this PCUI therefore I ask for more details.
I do not want to made enhancements, but is this requiered for changing the name of the TABs?
Raja, can you assit me and tell how I need to process and where I can find this:
CHECK_ACTIVE_TABSTRIP ?
Regards, Anja

Similar Messages

  • Change tab text

    Hi Experts,
    I have a standard webdynpro screen which has a Tabstrip having different tabs. For one of the tabs in the Tab Strip I want to change the Tab text on certain condition during runtime.
    When I check the Tab property, the propery Caption is holding the Text for the Tab. Is it possible to change the text during runtime?
    I would need to create and assign an OTR text to make enable the text in other login, so I is it possible to create another caption and bind it during runtime? or anyother option?

    Srinivas Kalluri wrote:
    Is it possible to change the text during runtime?
    > I would need to create and assign an OTR text to make enable the text in other login, so I is it possible to create another caption and bind it during runtime? or anyother option?
    As the text property of the caption of the Tab is bindable, Yes you can bind it at runtime. As you mentioed it is standard component, you need to use enhancment concepts to do this.
    you can create OTR and then use below code,
      data: lw_alias   TYPE sotr_alias,
            lw_otr         TYPE string.
    data: l_otr type ref to cl_sotr.
      IF NOT l_otr IS BOUND.
        CREATE OBJECT l_otr.
      ENDIF.
           lw_alias = 'Z_OTR_TAB_TEXT'.
    *    Get OTR text
            CALL METHOD l_otr->get_text_by_alias
              EXPORTING
                i_alias = lw_alias
              IMPORTING
                e_text  = lw_otr.
    *     set single attribute
      lo_el_tab_text->set_attribute(
        EXPORTING
          name =  `TAB_TEXT`    "TAB_TEXT is attribute having type string
          value = lw_otr. ).
    Thanks,
    Chandra

  • Changing Tab Text

    How can I change programmaticly the Text of the Tabs from a Tab Control?
    I was looking for a property like "Strings[]" from the "ring-control"
    I need a soloution to to dynamic change the Tab control during execution.
    Any idea?

    ISTR there's very little control over the tab control. However, you could
    hide the tabs of the tab control, select which tab is to be displayed
    programmatically, and create at the simplest a cluster of Booleans at the
    top to serve as a new tab control.
    Amadeo Vergss wrote in message
    news:[email protected]..
    >
    > How can I change programmaticly the Text of the Tabs from a Tab Control?
    >
    > I was looking for a property like "Strings[]" from the "ring-control"
    >
    > I need a soloution to to dynamic change the Tab control during execution.
    >
    > Any idea?

  • Reg: Tabstrip  tab text change through program.

    Dear all,
       I am using tabstrip in my program, my requirement is to change the text of the tab dynamically in the program .
    please help me in this regard.
    thanks in advance.
    Haritha

    can u please make it clear  that u want to change tab text when u click on any button
    or mouse move
    regards
    anil

  • Can you change graphic text at runtime?

    can you change a text graphic item at runtime? There's no property for the text itself, or a visible property.

    No - use a Display Item - or put the text on a Stacked canvas and you can then hide the whole lot.

  • How to change a labels text which created at runtime?

    hi,
    i am creating label controls in runtime dynamically and adding them to a group component. this group component is in another custom component and i have lots of custom comp. in my app.
    my question is how can access (via id) and change a labels text whict created at runtime?
    i can change like this but i am setting id's and want to reach via id.
    var lbl:mx.controls.Label = mx.controls.Label(subMenu5.group_subMenu5.getElementAt(1));
    lbl.text = "good job";
    thank you, have a good day.

    First off, if you are already using a Spark Group, I would suggest you use a Spark Label instead of an MX Label. If you want to reference the Labels from the group, loop through the group's elements and check the if the element id matches the Label you want to assign text to.
    var lbl:Label;
    var n:int = myGroup.numElements;
    for (var i:int = 0; i < n; i++)
         lbl = myGroup.getElementAt(i) as Label;
         if (lbl && lbl.id == "myLabel")
              lbl.text = "newText";

  • 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

  • How to change the text of customer tab in Me23n

    Hi
    I have added new customer tab in Me23n at item level.
    Its text is Customer Data.
    I would like to change to some other text.
    How to change the text of customer tab in Me23n
    Regards
    Amruta

    Amruta,
    I had the same query today and finally found the answer.
    In order to change the title text or description of the "Customer Data" tab in ME23N, etc. you need to define a new text symbol in program SAPLXM06. The text symbol must be number 111 for the PO data. Make sure you define this text symbol in the language you are using when viewing the PO. I had issues with this as the original language of object SAPXM06 is not my logon language.
    The standard code which picks up this text is in function module MEGUI_BUILD_PO_ITEM_PLUGIN. I could not find any documentation around this functionality.
    Hope this helps!
    Ben

  • QM03-Custom tab-Change to text field not reflecting-FG - XQQM-screen-0106

    Hi,
    I have a requirement to change the text field on a custom tab of QM03 transaction. Quality notification type is Z1 and the tab is "Checklist". Both are custom defined.
    The existing text field is of 3 lines. The new text message is of 8 lines. When I did the changes on the custom screen 0106 in the function group XQQM, the changes are not reflected on the QM03 transaction's custom tab. Only first 3 lines were reflecting the change and rest of the 5 lines are not appearing on the screen.
    Pointers on this will be definitely helpful.
    Regards,
    Mallika.

    I had a similar problem, but it was with the message line. I found that with Web Forms, I had to issue the Synchronize; a second time, but in Client/Server Forms 6i, the first synchronize worked. Here is the code I used:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy"> SYNCHRONIZE;
    if Get_Application_Property(User_Interface) = 'WEB' then
    synchronize;--first does not work on web
    end if;</font></pre>
    Let us know if this works.

  • Linux: The tabs text color changes with the theme, while the menu text color is always black.

    Hello,
    When Firefox theme is changed, it usually changes window appearance, e. g. backgrounds, and sets corresponding text color to contrast with that background. It always used to be like this. For instance, I currently use Sunflower_01 theme which sets blue sky as a background. The tabs text is white, as well as the bookmarks. The white text contrasts very fine with the sky. But the menu items are awfully black, casting dark-gray shadows on the dark-blue sky. The menu remains black regardless of the theme I set.
    Of course, it's all fine without any add-ons (light background, dark text), but with a theme enabled, it looks not the way it used to be. I wonder if it can be fixed somehow.
    I use Mozilla Firefox 33.0 for Linux Mint (release 13, maya).
    Looking forward to your reply.
    Regards,
    Andrey

    Hello,
    Did you install from the repositories? I have found the same problem with Ubuntu 14.04, a workaround is to either use a userChrome.css file, or (in my opinion, the easier route) [https://addons.mozilla.org/en-US/firefox/addon/stylish/ Stylish] extension with a new Style.
    See these articles about the userChrome.css file:
    * http://kb.mozillazine.org/index.php?title=UserChrome.css
    * http://kb.mozillazine.org/UserChrome.css_Element_Names/IDs
    If you use the userChrome.css route, you may need to restart Firefox to apply the changes.
    See this article for Stylish:
    * http://forums.mozillazine.org/viewtopic.php?f=38&t=1570945
    To add a new style in Stylish, click on the Stylish tool on your toolbar, then "Write New Style", then "Blank style". Or:
    * Tools (or [[Image: New Fx Menu]]) > Add-ons > User Styles > Write New Style
    Example code for either one method you choose (you can play around with the colours, but I found this worked nicely for my theme):
    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    /*change size, color, style of text in Menu Bar */
    menubar > menu
    {color: darkgray !important}
    /* Mouse hovering over menu */
    menubar > menu[_moz-menuactive="true"]
    {color: white !important;}
    /* Active/Open menus */
    menubar > menu[_moz-menuactive="true"][open="true"]
    {color: black !important;}

  • How to Change the customer subscreen tab text in maintanance order ?

    Hi all,
    I have implemented a screen-exit for maintanance order using IWO10018. it is working fine but the tab text of the added screen is ENHANCEMENT. I tried to change it by creating the text symbols in  the program with the screen . But still it is not changing.
    Please help me to solve the issue?
    Thanks,
    Aravind.

    Refer:
    Re: Change tab strip name for ME52N transaction
    How to change the name of Customer  Tab strip .
    Rename Custom tab in IW31 transaction
    Check whether you can maintain the tab page title here
    transaction spro-investment management-Appropriation requests-control data-specify tab layout for Appropriation reuqests

  • OH-Edit Medical Service: How to change tab pages text

    Hi All,
            Is it posible to change TAB pages text in Edit Medical Serivce(EHSAMBTAET) like Protoco/GeneralExamination, Vaccination etc to some other text?
    Thanks
    Bhuwan

    HI Dhaval,
    Can you be more clear. At what point of time you want to change.
    Thanks
    Aravind

  • How to change the text of a tabstrip?

    Hallo Experts,
    There are 3 tabstrips in Screen Painter with the name tabstrip1, tabstrip2 and tabstrip3. The default text ist: customer_fields1, customer fields2, customer fields3.
    Now I want to change the text of tabstrips in real time. E.g. text of tabstrip1 should be "Financial Data".
    How can I do it?
    Thanks,
    Rujing

    Well, I've tried out some possible solutions, but none of the worked, I could not change the text dynamically during runtime.
    You have some alternate solutions: create more tabs, and show hide them during runtime. For this you can use the dynpro's PBO event, and within the LOOP AT SCREEN... ENDLOOP. statements.
    And an another one (that's absolutely not an elegant soluton
    - create a DDIC structure (in SE11 transaction), with a field, like ZMYSTRUCTURE-ZMYFIELD. This field should refer to a data element, like ZMYDATAELEMENT. Here you can set a default text for this data element.
    - assign this ZMYSTRUCTURE-ZMYFIELD field to the name of your tabstip's tab.
    - when you wanted to change the text, you have to change the text, you update the text of your data element ZMYDATAELEMENT, in the table DD04T.
    This might work... I'm not sure about it, but you might give it a shot.
    Regards
    Tamá

  • How to dynamically change the text of a TextObject with embedded DataField?

    Hi
    I'm trying to dynamically change the text of a TextObject at runtime, by using the .NET library. My problem is that if one or more DatabaseFieldDefinition is embedded inside my text, I'm unable to change the "static text" only, by keeping the field, e.g. I have :
    Text1 => "Contact Name: {Contact.Name}"
    and I'd like to change it to anything else like:
    Text1 => "Nom du Contact: {Contact.Name}"
    Half of my TextObject is static text while second part comes from the dataset.
    (of course the translation is dynamic - it is called at run-time and the new value to be set depends on the calling application language)
    If I simply modify the Text property of my TextObject, the {Contact.Name} embedded field is not evaluated anymore by the Crystal Engine, but considered as a single text.
    Using formulas or parameters looks quite difficult, because it means having many ones just for translation needs - I cannot control the way my users will create their reports and "force them" to use complex methods just in order to put a text and a value together...
    Anyone knows how to deal with that ?

    Only way I can think of doing this:
    1) Create a formula (call it lang) and enter the string "Contact Name" in it
    2) Place the  {Contact.Name} field next to the string
    3) So now you have:
    ContactName:  {Contact.Name}
    4) Check what localization you are after. If you need "Nom du Contact", change the lang formula so it shows "Nom du Contact" using the code below:
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Public Class Form1
    Inherits System.Windows.Forms.Form
    Dim Report As New CrystalReport1()
    Dim FormulaFields As FormulaFieldDefinitions
    Dim FormulaField As FormulaFieldDefinition
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    FormulaFields = Report.DataDefinition.FormulaFields
    FormulaField = FormulaFields.Item(0)
    FormulaField.Text = "[formula text]"
    CrystalReportViewer1.ReportSource = Report
    End Sub
    I realize this may not give you consistent spacing as the translations may have strings of differnt length. Perhaps someone has other idea(s)...

  • How to change the text of label dynamically

    Hi all,
    I have done a dynpro program.It requires to implement the dynamically display the label text, for example: there is a label, sometimes, we want to display "Purchase Order" and sometimes we want to display "Sales Order". Can anyone tell me how to change the text of label according to my requirements? thanks in advance!

    Hi Wei,
    AS of now you will not be able to change the Text Field ( Label ) dynamically or at runtime. This is a limitation.Refer to this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/e4/2adbef449911d1949c0000e8353423/frameset.htm
    But, there is a way around.
    You can make a text field Visible / Invisible based on your program logic. So, based on what you want, you can process a module which will take care of that.
    Have a look at these DEMO Code. You can have a good idea to implement the logic.
    DEMO_DYNPRO_MODIFY_SCREEN - Demonstration of Dynamic Screen Modifications
    Thanks,
    Samantak.

Maybe you are looking for

  • Is there any way to regain access to phone stuck on itunes connect screen?

    My iphone 4S is requiring me to connect to itunes via USB to do the latest software update, 8.1.2. The phone is just locked out of any normal functionality, just the itunes connect screen. I have tried to just do an update for the software, but it sa

  • Set Up and Register iPod Shuffle

    Each time iTunes opens, I see the same text on my screen. I cannot read all the text, because it flows off the right side on my monitor. Here's what I can read: 1. Set up your iPod Choose a name for your iPod and specify w-. Want iTunes to automatica

  • Location of Mountain Lion Download?

    For some reason yet to be discovered I always seem to have issues downloading large files on my Mac. I have a work around where I download the SW packages at work and save to a USB thumb drive and then copy and install on my Mac. Can someone tell me

  • Why is everything appear squeeze in my GUI

    Hi I have created a JPanel that contain a bunch of buttons and a JScrollpane that contain a table. The JPanel is then add to a JFrame. The problem is that when I run my program, the label in the button which should appear as ----------- | newcat | |

  • Can not download update Vision Assistant Version 7.1

    i really can not directly download update Vision Assistant Version 7.1 from this site http://digital.ni.com/softlib.nsf/websearch/AF2B1355764E96C786256E9A00544EB9?opendocument&node=13206... Is there any altenative website that easily can download the