Create heck box in excel cell using sap

Dear Sap Master's,
Please give me some idea on how to create a check box in excel cell using abap program..
(OLE concept).
Thanks,
Naveen.
Moderator message: please do some research before posting, show what you have done yourself when posting.
Edited by: Thomas Zloch on Jan 17, 2012

Not resolved

Similar Messages

  • Create a check box in excel cell  using sap abap

    Dear Sap Master's,
    Please give me some idea on  how to create a check box in excel cell using abap program..
    (OLE concept).
    Thanks
    Moderator message: please search for available information first.
    Edited by: Thomas Zloch on Jan 12, 2012

    select the cell then open the cell formatter:
    process should be similar in the iOS version.  I do not have any iOS devices with Numbers so I cannot check.  I did find this link that may help:
    http://support.apple.com/kb/PH3374?viewlocale=en_US

  • How to populate arrayList values in a Excel cell using java

    Hi ,
    Iam trying to create Excel sheet using java with Apache-POI api's.I need to display values from an arrayList into Excel cell as drop down.kindly suggest me any idea or share any code if u have any.
    Thanks in advance
    Regards
    Rajesh

    I suggest you use google to find examples.

  • Prevent copy of excel cells using OLE

    Hi All,
    I have protected my excel worksheet. But the cells can be copied. I want to prevent this copy of cells using OLE.
    I have gone through the EXCEL proerties. But dont know how to exact use them?
    Thanks in Advance
    -neha

    Hello Neha,
    I don't think CutCopyMode is the correct answer
    Try the below code. It prevents the selection of cells, hence preventing copying.
    REPORT  zkris_ole_protectsheet.
    *                  Start of Selection                                  *
    START-OF-SELECTION.
      TYPE-POOLS ole2 .
      DATA:
             workbook TYPE ole2_object,
             excel     TYPE ole2_object,
             sheet TYPE ole2_object,
             cells TYPE ole2_object.
      CREATE OBJECT excel 'EXCEL.APPLICATION'.
      IF sy-subrc NE 0.
        WRITE: / 'No EXCEL creation possible'.
        STOP.
      ENDIF.
      SET PROPERTY OF excel 'DisplayAlerts' = 0.
      CALL METHOD OF excel 'WORKBOOKS' = workbook .
      SET PROPERTY OF excel 'VISIBLE' = 1.
    * creating workbook
      SET PROPERTY OF excel 'SheetsInNewWorkbook' = 1.
      CALL METHOD OF workbook 'ADD'.
      CALL METHOD OF excel 'WORKSHEETS' = sheet
        EXPORTING
        #1 = 1.
    * naming and activating the index sheet
      SET PROPERTY OF sheet 'NAME' = 'Index'.
      CALL METHOD OF sheet 'ACTIVATE'.
      CALL METHOD OF sheet 'Cells' = cells
        EXPORTING
        #1 = 3
        #2 = 3.
      SET PROPERTY OF cells 'Value' = 'You cannot select me'.
      CALL METHOD OF sheet 'PROTECT'
        EXPORTING
          #1 = 'pass' " Password
          #2 = 1 " Protect Drawing Objects
          #3 = 1 " Protect Contents
          #4 = 1." Protect Scenarios
      SET PROPERTY OF sheet 'EnableSelection' = -4142.

  • Read an Excel cell using LabView

    Hello,
    I'm trying to read Excel cells with LabView, witch can be numeric data
    or text.
    I want to chose the Excel cell to read.
    I try to use AtiveX commands in order to do so, but it doesn't work,
    and I don't understand all concepts of activeX.
    I searched on the web, but I didn't find any simple example witch can
    run for me.
    Can we do it without activeX commands?
    Do you have any simple example to send me?
    Thank you for your help.
    Jean-Louis, France.

    Here is a simple VI that uses ActiveX to read an Excel cell. It is set up for string values, but it can be changed. If you get a broken run arrow, than you may have to reconfigure some of the propery nodes for your version of Excel.
    Attachments:
    Get_Excel_Cell_Sub.vi ‏99 KB

  • How to add a check box in ALV Grid using SAP R/3 release 4.6b?

    Hello everyone,
    I hope you all fine.
    I'm writing because I have a requirement with ALV Grid,  what I need to do, is to insert a checkbox into a cell, I already read the forum to know how to do that, but I'm using a SAP R/3 release 4.6b, and when I execute the program the checkbox is displayed greyout,  because this release doesn't have the EDIT property into the slis_t_fieldcat_alv.
    Does any body know how to enable the checkbox cell in the ALV Grid for this release?, so it will allow the user to mark the desired rows.
    I'll really appreciate if you guys could help me to find a solution.
    Thanks for your time.
    Regards,
    Guillermo

    Hi,
    if you need just a check box for each line, try to get rid of this line from your layout.
    g_layout-box_fieldname = 'ZZCHECK'.
    SAP uses this field to store info about selected lines. Hence you click on the second check box, you select different line and the first line is erased. You can select more line by holding SHIFT + CTRL
    Cheers

  • Creating a counter in excel, not using prompt

    Hi,
    I am running a script with lots of calcs... these ones are hard coded (not using a prompt at all), therefore whenever I run the script it takes at least 1 min  to finish.
    I'd like to know if there is a way to use a time counter (macro) or something in order to display the amount of time left to update the results in Excel.
    Thanx in advance.
    Velázquez

    When you are speaking about script logic doing calculations you can not know how long it will take the generate queryies
    It can be 1 second doing a selection for 1000 records and it can be 1 minutes for 1 000 000 records.
    So you can not have a counter saying the time left because you don't know how long it will take.
    Something can be created if it is really necessary but it will take quite a lot of effort for an information which doesn't provide any help because it is not reliable.(are too many factors having impact for calculation time to do a good estimation).
    Regards
    Sorin Radulescu

  • Re: creating check boxes in ALV grid using web dynpro

    Hi Techies,
       I need to have a check box column in alv grid, and it should allow me to select the check box and the selected row has to be updated in the database.
      Kindly assist me with the steps to handle the above mentioned scenario
    Thanks in advance.

    Now to first make the last column of my ALV as a checkbox:
    method BUILD_ALV .
      data: l_ref_cmp_usage type ref to if_wd_component_usage.
    " Instantiate the ALV usage
      l_ref_cmp_usage =   wd_This->wd_CpUse_My_Alv( ).
      if l_ref_cmp_usage->has_active_component( ) is initial.
        l_ref_cmp_usage->create_component( ).
      endif.
    " Get reference to the model
      DATA: l_ref_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
      l_ref_INTERFACECONTROLLER =   wd_This->wd_CpIfc_My_Alv( ).
      data: lr_config type ref to Cl_Salv_Wd_Config_Table.
      lr_config = l_ref_INTERFACECONTROLLER->Get_Model( ).
    |" Set read only mode to false (and display edit toolbar)
      lr_config->if_salv_wd_table_settings~set_read_only( abap_false ).
      data: lr_table_settings type ref to if_salv_wd_table_settings.
      lr_table_settings ?= lr_config.
      lr_table_settings->set_read_only( abap_false ).
      data: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
            lt_columns         TYPE        salv_wd_t_column_ref,
            lr_checkbox1        TYPE REF TO cl_salv_wd_uie_checkbox,
            lr_checkbox2        TYPE REF TO cl_salv_wd_uie_checkbox.
      FIELD-SYMBOLS <fs_column> LIKE LINE OF lt_columns.
    "  Embed the UI elements within the ALV
      lr_column_settings ?= lr_config.
      lt_columns = lr_column_settings->get_columns( ).
    " Embed an checkbox within the column APPROVE
      LOOP AT lt_columns ASSIGNING <fs_column>.
        CASE <fs_column>-id.
          WHEN 'APPROVE'.
            CREATE OBJECT lr_checkbox1
              EXPORTING
                checked_fieldname = <fs_column>-id.
            <fs_column>-r_column->set_cell_editor( lr_checkbox1 ).
            FREE lr_checkbox1.
        ENDCASE.
      ENDLOOP.
    ENDMETHOD.                    "BUILD_ALV

  • Is there any need to create schema in univese designer,when using sap data

    hi this is sridhar,  i have integraed sap bi with business objects,now i have all cube chars and keyigures in BO UNIVERSE DESIGNER,NOW is there any need to create schema in universe designer to get a report in web intelligence

    Hi Reetha,
    [BAPI create invoice;
    Try if this works out.
    Regards
    Abhii...

  • Why does the cell style index returning wrong CellFormat value when parsing excel cells using OpenXml SDK?

    Consider a General format cell having a value of 39.95. When I fetch the CellFormat of the cell it returns wrong cell format-
    CellFormat thisCellFormat = ((CellFormat)cellFmts.ChildElements[(int)thisCell.StyleIndex.Value]);
    int fmtId = Convert.ToInt32(thisCellFormat.FormatId.Value);
    The value of fmtId returned is 1, and in some cases 38, where it should be 2 or 39.
    This issue is only for General format cells, I am getting correct id for Number format cells.
    Below is the
    Standard ECMA-376 Office Open XML File Formats specified set of implied cell formats for reference-
    ID Format Code
    0 General
    1 0
    2 0.00
    3 #,##0
    4 #,##0.00
    9 0%
    10 0.00%
    11 0.00E+00
    12 # ?/?
    13 # ??/??
    14 mm-dd-yy
    15 d-mmm-yy
    16 d-mmm
    17 mmm-yy
    18 h:mm AM/PM
    19 h:mm:ss AM/PM
    20 h:mm
    21 h:mm:ss
    22 m/d/yy h:mm
    37 #,##0 ;(#,##0)
    38 #,##0 ;Red
    39 #,##0.00;(#,##0.00)
    40 #,##0.00;Red
    45 mm:ss
    46 [h]:mm:ss
    47 mmss.0
    48 ##0.0E+0
    49 @

    The purpose of this forum is to support the Open Specifications documentation. You can read about the Microsoft Open Specifications program here,
    http://www.microsoft.com/openspecifications/en/us/default.aspx
    The library of Open Specification documents is located here,
    http://msdn.microsoft.com/en-us/library/dd208104.aspx
    It doesn’t appear that you are implementing one of the protocols cited.  Your question may be more applicable to MSDN's Microsoft Office for Developers/Open XML Format SDK forum at
    https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=oxmlsdk
    Bryan S. Burgin Senior Escalation Engineer Microsoft Protocol Open Specifications Team

  • Can we create Multi Tabbed excel Sheet using Crystal Reports 2008

    Hi,
      We want to create a Crystal Report which will export the output as multiple Tab's ( we can use sub reports).  Can we create a Multi Tabbed excel Sheet using Crystal Reports 2008 ( not  Crystal reports Basic 2008). Please share any information/links on how to do that.
    Also if it is not supported please let us know which version supports it.
    Thanks,
    Vasu

    At least one of the 3rd-party Crystal Reports Desktop Scheduling tools listed at: http://www.kenhamady.com/bookmarks.html provides that functionality.  It allows you to burst a single report so that each Group at level 1 becomes a separate tab.  You can control the tab names (and tab colors) via fields/formulas inside the report.
    You can also automate the process of exporting to (and also replacing or appending to) specified tabs inside existing workbooks.

  • Create check box using pdfmark in postscript

    Dear all,
    We are creating check box in pdf file using pdfmark [via postscript to pdf conversion]
    We placed the below tag into the postscript and then created the pdf file.
    The check box working in acrobat professional but not working in adobe reader even after enabling the extend features in Adobe Reader.
    [ /Rect [6254 9972 6814 9480]
    /T (CB4)
    /FT /Btn
    /F 4 /H /O
    /BS << /W 1 /S /S >>
    /DA (/ZaDb 10 Tf 1 0 0 rg)
    /Subtype /Widget
    /ANN pdfmark
    Please help me on this to solve the issue.
    Regards,
    jkrishnanvenkat

    Regarding: "...but not working in adobe reader..."
    Does the check box appear on the page in the right place and looks the same as it does in Acrobat Pro 9?
    Does "not working" mean that you cannot "check" and "uncheck" the check box by clicking it?
    Are you running Acrobat Pro 9 and Adobe Reader X on the same machine, and if not, have you confirmed that the font for the check symbol is installed/available on both machines?

  • Multiple Value in additional fields using SAP Query

    HI All,
    I have a question related additional field in SAP Query. I tried to create report about PR and PO using SAP Query. Since one PR can be converted to multiple PO, I decided to create additional field
    po_1
    to display the value of PO that related to the PR. But I meet problem when I want to show several PO number in additional field
    po_1
    , I couldn't look the way to solve this problem. Can anybody help me? Just for info, I assign value to additional field
    po_1
    in record processing part.
    Thanks....

    HI,
    IN SQ02, IF table is already in JOIN, just click on the PLUS sign to expand the strcture.
    All the field showing Plus sign in the strcture are selected in your query and with MINUS sing are no selected.
    So you have to just click on the MINUS sign for the field you want to use through table field.
    Generate the query and execute thriugh SQ01.
    If you want to add some other field which is not a part of JOIN,
    then click on EXTRAS Button shown in the MENU option.
    Click on Create button and system will ask abt the additional field.
    Regds,
    Anil

  • How to run a servlet in eclipse using "SAP Portal Plugin"  ( not tomcat)

    Hi All
    I'm just trying to create a simple servlet in Eclipse using SAP Portal Plugin but I couldn't find any document.
    I have an eclipse 2.1
    EP6 SP2 patch 5
    SAP Portal Plugin
    I created a Portal Application Project.
    I created a simple servlet and save it under src.core directory.
    My question is as follow:
    1) Which directory I should put in the file web.xml?
    2) Do I export this as *.par file?
    3) When I export it. Can I just call the servlet from the url?
    Anyone help.. I really appreciate.
    thanks much.
    Jen

    Hi,
      Portal plugin is used for developing SAP Portal applications ie Java iviews.
    There is a set of procedures to develop Java iViews . You can develop either AbstractPortalComponent which is more or less equivalent of servlet in ordinary java world or JSPDynPage which is equivalent of JSP.
    These plugins are used to develop any of the above portal components. If you are developing java applications for portal then you have to develop either of the above using the tools. These portlets( portal applications runs on Portal run time)
    But servlets can run on J2EE itself.
    But if your requirement is to develop servlet then you can create ordinary java project and deploy that in the J2EE server as like in any app server.
    Regards,
    Abdul Raheem .S

  • Excel Reporting using Custom Field as parameter from PWA 2013

    Hi,
    Iam trying to create a report in Excel 2013 ,using ODATA feed.  I am connecting to the Project Web App instance and I am able to get datas from various entities like Project ,Resource etc.
    Worklocation is a custom attribute belonging to Resource Entity in PWA.If I want to create a report which shows a list of resources in a particular work location  by providing work location as parameter/filter , how  can I do that ?
     I tried creating a pivot table with all required entities but when I am adding Work Location as filter , the drop down does not show all the locations available as Work location in PWA. Instead, it just shows the corresponding worklocation belonging
    to the resources avaialble in the data section.
    Is there any way to filter say,resources based on all the available worklocations?
    Can someone help me please?
    Thanks,
    Mridhula

    Hi,
    Iam trying to create a report in Excel 2013 ,using ODATA feed.  I am connecting to the Project Web App instance and I am able to get datas from various entities like Project ,Resource etc.
    Worklocation is a custom attribute belonging to Resource Entity in PWA.If I want to create a report which shows a list of resources in a particular work location  by providing work location as parameter/filter , how  can I do that ?
     I tried creating a pivot table with all required entities but when I am adding Work Location as filter , the drop down does not show all the locations available as Work location in PWA. Instead, it just shows the corresponding worklocation belonging
    to the resources avaialble in the data section.
    Is there any way to filter say,resources based on all the available worklocations?
    Can someone help me please?
    Thanks,
    Mridhula

Maybe you are looking for

  • A Quicktime plugin update is recommended for FF 3.6.4 on mac os 10.4 but no new version is available?

    A Quicktime plugin update is recommended for FF 3.6.4 but for mac os 10.4 there is no new version? My current Qt-version is 7.6.4 am I missing something? == When I updateted to FF 3.6.4

  • Songs not playing all the way through.

    When playing songs in iTunes, whether bought in iTunes or not, sometimes the song stops playing with 30 seconds left and goes to the next song.  Why is this happening and how do i fix it?

  • Newbie - JSP & bean shopping cart logic error?

    Hello, I am attempting to bulid a shopping cart facility on a JSP site that I am building. I am having difficulties adding an item to the basket. The page below (bookDetail.jsp) displays items for sale from a database. At the foot of the page, I have

  • Portal Content Translation in multi language

    Hi All, In my compay there is requirement of displaying the BW report and ESS MSS in diffrent language  So please help me in this regards step by step guide is required. If i am changing the user laguage for the particular language then only standard

  • Safari 5.0 won't open

    I've been reading these threads and seems as tho Safari 5.0 isn't off to a great start. I'm currently on a Dell laptop to be able to access this forum as I didn't "pre-plan" and have another internet browser installed on my Mac mini in case I couldn'