Dynamic iView-Title in tray

Hi everybody.
We are currently implementing some sort of management informations system on our portal. One information that should be available is the companies liquidity. We would like to name the iView as "Liquidity for DD.MM.YYYY" - Is there any possiblity we can pass a date-parameter into the iview titel? We would like to avoid programming if possible.
thanks für any hint
Regards Alex

Hai Chinmaya,
The option which you told, I have already done for a roles which has some 30 application. The roles which i  upload from SAP R/3 will have around 100 programs. Like this I have to be upload many roles. So Its time consuming process to open all the roles and change the property of each Iview one by one.
Hai Harini,
I kept your option as the last once. Since I don't want to modify Page Title Bar. I was looking whether this can be achieved through configuration.
I have another idea, but don't know where to change this.
When I upload a role from SAP R/3 it creates Iview in portal, this Iview should be based on a template Iview which in portal. If I change the property of this template Iview, this is applicable to all Iview which is created in the system. But I don't know which Iview I should look for.
Regards,
Harini S

Similar Messages

  • Can you programmatically change the iView Title?

    Hi,
    I have a custom iView, and a requirement is to have the iView tray title changed depending on the content shown.
    Is it possible to have the iView Title changed from the custom iView code?

    Hi,
    Check this code:
    Just have these two methods and use the setPCDContextTitle() method
    public static void setPCDContextTitle(
            String currentPcdLocation,
            Locale locale,
            IUser user,
            String title)
            throws NamingException, PrivilegedActionException {
            IPcdUtils pcdUtils = PcdAccess.getPcdUtils();
            IPcdAttribute basePcdAttribute =
                pcdUtils.createPcdAttribute(PcdAttributeValueType.TEXT, IAttrPcmGeneral.ATTRIBUTE_TITLE);
            basePcdAttribute.set(locale, title);
            IPcdAttributes basePcdAttributes = pcdUtils.createPcdAttributes();
            basePcdAttributes.put((Attribute) basePcdAttribute);
            PcmAdminBase adminBase =
                (PcmAdminBase) getPCDContext(currentPcdLocation, PcmConstants.ASPECT_ADMINISTRATION, user);
            IPcdContext context = adminBase.getPcdContext();
            context.modifyAttributes("", DirContext.ADD_ATTRIBUTE, basePcdAttributes);
        public static Object getPCDContext(String currentPcdLocation, String aspect, IUser user)
            throws NamingException {
            Context pcdContext;
            Object currentObject = null;
            Hashtable env = new Hashtable();
            env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
            env.put(Context.SECURITY_PRINCIPAL, user);
            env.put(Constants.REQUESTED_ASPECT, aspect);
            try {
                pcdContext = new InitialContext(env);
            } catch (NamingException e) {
                logger.severe(e, "Error in PCDPath");
                throw e;
            try {
                currentObject = pcdContext.lookup(currentPcdLocation);
            } catch (NamingException e) {
                logger.severe(e, "Error in PCDPath");
                throw e;
            return currentObject;
    Greetings,
    Praveen Gudapati
    p.s. Points are always welcome for helpful answers

  • IView Title Bar

    There appears an iView title bar when displaying the portal page, which describes the iView name, like this:
    <b>
    Masthead iView  
    </b>
    Has anyone have an idea on how to disable this property?
    Thx.
    Ivo

    Hi Ivo,
      If you want to just remove the name, go to iView properties >>> <i>Show Object Name in Tray:  NO</i>
      If you want to remove the Tray itself, go to iView properties >> <i>Show Tray: NO</i>
    Hope it helps!
    Regards,
    SK.
    <i>PS: Plz reward points for helpful answers!</i>

  • 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

  • Add iview link in tray Option

    Hi all,
    i need to create a tray that tray defaultly having  tray Options like [ Open in New Window |  Refresh | Close |  About |  Help |  Remove |  Personalize ]
    i need to add my own iview link in this tray option.
    For Example,
    i have created two iviews iview_1 and iview_2,
    iview_1 having controls like filters,
    iview_2 having Display Elements (depense on that control)
    i have added these two iviews in a page,
    when i applying filter values in iview_1 it will affect the iview_2 (ie) Displaying the element as like the control of iview_1
    now i need
    iview_2 having some Tray Option ie like     [ Open in New Window |  Refresh | Close |  About |  Help |  Remove |  Personalize ]
    while clicking this option it performs actions respectively
    now i need to add iview_1 to that option, while click this iview_1 it should open in new window & action should perform
    please help me,
    Thanks advance..
    By,
    Boopalan.M

    Hi,
    I invite you to join yahoo group http://in.groups.yahoo.com/group/code_share/
    where I have shared the code for iview link in tray Option.
    Just download the epa file and import it into your portal and assign the myHomeRole to your user and check the example.
    You will see a star symbol in the IView tray and while clicking on this, you can jump to sdn.
    You have a property in Iview to show/hide this star link in Iview tray.
    So all codes are available in the par file.
    Later I am planning to post a blog on this to show case this example. Will update you once it is done.
    Regards,
    Praveen Gudapati

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

  • Portal dynamic iView from Web Dynpro ABAP?

    I wish to use a "Dynamic iView" from a Web Dynpro ABAP application, but it appears the API is only available in Web Dynpro Java.  Can this feature be used from Web Dynpro ABAP, or can this be accomplished in another way?
    Scenario: I have two iViews on a page, one Web Dynpro ABAP and another iView whose source I want to change dynamically based on something a user clicks in the Web Dynpro ABAP.
    Dynamic iView:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/a72c155df77038e10000000a422035/frameset.htm

    So you are suggesting the WDA fires an event to a new WDJ that we would need to create that would in turn use the Dynamic iView service mentioned in that help document?

  • 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

  • IView title bar remove "Remove" option

    Hi,
    In EP5 how to remove iView title bar "Remove option", in the java iview >> Look >> Title bar "Remove Button" is grayed out?  How to disable this option?
    Thanks
    Siva

    hi,
    Check this link..
    May be that you need permissions to remove the iview title bar from the framework page.
    http://help.sap.com/saphelp_nw04/helpdata/en/8b/c2ca3e76d34e64b3ee0f612755da61/frameset.htm
    regards,
    Ganesh.N

  • 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

  • Dynamic iView Display in a Page

    Hi Experts !
    Help me displaying an iView on portal page dynamically based upon an event from another iView on the same page. Where both the iViews are developed using Web Dynpro ABAP.
    -Kalyan.

    If you're using java (Dynpage or WedDynpro), you could access the PCD and modify the page where your iview belongs :
    you got the "base" iview visible, and all others iview are present, but set as invisible. Depending on the situation, your "base" iview can then modify the visibiliy of the others iview in the page. a link about it here : [Sap Library|http://help.sap.com/saphelp_nw04/helpdata/en/44/6aaf92f5a23672e10000000a114a6b/content.htm]
    Another possibility is to use eventing for the same effect, each iview waiting for a set of event, and displaying nothing if this is not the event that is supposed to make them appears.
    Regards
    Guillaume

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

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

  • Dynamic Region Title

    Hello,
    I'm attempting to create a generic survey like application that can have a number of possible questions and instructions. I would also like for the region title of certain regions to be dynamic, or rather equaling the value of some item on the page. I did some digging on Google and found that this was apparently possible in Apex 3, but I'm currently working in Apex 4. Does anyone know of a way to do this?
    Thanks

    Deep_in_Texas wrote:
    When does the following code executes on your page?
    while P4_POSITION - is SQL query with source select e.POSITION_NAME from POSITION e where e.POSITION_ID = :P4_POSITION_ID
    Thanks
    Pradeep
    (I changed my handle but it's still displaying the number !!!!)
    Edited by: 965010 on Oct 12, 2012 7:31 AMI don't know when it is executed. I've just created page item P4_POSITION and made it as SQL query.
    Actually, value in the P4_POSITION_ID item is from POSITION_ID in EMPLOYEE table, which contains primary key EMPLOYEE_ID and has foreign key - POSITION_ID,
    POSITION_ID is a primary key of POSITION table, which contains POSITION_NAME.
    What I made is I created link from page 3 using EMPLOYEE_ID to redirect to page 4. There are all items in the page 4, which are in the EMPLOYEE table. But I need to show POSITION_NAME from POSITION table. So I created page item P4_POSITION as I mentioned before.
    Do I need to create dinamic action or process before handling Region title?

  • Dynamic Chart title

    Hi,
    I need to make the title of the chart dynamic by showing the User entered variable value + fixed text. Say if the user enters Model (LD) then my title for the graph should be 'LD FFV Graph'.
    I was able to modify the title by setting the webtemplate parameters for Chart item and by changing the XHTML code as shown below.
    <bi:TITLE path="DATA_PROVIDER:DP_1?/BICS_VIEW/SELECTION_STATE/SELECTION/CHARACTERISTICS/CHARACTERISTIC[@name=&apos;0MATERIAL__ZARC_MOD1&apos;]/SELECTIONS/SELECTION[1]/MEMBER/" />
    But I was not able to concatenate the fixed text (Eg. FFV Graph) and variable value(LD) into the chart title (LD FFV Graph).
    Please help if you came across similar requirements.
    Regards
    Karthik Muthyala

    Hi,
    You can type "FFV Graph "in your web template in WAD and use "Info Field" web item before FFV Graph. You need to select Model variable in Info Field web item settings like below:-
    Regards,
    Suman

Maybe you are looking for