Changing tab name dynamically

Hi All
i've four tab pages in a portal page and i want to change the labels of these tab pages dynamically taking data from table.
for example i've a table named TAB_TITLES with thest columns TAB_ID,TAB_NAME
there are four rows
TAB_ID TAB_NAME
1 Tab-1
2 Tab-2
and so on
i want to read values from this table and put the tab label in oracle portal page having tabs.
thanks

So .. ?
You should have some expression of problem, information of your attempt, question about something or request for help. I do not see anything in this message like this, although it is also posted twice for no reason.
so help others in assisting you my friend; or otherwise help yourself!

Similar Messages

  • Changed Tab name is showing old name some times

    Hi Friends,
    I had successfully changed the enhanced tab name from the screen painter using translation and it also reflected in the transaction.
    When i am going to another tab within the same screen, changed tab name <b>'Safety Inf'</b> is again getting changed to old name <b>'Enhancemnt'</b>. when i go back again to the enhanced tab, again my changed name is coming as <b>'Safety inf'</b>.
    User doesn't like this...
    What could be the reason? any body has idea?
    Regards,
    Satish

    Hi,
    Nobody has any idea about this?
    Regards,
    Satish

  • Changing tab name in one component that used in different applications -FPM

    Hi gurus,
    I have an FPM component configuration, which have different tabs.
    This component i have used in different applications.
    I just want to know how can I dynamically change the name of one tab in different applicatins?
    I want to change only the tab name. content in the tab is same.
    For eg. If I open a Bid from Rfx, it should show "Rfx Information" as one tab name. But if i open a bid from Auction, it should show 'Auction Information'.
    Content in this tab is same.
    Is there any way to do that? Or shall I create different component config. for bid to use in Auction application  and another one for RFx application?
    Thanks,
    Poduval

    Hi, 3Sherill3. This may help:
    http://www.macupdate.com/info.php/id/16620

  • Changing tab title dynamically

    Hi All
    i've four tab pages in a portal page and i want to change the labels of these tab pages dynamically taking data from table.
    for example i've a table named TAB_TITLES with thest columns TAB_ID,TAB_NAME
    there are four rows
    TAB_ID TAB_NAME
    1 Tab-1
    2 Tab-2
    and so on
    i want to read values from this table and put the tab label in oracle portal page having tabs.
    thanks

    So .. ?
    You should have some expression of problem, information of your attempt, question about something or request for help. I do not see anything in this message like this, although it is also posted twice for no reason.
    so help others in assisting you my friend; or otherwise help yourself!

  • Dialog title to depend on tab name dynamically....

    Hi,
    I have an application which has a tab(Phones) and tab has a Jtable with some data.
    When i press Lookup button the first tab-Jtable loads .
    When i right click on a cell in the table, the corresponding row first coloumn value is shown through a dialog.
    Now in the dialog the title is "Shakin", i want the dialog title to be dynamic depending on the tab(name) it is clicked i.e it depends on the tab names (like in this case Phones).
    If someone click a cell in table of first tab(Phones) then the dialog title should also be Phones.
    In future if i add more tabs then each tab would have dialog and each dialog title would depend on each corresponding tab name.
    Can somebody suggest be what to do?
    Below is the code....
         package alignment;
    * @author K
    import java.awt.BorderLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import java.util.Arrays;
    import java.util.Vector;
    import javax.swing.JButton;
    import javax.swing.JDialog;
    import javax.swing.JFrame;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTabbedPane;
    import javax.swing.JTable;
    import javax.swing.event.TableModelEvent;
    import javax.swing.table.DefaultTableModel;
    public class TestJava extends JFrame {
         DefaultTableModel mtm;
         JTabbedPane tabbedPane = new JTabbedPane();
         JPanel phones = new JPanel();
         JScrollPane scroller = new JScrollPane();
         JPanel p = new JPanel(new BorderLayout());
         JPanel topPanel = new JPanel();
         JButton lookup = new JButton("Lookup");
         JTable table = new JTable();
         Dbi di;
         String[] columnNames = { "full name", "HP-URL", "address" };
         Vector cnv;
         Vector dbResult;
         public TestJava() {
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              mtm = new DefaultTableModel(columnNames, 2);
              cnv = new Vector<String>(Arrays.asList(columnNames));
              table = new JTable(mtm);
              final JOptionPane pane = new JOptionPane("", JOptionPane.PLAIN_MESSAGE,
                        JOptionPane.INFORMATION_MESSAGE);
              final JDialog d = pane.createDialog(null, "Shakin'!");
              d.setModal(false);
              d.pack();
              table.addMouseListener(new MouseAdapter() {
                   public void mouseClicked(MouseEvent me) {
                        if (me.getButton() == me.BUTTON3) {
                             int row = table.rowAtPoint(me.getPoint());
                             Object value1 = table.getValueAt(row, 0);
                             // JOptionPane.showInputDialog(value1,"Value is " + row);
                             pane.setMessage(value1);
                             if (!d.isVisible())
                                  d.setVisible(true);
              scroller = new JScrollPane(table);
              topPanel.add(lookup);
              phones.add(scroller);
              tabbedPane.addTab("Phones", phones);
              p.add(topPanel, BorderLayout.NORTH);
              p.add(tabbedPane, BorderLayout.CENTER);
              setContentPane(p);
              pack();
              di = new Dbi();
              lookup.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e) {
                        fetch();
                        table.tableChanged(new TableModelEvent(table.getModel()));
                        if (pane != null) {
                             pane.setMessage("");
                        table.repaint();
         public void fetch() { // time-consuming task should be run
              Thread t = new Thread() { // in a separate thread
                   public void run() {
                        dbResult = di.getQueryResult("QUERY!!!!!");
                        mtm.setDataVector(dbResult, cnv);
              t.start(); // actionPerformed() immediately returns, not blocking GUI
         public static void main(String[] args) {
              TestJava frame = new TestJava();
              frame.setVisible(true);
    class Dbi { // make it a separate public class
         public Vector<Vector> getQueryResult(String query) {
              Vector<String> v1 = new Vector<String>();
              Vector<String> v2 = new Vector<String>();
              Vector<String> v3 = new Vector<String>();
              Vector<String> v4 = new Vector<String>();
              v1.addAll(Arrays.asList(new String[] { "Tim Marshall",
                        "http://tim.marshall/", "Never never land" }));
              v2.addAll(Arrays.asList(new String[] { "Com Commercial",
                        "http://com.comcom/", "Land of gold" }));
              v3.addAll(Arrays.asList(new String[] { "Love Lovable",
                        "http://love.neverhate/", "Sun lotus state" }));
              v4.addAll(Arrays.asList(new String[] { "War Monger",
                        "http://war.momongers/", "Fire and ice city" }));
              Vector<Vector> v0 = new Vector<Vector>();
              v0.add(v1);
              v0.add(v2);
              v0.add(v3);
              v0.add(v4);
              return v0;
    }Thanks

    Use a ChangeListener, it fires every time a new tab is selected.

  • HTML DB Chang column name dynamically

    Can I change the column name dynamically. for instance
    Today run my apply it will display the title of the columns this
    Column title: Wed Thu Fri
    04/22/05 04/23/05 04/24/05
    Data 45 34 34
    54 56 23
    Next week
    Column title: Wed Thu Fri
    05/03/05 05/04/05 05/05/05
    45 34 34
    54 56 23
    The date Change Dynamically?

    Go to your report and open report atributes. There you can choose the options for column names. Click on the pl/sql function and type this in:
    DECLARE v varchar2(20);
    begin
    v := to_char(SYSDATE, 'dd.mm.yy')||':'||to_char(SYSDATE+1, 'dd.mm.yy');
    RETURN v;
    END;
    This will set the first two columns to the specified dates. You can use this as one option.
    If the case is more complicated than you can do the following:
    1. create a number of items on your page - hidden
    2. compute the items with values once the page is loaded
    3. use item substitute string &ITEM. in the column name, which will use the item value as a name for the column.
    This way you are more flexible since you can use the item values for some columns only and have the other columns hardcoded.
    Denes Kubicek

  • Change tab names

    Hello to every member,
    I am looking to change the name of several tabs in the CIC0 transaction. I know that with the Screen Sequence Control, you can hide, add or change the order of differents tabs but I didn't manage to change the name of the tabs for the moment. Is there a solution to this problem?
    Thanks a lot

    Hi Matthieu!
    You can give transaction CMOD a try - in case the tabs are dictionary-related, this should help.
    It's in Goto - text enhancements - data elements or keywords.
    Regards,
    Christian

  • Change tab names in CIC0

    Hello to every member,
    I am looking to change the name of several tabs in the CIC0 transaction. I know that with the Screen Sequence Control, you can hide, add or change the order of differents tabs but I didn't manage to change the name of the tabs for the moment. Is there a solution to this problem?
    Thanks a lot

    Use this code template to find screen exit for a transaction:
    *& Report  ZUSEREXIT                                                   *
    REPORT  ZUSEREXIT no standard page heading                  .
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
             tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
       select single * from tadir where pgmid = 'R3TR'
                        and object = 'PROG'
                        and obj_name = tstc-pgmna.
       move : tadir-devclass to v_devclass.
          if sy-subrc ne 0.
             select single * from trdir where name = tstc-pgmna.
             if trdir-subc eq 'F'.
                select single * from tfdir where pname = tstc-pgmna.
                select single * from enlfdir where funcname =
                tfdir-funcname.
                select single * from tadir where pgmid = 'R3TR'
                                   and object = 'FUGR'
                                   and obj_name eq enlfdir-area.
                move : tadir-devclass to v_devclass.
              endif.
           endif.
           select * from tadir into table jtab
                         where pgmid = 'R3TR'
                           and object = 'SMOD'
                           and devclass = v_devclass.
            select single * from tstct where sprsl eq sy-langu and
                                             tcode eq p_tcode.
            format color col_positive intensified off.
            write:/(19) 'Transaction Code - ',
                 20(20) p_tcode,
                 45(50) tstct-ttext.
                        skip.
            if not jtab[] is initial.
               write:/(95) sy-uline.
               format color col_heading intensified on.
               write:/1 sy-vline,
                      2 'Exit Name',
                     21 sy-vline ,
                     22 'Description',
                     95 sy-vline.
               write:/(95) sy-uline.
               loop at jtab.
                  select single * from modsapt
                         where sprsl = sy-langu and
                                name = jtab-obj_name.
                       format color col_normal intensified off.
                       write:/1 sy-vline,
                              2 jtab-obj_name hotspot on,
                             21 sy-vline ,
                             22 modsapt-modtext,
                             95 sy-vline.
               endloop.
               write:/(95) sy-uline.
               describe table jtab.
               skip.
               format color col_total intensified on.
               write:/ 'No of Exits:' , sy-tfill.
            else.
               format color col_negative intensified on.
               write:/(95) 'No User Exit exists'.
            endif.
          else.
              format color col_negative intensified on.
              write:/(95) 'Transaction Code Does Not Exist'.
          endif.
    at line-selection.
       get cursor field field1.
       check field1(4) eq 'JTAB'.
       set parameter id 'MON' field sy-lisel+1(10).
       call transaction 'SMOD' and skip first   screen.
    Best Regards,
    Pratik Patel
    <b>
    Reward with Points!</b>

  • Change tab name

    How do I change the name od a tab?

    I don't know of a way to do this on Firefox for Android. An extension could do it but to the best of my knowledge there is no such extension.

  • Screen Exit .. Change tab name.. IMP.

    Hi,
    Can any one please let me know, from where to change the tab name in a screen exit.
    When I activate the exit, a new tab is added in the tabstrip control, I have designed the layout, but from where I can put the desired name in the tab.
    Thank you in advance.
    Best Regards,
    Sandipan

    Hi Sandipan,
    I'm trying to do the same. Did you find a solution to this?
    Cheers,
    Amy

  • Changing file name dynamically in INFOSPOKE

    Hi All,
    I am using infospoke to export data to third party.
    But here file name is constant. I want to change the file name using prefix with time stamp before filename. For example if data is getting extracted today and file name is suppose ABC then it should become 03.06.2009ABC.
    Please let me know the process how to achieve this.
    Your input would be a great help to me.
    Thanks,
    Uday.

    Hi dear..ur file will have dynamic date appended in the begining as per the current date..and I do always...so don't worry about that..few more settings are there when you will be specifying logical path..
    go to transaction file
    1.say yes on cross client message
    2.double click on the logical path definition..check if there already specified logical path..for you..(you may find it out by clicking on another tcode AL11)
    once you know it..you can find the details by clicking on assignment of physical path ...
    if its not present..i dont' hope so..then create one..eg. ZLOGTEST
    .Logical path    ZLOGTEST
    Name            Logical file Path Definition(folder path)
    Syntax group    UNIX       Unix compatible
    Physical path   /transfer/<FILENAME>   (here it depends on ur application server folder check AL11)
    3.Now click on Logical file name definition
    Logical file    ZTEST_INFOSPOKE
    Name            ZTEST_INFOSPOKE
    Physical file   /<SYSID>/<DATE>_ZTEST_.CSV
    Data format     ASC
    Applicat.area   BW
    Logical path    ZLOGTEST
    when u would have defined logical path in step 2 the only u can use it in step 3.
    Ti will work always..to add time also use tab <TIME> in between...if u want..
    regards,
    rk

  • Changing Tab Names in  ME21N

    Hi All,
    I need to change tabstrip labels in ME21N, ME22N, ME23N on standard (delievered) tabs Additional Data & Communication.
    I have a dedicated system and therefore freedom to change delievered objects. Does anyone know where in the config/code the tabstrip labels in ME21N reside?
    Thanks,
    Roman

    Look at the text element for the program SAPLMEGUI in se38 (Goto -> Text elements -> Text Symbols).
    <b>H03     Communications data
    H09     Additional data</b>
    Make the changes to those text elements and the name of the tabstrip will change.
    Cheers!
    Rishi

  • Changing tab names on tabbed pane

    Hi all,
    just wondered if anybody knows how i can change the text that appears on my tabs in a jtabbedpane. So far I only have tab1, tab2 etc and I cant seem to find how to change this.
    Thanks alot

    just wondered if anybody knows ...Have you tried to find out by reading the API docs?
    {color:0000ff}http://java.sun.com/javase/6/docs/api/javax/swing/JTabbedPane.html{color}
    Read the method descriptions and tell us if you found anything you could use.
    db

  • Changing Tab Name in Standard Transaction

    Hi
    I have an urgent requirement to change the tabname in transaction <b>iw3k</b>. The standard program for the same is <b>SAPCLOIH</b>. Actually when i go to iw3k the tabname shows ENHANCEMENTS, but when i click on that tab, on the next screen the same tabname changes to REQUIREMENTS. Now i want to change the tabname ENHANCEMENT to REQUIRMENTS(as in second screen).
    Please tell me the screen number, where i could make changes.
    Provide urgent help. Useful ans will be rewarded.
    Regards
    Aarti

    Hi
    I have an urgent requirement to change the tabname in transaction <b>iw3k</b>. The standard program for the same is <b>SAPCLOIH</b>. Actually when i go to iw3k the tabname shows ENHANCEMENTS, but when i click on that tab, on the next screen the same tabname changes to REQUIREMENTS. Now i want to change the tabname ENHANCEMENT to REQUIRMENTS(as in second screen).
    Please tell me the screen number, where i could make changes.
    Provide urgent help. Useful ans will be rewarded.
    Regards
    Aarti

  • Change application name dynamically

    Hi,
    Can I set the name of the application (on the home-screen) within an application. I would like to add an input field in the application settings in order to let the user choose a name for the application.
    Thanks!
    Christian

    I dont think this is an option during Runtime via BIAL.
    Can you explain the business scenario you are trying to address with this functionality?    

Maybe you are looking for