Change name of tabstrips dynamically

how can I change the name of tabstrips dynamically during runtime?
Regards

Hi,
SELECTION-SCREEN BEGIN OF SCREEN 120 AS SUBSCREEN.
PARAMETERS: FIELD1(10) TYPE c .
SELECTION-SCREEN END OF SCREEN 120.
SELECTION-SCREEN BEGIN OF SCREEN 121 AS SUBSCREEN.
PARAMETERS: FIELD2(10) TYPE c .
SELECTION-SCREEN END OF SCREEN 121.
SELECTION-SCREEN: BEGIN OF TABBED BLOCK B1 FOR 10 LINES,
                  TAB (20) TAB1 USER-COMMAND push1,
                  TAB (20) TAB2 USER-COMMAND push2,
                  END OF BLOCK mytab.
INITIALIZATION.
  TAB1 = 'Selection Screen 1'.
  TAB2 = 'Selection Screen 2'.
  b1-prog = sy-repid.
  b1-dynnr = 100.
  b1-activetab = 'PUSH1'.
AT SELECTION-SCREEN.
  CASE sy-dynnr.
    WHEN 1000.
      CASE sy-ucomm.
        WHEN 'PUSH1'.
          b1-dynnr = 120.
        WHEN 'PUSH2'.
          b1-dynnr = 121.
        WHEN OTHERS.
      ENDCASE.
  ENDCASE.
This will get selection tab dynamically.
Regards,
Gurpreet

Similar Messages

  • How to pass tag name and value dynamically in the output of PCo notification?

    Hi,
    I have a requirement to develop such a scenario where there can be multiple no of tags in PCo (Say 10) but there will be single notification to push the tag name when the value got changed and the changed value to MII. for any value change for any of the tag, the notification will be trigger. So As per my knowledge I have to pass the tag name and value dynamically in the "output" tab of the notification. But need your support to find out how to pass them dynamically.
    Thanks in advance.
    Regards,
    Suman

    Hi Suman/Jeedesh,
    As per Pco notification, it will trigger whenever any of the tag value changes in Agent instance subscription items.
    For above issue, My suggestion
    1. Create DB table name TAGLIST with 200 tags as rows in columns (Tagname, TagValue)
    2. Based on notification trigger, create a transaction and update values w.r.t TagNames in above table
    3. Next time, when notification trigger with fresh value for any of the tag, cross check with existing TagName with Value and update in DB table.
    4. And in the mean time, send those Tag details vie mail trigger or as per requirement
    Instead of creating 200 notification, above is a just alternate way suggestion to achieve dynamic tag value change notification.
    Hope it might solve your problem
    Regards,
    Praveen Reddy

  • How can I uniquely identify computers on the same network/account specifically for airdrop use?  When I change name on one computer under contacts if changes on all computers.

    How can I uniquely identify computers on the same network/account specifically for airdrop use?  When I change name on one computer under contacts it changes on all computers.  I would like to change icon and name for each computer.

    you would need to setup a VPN and tunnel into your office.
    FYI..the default ports are 3283 and 5900.

  • How to change a item type dynamically?

    Is it possible to change a item type dynamically?
    For example.
    I've got a page with 2 items. The first is a select list and the second is a date picker. The select list contains two values, 1 and 2.
    If value 1 is selected the second item needs to remain a date picker. If value 2 is selected the second item needs to become a Text Field (disabled saves state).
    Anyone got an idea?
    Thx. Frank.

    Frank,
    It's not possible to change the item type dynamically as you describe it below. However, to achieve a similar effect you could do the following:
    1) Make the Select List a Select List With Submit.
    2) Have a Date Picker AND a Text Field on the page.
    3) Make the display of the Date Picker item conditional on the relevant value having been chosen from the Select List.
    4) Make the display of the Text Item conditional on the other value having been chosen from the Select List.
    Andy
    http://atulley.wordpress.com/

  • Converting Video to iPod, can you change name of file

    When you convert Video to iPod format, can you change name of the new file or put some "marker" so one can tell which is the orginal and which is the new file?
    Currently it is difficult to tell between the orignal and the new file.
    thanks in advance
    Rohit

    You'd probably be better off doing this sort of editing in iTunes, and letting it move the files appropriately.
    Go to the preferences, Advanced tab, and check the box to 'Keep iTune Music folder organized'. Then any changes you make to song names or other info (within iTunes) will automatically be applied.

  • How can change language of application dynamic?

    In the dialog I have combo box in which I can select desire language for application. When I select value I save this value in the config file. But language change ONLY when I exit and again enter to the application. How can change language of application dynamic (without exit from application) ?

    alexpass wrote:
    In the dialog I have combo box in which I can select desire language for application. When I select value I save this value in the config file. But language change ONLY when I exit and again enter to the application. How can change language of application dynamic (without exit from application) ?I guess your application sets the locale at "startup", based on the contents of the config file, using a call to java.util .Locale.setDefault(Locale). Did you try to call this method in response to the selection in the combobox?
    This won't refresh all widgets already created however. You probably have to re-create them all.
    There may be case-by-case way to refresh them, for example Locale-dependent layout may be taken into account dynamically. Try and tell us.

  • RE: 1) Changing name and IP address of an AIX 4.2 Server 2)Using NAT

    Daniel,
    you (normaly) just have to :
    1) edit the $FORTE_ROOT/fortedef.sh fileand change the value of variable
    FORTE_NS_ADDRESS
    2) shutdown and restart forte environment
    3) put the new values in the control panel of the client and run !
    It worked on our site with the same configuration (Aix 4.2)
    Good luck
    De : Daniel[SMTP:[email protected]]
    Répondre à : Daniel
    Date : vendredi 18 juin 1999 13:08
    A : [email protected]
    Cc : Jose Ignacio
    Objet : 1) Changing name and IP address of an AIX 4.2 Server 2)
    Using NAT to reach forte
    Hello Forte Users :
        I have 2 questions to make:
        1)
        I've installed a Forte Server Central Node (Release 3.0.F.2) in an
    IBM RS/6000  with OS AIX 4.2
        (The name of the server is Name_1 and the IP address is
    125.125.50.50 with mask 255.255.255.0)
        Nowadays we had to change the name and IP address of this server
    lets say to Name_2 and 125.125.60.60 with mask 255.255.255.0.
        After that we try to find any reference to old name and IP address
    in the forte directory and all of its subdirectories changing them to
    the new ones.
        After these changes we found than forte could'nt start the nodemgr
    server.
        We have too many reasons to avoid installing FORTE again.
        Does anybody know if I have to change anything more to make
    nodemgr server work.
        2)
        The second question is about NAT (Network Address Translation).
        To reach a Forte Server Central Node from a Forte Client we have
    to pass through a Firewall and NAT.
        We are researching and at this moment we can not reach the server
    from the client, has anybody any suggestion to correctly configure
    Forte (Client and Server) to use NAT between them.
        If anyone could help me I would be very pleased.
        Thank you very much in advance,
        Daniel GonzáLucas (EAM Sistemas Informáticos SL, Spain,
    e-mail: [email protected])
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    >> 15 Mins is not enough for completely the replication.
    >> use repadmin /syncall /aEpd   - for force replication.
    >> Wait 3 hrs minimum.
    Regards,
    Biswajit
    MCTS, MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, Enterprise Admin, ITIL F 2011
    Blog:
      Script Gallary:
      LinkedIn:
    Note: Disclaimer: This posting is provided & with no warranties or guarantees and confers no rights..

  • [svn:fx-4.x] 14699: Adding pop up children to the end of automation children array so that index of static children do not change due to these dynamic children .

    Revision: 14699
    Revision: 14699
    Author:   [email protected]
    Date:     2010-03-11 06:20:06 -0800 (Thu, 11 Mar 2010)
    Log Message:
    Adding pop up children to the end of automation children array so that index of static children do not change due to these dynamic children.
    QE notes:
    Doc notes:
    Bugs: FLEXENT-1248, FLEXENT-1250, FLEXENT-1253
    Reviewer:
    Tests run: checkintests
    Is noteworthy for integration:
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FLEXENT-1248
        http://bugs.adobe.com/jira/browse/FLEXENT-1250
        http://bugs.adobe.com/jira/browse/FLEXENT-1253
    Modified Paths:
        flex/sdk/branches/4.x/frameworks/projects/automation/src/mx/automation/delegates/containe rs/ApplicationAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkApplicationAutomationImpl.as

    Revision: 14699
    Revision: 14699
    Author:   [email protected]
    Date:     2010-03-11 06:20:06 -0800 (Thu, 11 Mar 2010)
    Log Message:
    Adding pop up children to the end of automation children array so that index of static children do not change due to these dynamic children.
    QE notes:
    Doc notes:
    Bugs: FLEXENT-1248, FLEXENT-1250, FLEXENT-1253
    Reviewer:
    Tests run: checkintests
    Is noteworthy for integration:
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FLEXENT-1248
        http://bugs.adobe.com/jira/browse/FLEXENT-1250
        http://bugs.adobe.com/jira/browse/FLEXENT-1253
    Modified Paths:
        flex/sdk/branches/4.x/frameworks/projects/automation/src/mx/automation/delegates/containe rs/ApplicationAutomationImpl.as
        flex/sdk/branches/4.x/frameworks/projects/automation_spark/src/spark/automation/delegates /components/SparkApplicationAutomationImpl.as

  • How do i u acsess my bluetooth settings thru my phone to change name etc. Also cant connect to any devices

    How do i u acsess my bluetooth settings thru my phone to change name etc. Also cant connect to any devices

    What devices are you trying to connect to, and are they in pairing mode? Is the phone in pairing mode? The iPhone only connects to audio devices and to computers for tethering. You cannot use BlueTooth on an iPhone for file transfers to other phones or computers.

  • My library changed names and all manually loaded content is gone, help

    My Itunes library changed names without me doing so and all my CD added music is gone?  Where is it?  How do I get it back.
    Library changed name to my name then Lib?  Very strange

    Does anyone have a suggestion?

  • Vendor change name issue

    I have a problem, we have a vendor named vendorA. In one day, vendorA changed their name to vendorB. Then my colleague change the name on vendor master. I would like to know it is better create a new vendor code or modify the exist one? Since we still issue PO after changed the vendor name, that means all PO related to this vendor, including new name and old name. If i create a new vendor code for new name, is it possible to transfer the to new vendor code, credit old vendor code, debit new vendor code. Thanks!

    Hii,
    Do not change Name of the exesting vendor into new name , it is better to create a new vendor code unless it will be difficult for you to scrutiny of vendor data.
    Create a new vendor code & then find out the data which needs to be booked in new vendor code.
    For this , you have to pass two seprate entires by using intermidiary account
    For Eg.
    if old vendor having credit balance
    Old Vendor a/c   Dr.
         to Intermidiary a/c
    & then
    Intermidairy a/c   Dr
         to New Vendor a/c
    Note : In both the entried you have to use one common profit center
    Regards,
    Umesh

  • BO4 - Changing name of existing connection on repository and impact on existing unx universes

    Hi,
    If we have universes (unx ) which have connections and want to rename the connection,  I know we can change the name of the connection on the repository via the repository resources in the Information Design Tool.
    I notice existing universes which use the connection still have the old name for their connection shortcut.
    Is there a way to synchronise so that if change a name of universe connection the names of connection shortcust on existing universe connections are automticallly chnaged to reflect the new name?
    Thanks

    HI
    Changing name of existing connection not impact on existing unx universe, if backed connection CUID not changes, I think you can rename the existing connection in CMC .
    Before doing test with sample example.

  • Fuction to change names

    I have two tables
    student
    NAME STUDENT_NUMBER CLASS MAJ
    Smith 17 1 CS
    Brown 8 2 CS
    and
    grade_report
    STUDENT_NUMBER NAME SECTION_IDENTIFIER G GPOINT
    17 Smith 112 B 3
    17 Smith 119 C 2
    8 Brown 85 A 4
    8 Brown 92 A 4
    8 Brown 102 B 3
    I need function that when i change names in student table....directly this function changes student names in grade_report

    Trigger is some thing like that.
    SQL> select * from student;
    NAME                 STUDENT_NUMBER
    bbb                              10
    SQL> select * from grade_report;
    NAME                 STUDENT_NUMBER      MARKS
    bbb                              10        100
    SQL>
    SQL> create or replace trigger student_name_update_trg
      2  after update
      3  on student
      4  for each row
      5  begin
      6     update grade_report
      7     set
      8             name = :new.name
      9     where
    10             student_number = :new.student_number;
    11  end;
    12  /
    Trigger created.
    SQL>  update student set name = 'bca';
    1 row updated.
    SQL> select * from student;
    NAME                 STUDENT_NUMBER
    bca                              10
    SQL> select * from grade_report;
    NAME                 STUDENT_NUMBER      MARKS
    bca                              10        100
    SQL>

  • Change name of Activity type

    Hi Gurus,
    My PP consultant wants to Change name of "labour" instead of "Labor"in activity type.
    Pl advise whether he can chnage and if so how he can change.
    Regards,
    Samar

    Hi Gurus,
    Thanks for the reply,
    I have change text through KL02,but when i enter again in KL02,the system shows:
    Act type  COAr  Short Text   Language  Valid from   to
    LABOR    9000   Labour        EN           1.4.07        31.3.99
    Hence it is still showing LOBOR but in short text it is coming as "LABOUR"
    Pl advise,how i can change "Act Type Col" and put Labour in said column.
    Regards,
    Samar

  • Change name of function..?

    I have 2 codes on 2 different keyframes i have just copy/pasted. I have changed all the name of functions and variables, I just need one function I don't know how to change name of.
    code on key frame 1:
    var timedelay2:Number = 10;  // seconds delay in replay
    var video2;
    var nc2:NetConnection;
    var ns2:NetStream;
    nc2 = new NetConnection();
    nc2.connect(null);
    ns2 = new NetStream(nc2);
    ns2.client = this;
    ns2.addEventListener(NetStatusEvent.NET_STATUS,netStatusf2);
    function netStatusf2(e:NetStatusEvent) {
        if (e.info.code == "NetStream.Play.Stop" && Math.abs(durationNum-ns.time)<.1) {
    setTimeout(replayF,timedelay*1000);
    function replayF2(){
    ns2.play("film/film1.f4v");
    var durationNum2:Number;
    function onMetaData(iObj:Object):void {
        durationNum2 = iObj.duration;
    video2 = new Video(287,263);
    video2.x = 231.1;
    video2.y = 140.5;
    addChild(video2);
    video2.attachNetStream(ns2);
    ns2.play("film/film1.f4v");
    code on key frame 2:
    var moviesA:Array =["film/film1.f4v", "film/film2.f4v"];
    var movie:String = moviesA[Math.floor(Math.random()*moviesA.length)];
    var timedelay:Number = 5;  // seconds delay in replay
    var video;
    var nc:NetConnection;
    var ns:NetStream;
    nc = new NetConnection();
    nc.connect(null);
    ns = new NetStream(nc);
    ns.client = this;
    ns.addEventListener(NetStatusEvent.NET_STATUS,netStatusf);
    function netStatusf(e:NetStatusEvent) {
        if (e.info.code == "NetStream.Play.Stop" && Math.abs(durationNum-ns.time)<.1) {
    setTimeout(replayF,timedelay*1000);
    function replayF(){
    ns.play(movie);
    var durationNum:Number;
    function onMetaData(iObj:Object):void {
        durationNum = iObj.duration;
    video = new Video(287,263);
    video.x = 231.1;
    video.y = 140.5;
    addChild(video);
    video.attachNetStream(ns);
    ns.play(movie);
    problem is this function, I don't really know how to give one of the function another name so they don't interfere with each other...?
    function onMetaData(iObj:Object):void {
        durationNum2 = iObj.duration;
    anyone that can help..?

    hey again
    i'm now just using
    var durationNum:Number;
    function onMetaData(iObj:Object):void {
        durationNum = iObj.duration;
    on frame 1. But it seems i've lost the randomness on frame 2. it only plays "film/film1.f4v" all the time even though i put multiply times "film/film2.f4v". Is this true, or is it just me who have been very unlucky..?
    my frame 1 looks like this at the moment:
    var timedelay:Number = 10;
    var video;
    var nc:NetConnection;
    var ns:NetStream;
    nc = new NetConnection();
    nc.connect(null);
    ns = new NetStream(nc);
    ns.client = this;
    ns.addEventListener(NetStatusEvent.NET_STATUS,netStatusf);
    function netStatusf(e:NetStatusEvent) {
        if (e.info.code == "NetStream.Play.Stop" && Math.abs(durationNum-ns.time)<.1) {
    setTimeout(replayF,timedelay*1000);
    function replayF(){
    ns.play("film/film1.f4v");
    var durationNum:Number;
    function onMetaData(iObj:Object):void {
        durationNum = iObj.duration;
    video = new Video(287,263);
    video.x = 231.1;
    video.y = 140.5;
    addChild(video);
    video.attachNetStream(ns);
    ns.play("film/film1.f4v");
    stage.addEventListener(MouseEvent.CLICK, clickHandler);
    function clickHandler(event:MouseEvent):void{
        if (event.target.name!=null){
            switch(event.target.name) {
                case "work1_btn":
                gotoAndStop("work1");
                removeChild(video);
    break;
                case "contact_btn":
                gotoAndStop("contact");
                removeChild(video);
    break;
                case "frontpage2_btn":
                gotoAndStop("frontpage2");
                removeChild(video);
    break;
    And my frame 2 looks like this:
    var moviesA2:Array =["film/film1.f4v", "film/film2.f4v", "film/film2.f4v", "film/film2.f4v", "film/film2.f4v"];
    var movie2:String = moviesA2[Math.floor(Math.random()*moviesA2.length)];
    var timedelay2:Number = 0;  // seconds delay in replay
    var video2;
    var nc2:NetConnection;
    var ns2:NetStream;
    nc2 = new NetConnection();
    nc2.connect(null);
    ns2 = new NetStream(nc2);
    ns2.client = this;
    ns2.addEventListener(NetStatusEvent.NET_STATUS,netStatusf2);
    function netStatusf2(e:NetStatusEvent) {
        if (e.info.code == "NetStream.Play.Stop" && Math.abs(durationNum-ns.time)<.1) {
    setTimeout(replayF2,timedelay*1000);
    function replayF2(){
    ns2.play(movie2);
    video2 = new Video(287,263);
    video2.x = 231.1;
    video2.y = 140.5;
    addChild(video2);
    video2.attachNetStream(ns);
    ns2.play(movie2);
    stage.addEventListener(MouseEvent.CLICK, clickHandler2);
    function clickHandler2(event:MouseEvent):void{
        if (event.target.name!=null){
            switch(event.target.name) {
    case "frontpage2_btn2":
                gotoAndStop("frontpage2");
                removeChild(video2);

Maybe you are looking for

  • Trying to upgrade 3.6.28 to 27, imported bookmarks, Library view shows all folders in proper sequence, but 99% are not in Toolbar view at all.

    Jscher and Cor-el tried to help me a few years back w/o success. Trying again to upgrade from 3.6 (XP) to 27 (Win7). Exported from 3.6 as HTML file (also have json), and imported into 27. Last time, I never 'found' most of my bookmarks in FF 27. Espe

  • White Balance Selector Tool operation

    The WB selector tool still appears as though it only selects one pixel in the the "Pick a Target Neutral" array display window, the one with the x over it (regardles of whether you scale the matrix to 16x16 or 5x5 with the scale slider.  It does not

  • FTP has stopped

    Hi, I share administrator access with a few others on our 10.5.5 server. FTP was enabled and working fine, but it stopped about two weeks ago. The others who have access deny making any changes, and all seems to be set correctly- or at least how it w

  • Intel GMA x3100

    I have the macbook early 2008 edition i bought in april 4, 2008. I love my mac more than anything in the world.. I have old pc games i want to put on my mac when i install windows only for that purpose, otherwise windows *****! anyway it says 144 mb

  • How to use h:dataTable with ResultSet?

    I have checked the documentation and it says that <h:dataTable> supports various types of data collections, e.g. List, Arrays, ResultSet, etc. So if <h:dataTable> is value-bound to a ResultSet, how could I retrieve the columns? Please show some sampl