How to display the dynamic text in the selection screen

Hi All,
I want to display the dynamic text in the selection screen .... ( I searched in forums , didnt get the any answer fot this sort of qustion ).....
EX: If i have the date of today 31st  it has to show message like " today date is 31 like some thing "  when i execute the report .
Could any one face this sort of requirment, Please let me know.
Thanks in advance.
Reagrds,
Bharani

Where would you like this dynamic text being displayed? As an "message" or in some parameter field?
If first
parameters date type d.
data: text type string.
at selection-screen.
   concatenate 'Today is' date into text.
   message text type 'I'.
If second
parameters pa_text type c length 50.
at selection-screen on date.
  if date is not initial.
    concatenate 'Today is' date into  pa_text.
  enidf.
at selection-screen output.
   "show it as read only
   loop at screen.
    if screen-name = 'PA_TEXT'.
           screen-input = abap_false.
          modify screen.
    endif.
   endloop.
Regards
Marcin

Similar Messages

  • How to display HTML formatted text in the field with Item Style: Raw Text

    How can I display HTML formatted text in the field with Item Style: Raw Text.
    Currently the Item Style is Raw Text, but the text is being displayed along with HTML tags without formatting.
    Regards

    Hi,
    Use Item Style formattedText.
    Regards,
    Gyan

  • How to display content dynamically base on the menu selection?

    I have only one XML file to populate my menus and display the
    content base on the menu selection.
    If I select anything by name on the menus, example Math all
    the the Math products will display on the dsFeatures region.
    I use istinctOnLoad: true, distinctFieldsOnLoad:['name']
    function to remove duplicate rows from the data set when it loads.
    So far so good.
    Once I try to select from the grades menu this does not
    display anything.
    I'll need to dynamically change the dsFeatures.setPath when I
    click on the menus some how.
    dsFeatures.setXPath("products/product[grade =
    '"+???+"']/features/feature");
    Below is my code.
    XML used to create the menus and the display the content.
    <products>
    <product>
    <name>Math</name>
    <category>Life Math</category>
    <grade type="grade">Grade 6 - 8</grade>
    <subject>Life Math Grade 6 - 8</subject>
    <image>images/math_icon.png</image>
    </product>
    <product>
    <name>Math</name>
    <category>Division</category>
    <grade type="grade">Grade 5</grade>
    <subject>Life Math Grade 5</subject>
    <image>images/math_icon.png</image>
    </product>
    <product>
    <name>Science</name>
    <category>Life Math</category>
    <grade type="grade">Grade 6 - 8</grade>
    <subject>Life Science Grade 6 - 8</subject>
    <image>images/science_icon.png</image>
    </product>
    <product>
    <name>Social Studies</name>
    <category>Studies</category>
    <grade type="grade">Grade 5</grade>
    <subject>Social Studies Life Grade 5</subject>
    <image>images/social_icon.png</image>
    </product>
    <product>
    <name>Language Arts</name>
    <category>Life Arts</category>
    <grade type="grade">Grade 3 - 4</grade>
    <subject>Life ArtsGrade 3 - 4</subject>
    <image>images/language_icon.png</image>
    </product>
    </products>
    // Get all the products data and use distinct() to filter the
    names.
    var dsProducts = new
    Spry.Data.XMLDataSet("included/d_products.xml",
    "/products/product", { useCache: false, distinctOnLoad: true,
    distinctFieldsOnLoad:['name']});
    // Get the menu by grade using distinct()
    var dsByGrade = new Spry.Data.XMLDataSet(null,
    "/products/product/grade", { useCache: false, distinctOnLoad: true,
    sortOnLoad: "grade", distinctFieldsOnLoad:['grade'] });
    // Create the dsFeatures data set, pass a null for the URL
    parameter so that it doesn't load
    var dsFeatures = new Spry.Data.XMLDataSet(null,
    "/products/product[name = '{dsProducts::name}']/features/feature",
    { useCache: false });
    // Define a function that to register as an observer on
    dsProducts.
    function updateCategoriesAndFeatures(notificationType,
    notifier, data)
    // Interested in "onPostLoad" notifications.
    // If it is any other notification, just bail.
    if (notificationType != "onCurrentRowChanged" &&
    notificationType != "onPostLoad")
    return;
    // Received an "onPostLoad" or "onCurrentRowChanged
    notification
    // from dsProducts! Ask it for its XML document. If it has
    one, tell
    // dsFeatures to extract its data from that document.
    var doc = dsProducts.getDocument();
    if (doc)
    if (notificationType == "onPostLoad")
    dsByGrade.setDataFromDoc(doc);
    dsFeatures.setDataFromDoc(doc);
    // Register the function as an observer on dsProducts.
    dsProducts.addObserver(updateCategoriesAndFeatures);
    Menus:
    Display by names:
    <ul spry:region="dsProducts" id="nameRegion">
    <li class="product" spry:repeat="dsProducts"
    spry:setrow="dsProducts" spry:select="selected" spry:hover="hover"
    >{name}</li>
    </ul>
    Display by grades:
    <ul spry:region="dsByGrade" id="gradeRegion">
    <li class="grade " spry:repeat="dsByGrade"
    spry:setrow="dsByGrade" spry:select="selected" spry:hover="hover"
    >{grade}</li>
    </ul>
    Content.
    Display the features content:
    <ul spry:region="dsFeatures">
    <li spry:repeat="dsFeatures">{subject} <br />
    {image}</li>
    </ul>
    Any idea on how to go about this or pointer to an example
    would be appreciated.
    ~Cheers

    Does anybody have idea?

  • Display key and text in variable selection screen.

    Hi:
    I have a variable in the Var.selection screen. and I cannot have the text displaying. Only the key is coming.
    - I have checked "Provider-Specific Properties" in RSA1 and is ok. and display attributes in Query Designer as well.
    Infio: The Characteristic is used in the same query as a Free Char. and there is displaying Key+Text correctly...
    any idea in what else to check.?
    Regards.

    Hi,
    Do you mean that the value help of that variable is not showing the Text values in the selection screen.It shows only the values in "Key"
    If this is the case,then invoke the value help of that variable->Click "Settings"->"General Display" tab->Select "Default(Text)" and click OK.The values will be listed in "Text" rather than "Key"
    Rgds,
    Murali

  • Dynamic text changes in selection screen

    i want to change the title of block into a selection screen after clicking radio button .the changes will be done dynamically.

    Hi Pravik,
    try this code:
    selection-screen : begin of block b1 with frame title text-034.
    selection-screen begin of line.
    parameter : r_mas_dl radiobutton group r user-command btn default 'X'.
    selection-screen comment 3(50) text-060.
    selection-screen end of line.
    selection-screen begin of line.
    parameter:  r_new_dl radiobutton group r.
    selection-screen comment 3(50) text-058.
    selection-screen end of line.
    selection-screen begin of line.
    parameter: r_chn_d1 radiobutton group r.
    selection-screen comment 3(50) text-059.
    selection-screen end of line.
    selection-screen skip 3.
    parameter p_file  type rlgrap-filename modif id a.
    select-options: s_sernr for risa0-sernr modif id b no-extension no intervals.
    selection-screen : end of block b1 .
    at selection-screen output.
      if r_mas_dl = c_x.                                      " For the first Radio button
        set titlebar 'MAS' with text-041. " Header Text1.
        loop at screen.
          if screen-group1 = c_a.
    *        CLEAR p_file.
            if screen-name = text-052. "'P_FILE'.
              screen-invisible = 0.
              screen-input = 1.
            endif.
          endif.
          if screen-group1 = c_b.
            screen-invisible = 1.
            screen-input = 0.
          endif.
          if screen-group1 = c_c.
            screen-invisible = 1.
            screen-input = 0.
          endif.
          modify screen.
        endloop.
      elseif r_new_dl = c_x.                             " For the second radio button
        clear p_file.
        set titlebar 'SIN' with text-058. " Header Text2
        loop at screen.
          if screen-group1 = c_a.
            clear s_sernr.
            screen-input = 0.
            screen-invisible = 1.
          endif.
          if screen-group1 = c_b.
            screen-input = 1.
            screen-invisible = 0.
          endif.
          if screen-group1 = c_c.
            screen-invisible = 1.
            screen-input = 0.
          endif.
          modify screen.
        endloop.
      elseif r_chn_d1 = c_x.                               " For the third radion button.
        clear p_file.
        set titlebar 'CHG' with text-059. " Header Text3.
        loop at screen.
          if screen-group1 = c_a.
            clear s_sernr.
            screen-input = 0.
            screen-invisible = 1.
          endif.
          if screen-group1 = c_b.
            screen-input = 0.
            screen-invisible = 1.
          endif.
          if screen-group1 = c_c.
            screen-invisible = 0.
            screen-input = 1.
          endif.
          modify screen.
        endloop.
      endif.
    hope it helps.

  • To make the dynamic text eg. & GV_VALUE& non-editable in text modules

    Hi Experts,
                My requirement is to make the dynamic text in the text modules non-editable i.e, static text can be edited by the user but dynamic text should be made non-editable. Could you please help me out in doing this.
    Regards,
    Payal G

    Hi Amrendra,
    The reason why it gets read only its because you are deleting the object thus the binding becomes null (because the object is gone!!!). So if you don't want it to be gone, it needs to refers to anything but null. So, if once you delete the object you expect it to remain editable then you can do:
    - Instead binding the inputText to the VO, bind it to some other variable (in a bean or in a binding variable) and do the logic to update the VO when required OR
    - Once you delete the row, Execute a CreateInsert operation from your VO. This will allow you to create a new Row (which is going to have all values blank) but at least the binding wont be null and your input text wont get read only.
    Maybe if you share in more details what is what you want to achieve in term of why do you expect the input text to remain editable (can you create a new row??)
    Regards

  • How to make a dynamic text  be SMS by fl2.1

    Now ,I know use " getURL("sms:"+telnumber) "to send sms to a
    specified no.,but how to make a dynamic text be the sms content.?
    Many thx!:

    Ciao,
    this should work:
    smstxt = "ciao, happy holidays";
    telnum = "1234567890";
    getURL("sms:"+telnum+"?body="+smstext);
    body is a keyword.
    Alessandro

  • Parallel text box in selection screen

    Hi all,
    Can anyone please tell me that how can i create parallel text boxes in selection screen?
    Exa : Company code    <Input box>                        Date       <Input box>
             Pers No.              <Input box>                    Cust No. <Input box>
    Regards.

    hi,
    Use COMMENT and POSITION statements in selcection-screen to achieve the same.

  • How do I make dynamic text look static while the HMTL tagging is enabled?

    Hi all,
    I am using flash 8 with AS 2.0.
    I have a dynamic text field where I am setting it's text value through a variable. Now, I need this dynamic text field content to look like static font on runtime. I tried embedding the text field but that makes my file so heavy and most importantly, it disables the HTML tagging on the text field.
    Please suggest me on how to make a dynamic text field content look static on runtime while the HTML tagging is enabled and working fine.
    Thanks.

    I am sorry. But the attachment was not intended for what you
    thought my friend.
    It was there so that there are no confusions for what I mean by look of dynamic and static text fields.

  • How to display language key (0LANGU) in the query for BW report

    Hi,
    Can someone tell me how to display language key (0LANGU) in the query? I want to display which language (English or French) is used for material description in BW report. Thx.

    hi,
    check if the infoobject is kept as lang dependent or not  for material text, else you need to create a masterdata attribute with text and lang keys and do corresponding mapping, so then it can be displayed in your report
    regards
    laksh

  • How to: display large error note in the front panel?

    hi guys,
    When "error out" has an error, I would like to display HUGE RED TEXT in the FRONT PANEL saying: "STOP, ERROR DETECTED!"  )
    How to do that?
    Thanks for your help.
    Solved!
    Go to Solution.

    Place an indicator on the panel. Set the text to HUGE and RED, and set its value to "STOP, ERROR DETECTED!". Make it not visible. When you get an error, use the "Visible" property node to display it.
    To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.

  • How to update the sales text in the Sales Order.

    Dear all,
    I want to Update the sales text in the Sales Order. I used the "CREATE_TEXT" but i couldn't update using it.
    Can u please guide me, how to use the Function Module to update the sales Order line item text values.
    Thank U
    Uwanthi

    HI
    Check this link
    User Exit to update Sales order text (Terms of delivery) on saving it
    Regards,
    Krishna

  • How to display properties of dimension on the input form and report in bpc

    Dear Expert,
    Please tell me how to display properties of dimension on the input form and report in bpc. I can only display dimension number.
    thanks so much
    hungth

    Hi Hungh,
    If your are using BPC 10 with EPM add in client, you can use the function:
    EPMDimensionProperty ()
    This function retrieves the properties of a specified dimension in a specified cell range.
    Thanks, Safa

  • How do I receive multiple texts from the same sender, each individually?

    How do I receive multiple texts from the same sender, each individually?

    So I receive automated reminders from my job &amp; I want them to come individually. For example, one text -- time stamped 10:14 pm, then another 11:12 am, coming as separate msgs.

  • How do I select the entire text when the focus is moved to one TextBox?

    How do I select the entire text when the focus is moved to one TextBox?
    There are three TextBoxes.  I use <TextBox TabIndex="1"/> to set the order they are selected.  When I enter one specific TextBox, I would like to have the entire text selected ... one key stroke removes all of the text in that TextBox.
    bhs67

    I do it the following way:
    1.  Override the OnStartup for the application.  Use the following code: (VB.NET)
    EventManager.RegisterClassHandler(GetType(TextBox), TextBox.GotFocusEvent, New RoutedEventHandler(AddressOf TextBox_GotFocus))
    2.  In the event handler use this code (again VB.NET)
    Private Sub TextBox_GotFocus(ByVal sender As Object, ByVal e As RoutedEventArgs)
    _theTextBox = CType(sender, TextBox)
    If setFocusTimer IsNot Nothing Then
    RemoveHandler setFocusTimer.Tick, AddressOf setFocusTimer_Tick
    End If
    setFocusTimer = New DispatcherTimer
    setFocusTimer.Interval = TimeSpan.FromMilliseconds(10)
    AddHandler setFocusTimer.Tick, AddressOf setFocusTimer_Tick
    setFocusTimer.Start()
    End Sub
    Private Sub setFocusTimer_Tick(ByVal sender As Object, ByVal e As System.EventArgs)
    setFocusTimer.Stop()
    _theTextBox.SelectAll()
    End Sub
    What this does is register a handler for every textbox in your application.  This will execute when the GotFocus event is raised and will allow you to do whatever (in this case select all) you want.  A great way of handling things at the application
    level.
    Lloyd Sheen

Maybe you are looking for