Dynamic GUI Titles?

Is there any way to create a dynamic GUI title for my Dynpro???
I mean, i could change the text in runtime.
Thanks

hi Jose,
SET TITLEBAR - Dynpro
Syntax
SET TITLEBAR title [OF PROGRAM prog]
[WITH text1 ... text9].
Extras:
1. ... OF PROGRAM prog
2. ... WITH text1 ... text9
Effect
During screen processing, this statement specifies the GUI title (specified in title) for the subsequent screens. The title is displayed in the title bar from the next sending of one screen until the end of the program or until the next SET TITLEBAR statement. The name of the current GUI title is displayed in the system field sy-title.
A character-type data object that contains the name of a GUI title of the main program of the current program group or of the program specified in prog in upper case is expected for title. If the title does not exist, sy-subrc is set to 4 and the word "SAP" is displayed in the title bar.
System fields
sy-subrc Meaning
0 GUI title is set.
4 GUI title cannot be found.
Notes
The GUI title of the screen must be set before the PBO event. If no GUI title is set for a screen, the word "SAP" is displayed in the title bar.
The title bar can contain a maximum of 70 characters. A title that exceeds this limit after the replacement of placeholders is truncated to the right.
The statement SET TITLEBAR contains a variant for the GUI status of lists.
Addition 1
... OF PROGRAM prog
Effect
By default, a GUI title defined in the current main program is used. When using the addition OF PROGRAM, a GUI title of the progam specified in prog can be set. A character-type data object is expected for prog that contains the name of a ABAP program in upper case.
Addition 2
... WITH text1 ... text9
Effect
When using the addition WITH, you can replace the placeholders of the GUI title with the contents of data objects text1 to text9. Data objects text1 to text9 must be of a character-type flat data type. The placeholders of the GUI title can be defined in the form "&" or "&i", where i can be a number between 1 and 9. The characters are replaced as follows:
The numbered placeholders "&i" are replaced with the contents of the data objects text1 to text9, whose names contain the same number i for the second digit.
The non-numbered placeholders "&" are replaced with the contents of the remaining data objects text1 to text9 according to their order.
If no data object is specified for a placeholder, it is represented by a blank character. Two successive "&" characters "&&" in the title bar are not replaced with the contents of text1 to text9, but with the character "&".
Example
In the following example, the GUI title TITLE_0100 of the program specified in prog is set in a PBO module, where the placeholders "&1" and "&2" of the title are replaced with the contents p1 and p2.
DATA: title TYPE string,
prog TYPE string,
p1(10) TYPE c,
p2(10) TYPE c.
MODULE status_0100 OUTPUT.
title = 'TITLE_0100'.
prog = '...'.
p1 = '...'.
p2 = '...'.
SET TITLEBAR title OF PROGRAM prog WITH p1 p2.
ENDMODULE.
SET TITLEBAR
Syntax Forms
Set title of screen
1. SET TITLEBAR title [OF PROGRAM prog]
[WITH text1 ... text9].
Set title of list
2. SET TITLEBAR title [OF PROGRAM prog]
[WITH text1 ... text9].
SET TITLEBAR - Liste
Syntax
SET TITLEBAR title [OF PROGRAM prog]
[WITH text1 ... text9].
Extras:
1. ... OF PROGRAM prog
2. ... WITH text1 ... text9
Effect
During list processing, this statement sets the GUI title, specified in title, for the display window of the current list level and all following list levels up to the next statement SET TITLEBAR. The statement has - for the most part - the same syntax and semantics as for screens.
In contrast to the screens of dynpros, each list level automatically remains linked to the title set for it. When you return from the display of a higher list level to the display of a lower list level, the latter is displayed with the title that was set for it.
Addition 1
... OF PROGRAM prog
Addition 2
... WITH text1 ... text9
Effect
As for screens.
Reward points if helpful.
Regards
Nilesh

Similar Messages

  • Great Challenge !! No one is able to Tell Solution ? Dynamic GUI Updation

    Topic: Dynamic GUI Updation on msWindows when user changes Display properties.
    (I post this Question last month and have't got any answer, Is there no way for this ?)
    I want to dynamicly Update my UI on msWindows when user changes Display properties, Like other windows applications.
    i am doing this procedure-
    1.to get windows look & feel-
    UIManager.getSystemLookAndFeelClassName()
    2.To receive Events when when user changes Display properties-
    Toolkit.getDefaultToolkit().addPropertyChangeListener( "win.desktop.backgroundColor" ,new Java.beans.PropertyChangeListener()
    public void propertyChange(java.beans.PropertyChangeEvent e)
    3.To Reflect it in GUI-
    SwingUtilities.updateComponentTreeUI(TOP COMPONENT);
    But it only reflects the Border & Title Bar of My application.
    pls. suggest what can i do ?
    Regards
    Naveen Sharma

    I seem to remember looking at a similar thing in the Java demos that came with jdk1.3. I could be wrong...
    Let me see...
    Aha! Here it is.
    on my pc the path is
    C:\jdk1.3\demo\jfc\Metalworks
    then click on the jar file. The demo allows you to change the background color, font size on the toolbar etc..Another demo Swingset2 allows you to dynamically change the look and feel. I hope this helps. If you don`t have these demos I could always send you the code.
    Regards
    Grahame

  • Help with Dynamic GUI

    I am trying to create a dynamic gui for a program that when given three names, it will make a list of matches ( wrestling ) against each other.. I got it so when you click foward once.. it brings up the specified amount of text fields.. but when i click previous, it does not pack it fully, and the buttonPanel does not go back to the minimal size, and keeps the whole frame long.
    [code="face.java"]import java.awt.*;
    import java.awt.Component.*;
    import java.awt.event.*;
    public class face extends GUIFrame implements WindowListener, ActionListener {
    static TextField[] nameFields;
    List howMany;
    TextArea finish;
    Button forward, back, startOver, print;
    Panel mainPanel, buttonPanel, numberPanel, namePanel, matchesPanel;
    GridBagLayout gbl;
    GridBagConstraints gbc;
    BorderLayout bpl, mpl;
    CardLayout cl;
    Choice numbers;
    public face() {
    super("Wrestling Order");
    gbl = new GridBagLayout();
    gbc = new GridBagConstraints();
    setLayout(gbl);
    mainPanel = new Panel();
    buttonPanel = new Panel();
    bpl = new BorderLayout();
    back = new Button("Previous");
    back.setEnabled(false);
    back.addActionListener(this);
    back.setActionCommand("numOf");
    buttonPanel.setLayout(bpl);
    buttonPanel.add(back, BorderLayout.WEST);
    forward = new Button("Forward");
    forward.addActionListener(this);
    forward.setActionCommand("names");
    buttonPanel.add(forward, BorderLayout.EAST);
    startOver = new Button("Start Over");
    buttonPanel.add(startOver, BorderLayout.SOUTH);
    //mainPanel
    numberPanel = new Panel();
    numbers = new Choice();
    numbers.add("3");
    numbers.add("4");
    numbers.add("5");
    numberPanel.setLayout(bpl);
    numberPanel.add(numbers, BorderLayout.CENTER);
    cl = new CardLayout();
    mainPanel.setLayout(cl);
    mainPanel.add("numbers", numberPanel);
    gbc.gridx = 0;
    gbc.gridy = 0;
    gbc.gridwidth = GridBagConstraints.REMAINDER;
    gbl.setConstraints(mainPanel, gbc);
    add(mainPanel);
    gbc.gridx = 0;
    gbc.gridy = 5;
    gbl.setConstraints(buttonPanel, gbc);
    add(buttonPanel);
    addWindowListener(this);
    pack();
    setVisible(true);
    public Panel makeNamePanel(int numOfNames) {
    gbl = new GridBagLayout();
    gbc = new GridBagConstraints();
    gbc.gridx = 1;
    gbc.gridy = GridBagConstraints.RELATIVE;
    nameFields = new TextField[numOfNames];
    Panel makePanel = new Panel();
    for (int x=0; x < nameFields.length; x++) {
    nameFields[x] = new TextField(20);
    makePanel.add(nameFields[x]);
    return makePanel;
    public void windowClosing(WindowEvent e) {
    dispose();
    System.exit(0);
    public void windowOpened(WindowEvent e) {}
    public void windowActivated(WindowEvent e) {}
    public void windowDeactivated(WindowEvent e) {}
    public void windowIconified(WindowEvent e) {}
    public void windowDeiconified(WindowEvent e) {}
    public void windowClosed(WindowEvent e) {}
    public void actionPerformed(ActionEvent e) {
    if (e.getActionCommand() == "names") {
    namePanel = makeNamePanel(Integer.parseInt(numbers.getItem(numbers.getSelectedIndex())));
    mainPanel.add("name", namePanel);
    cl.next(mainPanel);
    forward.setActionCommand("final");
    pack();
    back.setEnabled(true);
    if (e.getActionCommand() == "numOf") {
    cl.previous(mainPanel);
    pack();
    forward.setActionCommand("names");
    back.setEnabled(false);
    that is the face.java .. it extends GUIFrame.. which is as follows..
    * GUIFrame
    * An extension of Frame that uses a WindowAdapter to
    * handle the WindowEvents and is centered.
    import java.awt.*;
    import java.awt.event.*;
    public class GUIFrame extends Frame {
      public GUIFrame(String title) {
        super(title);
        setBackground(SystemColor.control);
        addWindowListener(new WindowAdapter() {
          //only need to override the method needed
          public void windowClosing(WindowEvent e) {
            dispose();
            System.exit(0);
      /* Centers the Frame when setVisible(true) is called */
      public void setVisible(boolean visible) {
        if (visible) {
          Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
          setLocation((d.width - getWidth())/2,
                      (d.height - getHeight())/2);
        super.setVisible(visible);
    }If you could help me out.. Thanks..

    Have you tried using some other layouts... GridBagLayout is a complicated thing to figure out... Might be easier to use some nested panels with different layouts... Particularly, look at SpringLayout.

  • GOS - Generic Object Services - Change dynamically the title of attachments

    Dear Experts,
    how can I change dynamically the title of the single attachment in the attachment-list of cl_gos_manager?
    I hope you can help me.
    Thanks in advance.

    Thanks for reply.
    I solved the problem by the following way:
    - Function ARCHIV_GET_CONNECTIONS for getting all linked documents
    - Showing list in popup with ALV-Grid
    - SET HANDLER handle_double_click
    - Function ALINK_DOCUMETS_DISPLAY_MIX for viewing selected document on popup
    Marco

  • How to display dynamic header title in the report?

    I have a req to display dynamic header title in the report.
    When a id is entered in the prompt text, it will display the user data based on that user_id.
    so similarly....the header title should vary each time when you select different user_id.
    How can we implement this?

    >
    Zack H wrote:
    > Lazaro,
    >
    > It depends on what you want displayed in the heading for each id.
    > Please elaborate.
    >
    > Thanks,
    > Zack H.
    Zack..I have several projects listed under several project id's...
    so when a user selects project id 00164 then it should display something like "Project document for Jon Doe"
    again when the user selects project id as 00192 then it should display something like "project document for Zimmerman"
    Did you get it??

  • How to change the GUI title of a standard SAP screen

    Hi Gurus
    Could u pls help me on this
    I want to chnage the GUI title of a standard SAP screen without modifying the standard code.
    Thanks in advance
    Regards
    Swatantra

    Hi Vijay,
    Without a Modification, this will not be possible. If you're very particular about having your title, then is there any reason for avoiding modifications of SAP objects ?
    Regards,
    Anand Mandalika.

  • Dynamic gui creation

    Hi experts,
    I have a question regarding Web Dynpros possibilities to create dynamically gui. In my requirement I know only during runtime how many textboxes / checkboxes i will need.
    Is there a way to approach this in Web Dynpro ? With an jsp and the backend information it would be possible. Now I am asking me how I can make create something like a loop over a collection with the UI elements in Web Dynpro.
    Regards
    Flo

    This is probably more suited for the Web Dynpro forum.
    However, here's a document for Web Dynpro for java which contains a tutorial on Dynamic UI Manipulation:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/74cda090-0201-0010-6b91-f85b2489f765
    There's some tutorials for Web Dynpro for ABAP as well. A search for Dynamic UI Manipulation should give you enough hits on the topic.

  • GUI Title Bar not getting

    Hi
    I am not getting GUI Title Bar in SAP screen and my SAP screen also looking differently as a white back ground.
    Please help me where these setting available?
    Regards
    sudha

    Hi,
    Kindly take a look on the "Customize Layout(Alt+F12)" Icon.
    It will see u once log in to the system a graphical icon.
    May be it will solve.
    Regards,
    Anil

  • How to change GUI title in Table maintenance generator?

    How to change GUI title in Table maintenance generator?
    Thanks
    Pankaj

    Hi,
    In table maintenance goto
    Environment>Modification>Maintenance screen
    Click on layout button
    Make editable form
    change the text property of column.
    save and activate it.
    check in sm30 headings.
    Pankaj

  • Dynamic ALV Title

    Hello Experts,
    Please suggest how to generate dynamic ALV title for dynamic alv output.
    Scenario: My ALV output is dynamic based on custom table. We have maintained 10 fields in custom table. In selection screen one of the parameter is number.
    If i enter 2 or more than 2 accordingly my fieldcatlog will be prepared with same fields. But it will be mulitiple based on selection screen.
    I have achieved till this part, now i need to generate title for each set of 10 columns.
    Best example:
    ALV output:
             Title 1                     Title2                        Title3
    A B C D E F G H I J | A B C D E F G H I J | A B C D E F G H I J | 
    I hope you all understand my problem and i appreciate your answers....
    Thanks
    Cris

    Dear,
             Use the below report code to print your dynamic coloumn in alv grid.
    below just go through the use of variable w_bom for text,u will use single varible w_bom but clear it b4
    printing it again. on the conditional base header will come in w_bom and print in fieldcatalog.
    operate all operation b4 putting the text in fieldcatalog.
    jus go through the code and you may ask any clarificaiton regarading that.
      loop at i_fldcat into x_fldcat WHERE
      fieldname = 'IDNRK' or
      fieldname = 'MAKTX' or
      fieldname = 'MEINS' or
         FIELDNAME =  'MENGE1' OR
            FIELDNAME =  'MENGE2' OR
            FIELDNAME =  'MENGE3' OR
             FIELDNAME =  'MENGE4' OR
              FIELDNAME =  'MENGE5' OR
               FIELDNAME =  'MENGE6' OR
               FIELDNAME =  'MENGE7' OR
               FIELDNAME =  'MENGE8'.
        if stlal-low ne ''.
          if x_fldcat-fieldname = 'IDNRK'.
            x_fldcat-seltext_l = 'Component'.
            x_fldcat-outputlen = 25.
            x_fldcat-reptext_ddic = 'Component'.
            x_fldcat-inttype = c_c.
          endif.
          if x_fldcat-fieldname = 'MAKTX'.
            x_fldcat-seltext_l = 'Component Description'.
            x_fldcat-outputlen = 25.
            x_fldcat-reptext_ddic = 'Component Description'.
            x_fldcat-inttype = c_c.
          endif.
          if x_fldcat-fieldname = 'MEINS'.
            x_fldcat-seltext_l = 'UOM'.
            x_fldcat-reptext_ddic = 'UOM'.
            x_fldcat-ddictxt = c_l.
          endif.
          CLEAR W_BOM.
          if x_fldcat-fieldname = 'MENGE1'.
            read table t_stas1 with key stlal = '01'.
            if sy-subrc NE 0.
              x_fldcat-no_out = 'X'.
              X_FLDCAT-TECH = 'X'.
            ELSE.
              PERFORM VAR_BOM USING T_STAS1-STLAL.
              CONCATENATE '' T_BOM-STKTX INTO W_BOM separated BY SPACE.
              IF T_BOM-STLST = '1'.
                X_FLDCAT-EMPHASIZE = 'C511'.
              ENDIF.
              x_fldcat-seltext_l = W_BOM.
              x_fldcat-reptext_ddic = W_BOM.
              x_fldcat-ddictxt = c_l.
            endif.
          ENDIF.
          CLEAR W_BOM.
          if x_fldcat-fieldname = 'MENGE2'.
            read table t_stas1 with key stlal = '02'.
            if sy-subrc NE 0.
              x_fldcat-no_out = 'X'.
            ELSE.
              PERFORM VAR_BOM USING T_STAS1-STLAL.
              CONCATENATE '' T_BOM-STKTX INTO W_BOM separated BY SPACE.
              IF T_BOM-STLST = '1'.
                X_FLDCAT-EMPHASIZE = 'C511'.
              ENDIF.
              x_fldcat-seltext_l = W_BOM.
              x_fldcat-reptext_ddic = W_BOM.
              x_fldcat-ddictxt = c_l.
            endif.
          ENDIF.
          CLEAR W_BOM.
          if x_fldcat-fieldname = 'MENGE3'.
            read table t_stas1 with key stlal = '03'.
            if sy-subrc NE 0.
              x_fldcat-no_out = 'X'.
            ELSE.
              PERFORM VAR_BOM USING T_STAS1-STLAL.
              CONCATENATE '' T_BOM-STKTX INTO W_BOM separated BY SPACE.
              IF T_BOM-STLST = '1'.
                X_FLDCAT-EMPHASIZE = 'C511'.
              ENDIF.
              x_fldcat-seltext_l = W_BOM.
              x_fldcat-reptext_ddic = W_BOM.
              x_fldcat-ddictxt = c_l.
            endif.
          ENDIF.
          CLEAR W_BOM.
          if x_fldcat-fieldname = 'MENGE4'.
            read table t_stas1 with key stlal = '04'.
            if sy-subrc NE 0.
              x_fldcat-no_out = 'X'.
            ELSE.
              PERFORM VAR_BOM USING T_STAS1-STLAL.
              CONCATENATE '' T_BOM-STKTX INTO W_BOM separated BY SPACE.
              IF T_BOM-STLST = '1'.
                X_FLDCAT-EMPHASIZE = 'C511'.
              ENDIF.
              x_fldcat-seltext_l = W_BOM.
              x_fldcat-reptext_ddic = W_BOM.
              x_fldcat-ddictxt = c_l.
            endif.
          ENDIF.
          CLEAR W_BOM.
          if x_fldcat-fieldname = 'MENGE5'.
            read table t_stas1 with key stlal = '05'.
            if sy-subrc NE 0.
              x_fldcat-no_out = 'X'.
            ELSE.
              PERFORM VAR_BOM USING T_STAS1-STLAL.
              CONCATENATE '' T_BOM-STKTX INTO W_BOM separated BY SPACE.
              IF T_BOM-STLST = '1'.
                X_FLDCAT-EMPHASIZE = 'C511'.
              ENDIF.
              x_fldcat-seltext_l = W_BOM.
              x_fldcat-reptext_ddic = W_BOM.
              x_fldcat-ddictxt = c_l.
            ENDIF.
          endif.
          CLEAR W_BOM.
          if x_fldcat-fieldname = 'MENGE6'.
            read table t_stas1 with key stlal = '06'.
            if sy-subrc NE 0.
              x_fldcat-no_out = 'X'.
            ELSE.
              PERFORM VAR_BOM USING 6.
              CONCATENATE '' T_BOM-STKTX INTO W_BOM separated BY SPACE.
              IF T_BOM-STLST = '1'.
                X_FLDCAT-EMPHASIZE = 'C511'.
              ENDIF.
              x_fldcat-seltext_l = W_BOM.
              x_fldcat-reptext_ddic = W_BOM.
              x_fldcat-ddictxt = c_l.
            ENDIF.
          endif.
          CLEAR W_BOM.
          if x_fldcat-fieldname = 'MENGE7'.
            read table t_stas1 with key stlal = '07'.
            if sy-subrc NE 0.
              x_fldcat-no_out = 'X'.
            ELSE.
              PERFORM VAR_BOM USING 7.
              if sy-subrc = 0.
                CONCATENATE '' T_BOM-STKTX INTO W_BOM separated BY SPACE.
                IF T_BOM-STLST = '1'.
                  X_FLDCAT-EMPHASIZE = 'C511'.
                ENDIF.
                x_fldcat-seltext_l = W_BOM.
                x_fldcat-reptext_ddic = W_BOM.
                x_fldcat-ddictxt = c_l.
              ENDIF.
            endif.
          ENDIF.
          CLEAR W_BOM.
          if x_fldcat-fieldname = 'MENGE8'.
            read table t_stas1 with key stlal = '08'.
            if sy-subrc NE 0.
              x_fldcat-no_out = 'X'.
            ELSE.
              PERFORM VAR_BOM USING 8.
              if sy-subrc = 0.
                CONCATENATE '' T_BOM-STKTX INTO W_BOM separated BY SPACE.
                IF T_BOM-STLST = '1'.
                  X_FLDCAT-EMPHASIZE = 'C511'.
                ENDIF.
                x_fldcat-seltext_l = W_BOM.
                x_fldcat-reptext_ddic = W_BOM.
                x_fldcat-ddictxt = c_l.
              ENDIF.
            endif.
          ENDIF.
          modify i_fldcat from x_fldcat index T_INDEX.
          T_INDEX = T_INDEX + 1.
          CLEAR X_FLDCAT.
         ELSE.
          if x_fldcat-fieldname = 'IDNRK'.
            x_fldcat-seltext_l = 'Component'.
            x_fldcat-reptext_ddic = 'Component'.
            x_fldcat-inttype = c_c.
          endif.
          if x_fldcat-fieldname = 'MAKTX'.
            x_fldcat-seltext_l = 'Component Description'.
            x_fldcat-outputlen = 25.
            x_fldcat-reptext_ddic = 'Component Description'.
            x_fldcat-inttype = c_c.
          endif.
          if x_fldcat-fieldname = 'MEINS'.
            x_fldcat-seltext_l = 'UOM'.
            x_fldcat-reptext_ddic = 'UOM'.
            x_fldcat-ddictxt = c_l.
          endif.
          CLEAR W_BOM.
          if x_fldcat-fieldname = 'MENGE1'.
            PERFORM VAR_BOM USING 1.
            if T_BOM-STKTX IS NOT INITIAL.
              CONCATENATE '' T_BOM-STKTX INTO W_BOM separated BY SPACE.
              IF T_BOM-STLST = '1'.
                X_FLDCAT-EMPHASIZE = 'C511'.
              ENDIF.
              x_fldcat-seltext_l = W_BOM.
              x_fldcat-reptext_ddic = W_BOM.
              x_fldcat-ddictxt = c_l.
            else.
              X_FLDCAT-NO_OUT = 'X'.
              X_FLDCAT-TECH = 'X'.
            endif.
          ENDIF.
          CLEAR W_BOM.
          if x_fldcat-fieldname = 'MENGE2'.
            PERFORM VAR_BOM USING 2.
            if T_BOM-STKTX IS NOT INITIAL.
              CONCATENATE '' T_BOM-STKTX INTO W_BOM separated BY SPACE.
              IF T_BOM-STLST = '1'.
                X_FLDCAT-EMPHASIZE = 'C511'.
              ENDIF.
              x_fldcat-seltext_l = W_BOM.
              x_fldcat-reptext_ddic = W_BOM.
              x_fldcat-ddictxt = c_l.
            else.
              X_FLDCAT-NO_OUT = 'X'.
              X_FLDCAT-TECH = 'X'.
            endif.
          ENDIF.
          CLEAR W_BOM.
          if x_fldcat-fieldname = 'MENGE3'.
            PERFORM VAR_BOM USING 3.
            if T_BOM-STKTX IS NOT INITIAL.
              CONCATENATE '' T_BOM-STKTX INTO W_BOM separated BY SPACE.
              IF T_BOM-STLST = '1'.
                X_FLDCAT-EMPHASIZE = 'C511'.
              ENDIF.
              x_fldcat-seltext_l = W_BOM.
              x_fldcat-reptext_ddic = W_BOM.
              x_fldcat-ddictxt = c_l.
            else.
              X_FLDCAT-NO_OUT = 'X'.
              X_FLDCAT-TECH = 'X'.
            endif.
          ENDIF.
          CLEAR W_BOM.
          if x_fldcat-fieldname = 'MENGE4'.
            PERFORM VAR_BOM USING 4.
            if T_BOM-STKTX IS NOT INITIAL.
              CONCATENATE '' T_BOM-STKTX INTO W_BOM separated BY SPACE.
              IF T_BOM-STLST = '1'.
                X_FLDCAT-EMPHASIZE = 'C511'.
              ENDIF.
              x_fldcat-seltext_l = W_BOM.
              x_fldcat-reptext_ddic = W_BOM.
              x_fldcat-ddictxt = c_l.
            else.
              X_FLDCAT-NO_OUT = 'X'.
              X_FLDCAT-TECH = 'X'.
            endif.
          ENDIF.
          CLEAR W_BOM.
          if x_fldcat-fieldname = 'MENGE5'.
            PERFORM VAR_BOM USING 5.
            if T_BOM-STKTX IS NOT INITIAL.
              CONCATENATE '' T_BOM-STKTX INTO W_BOM separated BY SPACE.
              IF T_BOM-STLST = '1'.
                X_FLDCAT-EMPHASIZE = 'C511'.
              ENDIF.
              x_fldcat-seltext_l = W_BOM.
              x_fldcat-reptext_ddic = W_BOM.
              x_fldcat-ddictxt = c_l.
            else.
              X_FLDCAT-NO_OUT = 'X'.
              X_FLDCAT-TECH = 'X'.
            ENDIF.
          endif.
          CLEAR T_BOM-STLST.
          CLEAR W_BOM.
          if x_fldcat-fieldname = 'MENGE6'.
            PERFORM VAR_BOM USING 6.
            if T_BOM-STKTX IS NOT INITIAL.
              CONCATENATE '' T_BOM-STKTX INTO W_BOM separated BY SPACE.
              IF T_BOM-STLST = '1'.
                X_FLDCAT-EMPHASIZE = 'C511'.
              ENDIF.
              x_fldcat-seltext_l = W_BOM.
              x_fldcat-reptext_ddic = W_BOM.
              x_fldcat-ddictxt = c_l.
            else.
              X_FLDCAT-NO_OUT = 'X'.
              X_FLDCAT-TECH = 'X'.
            endif.
          endif.
          CLEAR T_BOM-STLST.
          CLEAR W_BOM.
          if x_fldcat-fieldname = 'MENGE7'.
            PERFORM VAR_BOM USING 7.
            if T_BOM-STKTX IS NOT INITIAL.
              CONCATENATE '' T_BOM-STKTX INTO W_BOM separated BY SPACE.
              IF T_BOM-STLST = '1'.
                X_FLDCAT-EMPHASIZE = 'C511'.
              ENDIF.
              x_fldcat-seltext_l = W_BOM.
              x_fldcat-reptext_ddic = W_BOM.
              x_fldcat-ddictxt = c_l.
            else.
              X_FLDCAT-NO_OUT = 'X'.
              X_FLDCAT-TECH = 'X'.
            endif.
          endif.
          clear t_bom-STLST.
          CLEAR W_BOM.
          if x_fldcat-fieldname = 'MENGE8'.
            PERFORM VAR_BOM USING 8.
            if T_BOM-STKTX IS NOT INITIAL.
              CONCATENATE '' T_BOM-STKTX INTO W_BOM separated BY SPACE.
              IF T_BOM-STLST = '1'.
                X_FLDCAT-EMPHASIZE = 'C511'.
              ENDIF.
              x_fldcat-seltext_l = W_BOM.
              x_fldcat-reptext_ddic = W_BOM.
              x_fldcat-ddictxt = c_l.
            else.
              X_FLDCAT-NO_OUT = 'X'.
              X_FLDCAT-TECH = 'X'.
            endif.
          endif.
          modify i_fldcat from x_fldcat index sy-tabix.
          CLEAR X_FLDCAT.
        endif.
      endloop.
    endform. " build_field_catalog
    FORM VAR_BOM USING P_CNT.
      if NOT stlal-low = ''.
        LOOP AT T_BOM where stlal = t_stas1-stlal .
          READ TABLE T_BOM with key stlal = t_stas1-stlal.
          IF SY-SUBRC <> 0.
            T_BOM-STKTX = ''.
            clear t_bom.
            exit.
          ENDIF.
        ENDLOOP.
      ELSE.
        LOOP AT T_BOM .
          READ TABLE T_BOM INDEX P_CNT.
          IF SY-SUBRC <> 0.
            T_BOM-STKTX = ''.
            clear t_bom.
            exit.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "VAR_BOM
    form call_list_viewer.
      delete T_FINAL where IDNRK eq  ''.
      data : T1_MAST like T_MAST occurs 0 with header line.
      data : t_stas like STAS occurs 0 with header line.
       data : t_stko like stko occurs 0 with header line.
      clear : t_stas[],t_stas,t1_STPO,t1_STPO[],t_stko,t_stko[],t1_mast,
      t1_mast[].
      SELECT MATNR WERKS STLAN STLNR STLAL ANDAT
             INTO CORRESPONDING FIELDS OF TABLE T1_MAST
             FROM MAST WHERE MATNR = MATNR AND WERKS = WERKS
             AND STLAN = STLAN AND STLAL IN STLAL.
      if not T1_MAST[] is initial.
        read table T1_MAST index 1.
        select * from stas into table t_stas
                 where stlnr = T1_MAST-STLNR
                 and stlal in stlal
                 and STLTY NE 'D'.
      endif.
      IF NOT T1_MAST[] IS INITIAL.
        SELECT STLTY STLNR STLKN STPOZ ANDAT IDNRK POSTP POSNR
        MEINS MENGE FMENG POTX1 OBJTY STVKN
        INTO  CORRESPONDING FIELDS OF TABLE T1_STPO
        FROM STPO
        FOR ALL ENTRIES IN T1_MAST
        WHERE STLNR = T1_MAST-STLNR
        AND FMENG = 'X'.
      ENDIF.
      sort t_stas by STLAL STVKN.
      sort t_stas by STLNR STLAL.
      loop at T1_MAST.
        loop at t_stas where STLNR = T1_MAST-STLNR
                          and STLAL =  T1_MAST-STLAL.
          LOOP AT T1_STPO where STLKN = t_stas-STLKN.
            IF T1_MAST-STLAL = 01.
              T_FINAL-MAKTX = T1_STPO-POTX1.
              T_FINAL-MEINS = T1_STPO-MEINS.
              T_FINAL-MENGE1 = T1_STPO-MENGE.
            ELSEIF T1_MAST-STLAL = 02.
              T_FINAL-MAKTX = T1_STPO-POTX1.
              T_FINAL-MEINS = T1_STPO-MEINS.
              T_FINAL-MENGE2 = T1_STPO-MENGE.
            ELSEIF T1_MAST-STLAL = 03.
              T_FINAL-MAKTX = T1_STPO-POTX1.
              T_FINAL-MEINS = T1_STPO-MEINS.
              T_FINAL-MENGE3 = T1_STPO-MENGE.
            ELSEIF T1_MAST-STLAL = 04.
              T_FINAL-MAKTX = T1_STPO-POTX1.
              T_FINAL-MEINS = T1_STPO-MEINS.
              T_FINAL-MENGE4 = T1_STPO-MENGE.
            ELSEIF T1_MAST-STLAL = 05.
              T_FINAL-MAKTX = T1_STPO-POTX1.
              T_FINAL-MEINS = T1_STPO-MEINS.
              T_FINAL-MENGE5 = T1_STPO-MENGE.
            ELSEIF T1_MAST-STLAL = 06.
              T_FINAL-MAKTX = T1_STPO-POTX1.
              T_FINAL-MEINS = T1_STPO-MEINS.
              T_FINAL-MENGE6 = T1_STPO-MENGE.
            ELSEIF T1_MAST-STLAL = 07.
              T_FINAL-MAKTX = T1_STPO-POTX1.
              T_FINAL-MEINS = T1_STPO-MEINS.
              T_FINAL-MENGE7 = T1_STPO-MENGE.
            ELSEIF T1_MAST-STLAL = 08.
              T_FINAL-MAKTX = T1_STPO-POTX1.
              T_FINAL-MEINS = T1_STPO-MEINS.
              T_FINAL-MENGE8 = T1_STPO-MENGE.
            ENDIF.
            read table T_FINAL with key MAKTX = T1_STPO-POTX1.
            if sy-subrc ne 0.
              APPEND  T_FINAL.
              clear T_FINAL.
                     elseif T1_MAST-STLAL = 08.
                T_FINAL-MAKTX = T1_STPO-POTX1.
                T_FINAL-MEINS = T1_STPO-MEINS.
                T_FINAL-MENGE8 = T1_STPO-MENGE.
                MODIFY T_FINAL FROM T_FINAL TRANSPORTING MENGE8
                                          WHERE MAKTX = T1_STPO-POTX1.
                clear T_FINAL.
              endif.
            endif.
          endloop.
        endloop.
        clear : T_FINAL.
      endloop.
      sort T_FINAL by IDNRK descending.
    *end  09.07.2007
    *endded
    Thanks and regards
    vijay dwivedi

  • SE63 - Gui Title / Gui Status Translation

    Hello,
    We are translating from Spanish to English some customer developments using the SE63 transaction. I can see that some gui title and gui status translations are done, but the system does not recognize them, we recover the Spanish one instead of the translated one.
    Does someone know why and how can I adjust this? I do not have problems with the rest of the translated objects.
    Thank you very much, regards,
    Araitz.

    Hi Vishwa,
    I do not understand what do you mean, could you explain it more? which paragraph formats?
    Thanks a lot!
    Araitz.-

  • What is the exact meaning for Screen Texts, GUI Status & GUI Titles

    What is the exact meaning for Screen Texts, GUI Status & GUI Titles and where we can find in SAP.
    What is called as these : Screen Texts, GUI Status & GUI Titles
    Kindly let me know.
    Akshtiha.

    Hi Akshitha,
    <b>Screen text</b>:They are labels that you can display beside your selection-screen parameters/select-options.. from the ABAP editor, use the menu option Go to> Text Elements>Selection Texts.
    <b>GUI STATUS</b>:go through this link
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba99935c111d1829f0000e829fbfe/content.htm
    <b>gui title</b>:The GUI status and GUI title are interface elements of screens. You create both of them using the Menu Painter in the ABAP Workbench. On screens, GUI statuses of type dialog status are used.
    Thanks
    Vikranth Khimavath

  • Dynamic text (Titles/Section titles)

    Hi,
    I'm diving into Keynote for the first time and am struggling with trying to figure out how to create dynamic text within my masters.
    I'd like to be able to have the user enter the title of the presentation on their title slide (using the title master) and then have that title propagate through the other slides in the footer of the section/content slides as meta data.
    Is there a solution for how to do this? Essentially, I just need to flag the text box with a variable and then repurpose that variable in a differently styled text box on other slides.
    Thanks in advance for any help!

    Keynote and PowerPoint are both presentation packages; however, they're not identical, and offer different feature sets. If you can't live without a feature that PPT offers but Keynote doesn't, use PPT. However, in my experience most of the things that PPT will do can be done in Keynote - it's just a matter of figuring out how.
    I've been using Keynote (various versions) for several years, after having used PPT for several years. Yes, I've found things that Keynote didn't do that I was used to being able to do in PPT, but the only one that I couldn't find a workaround for was motion-path animation, and it appeared as a Build option ("Action") in Keynote '08.
    If there is a feature you would like to see in Keynote, you can always use the "Provide Keynote Feedback" link in the "Keynote" menu to send you ideas to Apple. There's no guarantee that your feature will appear, but that's the way to let Apple know that you would like to see something changed.
    As for your original problem, one simple way to propogate the title information in the footers of the other slides is to add a small text box to the master(s) used for the other slides and copy the title into it. No, it's not automatic, and if you change the title you must also change the text box on the master(s), but it's a workaround.
    There is definitely a non-flat learning curve associated with the transition from PPT to Keynote, but once you pick up some familiarity with Keynote, you may find it's much more intuitive to use.

  • Developing a Dynamic GUI with SDK 1.3.1

    For my master's project, I am developing a system which needs to read a file, and depending on the number of fields the file contains and their titles, dynamically add jCheckBoxes to a pane as part of a tabbed pane. Different files can be loaded by the user at runtime, recreating and updating this pane to reflect the new information. What is the best way of going about this? I tried to use a vector to store the checkboxes at first, but it returns a generic object and not a checkbox. I can get it to work with a checkbox array, but this is a bit messy, and requires the array size to be specified. What is the best way of developing such a system?

    For my master's project, I am developing a system which needs to read a file, and depending on the number of fields the file contains and their titles, dynamically add jCheckBoxes to a pane as part of a tabbed pane. Different files can be loaded by the user at runtime, recreating and updating this pane to reflect the new information. What is the best way of going about this? I tried to use a vector to store the checkboxes at first, but it returns a generic object and not a checkbox. I can get it to work with a checkbox array, but this is a bit messy, and requires the array size to be specified. What is the best way of developing such a system?

  • Dynamically ALV  Titles  Using Events - How To

    Dear All,
    There is a selection screen. Depending upon the selection, there will be output in ALV grid or list. This output doesn't contain any field of selection.
    So the output must be grouped on the basis of selection as their common title.
    Eg. If model and type are in selection screen then output something like
    Model No. 1    Type No. 2
         ALV Grid for Model 1 and Type 2
    Model No. 3    Type No. 4
         ALV Grid for Model 3 and Type 4
    How to use ALV Events to process the data dynamically for the titles as in above case the numbers 1, 2 ,3 & 4 are present in the output table which is passed to ALV for display.
    Thanks & Regards,
    Sapna Modi.

    Hi Sapna
    To set title you can fill a structure of type <b>"LVC_S_LAYO"</b> (the field gridtitle) and use the method <b>"set_frontend_layout"</b>. You can get the current layout structure using the method <b>"get_frontend_layout"</b>.
    To set column headers you can use to get and set the fieldcatalog at any instance of the runtime. For this you can use <b>"set_frontend_fieldcatalog"</b> and <b>"get_frontend_fieldcatalog"</b>. At the field catalog, you can set titles for columns using <i>"coltext", "scrtext_s", "scrtext_m", "scrtext_t"</i> .
    For more information you can refer to the tutorial <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/an%20easy%20reference%20for%20alv%20grid%20control.pdf">"An Easy Reference For ALV Grid Control"</a>.
    *--Serdar
    [email protected]

Maybe you are looking for

  • Iphone 4 does not sync video's

    i have an iphone 4 16gb ios 6.1.3 and i downloaded some new video's from youtube on my pc. with dvd videosoft. and automaticly (as always) itunes opened and they where in my libary. so i created a new playlist for these video's and i started synchron

  • Any way to import a Video_TS file into DVD SP or Compressor?

    I need to replace the simple menu on a DVD made from a DVD recorder. Is it possible to import the existing Video_TS file and build a new menu? If not, is there some way to do this with DVD SP with the least amount of compression? I know Toast will do

  • Error in Fiscal Year Change

    Hi, i am trying to change the Fiscal year of Fixed Assets in AJRW. however some of the assets are showing error as below. Asset 442525-000 in Co code ABC : Error in Fiscal Year Change. Message No. AA707 Diagnosis The fiscal year change in asset has p

  • One-line Text

    I use Adobe Acrobat Pro XI. If I position several one-line texts with each other, is it automatically becomes a multi-line text. How can I prevent this?

  • Condition type for Amortization charges

    All SAP Gurus, We want to reduce the amount equal to the Amortization charges from the payment to the vendor. The calculation are such that we have to put the condition for Amortization charges into Tax procedure. Which condition type can be used for