How to put checkbox into classical report header row?

Hi,
I have a classical report that has a check item as a first column. I would like to put a check box item into the header row too, When checked it is supposed to set the check box item in all report rows. Something like in APEX Shared components / Links / Grid Edit.
Is this possible to do? TIA.
Tamas

Hi,
See e.g. this post
Re: Tabular form check all checkbox header
Regards,
Jari

Similar Messages

  • How to put checkbox into sap grid display

    hi,
         how to put checkbox into sap grid display ,when i am selecting the check box it should move to second secondary list.
          could u plz explain clearly

    Hi,
    In the layout fill
    is_layout-box_fieldname = 'CHECKBOX'
    is_layout-box_tabname   = 'I_OUTPUT'.
    The internal table that you are passing as I_OUTPUT, should have an extra field called CHECKBOX of length 1.
    Also refer to tutorial Easy Grid :
    https://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
    Cheers,
    Simha.

  • Checkbox in classic report

    I have question about checkbox in classic report.
    I need to choose only one checkbox in every row, hot to ensure that only one checkbox can be checked at same time?
    Checkboxes are defined in SQL query as:
    apex_item.checkbox(1,msisdn,'UNCHECKED') as clear,
    apex_item.checkbox(2,msisdn,'UNCHECKED') as to_analysis,
    apex_item.checkbox(3,msisdn,'UNCHECKED') as to_barring
    here is the picture:
    http://www.deviantpics.com/images/mNgGR.jpg
    Tnx!

    amend your api calls to add onclick event to every checkbox column
       apex_item.checkbox(1,msisdn,'UNCHECKED onclick="chkckbox(1,this);"' ) as clear,
       apex_item.checkbox(2,msisdn,'UNCHECKED  onclick="chkckbox(2,this);"') as to_analysis,
       apex_item.checkbox(3,msisdn,'UNCHECKED  onclick="chkckbox(3,this);"') as to_barringCreate a javascript function in your page header > Javascript
    function chkckbox(pId, pThis) {
    //get current row index
        var currIndex = $('input[name="f0'+pId+'"]').index(pThis);
         if (pThis.checked) {
       //simply uncheck other check boxes
              if (pId == 1) {
                   $('select[name="f02"]')[currIndex].checked = false;
                   $('select[name="f03"]')[currIndex].checked = false;
              } else if (pId == 2) {
                   $('select[name="f01"]')[currIndex].checked = false;
                   $('select[name="f03"]')[currIndex].checked = false;
              } else if (pId == 3) {
                   $('select[name="f02"]')[currIndex].checked = false;
                   $('select[name="f03"]')[currIndex].checked = false;
    }Please note that I have not tested this code but it should work, if you have any problem just try debugging using console.log

  • How to put data into a RFC import parameter structure from portal

    Hi, All,
    I have a RFC in which an import parameter is a structure (not a table). I want to put data into that structure. I know how to put data into a table or a string. I tried to use
    IRecordSet MyTABStr = (IRecordSet)structureFactory.getStructure(function.getParameter("MYTABSTR").getStructure());
    MyTABStr.setString("FIELD1", value1);
    MyTABStr.setString("FIELD2", value2);
    importParams.put("MYTABSTR",MyTABStr);
    But it works for table not structure.  Is there anybody know how to do that?
    Thanks in advance!
    Meiying

    Hi,
    You can try the following code -
    IRecord structure = (IRecord)structureFactory.getStructure(function.getParameter("MYTABSTR").getStructure());
    structure.setString("FIELD1", value1);
    structure.setString("FIELD2", value2);
    importParams.put("MYTABSTR",structure);
    Regards,
    Sudip

  • How to freeze the report header row in the web template SAP BI 7.0?

    Hello,
    Can somebody tell me how to freeze the report header row in the web template SAP BI 7.0 (key fiigures1, 2,3)?
    key figure1   key figure2    key figure3
    20                    30                   40
    30                    80                   90
    Thanks

    Hi,
    You can refer the following threads...
    Re: Create Scrollable Table Body in WAD - Locking Table Column and Header
    Freeze Data Columns in WAD
    This will help you!
    Rgds,
    Murali

  • E mail how to put photo into body of e-mail without recipient having to click downloadload

    e mail how to put photo into body of e-mail without recipient having to click downloadload

    What and how an email is seen on the other person's machine is dependent on their settings and not what you do. You can, for instance, send a HTML email, but if they haven't set their machine to deal with those, it won't work. It's all down to them.

  • How can I write into a table cell (row, column are given) in a databae?

    How can I write into a table cell (row, column are given) in a database using LabVIEW Database Toolkit? I am using Ms Access. Suppose I have three columns in a table, I write 1st row of 1st column, then 1st row of 3rd column. The problem I am having is after writing the 1st row 1st column, the reference goes to second row and if I write into 3rd column, it goes to 2nd row 3rd column. Any suggestion? 
    Solved!
    Go to Solution.

    When you do a SQL INSERT command, you create a new row. If you want to change an existing row, you have to use the UPDATE command (i.e. UPDATE tablename SET column = value WHERE some_column=some_value). The some_column could be the unique ID of each row, a date/time, etc.
    I have no idea what function to use in the toolkit to execute a SQL command since I don't use the toolkit. I also don't understand why you just don't do a single INSERT. It would be much faster.

  • How to put CheckBox in TableColumn header?

    How can I put a CheckBox in the TableColumn header?
    I made a CheckBox Column with a custom CellValueFactory and want to select/deselect all rows with one "master" checkbox in the column header.

    Related thread:
    custom table header "Thread: custom table header"
    http://javafx-jira.kenai.com/browse/RT-14909 "It should be possible to customise the TableColumn header area more" (fixed in 2.2)
    Short answer is to use setGraphic on the column.
    TableColumn col = new TableColumn("Pink Elephants");
    col.setGraphic(new CheckBox());

  • How to get theoutput of classical report in table format

    hi all,
                   i am new to this forum.i want the help from experts over here.for example if we create the program in classical report for employee details.how to get the output in tabular column format.pls reply to me.
          Thanks in advance

    HI all,
    I am new here. Currently I am trying to create a program which is able to compare and validate key fields from different tables.
    my code looks like this:
    *~Internal Tables
    DATA:
      LT/RAB/KPI_CONF TYPE STANDARD TABLE OF /RAB/KPI_CONF,
      LT/RAB/KPI_MAPP TYPE STANDARD TABLE OF /RABL/KPI_MAPP,
      LT/RABL/KPI_HEAD TYPE STANDARD TABLE OF /RABL/KPI_HEAD.
    DATA:
      /RAB/KPI_CONF_NEW TYPE SORTED TABLE OF /RAB/KPI_CONF WITH UNIQUE KEY XX100011 XX100004 XX100022 XX100010,
      /RAB/KPI_MAPP_NEW TYPE SORTED TABLE OF /RAB/KPI_MAPP WITH UNIQUE KEY XX100009 XX000197 XX100007 XX100014,
      /RAB/KPI_HEAD_NEW TYPE SORTED TABLE OF /RAB/KPI_HEAD WITH UNIQUE KEY XX100004.
    DATA: GWA_/RAB/KPI_CONF TYPE /RAB/KPI_CONF,
          GWA_/RAB/KPI_MAPP TYPE /RAB/KPI_MAPP,
          GWA_/RAB/KPI_HEAD TYPE /RAB/KPI_HEAD.
    *Fill the internal table with database values
    PERFORM get_existing_records.
    FORM GET_EXISTING_RECORDS.
      SELECT *
        FROM /RABL/KPI_CONF
        INTO TABLE LT/RAB/KPI_CONF.
      SELECT *
          FROM /RAB/KPI_MAPP
          INTO TABLE LT/RAB/KPI_MAPP.
      SELECT *
          FROM /RAB/KPI_HEAD
          INTO TABLE LT/RAB/KPI_HEAD.
      LOOP AT LT/RAB/KPI_CONF INTO GWA_/RAB/KPI_CONF.
        READ TABLE LT/RAB/KPI_HEAD INTO GWA_/RAB/KPI_HEAD with key XX100004 = GWA_/RAB/KPI_CONF-XX100004.
        IF SY-SUBRC <> 0.
          WRITE:  'No header id found in formula'.
        ENDIF.
        LOOP AT LT/RAB/KPI_HEAD INTO GWA_/RAB/KPI_HEAD.
          READ TABLE LT/RAB/KPI_MAPP INTO GWA_/RAB/KPI_MAPP with key XX100009 = GWA_/RAB/KPI_HEAD-XX100012.
          IF SY-SUBRC <> 0.
            WRITE: ' no selection ID found in table'.
            endif.
        ENDLOOP.
            ENDLOOP.
    ENDFORM.
    I would like to have a output report in which the results from my above statement are displayed.
    Any advise is welcome
    Thanks.
    Rabie

  • How to include a button in report header like rowspan? &logfile generation?

    I am really new to this form and I have some questions on the APEX HTML DB:
    The project I need to work on is like this: Based on some criteria, I need to do a database lookup. Then in the result, I need to be able to edit the individual record. So far it is no problem. Here comes the part that I am not sure how to handle or if it can be handled.
    1.     We need to have the ability to copy down certain columns value to selected rows. Therefore, a "copy down" button needs to be included right under the column header cell. For example, based on certain criteria, the following product information is returned: product description, serial number, price, category etc. The “COPY DOWN” button needs to be listed right under the “serial number” table header and before the first row of the result, like “rowspan” in html table header. Once you click on “copy down”, the first rows’s serial number will be copied to all selected rows “serial number”. – Can a button be put right under a column header? If so, can I even reference the cell value in javascript?
    2.     Since we are doing the batch update, I need to have the ability to maintain a logfile to include date and time and what information is modified. – Can I generate a logfile from APEX HTML DB?
    I am not sure APEX HTML DB is a good candidate for the above two tasks.
    Your help is greatly appreciated.

    Hi user572980,
    Welcome to APEX... the more you'll do with it, the more you'll like it.
    1) Are you using a Tabbed Form? Or are you in a report? I try to get a better idea what you're trying to do. Did you already have a look at the templates? You can have a template for the report for ex., in that you can adapt like you wish (in your case put a button under the column header).
    You can also reference the cell values, but for that I should know where you're in (form, report). When you click right on the page and have a look at Page Source you see what item (reference) it is.
    2) You can make a logfile yes. Are you using packages to do the batch update? In that you can make some code to store the history. In otherwords, out-of-the-box in APEX I don't think it exists, but with PLSQL you can do it (so also in APEX). For ex. the plsql package stores it in a history table and you built a report on top of that.
    Dimitri

  • How to print watermark in classical reports?

    How to display the watermark in classical reports?

    hi
    go to se78 graphics -> enter
    BMAP(BITMAP IMAGES)
    Name MYBMP
    select radio button
    color ->import
    filename: c:\pictures\123.bmp.
    name : mybmp
    description : BMP ->continur ->save.(activate it)
    now go to se71->choose the prog -> layout ->right click ->create graphics.
    utilities -> printing test -> output device -> LP01.
    Hope this helps
    if it helped, you can acknowledge the same by rewarding
    regards
    dinesh

  • How can I include date in report header

    How can I display the current date in my report header? I do not wish to modify the sql statement to include the sysdate.
    Can I add the date in the 'Report and Customization Form Text' or in 'Additional PL/SQL Code'? If so then how?

    Maxine,
    In the last tab of the report wizard,
    you can add the plsql to display the date.
    Alternately,create an unstructured UI template and add the [oracle][oracle] tag
    and insert the plsql in it to display the
    date

  • How to put checkboxes in a Tree list

    Hi All,
    I have generated a tree structure in my list from a table. The requirement is I have to put checkboxes for the leaves(bottom most level) of the tree. Now the user will be selecting required leaves and thus my logic will continue.
    Can anyone tell me how can i put checkboxes for all the leaves?
    Also, The number of leaves is in thousands. To keep that many check boxes, I have to create that many number of variables, which can be done dynamically.
    So, how to put check boxes and how to create those variables dynamically? How can i meet my requirement?
    Plz guide me in this issue.

    Take a look SAPCOLUMN_TREE_CONTROL_DEMO program screen 100  in SE80 transaction
    ibrahim

  • How to put focus into a particular TextItem ?

    Hi all,
    I have a Form into which there are two TextFields, say name and adress. After adding a record in that screen I go to another screen. And when I return to the first screen then the cursor is at the last item.
    So how to put the cursor at the first item ?
    Thank you very much

    Hi,
    You can try the following code -
    IRecord structure = (IRecord)structureFactory.getStructure(function.getParameter("MYTABSTR").getStructure());
    structure.setString("FIELD1", value1);
    structure.setString("FIELD2", value2);
    importParams.put("MYTABSTR",structure);
    Regards,
    Sudip

  • How to put songs into the 5300 player from compute...

    When i sync or just drop it into the phone it only shows up to the memory card and it won't be on the player on the 5300. How can I put it into the 5300 player? Thanks in advance.

    Drop music files to phone connected as USB-drive;
    On the phone: Menu> Media > Music Player and then in player left soft key> Music Library > Update Library;
    Instead of it all you may simply restart the phone
    Nokia 5300 dark gray / V5.51

Maybe you are looking for

  • Error message "Enter a cust numb" when using BAPIBUSISM007_CREATEFROMDATA

    Hello, We would like to create Business Partner (SAP-BP module) with the standard SAP BAPI "BAPIBUSISM007_CREATEFROMDATA", but we always got the message: Type A ID: R11 Mess: "Enter at least one number for the business partner" Even if we create have

  • Problems transferring photos from a Windows formatted iPod Photo to new G5

    Hi all, I have recently come back from an overseas trip where I stored many many photos on an iPod Photo, using a PC with Windows XP. Now that PC is stuck in the repair shop - most likely not worth saving - and I have bought myself a G5 with OS X and

  • Using variables in SQL Plus Worksheet

    I'm new to Oracle. I've developed in MS SQL for some time. I'm trying to debug a query we're using in an application. I paste it into SQL Plus Worksheet and get the message: SP2-0552: Bind variable "COUNTYPK" not declared. I could paste in a value, b

  • How to create a runtime repos in 10gR2

    Can anyone guide me through creating a runtime repository, access user and target schema(s)? We have a DESIGN REPOS, but would also like a repos on the target database for deploying to. I believe that there is no longer a RUNTIME ASSISTANT from relea

  • MacBook Air failing to project correct screen

    When I connect my MacBook Air to an external projector everything seems fine but when I turn on slideshow mode in PowerPoint I see the slideshow on the laptop and not on the projector. I've tried adjusting the primary and secondary screens in the dis