Restriction on length of the name given to a radio button in selection scr

Hi,
Is there any length restriction for the name given to a radio button in SELECTION SCREEN?
I need to display a 35 char name for a radio button.

It can be upto 8 characters long. But here is a solution to your problem:
selection-screen begin of line.
parameters: rb_opt1 radiobutton group mygrp.
selection-screen comment 5(35) text-s01 for field rb_opt1.
selection-screen end of line.
selection-screen begin of line.
parameters: rb_opt2 radiobutton group mygrp.
selection-screen comment 5(35) text-s02 for field rb_opt2.
selection-screen end of line.
and then just double click on the text objects to write your own texts.
Hope it helps.

Similar Messages

  • What is length of the name of an IDOC?

    Hi all,
    What is length of the name of an IDOC? Eg 0000000000121745 is an IDoc. This is 16 chars. Is it always 16 chars??
    Thanks,
    Charles.

    Hi,
    The length of IDoc number is 16 characters long.
    To maintain IDoc number range, you can go to transaction SNR0. Use object EDIDOC and select number range. The default is from '0000000000000001' to '9999999999999999'.
    Regards,
    Ferry Lianto

  • How to disable a field on the basis radio button value selected.

    hello to all,
    i am facing one problem.I have declared two selection screen blocks.
    In one i hvae declared two radio button r1 -Fiscal year and r2--Datewise.
    And in another selection screen block all i/p fields. like plant. date.year etc.
    Now if user select r1-Fiscal year  then i/p field - date of second block should be disable.
    And if user select r2-Datewise  then i/p field - year of second block should be disable.
    SELECTION-SCREEN BEGIN OF BLOCK BLK WITH FRAME
              TITLE TEXT-002.
           PARAMETERS: R1 RADIOBUTTON GROUP RA1 user-command ucomm,
                       R2 RADIOBUTTON GROUP RA1 DEFAULT 'X'.
       SELECTION-SCREEN END OF BLOCK  BLK.
    selection-screen begin of block b1 with
      frame title text-001.
    parameters : gjahr like ZSA_DETAIL-gjahr  MODIF ID YAR,
                 aedat like ZSA_DETAIL-aedat  MODIF ID DAT,
                 werks like ZSA_DETAIL-werks .
    selection-screen end of block b1.
    AT SELECTION-SCREEN on RADIOBUTTON GROUP RA1.
       BREAK-POINT.
        IF R1 = 'X'. "fiscal
         LOOP AT SCREEN.
            IF screen-group1 = 'DAT'.
             screen-active = 0.
             screen-invisible = 1.
             MODIFY SCREEN.
             ENDIF.
            endloop.
       ELSEIF R2 = 'X'.
         LOOP AT SCREEN.
         IF screen-group1 = 'YAR'.
           screen-active = 0.
          MODIFY SCREEN.
         ENDIF.
         ENDLOOP.
        ENDIF.

    Hi Shikha,
    Regarding your query, when you select a particular radio-button then the fields pertaining to that radio-button should get activated or get displayed, otherwise it should be hidden.
    This can be done adding the addition to the Radiobutton 'USER-COMMAND' this will automatically enable-up
    the functionality of the fields related to that radiobutton, while disabling the others.
    If USER-COMMAND isn't given, then ENTER key serves the purpose.
    DATA:
    w_carrid LIKE sflight-carrid,
    w_connid LIKE sflight-connid.
    PARAMETERS:
    p_carrid RADIOBUTTON GROUP airl USER-COMMAND airline,
    p_connid RADIOBUTTON GROUP airl.
    SELECT-OPTIONS:
    s_carrid FOR w_carrid,
    s_connid FOR w_connid.
    INITIALIZATION.
    p_carrid = 'X'.
    Now enabling desired fields and disabling the others, can be done by the following snippet.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF p_carrid EQ 'X'.
    IF screen-name CS 'S_CONNID'.
    screen-active = 0. " Disable the field S_CONNID
    MODIFY SCREEN.
    ELSEIF screen-name CS 'S_CARRID'.
    screen-active = 1. " Enable the field S_CARRID
    MODIFY SCREEN.
    ENDIF.
    ELSEIF p_connid EQ 'X'.
    IF screen-name CS 'S_CARRID'.
    screen-active = 0.
    MODIFY SCREEN.
    ELSEIF screen-name CS 'S_CONNID'.
    screen-active = 1.
    MODIFY SCREEN.
    ENDIF.
    ENDIF.
    ENDLOOP.
    Hope, this would help you solve your problem.
    Thankyou,
    Zahack.

  • Please solve  Radio buttons (when selected) will then display on the report

    Each of these new Radio buttons (when selected) will then display on the report in the same locations, which is after the existing columns.
    Check boxes are by default checked.
    When the 1st radio button is selected then a new column will be displayed in the ALV output
    Next to A.
    Like wise when 2nd radio button selected then a new column will be displayed in the ALV output next to B.
    Like wise the ALV output is displayed.
    A   is a checkbox
    B  is a checkbox
    C   is a checkbox
    D   is a checkbox
    1   is a radio button                         
    2   is a radio button      
    3  is a radio button
    4   is a radio button

    while populating fieldcatalog itself u include these condition....
    if Pradiobutton = 'X'.
    *--populate field catalog for field u want in specified position....
    endif.
    similarly u proceed for other fields and other condition

  • I name each photo buy replacing the jpeg number with the name. when I burn to disk and open disk the name is not shown. how do I get the name given to show on the burn disk?.

    after I burn the files to dvd and load to view the name does not appear. How do I get the name listed to appear on the burn disk instead of the file number?

    Naming the Photo - or giving it a title - is not the same as naming  file.
    How are you burning to dvd? With iPhoto? If so then the Title will be available in any app that understands basic metadata.
    If you want the title available in the Finder - which does not understand photo metadata  - then you'll need to export the file
    File -> Export
    In the resulting dialogue you'll see a heading for 'File Name'. Choose 'Use Title' from the drop down.
    Regards
    TD

  • Using a dropdown box to change the specified value of a radio button?

    I have a form that generates the body text for an email.
    First there is a dropdown box in which the choices are either "red" or "blue"
    Further down the page, there is a radiobutton list with 2 items "available" and "unavailable".
    The specified values for these items (as defined on the binding tab) are "have blue hats" or "do not have blue hats".
    This value is concatenated in the email body textfield which is to be copied by the user to an email body:
    Concat("Dear", NameField, "," We ", RadioButtonList, " today. ")  // Dear Persons Name, We have blue hats today.
    Is there any way to change the value of the selected radio button based on the selected dropdown choice?
    So if the user selected "red" in the dropdown field, the radio button values could become  "have red hats" or "do not have red hats"?
    Or perhaps there is a better way from the start?
    Thanks!

    Ok, so now I've done that...
    But is there a way to change that value with another field (ie when a user chooses "red" or "blue" in a dropdown box) so that the concatenated message reflects both the users choice of color and the availibility?
    I'm guessing I should probably use an intermediary text box and put
    InterText.rawValue = Concat ("We have ', dropdown1, " hats today") in the change event of the available radio button and:
    InterText.rawValue = Concat ("We do not have ', dropdown1, " hats today") in the change event of the unavailable radio button.
    then concatenate that box in the final textbox.

  • Changing The Text Color In a Radio Button Component

    Hi,
    I'm using a background in my frame , so I need to know how
    to change the color of the Radio Button Component. I tried using
    the Property Inspector , but in that the color option is disabled.
    The Flash version I'm using is Flash 8. Kindly provide me a
    solution for this.
    Thanks In Advance,
    Lokesh R

    There's a topic about this in the Flash help, about changing
    components. You need to edit the file inside your Flash
    installation folder, and make a copy of it to your liking.
    But about radio buttons: is there any way to include them in
    your project while maintaining the possibility of on(Keypress)
    events?

  • The first row of a radio button is hidden

    Dear all
    i've a tabular block(4 rows) which contains two radio buttons, at runtime only 3 rows are displayed
    thanks in advance for your help
    MHassan
    Edited by: user5473866 on Oct 9, 2011 5:00 AM

    Please read this:
    http://blogs.oracle.com/shay/entry/10_commandments_for_the_otn_fo
    Without details, it will be difficult to help. There is a long list of reasons why an object may not be visible at runtime. Here are just a few:
    1. You have coded the object to not be visible.
    2. The object's Visible property is set to No
    3. The object is covered by another
    As always, the best way to troubleshoot any problem is to simplfy it. Create a new form and create the same objects on the canvas that you have on your failing form. Do not change any of the object properties or add any of your own code. Does it appear correctly when you run it? If so, they you now know that one of the reasons listed above is causing the problem.

  • How to check the default checked  value for radio button on jsp for struts

    Hello , I just want to check the default checked value in JSP for a radio button, how can i do that?
    <html:radio property="sale" value="permanent" style="vertical-align: middle;">Permanent</html:radio>
    <html:radio property="sale" value="temporary" style="vertical-align: middle;">Temporary</html:radio>

    you can set the default value for property ( which you want to default selected when the form is first loaded) in reset method of the form.
    <html:radio property="sale" value="permanent" style="vertical-align: middle;">Permanent</html:radio>
    <html:radio property="sale" value="temporary" style="vertical-align: middle;">Temporary</html:radio>
    In the above case you can write the code as follows in the perticular form of this jsp.
    public void reset(ActionMapping mapping, HttpServletRequest request) {
    super.reset(mapping, request);
         sale = "permanent";
    This will show the first check box default selected when the first time the page is loaded.

  • Question about  the name given to machine after restore.

    It seems every time a full system restore using time machine has been completed it renames the machine from Sean O'Briens imac to Sean O'Briens imac (2) etc. I am now on (4)
    Is there a way to change it back to just Sean O'Briens imac
    Message was edited by: Seanrobrien

    V.K.
    If I rename in system preferences will this affect the folder on my external hard drive thats labeled Sean O'Brien iMac (4) and is used by time machine?

  • How do I change the download behavior so that the "save as" radio button is selected by default instead of "open with" in the download window?

    For most file types whose download behavior is set to "always ask" the "save as" option is selected by default in the download window. However, for a few others the "open with" option is selected instead.
    Note that Firefox is not automatically opening some files instead of saving them. I still get to choose between saving or opening them, but certain file types start with "open" selected whereas for others "save" is the default.
    What I'm looking for is a way to change all file types to default to "save as" in the download window.

    see : [https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file Change what Firefox does when you click on or download a file]
    see also : [https://support.mozilla.org/en-US/kb/set-how-firefox-handles-different-file-types Set how Firefox handles different types of files]
    thank you

  • How to Sort by the length of the returned value from a query.

    Hi,
    I was wondering if it is possible to sort by the length of the returned value from a query?
    For example if I want to get a list of people with the name 'Samuel', I would like to short by how short the length of the whole name is.
    Sort by length of the name in SQL
    Samuel Syda
    Samuel Indranaka
    Samuel Johnsons
    Samuel Longhenderson
    Thank you.

    Hi,
    Sorting is done by an ORDER BY clause at the end of the main query.
    In most cases, you can ORDER BY any expression, even f it is not in the SELECT clause.  In this case, it sounds like you just need:
    ORDER BY  LENGTH (name_column)
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
    Post your query, using an ORDER BY clause like the one above, and point out where that query is producing the wrong results, and explain, using specific examples, how you get the right results from the given data in those places.
    Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How to differentiate between Radio Buttons with the same name?

    My form has two fields, to which I gave the same name ("Radio Button 1.0") in order to achieve mutual exclusivity.
    Now, I would like to use JavaScript to retrieve the value of one the two fields:
    var checkMark = this.getField("Radio Button1.0");
    if (checkMark.value == "Yes") {
    Questions:
    What is the proper way to inspect the value of a Radio Button? I have tried this:
    if (checkMark.value == "No") [...]
    but it doesn't seem to work.
    How can I tell apart 2 radio buttons with the same name?
    TIA,
    -RFH

    When Radio Buttons and Check Boxes are unchecked their value is "Off", so if you have "Yes", "No" buttons you will also encounter an 'Off" value. Now if you want to look at a given button, you will have to use the "isBoxChecked(nWidget)" method.
    nWidget:
    The 0-based index of an individual radiobutton or checkbox widget for this field. The index is determined by the order in which the individual widgets of this field were created (and is unaffected by tab-order).
    Every entry in the Fields panel has a suffix giving this index, for example MyField #0.
    Returns
    true if the specified widget is currently checked, false otherwise.
    Example
    var f = this.getField("ChkBox");
    if(f.isBoxChecked(0))
    app.alert("The Box is Checked");
    else
    app.alert("The Box is not Checked");

  • Why iPad change the name of my photos (file name) ?

    I use the iPad to save my photos directly from the camera when I walk on the road.
    If I copy the files into Aperture they appear with the name given to it by the camera.
    If sending the files to the Dropbox they come up with completely different names of the original.
    Is there possibility to change this?
    Sorry for my bad english
    Thans very much

    I use Dropbox app that I downloaded from Apple Store with iTunes.
    I tried also Photo Manager Pro and get same bad results.

  • I deleted my contacts but when I go to compose a message the names will appear. How do I save them on my phone?

    Help

    When the name comes up during typing, if the name is no longer in your contacts, there should be a blue arrow to the right of the name. If you touch this arrow you will be given a choice of actions one of which is to delete the name from recently used. If you select Delete the name should be gone.

Maybe you are looking for

  • How do connect my ipod touch to tv

    I have a 4th generation iPod touch and would like to play videos from it on my tv. I also already owned an Apple component av cable that I use to use to connect my classic to my tv which worked perfectly, and the users guide for the touch shows that

  • Adobe Acrobat 9.0 Pro Manual

    Does anyone know how I can can the manual for Adobe Acrobat 9.0 Pro?

  • My Skype number is about to expire?

    I have just received an email saying my Skype number is about to expire, but there is money in the account. Why would they do that and will they refund the money still there? Could it be because I haven't used the Skype number for a while, and if I d

  • HT5577 Forget the password of backup point

    Please advise how to find the pass code of the restore point of backup????

  • Mac will not update latest update from App Store

    I have repeatedly tried to update from 10.10.2 to 10.10.3 because it is recommended through the App Store, yet every time I click update it starts to download and then just quits. I have a MacBook Pro 2012 running 10.10.2. Any advice wold be greatly