Status icons on tabstrip controls

Hello
I have a problem displaying the status icon on a tabstrip control.
I've created an infotype. On the tabstrip control, I've added texteditors and status icons.The status icon is there as an indication to state whether there is information populated in the texteditor.
The texteditors all have information populated in them. Whenever I run the infotype on PA30, the status icon does not appear. It only appears when I click on the texteditor button which is not what i want it to do.
On PA30,I would like the ICON to appear when there is information in the texteditor and not when I click on the texteditor button.
Please advice me on how to fix this problem.
Thanks
Adhil Ramruthan

REPORT  ZICON_CONTROL.
tables: icon.
controls: tc type tableview using screen 100.
data: begin of it_data occurs 0,
       icon(4),
       value(02),
      end of it_data.
"Based on condion you populate the ICON data here
"if the case is editable and then you have to do the same in PBO
it_data-icon = '@0A@'."ICON_RED_LIGHT.
it_data-value = '00'.
append it_data.
it_data-icon = '@08@'. "ICON_GREEN_LIGHT.
it_data-value = '01'.
append it_data.
call screen 100.
*&      Module  transfer_data  OUTPUT
*       text
module transfer_data output.
read table it_data index tc-current_line.
endmodule.                 " transfer_data  OUTPUT
Flow logic.
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
loop at it_data with control tc.
  module transfer_data.
endloop.
PROCESS AFTER INPUT.
loop.
endloop.
MODULE USER_COMMAND_0100.

Similar Messages

  • Regarding icon in tabstrip control

    Hi Friends,
       I've designed a tabstrip control with 3 tabs.In each tab, I'm populating different data in ALV format.I've used a custom container for the same.Now I've a requirement from business side that if any of the tabs is having the data, some icon should be displayed alongwith the name of the tab (may be ICON_OKAY). If there is no data in the tab, then no icon should be displayed.
    Please advise me in detail as how to do this.Is there any standard functionality or method available for the same.
    Thanks in advance!!!!!

    Hi,
    I dont think we can control icon on tabs dynamically. May be the below links will be useful to find the alternatives / solutions.
    [Tabstrip controls|http://help.sap.com/saphelp_nw04/helpdata/en/17/5bf1b52ba211d2954f0000e8353423/frameset.htm]
    [Tabstrips|http://help.sap.com/saphelp_sm32/helpdata/EN/d1/801bd2454211d189710000e8322d00/content.htm]
    http://www.sapdesignguild.org /resources/icon_cookbook/icon_cookbook.pdf
    Statically if you want to attach then you can use : Screen painter: attributes for the TAB2.
    Regards,
    ~Satya
    Edited by: Satya suresh Donepudi on Mar 28, 2009 8:31 PM

  • Status icons in table controls

    Hi,
       i've included status icons inside my table control with an aim to show appropriate status depending on a value of a column (wa_tab-posted).
    all i want is that if a line in the table control has the value of wa_tab-posted as 'Y'. the status icon should be RED and Green if not posted ( wa_tab-posted = 'N'.)
    so far i have only been able to get a common status icon color based on the last line of the table control.
    ie: if the last line of my table control has the value of wa_tab-posted as 'N' then all the status icons show GREEN,,, even the ones where wa_tab-posted is 'Y'.
    how do i set unique status icons for each individual lines.
    Please advice.
    Thanks,
    David
    Edited by: david joseph on Aug 20, 2008 8:20 AM

    REPORT  ZICON_CONTROL.
    tables: icon.
    controls: tc type tableview using screen 100.
    data: begin of it_data occurs 0,
           icon(4),
           value(02),
          end of it_data.
    "Based on condion you populate the ICON data here
    "if the case is editable and then you have to do the same in PBO
    it_data-icon = '@0A@'."ICON_RED_LIGHT.
    it_data-value = '00'.
    append it_data.
    it_data-icon = '@08@'. "ICON_GREEN_LIGHT.
    it_data-value = '01'.
    append it_data.
    call screen 100.
    *&      Module  transfer_data  OUTPUT
    *       text
    module transfer_data output.
    read table it_data index tc-current_line.
    endmodule.                 " transfer_data  OUTPUT
    Flow logic.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    loop at it_data with control tc.
      module transfer_data.
    endloop.
    PROCESS AFTER INPUT.
    loop.
    endloop.
    MODULE USER_COMMAND_0100.

  • How can i hide a tabstrip control

    On my screen there are a pushbutton and a tabsrtip control which contain two tabs.
    initial,the tabstrip is visible,and the button with icon_collapse icon.
    then,i click the button ,and the tabstrip must be invisible,and the button's icon will change to icon_expand.
    if i use screen-name conditions to set the tab invisible,but the tabstrip has a shadow on the screen.the color of the space obtained by the tabstrip is different with other space's color.
    How can i set the color same with other if i want to hide the tabstrip.
    ths very much.

    see the example of custom tabstrip control for 0591 infotype
    MODULE ztab_strip_active_tab_set OUTPUT.
       IF  psyst-dsubt EQ 'BNPF'.
         g_ztab_strip-pressed_tab = c_ztab_strip-tab2.
         LOOP AT SCREEN.
           IF screen-group4 = '060'.
             screen-active = 0.
             MODIFY SCREEN.
           ENDIF.
         ENDLOOP.
       ELSEIF  psyst-dsubt EQ 'BNES'.
         g_ztab_strip-pressed_tab = c_ztab_strip-tab1.
         LOOP AT SCREEN.
           IF screen-group4 = '050'.
             screen-active = 0.
             MODIFY SCREEN.
           ENDIF.
         ENDLOOP.
       ENDIF.
       IF   psyst-dsubt NE 'BNPF' AND psyst-dsubt NE 'BNES'.
          LOOP AT SCREEN.
           IF screen-group4 = '050'.
             screen-active = 0.
             MODIFY SCREEN.
           ENDIF.
         ENDLOOP.
          LOOP AT SCREEN.
           IF screen-group4 = '060'.
             screen-active = 0.
             MODIFY SCREEN.
           ENDIF.
         ENDLOOP.
         g_ztab_strip-pressed_tab = ' '.
       ENDIF.
       ztab_strip-activetab = g_ztab_strip-pressed_tab.
       CASE g_ztab_strip-pressed_tab.
         WHEN c_ztab_strip-tab1.
           g_ztab_strip-subscreen = '0201'.
         WHEN c_ztab_strip-tab2.
           g_ztab_strip-subscreen = '0203'.
         WHEN OTHERS.
           g_ztab_strip-subscreen = '0202'.
       ENDCASE.
    ENDMODULE.                    "ZTAB_STRIP_ACTIVE_TAB_SET OUTPUT
    check this for hiding one tabstrip in one subtype and another in next subtype

  • How to insert tabstrip control in module pool screen painter

    Hi all!
    plz tell e how to use tabstrip control in module pool screen painter.Also plz give me an example program using tabstrip control.

    To insert tabstrip just open layout of screen and press on the tabstrip button there .
    Use this souce code further to activate it .
    CONTROLS tabstrip TYPE TABSTRIP.
    DATA: okcode TYPE sy-ucomm,
    dynnr TYPE sy-dynnr,
    flag type flag,
    active like tabstrip-activetab .
    call SCREEN 100.
    *& Module USER_COMMAND_0100 INPUT
    text
    MODULE USER_COMMAND_0100 INPUT.
    data: lv_okcode type syucomm.
    lv_okcode = okcode.
    clear okcode.
    case lv_okcode.
    WHEN 'TAB1'.
    dynnr = '0110'.
    WHEN 'TAB2'.
    dynnr = '0120'.
    WHEN 'TAB3'.
    dynnr = '0130'.
    WHEN 'TAB4'.
    dynnr = '0140'.
    WHEN 'TAB5'.
    "check authorization, if authorization fails
    flag = 'X'. "set the global flag
    active = 'TAB1'. "store active tab in global variable
    dynnr = '0110'. "set the screen number
    WHEN 'BACK' or 'EXIT'.
    leave program.
    ENDCASE.
    IF lv_okcode(3) = 'TAB'.
    tabstrip-activetab = lv_okcode.
    ENDIF.
    ENDMODULE. " USER_COMMAND_0100 INPUT
    *& Module STATUS_0100 OUTPUT
    text
    MODULE STATUS_0100 OUTPUT.
    SET PF-STATUS 'MAIN'.
    SET TITLEBAR 'xxx'.
    IF tabstrip-activetab IS INITIAL OR
    dynnr IS INITIAL.
    tabstrip-activetab = 'TAB1'.
    dynnr = '0110'.
    ENDIF.
    "set the activetab explicilty here
    if flag eq 'X'. "from authorization failure
    tabstrip-activetab = active. "'TAB1'
    clear flag.
    endif.
    ENDMODULE. " STATUS_0100 OUTPUT

  • How to display an status Icon in Table UI web dynpro ABAP?

    Hi Experts ,
    How to display an status Icon ( Traffic light ) in Table UI web dynpro ABAP? can somebody tell with a coding example. also I need to update status on condition so whats the best way?
    Thanks in advance.
    Regards,

    Hi Laeeq,
    click on table cntrol n place it on the screen..
    now click on the icon button n place it in the table control area.. a column of icons get created. name it (say) ICON.
    in the PBO..
    loop at internal table and call module in the loop (say) .
    MODULE ICON_DISP.
    now in the module try the foll code :
    module icon_display output.
    check some condition and assign the icon to the variable icon_r
      icon_R = 'ICON_GREEN_LIGHT'.
      CALL FUNCTION 'ICON_CREATE'
        EXPORTING
          name                        = ICON_R
        TEXT                        = ' '
        INFO                        = ' '
        ADD_STDINF                  = 'X'
       IMPORTING
         RESULT                      = ICON
      EXCEPTIONS
        ICON_NOT_FOUND              = 1
        OUTPUTFIELD_TOO_SHORT       = 2
        OTHERS                      = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      endmodule.
    where icon(35) and icon_r(35) type c .
    hope this helps u..
    Regards
    Aparna

  • Video and status icons not appearing

    I'm trying to set up a chat between my sister in Canada and my parents in the Uk. My sister's using a macbookpro with OSX0.4.1 and ichat 3.18 and my parents are using an imac running 10.3.9 and ichat 2.1
    We got into a video chat with my parents the other day, but today although all is good here, my parents can only see themselves in the video - they fill the screen. I don't know how to get them so they see themselves in the smaller preview, and us in the large preview. Also, they don't see the status icons, nor any of the green camera icons next to my name or my sister's name in the buddy list (and apparanty never have). They've tried quitting ichat, unplugging and replugging in the external isight, and rebooting with no difference.
    Can anyone help?

    Hi Kevin,
    iChat sometimes does this.
    The easiest fix is to reconnect.
    Or restart iChat.
    Now in addition they should really check some other places.
    With iChat open go to the Video menu.
    This should have the Camera Enabled item ticked.
    In the View menu they should make it Show Video and Show Audio Status.
    This will produce the Green icons in their Buddy list if they are not already there.
    There are in fact loads of ways to start a Video chat
    1) Clicking on the Green icon for that Buddy.
    2) Clicking once on the Buddy and then icons at the bottom of the Buddy list
    3) From the Buddies Menu
    4) Right Clicking /Control Clicking a Buddy and then from the Contextual menu
    I can understand that they may have the green icons but not use them.
    If the above does not work they should try Repairing Permissions
    As they are in iChat 2 and Panther then they may need to Run the Cron Scripts.
    See this FAQ for both the previous.
    For the second bit they will need MacJanitor (Simplest and cheapest and only does the Cron script)
    Download and install
    Click the Padlock and type in Admin password
    Run the Scripts one at a time or all All Tasks
    10:55 PM Thursday; July 12, 2007

  • Program errors working with OOPS ALV in a Tabstrip control

    Hi Experts,
    I am displaying an ALV grid in a Tabstrip control in dialog program and its getting displayed fine. However when I am presing any of the standard push buttons like sort, export etc., I am getting a pop up with icon 'STOP' and beside its mentioned 'Program errors'. Please let me now if there is any solution for this issue.
    Thanks and Regards,
    Praveen.

    Got the solution. We must declate the internal table that is bening passed into the set_table_for_first_display as global variable always.

  • How to hide tabstrip Control at runtime?

    hi to all.
    i used a tabstrip control in my screen.
    i want to make my tabstrip visible or invisible based on t-code
    for my screen.
    it will be total based on t-code.
    if i will enter t-code zins11 it will show me tabstrip for screen 100.
    if i will enter t-code zins12 it will hide me tabstrip for screen 100.
    Reply me.
    thanks.

    If you don't mind seeing the blank grey Tab Strip control box and simply hiding the tabs, this code will help.
      LOOP AT SCREEN.
        IF screen-name CP 'TS_TEST1_TAB*'.
          screen-active = 0.
          modify screen.
        ENDIF.
      ENDLOOP.
    where my Tab Strip name was 'TS_TEST1

  • Query about TABSTRIP Control within Sub screen

    Hi Expert,
    I have requirement like follows:
    In IW32->Enhancement Tab screen is as subscreen and No: 0900.
    Now I want to have 2 different sub screen say 0910 and 0920 each of this for different purpose according to
    Order Type as per clients requirement.
    Actaully I have developed screen 0900 already for some order type and now clients requirement changed i.e.
    there are 2 different groups of Order types (say Grp1 and Grp2)
    So, I proposed a solution for this as follows:
    In Enhancement Tab of IW32 according to group of Order Type (either Grp1 or Grp2) only you will be able to
    see fields for that perticular Grp either of 2.
    Technical Solution is like...
    1) I thought that I will create 2 subscreens say 0910 and 0920.
    2) In 0910 i will insert all those fields which are designed already in 0900 which is for Grp1
    3) and for Grp2 i will design 0920
    4) according to Order Type only 0910 or 0920 client will be able to see.
    Now I got stuck in between the screen development for 0920 because there are so many fields and i said to
    client that they will be able to see those fields in different Tab strips.
    I never worked on Tab Strip concept, I search so many forums and sites for Lesson on Tab Strip but not
    understood how to proceed as per my specific requiment.
    Please can anyone suggest me how to proceed further.
    Thanks in advance.
    Regards,
    Jay.

    There's no reason why you couldn't do it.
    A tabstrip control is simply made of a subscreen area and a "tabstrip" above, where each tab corresponds to a button/function code. You have 2 ways to define/program it, "local" or "server", the difference being a better performance with the "local" (interesting in slow WAN).
    In ABAPDOCU demos, you have 2 programs DEMO_DYNPRO_TABSTRIP_LOCAL and DEMO_DYNPRO_TABSTRIP_SERVER.
    Sandra

  • 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

  • Status icons in menu bar flickering

    Since installing Mac OS X 10.7.2 on my 15" MacBook Pro (early 2011), the status icons in de menu bar are constantly flickering.
    This is a video of the icons flickering: http://tinypic.com/r/314qopc/7 .
    Does anyone know how to resolve this issue?
    Thanks in advance for your help.
    Simon.

    I'm having the same problem.
    The only way to stop the flickering is to:
    Go to spotlight in system preferences.
    Click on Privacy
    Click the "+" button
    select Your hard drive from the drop down menu
    This should stop the flickering but it does mean you can't search in spotlight. I've also found that if you try and use the dictionary the dictionry app will crash. Also if you 3 finger tap a word in safari to define it safari will also crash. But it is a temperary solution for the flickering.
    Hope this helps 

  • How to disable the status icon in Skype 4 for Andr...

    Dear Skypers,
    How to disable the status icon in Skype 4 for Android phones?
    The guide on this following support page not working anymore: https://support.skype.com/en/faq/FA12359/how-do-i-enable-or-disable-the-status-icon-in-skype-4-for-a...
    Older version has the option to disable Skype Status and get rid of the Skype icon on Android status bar. But latest 4.4.0.31835 could not disable Skype Status in notifications settings. :/
    Device: Google Nexus 4
    Android: 4.3 JWR66Y
    Skype: 4.4.0.31835
    Please bring back the option to disable the Skype icon on Android status bar. This is the main reason I uninstall Skype. :/
    Kudos to the team, the apps is really smooth and fluid to use. Would be nice if you guys are following the Android Design Principles and using Google Cloud Messaging for push notification to improve User Experience and battery life.
    Kind regards,
    /chrone
    everytime i get ahead, i feel more dead.
    Solved!
    Go to Solution.
    Attachments:
    how to get rid of skype icon on android status bar.png ‏46 KB

    Long click on this notification a sub menu having field "App info" would appear goto App Info. You can goto there by "Manage Apps">"Skype" also. 
    Uncheck Option "Show Notifications" A dialog will open. Don't worry about notifications for now just click OK. Now the notification icon skype has also been removed. 
    Now simply check "Show notification again". After doing this you would get notifications but skype icon would not be shown in the status bar anymore.
    Issue: this is just a trick you need to repeat this every time sign out and sign in again. Mostly you don't do that so no need to worry.

  • Bluetooth status icon in the wrong place?

    Well I turn on the MacBook Pro this morning to find that the bluetooth status icon is now between the clock and spotlight. Usually it was next to the airport status icon. On my old powerbook it was always next to the airport status icon. So i thought it was just some simple glitch and I restarted the laptop to find that it is still in the same place next to spotlight. I know it may sound odd but its bothering and looks really odd. Is there something wrong with it? Anyone have this same problem? Thanks I've only had my MacBook Pro for 3 days, there have been so many problems I have been running into with it(ie. opening photobooth yields a green screen at first, won't connect to my wireless network, itunes takes forever to open resulting in front row to lag and freeze, etc.) and I have already installed all the updates. If anyone has any insight to my other problems please let me know.

    What ever Icon you add to the file bar will always go to the very left of the other icons. So if you want it to be on the very left then all you have to do is turn off any other icons in your system preferences then after the blooth is where you want it, put the others back on the left side of it. Or if you just want it at the Very left side, simply go into system preferences in the bluetooth icon, and uncheck the "show in menubar" box, then recheck it to send it to the very left side.
    As for a glitchy macbook Pro, I had similar problems when I first received mine, but after a clean install of the OS and reformat of the harddrive things were much smoothe. And by the way, remember that BootCamp is still a Beta software and could cause glitches, or not work properly.
    Unless you already have tons of important stuff on your MBP, I would do a clean reformat first off.

  • Request for code on Tabstrip controls with subscreen in it.

    Hi experts,
    Can somebody please provide me the code for tabstrip controls with subscreens in it?
    Thanks,

    Hi,
    <li>Check the demo program DEMO_DYNPRO_TABSTRIP_SERVER.
    Thanks
    Venkat.O

Maybe you are looking for

  • How can I show an external web site from a portlet?

    hello, i try do using <es:uriContent> ,like <es:uriContent id="postProcessMe" uri="http://www.bea.com">,but failed,it seems to be pointing to localhost link;What about external links, there is no property I can set on this tag to use any proxy server

  • Photoshop CS5 has stopped working while I draw.

    So I have Photoshop CS5 extended and Im using windows 7 ultimate 64 bit. I have a Nvidia Geforce GTX 260m 1gb video card. A Asus G60Vx laptop. 4gb of ram. So heres the story. When Im drawing on a picture it could be from 5 to 45 minutes of drawing ph

  • Can't connect to GMail to Sync

    When my iPad is connected to iTunes, I'm trying to Sync Contacts with Google Contacts. This requires me to logon to Google. When I do so, iTunes tells me "the Google ID or password was incorrect". I know this is not true - I can easily logon to gMail

  • How to modify a xml file?

    I use JAXP 1.1 to read a xml file as a DOM tree. I can make change to the DOM tree in the memory, such as add an element or change the node value, but how can I apply these changes to the source xml file, i.e., write the changes back to the disk?

  • HT4623 Trying to upgrade my iPad per instructions above...when I go to general there is no "software update" as shown above?

    "Software upgrade" not shown in general settings....trying to upgrade to ios 6.0 or better but can't.