Tabstrip Controls Einfügen

Hallo,
ich habe ein kleines Problem mit dem Tabstrip Control im SUD Editor.
1. Welches ActiveX Control ist am besten geeignet?
2. Wenn ich anderes Controls einen Tabtrip zuordnen, ich habe das Problem das der Tabstrip immer im Vordergrund ist und eine einstellung wie zOrder habe ich nicht gefunden. Ich schätze das es irgendwie mit der Layersteuerung funktioniert, aber leider hatt bisher alles nicht funktioniert.
Über eine kleine Hilfestellung oder Gedankenanregung würde ich mich freuen.
Viele Grüße
Axel Manz

Hallo Herr Manz,
Sie haben Recht, so etwas programmiert man am Besten über die Layers des Dialogs. Ich lade dazu mal ein kleines Beispiel hoch, es simuliert eine Art TabControl - vielleicht können Sie es ja direkt anwenden.
Allgemein kann der Z-Index der Bedien- und Anzeigeelemente über die Tabulatorreihenfolge festgelegt werden (Kontextmenü...) Das wirkt sich aber erst bei laufendem Dialog aus, und nicht in der Entwicklungsumgebung.
Ingo Schumacher
Applications Engineering
National Instruments
Attachments:
TabControl.sud ‏13 KB

Similar Messages

  • 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 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

  • Acrobat 9 Pro zerstört Hyperlinks beim Einfügen von PDF Dokumenten in andere

    Hallo zusammen,
    folgendes Vorgehen führt zu einem Fehlverhalten beim Handling von Hyperlinks in PDF:
    Wir wandeln ein Worddokument mit Hilfe von Acrobat 9 Pro in eine PDF um. Im entstandenen PDF Dokument sind die Hyperlinks voll funktionstüchtig. (Hyperlink_in_PDF.PNG)
    Nun öffnen wir ein anderes vorhandenes PDF und wählen in Acrobat 9 Pro "Seiten einfügen", wählen das erste PDF aus und bestätigen. Das PDF scheint ordentlich integriert, die Hyperlinks wurden jedoch gekürzt und funktionieren nicht mehr (Hyperlink_nach_Zusammenführung.PNG).
    Wir haben den Updater laufen lassen und auf 9.2.0 upgedatet. Leider ohne Erfolg. Ist jemand dieses Fehlverhalten bekannt?
    Viele Grüße
    Philipp

    Guten Morgen Hans-Günter,
    egal was wir mit den Hyperlinks gemacht haben, der Fehler ist immer wieder aufgetreten.
    Ich habe jetzt einfach die Lizenz freigegeben (nur zur Sicherheit), Acrobat 9 deinstalliert und Acrobat X Pro als Testversion installiert. In der X scheint es zu funktionieren.
    Zuvor versuchte Reparaturinstallationen und Neuinstallationen waren leider in Version 9 nicht erfolgreich. Auch alle updates konnten nicht helfen.
    Danke trotzdem für deine Hilfe!
    VG Philipp

  • Problem beim Einfügen von Wasserzeichen in Acrobat Pro 9.5.5

    Hallo!
    Ich denke, ich habe bei meinem Acrobat Pro 9.5.5 einen Bug entdeckt, aber vielleicht liegt es auch nur an irgendwelchen Einstellungen. Es geht um das Einfügen eines Wasserzeichens. Wenn ich den entsprechenden Eintrag im Menü "Dokument" anklicke und alle Eingaben vornehme, funktioniert das Ganze. Aber die Einstellungen und Parameter kann man ja auch abspeichern - und dann funktioniert das leider nicht mehr. Bei Einfügen eines Wasserzeichens mit Hilfe der gespeicherten Einstellungen werden nur manche dieser Einstellungen tatsächlich übernommen, für mich wichtige Parameter wie Schriftgröße des Wasserzeichens und die Positionierung leider nicht, sodass ich bei jedem Dokument die Einstellungen neu vornehmen müsste. Ist das ein Bug im Programm? Das wäre sehr, sehr ärgerlich, da ich dieses Feature unbedingt benötige!
    Vielleicht könnte mal jemand, der diese Version noch nutzt, den Vorgang bei sich prüfen, ob das auch passiert. Oder vielleicht hatte schon einmal jemand das gleiche Problem? Der Adobe Support zeigt mir die lange Nase, mein Produkt ist zu alt für technischen Support, traurig!
    Danke und beste Grüße!
    Uli

    Lieber Herr Adelsberger,
    so ganz verstehe ich die brachiale Weise nicht, mit der Sie die -auch an anderer Stelle- ungeliebte Methode der Verknüpfung von Betriebssystemerneuerung und Programm-Update verteidigen. Es gibt einige Programme, die -wenigstens dem Anschein nach- keine Probleme haben, von 32- auf 64-Bit umzusteigen. Sie werden sicher wissen, wie man das als Programmieren macht…
    Unsereins kann sich nur mit „reichlich blöden“ Vergleichen beschäftigen und von selbst- (oder doch anderen?) ernannten Fachleute maßregeln lassen.
    Bitte warten Sie nicht auf meine Wochenendprogrammierung, ich biete nichts in dieser Richtung zu Kauf an. Gleichwohl besten Dank für die ganz unverdiente Titulierung, ich arbeite daran…
    Vielen Dank für die lehrreichen Ausführungen, alles Gute!
    Am 19.02.2014 um 12:21 schrieb Willi Adelberger <[email protected]>:
    Re: Problem beim Einfügen von Wasserzeichen in Acrobat Pro 9.5.5
    created by Willi Adelberger in Deutsche Foren - View the full discussion
    Wie soll denn ein Programm kompatibel sein, dass Jahre vor dem Erscheinen des Betriebssystems entwickelt wurde. Ihr macht es Euch auch einfach. Einfach weil ihr glaubt, dass das Entwickeln von Programmen auf ein paar einfachen Formeln beruht, müssen die für alle zukünftigen Betriebssysteme funktionieren. Selbst für die damaligen Versionen brauchte man für Mac und Windows unterschiedliche Entwickllungen und der Sprung von einem 32 auf 64bit-System ist genauso ein großer Unterschied, zudem die Betriebssysteme selbst massiv verändert wurden. UNd der Vergleich mit dem Fahrrad und dem Reifenpatschen ist doch reichlich blöd.
    Aber was, ihr seid ja die Genies, das Entwickeln von so Programmen ist ja ach so einfach, und das Testen auch. Ich mach Euch den Vorschlag, entwickelt am Wochenende schnell mal eine neue Version, am besten ein neues Progamm und bietet das auf eurer Homepage zum Verkauf an. Ich warte.
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6135294#6135294
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6135294#6135294
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6135294#6135294. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Deutsche Foren at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Unterschiedliche Optionen zum Einfügen von Bildern in Acrobat X Pro/Standard?

    Hallo,
    habe in der Firma Acrobat X Standard, zuhause Acrobat X Pro.
    Ich suche aktuell eine Möglichkeit Bilder einzufügen und bei Bedarf schnell wieder auszutauschen. Zuhause habe ich endlich eine einfache Option gefunden, nämlich über  Werkzeuge -  Inhalt - Objekt auswählen/bearbeiten. Damit kann ich Bilder schnell und verlustfrei aus einer Datei oder der Zwischenablage an jede Stelle des PDFs einfügen und beliebig skalieren.
    Mit der Standardversion in der Firma funktioniert das leider nicht, hier fehlt "Objekt bearbeiten". Somit können schon eingefügte Bilder nicht mehr aus dem PDF glöscht oder durch andere ersetzt werden.
    Meine Frage:
    Besteht dieser Unterschied wirklich zwischen der Standdard und der Pro Version oder ist nur das Handling anders, wenn ja wie?
    Vielen Dank!
    Uwe Neul
    Nachricht geändert durch uweneul
    Hello,
    have in the firm Acrobat Standard, Acrobat Pro at home.
    I am looking for a way to insert images to date and, if needed quickly replaced. At home I have finally found an easy option, namely, via Tools - content - choose Edit Object /. So I can insert images quickly and without loss of a file or the clipboard to any part of the PDF and any scale.
    With the standard version of the company that does not work, here is missing the "Edit Object". Thus you have inserted images are no longer glöscht from the PDF or replaced by others.
    My question is:
    There is this difference between the real and the other Standdard Pro version, or is only the handling if so how?
    Thank you!
    Uwe Neul

    Hallo,
    vielen Dank für die schnellle Antwort,
    Gibt es denn eine überhaupt eine Möglichkeit in der Standardversion zum Einfügen von Bildern?
    Aktuell erstellen wir die Dukumente in Word und konvertieren dann ins PDF-Format. Leider ist die Erkennung von Textfeldern nicht immer erfolgreich und es bedarf zu viel Nacharbeit.
    Ich würde als Anfänger die Formulare daher lieber mit einem leeren Formular direkt in Acrobat starten.

  • 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

  • Problem in Tabstrip Control

    Hi All,
    i had created an Custom Infotype.
    In that infotype i had created Tabstrip control with 2tabs.
    Each Tab contain 4 fields.
    When creating( F5) a record in transaction PA30, it allowing me create a record and the record is available in Data base table.
    1. My doubt is, when Display the Record through F7 and Change mode (F6), Still the fields are in editable mode. But not in Display Mode ( Editable Mode ).
    How to Disable the Fields for this Tab Strip Control. I have not used any Group Field for this. Can we need to Main tain anything.
    But SAVE option is automatically disabled.Iam not able to SAVE when i press F7 but in Editable is the My Problem.
    2. And one more query is, when press F5 or F6 or F7 it is show the following message at End screen,i.e.
    Protected tab titles are not supported (tab MENU_TABSTRIP title PUSH1) . But MENU_TABSTRIP is My Tab Strip control text Name and PUSH1 is my Tab1 , Function code.
    How to remove this message.
    Points will be rewarded.
    Thanks,
    N.L.

    Hi,
    Try this ....In the Table Control, double click on a field. In the attributes make that field as output only...
    Hope it helps,
    Swathi

  • Tabstrip control  Tab line navigation button display issue

    I have a tabstrip that has more tabs than can be displayed at the top of the tabstrip control.  When this happens a navigation button appears on the far right of the tab line( the line that contains all the tabs).  This has been working fine for several years.  Recently I needed to increase the width of the tabstrip control so that it was 160 character wide.  Now when the tabstrip displays, the tab line stops displaying at around 130 characters so the navigation button no longer shows.  As it turns out, the button is still there and functions as normal, except that it cannot be seen even though there are still too many tabs to all be displayed. 
    This appears to me to be a bug in the tabstrip control, but before I start complaining to SAP I thought I would ask here to see if anyone else might know of a solution to this problem. 
    Thanks for looking.

    Hi,
    cresate a managed bean in viewScope within the parent page and pass it as an argument to the child task flow. The managed bean contains/exposes a method to hide the menu items you don't want to show (or just disable them). The child task flow then can call the managed bean (from its input parameter reference) and invoke the method (e.g. in a method call activity as the default activity of the task flow).
    See this blog entry for more details: http://one-size-doesnt-fit-all.blogspot.de/2010/09/master-child-btf-chaperone-contextual.html
    Frank

  • Module Pool (tabstrip control Error :  )

    I am trying to activate tabstrip control in module pool but error is coming like no sub screen is assigned to tabstrip pushbutton
    tab12.
    my main screen is : 0221
    flow logic for 0221 is below :
    PROCESS BEFORE OUTPUT.
    CALL SUBSCREEN SUB1 INCLUDING SY-REPID '0321'.
    CALL SUBSCREEN SUB2 INCLUDING SY-REPID '0322'.
    PROCESS AFTER INPUT.
    CALL SUBSCREEN SUB1.
    CALL SUBSCREEN SUB2.
    MODULE USER_COMMAND_0221.
    and 0321 and 0322 is subscreen and i also gave ref field sub1 and sub2 .
    can you plz help me to solve the problem ?

    Hi,
    yes i created sub screen. i am going to explain what i have done .
    step : i created screen 200 (i choose subscreen)and inside 200 i put  tabstripcontrol then in tab1 i gave ref field sub1 and tab2 i gave ref field sub2 and fatch code ic1 and ic2.
    and then i created screen 221 and 222.
    inside 200 flow logic i wrote below code but still its giving me same error.
    PROCESS BEFORE OUTPUT.
    CALL SUBSCREEN SUB1 INCLUDING SY-REPID '0221'.
    CALL SUBSCREEN SUB2 INCLUDING SY-REPID '0222'.
    PROCESS AFTER INPUT.
    CALL SUBSCREEN SUB1.
    CALL SUBSCREEN SUB2.
    MODULE USER_COMMAND_0221.
    i dont know is it required to make any normal screen .
    please try to give me ans as soon as possible.

  • I need help in tabstrip control....helpful answers will be rewarded....

    Hi All,
    I am finding difficulty with the tabstrip control.i have created 3 tabs one for mara,marc and mard tables.i have to display few fields of these tables in their respective subscreens.using the material number i have to get the values from the table and display it in the respective subscreens.i am getting the output.but if i try to give another value for the material number it is not accepting...it holds the same value i gave before.i tried to use refresh,clear to clear the internal tabes i am using to fetch data.but i am not getting it....also
    i want to use f3 function key to go back even if i havent given the value for  mandatory fields.   can u help me?helpful answers will be rewarded....
    regards,
    sheeba.

    Hi,
    http://help.sap.com/saphelp_nw70/helpdata/en/04/10f2469e0811d1b4700000e8a52bed/content.htm
    http://help.sap.com/saphelp_sm32/helpdata/en/d1/801bd2454211d189710000e8322d00/content.htm
    Check think link:
    http://www.****************/Tutorials/ABAP/Tabstrips/page1.htm
    http://www.sapdevelopment.co.uk/dialog/tabcontrol/tc_basic.htm
    Regards,
    Priyanka.

  • Table update problem in tabstrip control

    Hi experts.
    i have one tabstrip control having 4 tabs.
    in those tabs i am updating one table say ztable(database table).
    my problem is this is happening in pai of every tab.
    but what ever i am updateing table those changes will reflect in other tabs.
    where i have to write code like pbo or what i should do.
    what ever i am updateing in tab1 i have to see in tab2.what ever i have update i should see in tab3.
    but it is not showing the updates when we will go for other tabs.
    Thanks

    Hi,
    Please check the following things :
    1 . The Fucntion code type for each tab is blank
    2 . Same subscreen area is assigned to each tab
    3 . Corresponding subscreen is dynamically incorporated into the subscreen area CALL SUBSCREEN in the flow logic
    If you are not doing this, then you are scolling in SAP GUI, not in your program. In this case the values entered in TAB1 won't get reflected in TAB2.
    If this is the case in your program, fix the above three points. then it will work.

Maybe you are looking for

  • MIRO accounting document GR/IR not updated

    Hi, User posted Invoice verification ( MIRO) and in accounting document i have seen that 1)vendor account - Credited 2) But there is no GR/IR account updated instead of that purchase order G/L Account updated as Debit Ideally GR/IR account should cre

  • I have Adobe Acrobat 9 Pro on my desktop.  Can I also load into onto my laptop for working remotely with the same serial number?

    I use Adobe Pro on my desktop daily at the office and now will be handling work remotely from a laptop as well.  Adobe Pro is essential for my work (bates stamping, redaction, advanced editing, etc). Can I use the same serial number and installation

  • Edit Margins in Crystal Reports 2008

    Hi I am very new to Crystal Reports and don't really know anything about it. I have to amend an existing project and it requires me to change the page margins. The only way I know of to change the margins are by using Page Setup. This works great and

  • Hanging (I think) on startup

    I just got my iMac the other day (first time Mac user, so pardon my failure to use the lingo), and I finally got around to opening iTunes for the first time last night. When I launch the program, though, the iTunes GUI comes up, but the spinny-rainbo

  • Solve problem of exchange rate

    enter rate INR/USD rate type  M for 09.04.2008 in the system setting..           pls solve it     With Regards   Prasanta Kumar Sahu