Convert a field from dropdown to checkbox

Hi experts,
Can anyone please let me know how to convert a field from dropdown to checkbox.
Regards,
Ashwini

Hi,
Modify GET_P method insert the below coding
case iv_property.
   when if_bsp_wd_model_setter_getter=>fp_fieldtype.
      rv_value = cl_bsp_dlc_view_descriptor=>field_type_checkbox.
endcase.
Regards,
Arun Kumar

Similar Messages

  • Populating Text Field from Dropdown in Repeating Subforms

    Hi there,
    I'm trying to create a dropdown in a repeating subform that populates a text field in the same subform depending on the option selected.
    I used the functionality described here to acheive the text field population in the first row, but I have trouble when I add additional instances of my subform. In subsequent instances, when I select an option from the dropdown, it changes the text in my first textbox and does not populate anything in the repeated textbox.
    I'm not sure how to get this to work for each added instance and/or how to keep each instance separate from one another.
    Thanks in advance for your help!

    Can you repost the question - some funny formatting issue

  • How do I selectively  convert check boxes (Alt0168 Wingdings) but NOT Bookmarks into editable fields (from Word table)

    Acrobat X (Windows) is converting all fields from the Word table - making even the imported bookmarks editable. We just want the check boxes interactive. This has to be done on a large volume of documents, so it needs to be automated. I suspect some coding will be involved or perhaps a 3rd party app that allows one to selectively convert fields.
    Thanks!

    Ok, I found out that I need to apply the patch 5746875 to have that. But there only instruction to apply this patch on unix env. I need on Windows. Can any body help me?

  • Represent fields from VO, Content type...

    Hi! When I put VO field in form then I can choose how to represent it (see: http://www.jetScreenshot.com/demo/20110523-nfx-38kb.jpg).
    I want to represent my field from VO in checkbox element. When I choose checkbox element, then I can say - Selected State Value and Unselected State Value (see: http://www.jetScreenshot.com/demo/20110523-ups-36kb.jpg).
    In VO also I can say how to represent field. It I can do in Control Hints -> Control Type. But there I can't find where I can say Selected State Value and Unselected State Value? Can anyone say, how can I do that?
    If You need more details, please, let me know.
    Best regards, Debuger!

    please note that this is mapped to the pagedef..
    is the option given by the executable to convert a normal VO attribute as a selectBooleanCheckBox with two values.. selected and unselected values
    <button IterBinding="EmpView1Iterator" id="Deptno" DTSupportsMRU="false"
    StaticList="true">
    <AttrNames>
    <Item Value="Deptno"/>
    </AttrNames>
    <ValueList>
    <Item Value="yes"/>
    <Item Value="no"/>
    </ValueList>
    </button>

  • Converting a timestamp field from GMT to EST

    Hi
    I have to convert the timestamp field coming from the source from GMT to EST.
    CREATE TABLE X
    TS_FIELD TIMESTAMP(6)
    INSERT INTO X VALUES('07-JAN-13 02.00.06.597000 PM');
    INSERT INTO X VALUES('07-FEB-13 02.00.06.676000 PM');
    INSERT INTO X VALUES('07-MAR-13 12.36.14.260000 PM');
    INSERT INTO X VALUES('07-APR-13 12.36.56.713000 PM');
    INSERT INTO X VALUES('07-MAY-13 03.46.48.800000 AM');
    I need to convert the above timestamp field from GMT to EST in 24hour format.
    I tried it doing,but I am getting hours conflict with the day error.
    I have tried the below one and milliseconds being set to zero's
    select X,
    TO_timestamp(TO_CHAR(CAST(FROM_TZ(CAST(TO_DATE(TO_CHAR(X,'YYYY-MM-DD HH24:MI:SS.SSSSS')
    ,'YYYY-MM-DD HH24:MI:SS.SSSSS')
    AS TIMESTAMP),'GMT') AT TIME ZONE 'US/EASTERN' AS DATE),'YYYY-MM-DD HH24:MI:SS.SSSSS'),'YYYY-MM-DD HH24:MI:SS.SSSSS')
    FROM X
    Please help me in this regard.I am trying in parallel as well.
    Thanks in advance
    KVB

    Not clear what are you trying to achieve..Why are you casting as DATE?
    SQL>  select ts_field,
      2          cast(from_tz(ts_field,'GMT') AT TIME ZONE 'EST' as timestamp) t
      3   FROM X;
    TS_FIELD                                                                    T
    07-JAN-13 02.00.06.597000 PM                                                07-JAN-13 09.00.06.597000 AM
    07-FEB-13 02.00.06.676000 PM                                                07-FEB-13 09.00.06.676000 AM
    07-MAR-13 12.36.14.260000 PM                                                07-MAR-13 07.36.14.260000 AM
    07-APR-13 12.36.56.713000 PM                                                07-APR-13 07.36.56.713000 AM
    07-MAY-13 03.46.48.800000 AM                                                06-MAY-13 10.46.48.800000 PM

  • Checked or Filled field from XML

    Hi!
    I have question with start form from XML.
    How to run a form from the xml so that when you turn they were running some of the elements: RadioButton or EditText item filled with value?
    For Example:
    I have a text field and I would like to set the form field that was filled with the value "aaa"
    I have a checkbox field and would like to set the form was checked.
    I do not want to use coding for this purpose. Is there any solution to this problem?
    regards,
    Krzysztof

    Link this dropdown to the xml tag with the proper values. So that Option A has the associated cost as the value for this option and so on. In the exit event of the dropdown set the text box value with the selected value from Dropdown.
    TextBox1.rawValue = DropDown1.rawValue;
    Thanks
    Srini

  • How to modify a lookup field-type to use checkbox instead of radiobutton?

    How to modify a lookup field-type to use checkbox instead of radiobutton?
    I would like to modify the behavior for the lookup field.
    Normally you get a screen where it is possible to search through a lookup. The items resulted from the search are listed as radiobutton items. Therefore you can select only one at the time to be added.
    Is it possible to have the items to be listed as checkbox instead? So that you can check multiple items and therefore be able to add multiple items at the time?
    For example:
    To add the user to 10 different groups on MS-AD.
    It is desired to have the ability to check multiple groups to be added instead only one at the time.
    My client would like to use this feature in many other situations.

    Displaying will not be a big deal but with that you have to customize the action class and its working as well.

  • Remove Value Field from Operating Concern

    Hi all,
    I created a new value field in DEV and assigned it to the corresponding Operating Concern.
    Now, after some discussions, it is not necessary this value field.
    I want to "un-assign" from the Operating Concern they use.
    No data is being posted to this value field and nothing has been transported to QA yet.
    Is this possible? Any ideas?
    Thanks and Regards,
    Flower.

    I guess you can delete the value field as it was not transported to QA and PRD.
    Here is some information given by SAP.
    Deleting characteristics/value fields from an operating concern
    You can delete characteristics and value fields retrospectively from an operating concern that you have already activated. However, you should only use this deletion function for operating concerns that have not yet been used productively. You should also note that some database systems require the operating concern tables to be converted (database conversion) after the deletion has taken place if data had already been posted to the operating concern. Depending on the data volumes involved, the database conversion can take a matter of seconds or indeed several hours. Moreover, you cannot post data or run reports during the conversion. Due to integration, other applications are also affected when data is postedwith an assignment to profitability segments (such as settlement and direct assignment from FI/MM). If the operating concern has been transported to another system (such as the productive system), then the database conversion must also occur in that target system.
    Depending on the fields that were deleted, the following tables need to be converted (where xxxx = operating concern):
    Characteristics: CE1xxxx, CE2xxxx, CE4xxxx, CE4xxxx_ACCT, CE4xxxx_FLAG, and CE4xxxx_KENC
    Amount fields: CE1xxxx, CE2xxxx and CE3xxxx
    Quantity fields: CE1xxxx, CE2xxxx, CE3xxxx, CE4xxxx, CE4xxxx_ACCT, CE4xxxx_ACCT, CE4xxxx_FLAG, and CE4xxxx_KENC
    Before deleting fields from an operating concern with a large data volume (more that 10 000 records in a table), you should refer to the section "The Database Utility" in the ABAP dictionary documentation. This section describes the database conversion process.
    For database systems that do not require conversion (such as DB2 for AS/400, Informix, MSSQL), it can still take a considerable amount of time for the operating concern to be activated.
    To delete characteristics or value fields, perform the following activities:
    1. Delete the corresponding characteristics and value fields from Customizing in all clients (this includes forms, reports, planning layouts, and so forth). To locate characteristics and value fields, use the appropriate where-used list in the Customizing Monitor. You can access it by choosing Tools -> Analysis -> Check Customizing Settings. You can jump directly from the where-used list to the relevant Customizing transaction and then delete the appropriate field there.
    2. Switch to the screen for maintaining the data structure of an operating concern (Maintain operating concern).
    3. If you need to effect other changes to the datastucture for the operating concern before making any deletions, effect those changes and save the data structure.
    4. In order to be able to select the fields of the data structure, choose Extras -> Characteristics (or Value fields) -> Unlock.
    5. Select the characteristics and value fields to be deleted and remove them from the data structure with the "Reset fields" function.
    6. Reactivate the operating concern. The system starts by checking whether the operating concern contains any data and whether the fields to be deleted are still being used in any Customizing settings.
    7. If none of the fields are still in use, the system then starts the re-activation. If the operating concern does not contain any data or does not require the database system to be converted, the tables are activated. You are then able to activate the environment for the operating concern. In this case, the following activities no longer apply.
    If the operating concern already contains data, a system message tells you that the database needs to be converted. If you proceed, an activation log appears (at the top of the list).
    8. Analyze the activation log. If it only contains error messages telling you to convert the tables, proceed with the next activity.
    You must otherwise remove the cause of the errors before the tables can be converted. In this case, you should answer "No" to the next prompt, which asks whether the conversion transaction should start.
    9. If you still only receive error messages telling you to convert the tables, choose "Back" and start the conversion.
    10. Plan a job for the conversion. A list of the tables to be converted is shown for this. If the tables only contain a small amount of data (less than 10 000 records), then all the tables can be converted in one job. In that case, you can select all the tables.
    For larger tables, conversion should take place in several jobs. However, you should ensure that table CE4xxxx (where xxxx = operating concern) is the last table to be converted.
    Warning. No other changes can be made to the operating concern during the conversion.
    A copy of the table is generated during the conversion. The database system should have sufficient memory available for this copy.
    To schedule conversion as a job, use the "Schedule selections" function. You can display the current status of the conversion by selecting the "Refresh" icon. Tables disappear from the list once they have been converted sucessfully. If a conversion is taking a while, it is also possible to leave the transaction. You can then continue the conversion using DB requests -> Mass processing in one of the following ways:
    With the job overview. You access this by choosing System -> Services -> Jobs.
    Using the database utility transaction. You access this by choosing Utilities -> Database Utility in the ABAP Dictionary menu.
    You can use the status function to call up the status of the operating concern during operating concern maintenance. You need to activate all tables after conversion.
    11. To analyze errors that have occurred during the conversion, you can use the database utility transaction by choosing Extras -> Logs. The log has the same name as the conversion job: TBATG-date. You can also restart the conversion with this transaction.
    For more information on the database utility, choose Help -> Application help while still in the above transaction.
    12. Once you have activated all the tables in the operating concern, generate the operating concern environment from within operating concern maintenance.
    You can then use the operating concern again.
    If you want to transport the operating concern into a different system, see the section "Notes on transport"
    Note
    Hope this helps
    Thanks,
    Reddy
    Edited by: reddy  sap on Sep 11, 2009 6:58 PM
    Edited by: reddy  sap on Sep 11, 2009 7:00 PM

  • Error Converting Currency --  Load from SAP ECC / R/3  to BW / BI

    Hi,
    I have a custom extractor pulling data from ECC.
    However, I am getting the following error.
    'Error Converting Currency from USD4 to  on 8/27/2008'
    RSA3 works fine. PSA load fails and the above message can be seen in the application log in ECC.
    Any ideas?
    Points will be assigned.
    Thanks,
    Edited by: Rajen SAP BI on Aug 29, 2008 2:23 AM

    I believe in the transfer rule info object 0currency should be assigned with field from transfer structure which contains Currency . Once the assignment is done , delete data from info cube and reload the data and this time it should give
    corresponding currency along with Amount.
    Once you are able to see the currencies along with amount second step would be to create Currency translation ( RRC1 ) Put description ( Fixed Currency USD )
    Tab page exchange rate : Rate type M
    Source currency : From Data record
    Target currency : Fixed ( USD )
    Time ref. Fixed time ref. (Current datE) ( varies per scenario )
    Save it.
    Or
    Use this function module for converting currency from one format to another format...
    CONVERT_TO_FOREIGN_CURRENCY...

  • Adobe Form Section is Not Showing When Value is Selected from Dropdown List

    Hello Experts
    We have this issue where an ADOBE FORM is embedded in a WEBDYNPRO APPLICATION. 
    When selecting a value from the dropdown field in the ADOBE FORM, some particular section in the ADOBE FORM is not shown.
    Here's the ADS and NW versions that we were using.  We are running on EHP5 landscape.
    - ADS - 7.3 SPS 3
    - NW 7.3 SPS 3
    PS. The same program is working in EHP4 correctly.
    Any idea on how to resolve this issue?

    This is a custom built form, the thing is we just upgraded our system to EHP5 and we are in the test phase. The same form works in system in EHP4.
    Based on the dropdown list selection, there are some sections in the form which are hidden previously will be shown now. when you change the country in the dropdown the new sections appear. The sections will not be visible before you select the couuntry from dropdown.
    Should I upgrade my Adobe live cycle designer version to a higher one?
    Thanks

  • Auto-Detect Form Fields from Word 2007

    LiveCycle 8.x fails to detect form fields from form documents I've created in Word 2007. I also notice that Word 2007 documents saved as Word 2003 documents do not convert the text fields either (text fields static).
    Is LiveCycle 8.x compatible with Office 2007 or does it depend on the conversion from 2007 (.docx format) to 2003 (.doc format) before creating the PDF then detecting and placing the fields?

    I could tell it not to run in Acrobat 9 but can’t figure out how to do that in version 11. When I use the Create Form command, I get a series of windows that guide me through the process of creating the form. Unlike Acrobat 9, none of those windows includes an option for not running auto detect. At the end of the process, the form is created with fields. The only solution seems to be to let Acrobat create the fields, and then delete them all and manually create the fields I want. Thanks for your feedback.

  • MS Excel automatically converts numeric fields to date format

    I have at least 2 different spreadsheets where this happens.  I maintain them for months, adding, changing, deleting data.  They contain lots of data elements (numeric, text, date, etc).   Some columns are all numeric, some all dates,
    etc.  Then suddenly when I open the spreadsheet, my numeric formatted data has been converted to date format.  I see lots of # signs in cells, which is an indication that this happened, and selecting an affected cell shows a date, generally in the
    early 1900s, depending on the original numeric value that was in the cell.  I convert the fields back to numeric, but sometime later the same problem occurs -- numeric fields are now date formatted.  I cannot identfy any specific change that I make
    that would cause this.  And I only recognize it as having occurred when I open the spreadsheet, not anytime during its maintenance.  I am using MS Excel 2007 SP2 in a Windows XP SP3 environment.  The machine is well maintained and updated /
    kept current by our corporate IT group.  I have done numerous Internet searches and cannot find anything like this in any other blog.  Thanks for your help.

    Hi,
    Were some of the these data imported from a .csv file? As far as I know, data formats cannot be saved in .csv file. If this is the situation, try this:
    Save a copy of your .csv file changing the extension of your file from .csv to .txt
    open excel.
    go to DATA --> Import external data --> Import data --> browse to find the .txt file you made earlier
    The text import wizard should open.
    Click on delimited, click next
    click comma, click next
    You should now see all columns appear with heading GENERAL --> highlight the columns with the values that are changing to date and click TEXT (top right) instead. The heading of these columns should now change to TEXT.
    click finish
    Excel will now treat the column as text when it imports the data and will not change them to dates
    If this is not the situation, this issue might be caused by some add-ins.
    Start Excel in safe mode:  Press and hold the
    CTRL key, and then click the Excel program to start. Then, click File > Open to open the Excel file.
    If the problem does not occur in the safe mode, this issue might be related to some third-party add-ins in the Office program, we can try to disable them.
    Best Regards,
    Sally Tang

  • Convert a field to_number and use formatmask

    I like to convert a field into a number SRW.Set_field(0, to_number(:fieldname));
    as well create this mask 'N.NNN.NNN.NNN.NNN.NNN'
    SRW.SET_FORMAT_MASK('N.NNN.NNN.NNN.NNN.NNN'); or SRW.ATTR.FORMATMASK := 'N.NNN.NNN.NNN.NNN.NNN';
    All this srw doesn't work, why?

    The field doesn't have a datatype. The field's datatype is picked up from the column that is its source. Therefore, the datatype of a field is fixed at runtime and can't be changed.
    The srw.set_field_number() built-in only sets the value of a field, it doesn't change the field's type. If the datatype of the source column for a field was not "number" then the above call would have no effect.
    Likewise, the srw.set_format_mask() built-in only effects fields whose datatype is number.
    It sounds like what you're doing is trying to display both Character and Number values in a single field. The only way to do this with a single field is to base the field on a character column and do the formatting either in the SQL or PL/SQL that is the source of the column. This will limit you to the format masks available in both SQL or PL/SQL.
    Another way of doing it is to create 2 fields. One for the number value and one for the character value. Place the fields on top of each other and use format triggers to display one or the other. You can then use the srw.set_format_mask() against the number field if required.

  • CRS Editor - Retrieving Timestamp database field from SQL 2005

    Hello -
    For the life of me, I cannot retrieve a database timestamp field from SQL 2005.
    I have successfully used 'cast(Date as char(30)) as DateStr' to convert to string but the DBRead statement displays the original object only as java.lang.Timestamp.  Any posts regarding this topic usually require Java skill sets above my level (creating new java class for import,...).
    There has to be an easy way to do this without being a Java programmer, yes?
    Any help here would greatly be appreciated!
    Thanks
    Andy Backus
    941.587.7199

    Andy,
    I'm guessing you know that this isn't really a date/time value in MS SQL.  According to Microsoft: 
    The Transact-SQL timestamp data type is not the same as the timestamp data type defined in the SQL-92 standard. The SQL-92 timestamp data type is equivalent to the Transact-SQL datetime data type.
    But to your question how to get the timestamp value out in a string...You'll want to use the convert function:
    select convert(varchar(10),myTimestampField) from myTable
    That will return the hex value in the column in a string format.  Also, when you retrieve the data, are you looking at the original table (which specifies the column is a timestamp), or did you create a dummy table with the columns named and formatted the way the data will be returned that UCCX can look at for the schema?  If it doesn't have the correct schema to look at, you'll have problems.
    Cliff
    please rate helpful posts

  • A way to change a field from one type to another?

    I need to change a large number of running total fields to formulas based on those running totals. They already have custom formatting and suppression applied. Is there anyway to switch the source/type of the field from the running total to the formula so I don't have to manually re-apply all the complex formatting and suppression rules?

    Hi, 
    If your formatting is with suppression and formatting outside the formula then the answer is no.  I'm not exactly sure what you want to do but if , for example, your running total is returning a number and you want to view it as a date.  Pass the total to a new formula and convert it in the new formula. 
    You can use ToText which will allow you to convert almost any type to a string and format it.  For example: 
    WhilePrintingRecords;
    NumberVar myVariable;
    ToText (myVariable, "yyyy/MM/dd");
    Will convert the formula to a string date or
    WhilePrintingRecords;
    NumberVar myVariable;
    ToText (myVariable, "", "");
    Will convert a number to a string integer. 
    You could do something similar using ToNumber or CDate. 
    Good luck,
    Brian

Maybe you are looking for