Dynamic Icon Titles?

I've got a course I'm developing. Depending on a student's
choice at the
beginning, certain terms will change.
For this example, let's say that if the student says they
work at a "Bank"
than all references to "Customer" will remain "Customer", and
if they chose
"Credit Union" instead, all references to "Customer" will be
replaced with
"Member".
This is all fine and good for audio and on-screen
graphics/text done through
display icons.
But I've got buttons that I need to change the text from
Customer to Member.
I'd prefer to not have a separate button for each term, but
just have a way
that i could change the button's text from:
"What Does the Customer Think?"
to
"What Does the Member Think?"
is there any way, through the use of variables, that I could
dynamically
change the names of buttons?

Doh!
I completely forgot about the label field. I always just
leave the label
field blank, and rely on the iconTitle to build out the
button's label
Thanks Amy :)
"Amy Blankenship *AdobeCommunityExpert*"
<[email protected]>
wrote in message news:e90obd$7eu$[email protected]..
> Look at the "label" field in the button's response
properties. That can be
> a variable.
>
> HTH;
>
> Amy
>
> "Joseph Sites"
<jsites@trcinteractive__NOSPAM__.com> wrote in message
> news:e90nps$6q2$[email protected]..
>> I've got a course I'm developing. Depending on a
student's choice at the
>> beginning, certain terms will change.
>>
>> For this example, let's say that if the student says
they work at a
>> "Bank" than all references to "Customer" will remain
"Customer", and if
>> they chose "Credit Union" instead, all references to
"Customer" will be
>> replaced with "Member".
>>
>> This is all fine and good for audio and on-screen
graphics/text done
>> through display icons.
>>
>> But I've got buttons that I need to change the text
from Customer to
>> Member. I'd prefer to not have a separate button for
each term, but just
>> have a way that i could change the button's text
from:
>>
>> "What Does the Customer Think?"
>>
>> to
>>
>> "What Does the Member Think?"
>>
>>
>>
>> is there any way, through the use of variables, that
I could dynamically
>> change the names of buttons?
>>
>
>

Similar Messages

  • New way to do Dynamic Icons in Flex

    Hi All,
    I figured out another way to make dynamic icons in Flex:
    Flex Code:
    In the container mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml"
    paddingLeft="2" paddingRight="2" horizontalGap="2">
    <mx:Script>
        <![CDATA[
       import mx.core.Application;
      [Bindable]
      [Embed(source="common/swf/dynamicIcon.swf") ]
      public var isDynamicIcon:Class;
            ]]>
    </mx:Script>
    <mx:Image id="ico_mag_sm" source="{isDynamicIcon}" />
    <mx:Spacer width="1"/>
    <mx:Text id="_name" text="{data.ApplicationName}"
    paddingLeft="5" selectable="false"/>       
    </mx:HBox>
    In the Applicaton mxml:
    <mx:Script>
        <![CDATA[
        i// ActionScript file
            import inc.ApplicationProperties;
            //NOTE: do NOT type the commonPath variable. Typing it to String breaks the code.
             public var commonPath = ApplicationProperties.COMMON_PATH;//this is the url to the server where the icons are located.
            ]]>
        </mx:Script>
    dynamicIcon.swf AS 3.0 code:
    stop();
    var iconFolder:String = "inc/icons/";
    var  parentArray:Array = new Array();
    //find the highest display container
    function getIconName(myObject){
          while (myObject.parent){
             myObject = myObject.parent;
              var topParent = myObject;
             var objectName:String =  myObject.name;
             parentArray.push(objectName);
        // for some reason I can't just set the iconName equal to the myObject.name. The only way I could get it to work is to push
       //it onto an array first and then access it in the array.
          for(var i:Number=0;i<parentArray.length; i++){
              if(parentArray[i].indexOf("ico_")==0){
                 var  iconName:String = parentArray[i];
                 break;
         var myURL:String =  topParent.getChildAt(0).application["commonPath"];
         var  loadPath:String = myURL+iconFolder+iconName+".png";
         var loadit =  new Loader();
         addChild(loadit);
         loadit.load(new  URLRequest(loadPath));
    getIconName(this.parent);
    BUT, I am new to Flex and AS 3.0 and I know this code is uglier than it needs to be and have the following two issues.
    1) In the AS 3.0 code, to determine the parent application, I should be able to just reference the parent application directly rather than have to iterate through .parent.  Since I am using the Image tag and not using a loader, the only way I could figure out how is to iterate thought .parent. Is there a more direct way to get the parent or more specifically, the COMMON_PATH attribute of the ApplicationProperties class?
    2) In the AS 3.0 code, for some reason, I could not just stick the retrieved myObject.name in into the iconName variable and add it to the URL string. Just out of desperation, I pushed it onto an array first and then accessed it and it worked.
    Anyone got any ideas on either or both item 1 or 2 above?
    TIA,
    Steve

    I should have been more clear. This largely based on I am Link's method to create dynamic icons in a datagrid:
    http://blog.tygate.com/?p=359
    I just took it a step further.

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

  • 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

  • Transparent Background for Icon Titles in panel2

    right now I use XFCE4 and I read this section
    https://wiki.archlinux.org/index.php/Xf … con_Titles
    this way for desktop icons ,but  i want Transparent Background for Icon Titles in panel 2
    my icons in panel 2 has white backkground and border ,I want have only icons without white background and border

    henk wrote:According to this topic it is something that can be
    adjusted within the used theme itself.
    Check your /home/<your username>/.themes/<theme>/gtk-*/gtkrc
    thanks,
    I check above link before ,but that post in xfce formus do not solve my problem,
    Last edited by mfaridi (2013-07-21 10:32:02)

  • Creating dynamic Icon objects

    Hi,
    I've a graph for which I provide right click menu for changing the color of various elements in graph. I would like to show the current color of these elements as well when showing the menu items. For this, I need to create a rectangular or some shaped icon filled with the current color of the corresponding element and display it right next to each menu item.
    My question is, how can i creating dynamic icons of this type, so that I can show them along with my menu items.
    -Avinash

    Use:
    Image image = createImage(32,32);
    Graphics gr = image.getGraphics();
    // draw what you want on gr
    ImageIcon ii = new ImageIcon(image);
    Noah

  • 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

  • Application Icon Title customized with Username

    Does anyone know how to distribute a Application Icon Title for a desktop
    shortcut with the %username% variable? So my icon might be a link to
    email with the Application Icon Title of "Joe's Email". Thanks:)

    > > Does anyone know how to distribute a Application Icon Title for a
    desktop
    > > shortcut with the %username% variable? So my icon might be a link to
    > > email with the Application Icon Title of "Joe's Email".
    >
    > AFAIK you can't use variables/macros in the "Application icon title"
    field,
    > but you can create a Windows shortcut ("Distributions Options"
    > -> "Icons/Shortcuts") and use a variable under "Shortcut name".
    > With my old, but reliable, Agent (4.00.1047) I'm not able to use
    environment
    > variables like %USERNAME% (no matter user association or not), I don't
    know
    > if that's a bug, but eDirectory attribute macros like %CN% works just
    fine.
    >
    > Regards
    > Rolf Lidvall
    > Swedish Radio (Ltd)
    >
    >
    Thanks Rolf what you suggest worked for us:) I really appreciate the
    help you have given.
    JR

  • 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

  • How to get dynamic icons like in "Searching this Mac"?

    Hello,
    So whenver I use spotlight to search something and click on "Show all in finder" I get the "Searching This Mac" window. The one where I can add filters and "stuff". When I resize this window, the icons rearrange themselves to allways fit the window, so that no icons are ommited. It's like they adapt dynamically to the window's size. OS is Lion.
    Is there a way to get this behaviour on all finder windows? If so, how do I get them to behave that way?
    Thank you in advance,
    Milton Sá

    I don't know of a way to make it happen automatically.
    But you can make it happen with little effort. After resizing the window, press Command-Option-1
    This instruction will perform a Clean Up action making the icons fill the window, using 'by name'. If you want a different arrangement function, look in the View menu, Clean Up By submenu.

  • Dynamic Page Title from Spry Dataset

    Is it possible to create the title tag content dynamically
    from the dataset? I tried placing the title tag after the creation
    of the dataset and put this in, but it doesn't seem to work:
    <title>Open Orders for
    {dsCustomer::custname}</title>
    Simon

    That isnt really a correct way to set a header
    U should make a little javascript that does;
    document.title="your title here";

Maybe you are looking for

  • Can i use my itunes account on more than one computer?

    i have itunes on my computer at work and at home. any way i can combine them? or, is there a way that something i buy and download onto my work computer can be linked to my home computer? the problem is that my home computer is incredibly old and slo

  • Problem with the Installation of OWB 10g Release 2

    Dear members I am trying to install OWB and Create a Repsoitory on my machine as mentioned here http://www.oracle.com/technology/obe/10gr2_owb/owb10gr2_gs/owb/lesson1/start01.htm But I am getting Warehouse builder Installation Error stating : The War

  • OIM 11g Login Error

    Hi All, I am trying to login to my OIM setup and it is not logging in. In short, no login is happening properly with any of the user (xelsysadm and others). The log says like this: [2011-09-26T21:15:40.017-07:00] [oim] [ERROR] [IAM-0020011] [oracle.i

  • When using Safari all pdf files come up as gibberish?

    When using Safari to access a PDF file the page comes up all gibberish (to me). Other browsers open the PDFs just fine. When I sign is as another user the PDFs open fine in Safari. Any help would be appreciated.

  • Purging of data

    I am trying to shift the data from one db to the other which are on different machines. I tried it using the dblink but it is giving me some error like "distributed transaction waiting for lock failed". I want to insert the data using simple insert q