Modify the attributes of a single cell in a Mobile Table

I am very new to JAVA and especially to NetBeans Mobility, and I am having trouble changing the attributes of one cell in a Table.
Can someone tell me how to change 1) the font to bold for one cell, or 2) the font color for one cell, or 3) the background color for one cell, or 4) the border color or thickness for one cell or 5) all of the above? I am trying to set apart a specific cell for the user to identify.
I have seen examples where the content of a cell has been changed, but not the attributes. Any help on this would be greatly appreciated.
Updated on May 12, 2009:
Can anyone help me with this? Even if it's to tell me that it's not possible. Or even if its to tell me someone else to enter this type of request. I have submitted a request for a new feature on the NetBeans site, but I'm not sure if that is even where that should go.
Any assistance would be greatly appreciated.
Edited by: meltimsav on May 12, 2009 6:29 PM

Okay, so I assume that this is not possible at this time. I have entered a request for a change in the NetBeans Issue Tracking System. I have moved on and used the Canvas to do what I wanted to do.
Thank you to all how at least pondered this issue.

Similar Messages

  • How do I change the background of a single cell or a row in a table?

    How do I change the background of a single cell or a row in a
    table? I doesn't seem to be letting me do that.

    Are you using the latest DW? If so, then it isn't letting you
    because
    bgcolor is deprecated and shouldn't be used.
    The correct way is to use css to define the background of a
    cell
    CSS:
    .blackcell {background-color: black;}
    HTML:
    <td class="blackcell">whatever in the cell</td>
    Nadia
    Adobe® Community Expert : Dreamweaver
    CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    ~ Template Customization ~
    http://www.csstemplates.com.au
    Spry Widget Examples
    http://www.dreamweaverresources.com/spry-widgets/
    "dm25" <[email protected]> wrote in message
    news:f4jr5h$luu$[email protected]..
    > for some reason that doesn't always work. When I click
    inside a cell, it
    > doesn't give me an option to change the background
    color.

  • Trying to change the color of a single cell

    hi, I am trying to change the color of a single cell when mouse moves over it, but couldn't do it. i even tried my own renderer, but it doesn't work. can anybody help ?

    Here is what I am trying to do. I am displaying some data in a java JTable retrieved from a table in database. What is needed is when user moves his mouse over any cell in the third column, the cursor should change to hand cursor and possibly the background color should also change, to indicate the user that this cell is clickable. I have to show some other report when user clicks any cell in column three. The code follows as
    import java.awt.*;
    import java.sql.*;
    import javax.swing.*;
    import java.awt.event.*;
    import javax.sql.rowset.*;
    import javax.swing.table.*;
    public class MouseMotionInTable extends JFrame
    public static void main(String[] args)
      MouseMotionInTable f = new MouseMotionInTable();
      Toolkit tk = Toolkit.getDefaultToolkit();
      Dimension dim = tk.getScreenSize();
      int w = dim.width;
      int h = dim.height;
      f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      f.setBounds((w-600)/2, (h-300)/2, 600, 300);
      f.setVisible(true);
    MouseMotionInTable()
      Connection con = null;
      CachedRowSet crs = null;
      try
       Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
       con = DriverManager.getConnection("jdbc:odbc:FMS", "", "");
       Statement st = con.createStatement();
       String query = "SELECT ItemName, Alias, ItemReOrderQuty, ItemMeasure FROM ItemInfo";
       ResultSet rs = st.executeQuery(query);
       crs = new com.sun.rowset.CachedRowSetImpl();
       crs.populate(rs);
       st.close();
      catch (SQLException e)
       e.printStackTrace();
      catch (ClassNotFoundException e)
       e.printStackTrace();
      finally
       if(con != null)
        try
         con.close();
        catch (SQLException e)
         e.printStackTrace();
      DBTableModel model = new DBTableModel(crs);
      table = new JTable(model);
      JPanel center = new JPanel();
      center.setLayout(new BorderLayout());
      center.add(new JScrollPane(table), BorderLayout.CENTER);
      add(center, BorderLayout.CENTER);
      table.addMouseMotionListener(new MouseMotionAdapter()
       public void mouseMoved(MouseEvent me)
        int col = table.columnAtPoint(new Point(me.getX(), me.getY()));
        int row = table.rowAtPoint(new Point(me.getX(), me.getY()));
        if(col == 2)
         Object val = table.getValueAt(row, col);
         boolean isSelect = table.isCellSelected(row, col);
         boolean focus = table.isCellSelected(row, col);
         TableCellRenderer cellRender = table.getCellRenderer(row, col);
         Component comp = cellRender.getTableCellRendererComponent(table, val, isSelect, focus, row, col);
         comp.setCursor(new Cursor(Cursor.HAND_CURSOR));
         comp.setBackground(Color.yellow);
    private JTable table;
    class DBTableModel extends AbstractTableModel
    ResultSet rs;
    ResultSetMetaData rsMeta;
    DBTableModel(ResultSet rs)
      try
       this.rs = rs;
       rsMeta = rs.getMetaData();
      catch(SQLException e)
       e.printStackTrace();
    public int getColumnCount()
      try
       return rsMeta.getColumnCount();  
      catch(SQLException e)
       e.printStackTrace();
      return -1;
    public String getColumnName(int c)
      try
       return rsMeta.getColumnName(c+1);
      catch(SQLException e)
       e.printStackTrace();
      return "";
    public int getRowCount()
      try
       rs.last();
       return rs.getRow();
      catch(SQLException e)
       e.printStackTrace();
      return -1;
    public Object getValueAt(int r, int c)
      try
       rs.absolute(r+1);
       return rs.getObject(c+1);
      catch(SQLException e)
       e.printStackTrace();
      return "";
    public boolean isCellEditable(int r, int c)
      return false;
    public Class getColumnClass(int c)
      return getValueAt(0,c).getClass();
    }

  • Can we modify the attributes(structure-fields) of NUMKR structure

    can we modify the attributes(structure-fields) of NUMKR structure?

    NUMKRS Infotype 0000
    Country grouping
    comapny code
    Personal area
    personla subarea
    employee group
    employee subgroup
    so did u assigned number ranges for employee subgroups
    Internal number ranges will be given by the system
    and external by the consultants
    check and let me know if there is any issues
    have u done in this manner

  • How to iterate over the attributes of a single entity?

    I am working on a logical model transformation script. I take a list of all entities:
         var entities = model.getEntitySet().toArray();
    iterate over the entities:
         for (var e = 0; e < entities.length; e++) {
            var entity = entities[e];
    and try to get a list of all attributes for the current entity:
            var attributes = entity.getAttributeSet().toArray();
    After that I try to iterate over the attributes:
            for (var a = 0; a < attributes.length; a++) {
                var attribute = attributes[a];
    While iterating over the attributes I realized that the list is always the same. I get always a list of all attributes probably of the whole model even for entities without any attribute.
    How can I get a list of the attributes for one single entity?

    Hi,
    Use entity.getAttributes()

  • About iCal - is there a way to changes the fonts in iCal, or to modify the fonts in a single event?

    Is there a way to modify the fonts in iCal. I would particularly like to enlarge specific events to make them more noticeable and to even make some of them a bold font to further call attention to them while using iCal. Any help?

    archaeo,
    Unfortunately there are no user options for using other than the default font in iCal. The only font option available in iCal is the "Make Text Bigger/Smaller" View option, but only if you are using the Lion version of iCal.
    I suggest that you provide iCal Feedback.

  • Having difficulty resizing a single cell width in a table

    Hi
    I have a table in a Pages 09 document with several different rows and columns. I'm having real trouble trying to resize a single cell - that is I have a row split into two columns and the left column won't shrink very far so I have loads of empty space after the text I have in that column which is a pain as it looks untidy. I've selected that cell and have no option to adjust column width in Table Inspector, I've selected 'Automatically adjust width to text size' and that's making no difference and trying to manually move the cell wall to the left makes no difference - it'll go so far and then no more.
    What's just as annoying is that I have exactly the same 'one row/two columns' format just below this row and that left column cell shrinks even less, meaning I have a staggered columns set up going on down my table which looks daft.

    I am unable to reproduce this behaviour.
    You may activate the "Show Invisible Characters" feature which will perhaps reveal the existence of extraneous chars.
    If it's not that, I would be interested to receive this table.
    Of course, remove personal infos from the document before sending it to my mailbox.
    Click my blue name to get my address.
    Yvan KOENIG (VALLAURIS, France) mercredi 31 mars 2010 22:07:25

  • Change Attributes of a single Cell

    Dear Gurus ,
    I made an ALV using OO . In one field i said to field catalogue to be as a Button Style .
    My requirement now is when a value of my itab is something not to be as a button style .
    For example
    a    button style
    b    button style
    c    no button style
    a    button style
    Can i do it ?
    Look the code that i make my field as a button .
    FORM PREPARE_FIELD_CATALOG CHANGING PT_FIELDCAT TYPE LVC_T_FCAT .
      DATA LS_FCAT TYPE LVC_S_FCAT .
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          I_PROGRAM_NAME     = SY-REPID
          I_INTERNAL_TABNAME = 'ITAB'
          I_INCLNAME         = SY-REPID
        CHANGING
          CT_FIELDCAT        = IT_FIELDCAT.
      IF SY-SUBRC = 0.
       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'LVC_TRANSFER_FROM_SLIS'
        EXPORTING
          IT_FIELDCAT_ALV = IT_FIELDCAT
        IMPORTING
          ET_FIELDCAT_LVC = GT_FIELDCAT " IT_LVCFCAT
        TABLES
          IT_DATA         = ITAB.
      IF SY-SUBRC =  0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT GT_FIELDCAT INTO LS_FCAT .
        CASE LS_FCAT-FIELDNAME .
          WHEN 'BELNR' .
            LS_FCAT-OUTPUTLEN = '10' .
            LS_FCAT-STYLE = ALV_STYLE_BUTTON.
            MODIFY GT_FIELDCAT FROM LS_FCAT .
        ENDCASE .
      ENDLOOP .
    ENDFORM .                    "prepare_field_catalog

    hi.....
    do as follows :
    1.Add   celltab type lvc_t_styl to ur internal tables structure.
    2.after preapring the field catlog perform loop  on your internal table
      loop at <internal table> into <work area> where <your condtition>.
    clear ls_celltab.
        ls_celltab-fieldname = '<your field name which u want to convert into button>'.
        ls_celltab-style = cl_gui_alv_grid=>MC_STYLE_BUTTON.
        insert ls_celltab into table <work-area>-celltab.
    modify <internal table > from <work area>
    endloop.
    regards
    vivek

  • How do I group the responses in a single cell...

    Hello,
    I have created a form in FormCentral.  The form is broken down into several groups of checkboxes.  Each group has a heading such as: 5 years old, 6 years old, 7 years old, etc...
    With the form created using FormsCentral, exported as a PDF (to add calculations) and then imported back into FormsCentral the grouping remain intact in the 'View Responses' area.  Example: The '6 years old' section displays the name of all of the 6 year old selected checkboxes.  The '7 years old' section displays the name of all of the 7 year old selected checkboxes, etc...
    Because the FormsCentral application doesn't provide a great deal of visual customization I am now trying to create my form using InDesign CC.  Now, the items take up their own spreadsheet column and don't group together inside the 'View Responses' area as before.  My question is: how do I group together item in the PDF so that they retain their grouping within FormsCentral as before? 
    My belief is that it has something to do with the naming conventions used on the various checkboxes.  Yet, I cannot quite figure out the pattern. 
    Any help is greatly appreciated.
    Thanks!
    -David

    Hi,
    >>My question is: how do I group together item in the PDF so that they retain their grouping within FormsCentral as before?
    Please try to rearrange your columns in FormsCentral View Responses table. You can select a column (or columns) and move it next to another column, then select the "T" icon which stands for "Text" formatting in Toolbar, here you can change the title of the Column or the text in each responses to a different color/background color.
    Hope this helps,
    Thanks,
    Lucia

  • Need a formula to calulate multiple cells and add the sum total to a cell in a other table

    Im a chef and my monthly inventory is a time consuming task. I get invoices from multiple suppliers on each day of the week. I enter them into a spread sheet and then need to add the sum total for all the invoices for say MONDAY. That total needs to be entered into a cell in another table  called "daily spend". Is there a formula to automatically add say all the invoices from monday and input the daily spend cell on that table. Here is an example
    I created a column B-to give each day a number(sometimes multiple invoices come from the same supplier for each day)<GREEN>..If there was a way to do this differently...Im happy to change the layout of the spreadsheet.  I want to add the total $ (column F)  for each day together(all the blue fields) and then insert the total into another cell seen in the next  table .  So in this example its F4+F16+F17=?, ? inserted into N2 of the next table
    Thanks so much

    "I ve finally has a play with the advice you gave me but I have realized that the formula you gave me is for a week....and like I mentioned in my reply to you, one table is weekly the other is monthly....is there a way to overcome this? (my answer to you explains it)"
    Hi Gavin,
    Unfortunately, the scale of your illustrations in that reply made them difficult (or impossible) to read, even on the Retina screen.
    The first formula, used to fill column B, extracts the Weekday number for each date. Since these numbers should be equivalent to the day of the month, You'll need to replace this with a formula that returns the Day value of each date:
    Old:
    B2: =WEEKDAY(A,2)
    New:
    B2: =DAY(A)
    Fill down to end of column.
    Because of the arrangeent of your Data table, you will need to repeat this formula in column H (with references to column G), etc. for each set of dates in the table.
    The SUMIF formula in column F is fine as is, except that it assumes all condition data will be in column B of Data, and all data to be summed will be in column F of Data. Since this is obviously not the case for your Data table, you will need a separate iteration of the formula for each week in the table, with the four SUMIF statements enclosed in a SUM statement:
    E2: =SUM(SUMIF(Data :: $B,A2,Data :: $F),SUMIF(Data :: $H,A2,Data :: $L),SUMIF(Data :: $N,A2,Data :: $R),SUMIF(Data :: $T,A2,Data :: $X))
    Fill down for as many rows as there are days in the month being summarized.
    Column references in the formula assume that six columns are used for each week, and that there is no gap in the table between weeks.
    Note that the formula does not distinguish between transactions on July 7 and those on June 7 or August 7. Because of this, the Data table must be limited to transactions in a single calendar month.
    Regards,
    Barry

  • How can I remove the "Show Data in Single Pane" button from ui:table?

    All I have is paginate selected in table properties.

    Hi,
    Thank you for explaining it so clearly. After enabling the pagination, go to the properties sheet for the table. Under the Appearance section there is a property called paginateButton. Uncheck this property and you will have pagination enabled but not the Show data in a single pane button.
    Cheers
    Giri

  • Whether the fields of a single row in an internal table has got value.

    I am doing an archiving report in PS Module.
    The table RPSCO has 12 fields which represent each month.The records in the table are based on OBJNR  and YEAR
    Now i need to check for the latest year which month has some value .If any of the month  has got some value i need to take that month.
    Sample table given below.
    OBJNR           year    Month1    month2      month3    so on
    1)PR00002409  2006     0.00     0.00     664.70-     0.00 0.00     0.00     0.00     0.00     0.00                                                                      
    0.00     0.00     0.00     0.00
    2)PR00002409  2005     0.00     0.00     0.00     0.00     0.00     0.00     0.00 0.00     0.00     0.00     48.70     127.20     0.00
    In this case the output should be Month3.Because the latest year is 2006 and Month is Month3.

    Hi Susmita,
    You have to use DO VARYING option from field 3 onwards.
    Below is the sample program to check whether the field has a value or not.
    tables: rpsco.
    data: it_rpsco like rpsco occurs 0 with header line.
    data: v_wlp type rpsco-wlp00,
          v_wtp type rpsco-wtp00,
          v_pos type i.
    select * from rpsco into table it_rpsco where gjahr = '2007'.
    if lines( it_rpsco ) gt 0.
    loop at it_rpsco.
      clear v_pos.
      do 16 times varying v_wlp from it_rpsco-wlp00 next it_rpsco-wlp01
                  varying v_wtp from it_rpsco-wtp00 next it_rpsco-wtp01.
       v_pos = v_pos + 1.
       if not v_wlp is initial.
         write:/5 v_pos , 35 v_wlp, 70 v_wtp.
         exit.
       endif.
      enddo.
    endloop.
    endif.
    Regards,
    Kumar Bandanadham
    Edited by: Velangini Showry Maria Kumar Bandanadham on Jun 1, 2009 9:30 AM

  • Changing the size of a single field in runtime in table view

    Is it possible to change the row height to fit the entire text into the field for the column Exception text ?
    Is it possible to change the row height of the field exception text in run time, based on the amount of text it carries ??
    Please suggest.

    Hello,
    you can try to put the code similar to the one below in table iterator.
    METHOD if_htmlb_tableview_iterator~render_cell_start.
      DATA: lr_input TYPE REF TO cl_thtmlb_inputfield,
            lr_text TYPE REF TO cl_thtmlb_textview.
      IF p_column_key EQ 'ZLIKEATTRS'.
        lr_input ?= p_replacement_bee.
        lr_input->encode = abap_false.
        IF ( lr_input->disabled EQ 'TRUE' ) OR ( lr_input->disabled EQ abap_true )
          OR ( p_edit_mode IS INITIAL ).
    * --> input is readonly, instead of disabled input render text
          CREATE OBJECT lr_text.
          lr_text->id        = p_cell_id.
          lr_text->text      = lr_input->value.
          lr_text->_text     = lr_input->_value.
          lr_text->type      = lr_input->type.
          lr_text->_type     = lr_input->_value.
          lr_text->tooltip   = lr_input->tooltip.
          lr_text->align     = lr_input->alignment.
          lr_text->textdirection = lr_input->textdirection.
          lr_text->design    = 'VALUE'.                         "#EC NOTEXT
          lr_text->size      = lr_input->size.
          lr_text->width     = lr_input->width.
          IF lr_text->tooltip IS INITIAL.
            IF lr_input->_value IS NOT INITIAL.
              lr_text->_tooltip = lr_input->_value.
            ELSE.
              lr_text->tooltip = lr_input->value.
            ENDIF.
          ENDIF.
          lr_text->encode = abap_false.
          p_replacement_bee ?= lr_text.
        ENDIF.
      ENDIF.
    ENDMETHOD.
    In get method of your description column split the text into lines using <br> tag.
    Something like this:
    LOOP AT lt_attrs INTO lv_attr.
            CONCATENATE lv_value '<br>' lv_attr INTO lv_value.
        ENDLOOP.

  • Need single record for single period. Modify the select query.

    Requirement
    THere are 6 programs for each company for each billing period. If anyof the program for one billing period and period_balance>0 then display outstanding balance YES. if period_balance <=0 for all the programs for one period then outstanding balance=NO
    Below is the query i have used but i have to modify the query to get single record for each period whether outstandignbalance yes or no. Please help to resolve this issue. OR modify the query.
    select distinct B_Billing_key, B_COMPANY_ID company ,
    to_char(to_date('01/'||trim(substr(B_REPORT_PERIOD,5,2))||'/'||
    trim(substr(B_REPORT_PERIOD,1,4)),'DD/MM/YYYY'),'Month YYYY') Billing,
    Max(to_char(P_RECEIVED_DATE,'MM/DD/YY')) lastPaymentdate,
    SURCH_AMOUNT,ADJUST_AMOUNT,PI_AMOUNT,AMOUNT,
    (nvl(SURCH_AMOUNT,0)+nvl(ADJUST_AMOUNT,0)+nvl(PI_AMOUNT,0))-(nvl(sum(AMOUNT),0))"Period_Balance",
    decode(sign((nvl(SURCH_AMOUNT,0)+nvl(ADJUST_AMOUNT,0)+nvl(PI_AMOUNT,0))-(nvl(sum(AMOUNT),0))),1, 'Yes'
    ,'No'
    ) outstandingbalance
    p.PROGRAM_NAME_ID programname
    FROM tuff_balance_view,MV_PROG_SURCH S,MV_PAYMENT_HOLDING H,MV_PROGRAM_DICT P where
    b_company_id = 'U-7052-C'
    and B_Billing_key=s.BILLING_KEY
    and S.PROGRAM_KEY = P.PROGRAM_KEY
    and P.PROGRAM_KEY= H.PROGRAM_KEY
    GROUP BY B_Billing_key,B_COMPANY_ID,B_REPORT_PERIOD,SURCH_AMOUNT,ADJUST_AMOUNT,PI_AMOUNT,PROG_SURCH_KEY,
    S.PROGRAM_KEY,p.PROGRAM_NAME_ID,AMOUNT
    order by B_Billing_key desc
    B_Billing_key is the primary key. I am looking for the output only one record for each biling perid. there are 6 programs for each billing period. if any of the program has period balance >0 then outstanding balance should be yes. For sample i am giving 2 programs.
    Actual output from the above
    biling_key company billing period period_balance outstandingbalance programname
    123 xyz January 2011 $4 Yes ABC
    123 xyz January 2011 $-5 NO DEF
    456 xyz February 2011 $-3 NO ABC
    456 xyz February 2011 $- 2 NO DEF
    Need the output as below from the above query. Can you please help to simplify query. If anyof theprogram having outstanding balance for that particular period show the outstandigbalance as yes. Else NO.
    Expected output as below
    company billing period outstandingbalance programname
    xyz January 2011 Yes ABC
    xyz February 2011 No DEF
    Thanks,
    vi

    Hi G,
    With the same query i am gettting outs as NO for all months which is not true. can you pelase look at the following data.
    SELECT DISTINCT B_BILLING_KEY,
    to_char(to_date('01/'||trim(substr(B_REPORT_PERIOD,5,2))||'/'||
    trim(substr(B_REPORT_PERIOD,1,4)),'DD/MM/YYYY'),'Month YYYY') Billing,
    B_company_id company,
    sum((nvl(T.B_ORG_SURCH_AMOUNT,0)+nvl(T.B_ORG_PI_AMOUNT,0))-(nvl(T.P_AMOUNT,0))) "PeriodBalance",
    Max(to_char(P_RECEIVED_DATE,'MM/DD/YY')) LastPaymentDate,
    decode(sign(
    (nvl(T.B_ORG_SURCH_AMOUNT,0)+nvl(T.B_ORG_PI_AMOUNT,0))-(nvl(T.P_AMOUNT,0))), 1,'Yes','No') Outs
    FROM mv_program_dict P, tuff_balance_view T WHERE
    b_company_id = 'U-7052-C' group by B_REPORT_PERIOD,B_company_id,B_BILLING_KEY,B_ORG_SURCH_AMOUNT,
    B_ORG_PI_AMOUNT,P_AMOUNT
    order by B_BILLING_KEY desc
    Actual
    Billing key Billing company periodbalance lastpayment date outs
    110631534073     November 2010     U-7052-C     270          Yes
    110631534073     November 2010     U-7052-C     690          Yes
    110631534073     November 2010     U-7052-C     66          Yes
    110461533197     October 2010     U-7052-C     4740          Yes
    110461533197     October 2010     U-7052-C     27000          Yes
    110461533197     October 2010     U-7052-C     0          No
    110251532527     September 2010     U-7052-C     0     09/13/10     No
    110251532527     September 2010     U-7052-C     0          No
    110251532527     September 2010     U-7052-C     -18     09/13/10     No
    110251532484     August 2010     U-7052-C     0     09/13/10     No
    110251532484     August 2010     U-7052-C     2001     09/13/10     Yes
    110251532484     August 2010     U-7052-C     0          No
    Expectedoutput(need only following columns)
    Billing key Billing company lastpayment date outs
    110631534073     November 2010     U-7052-C               Yes
    110461533197     October 2010     U-7052-C               Yes
    110251532527     September 2010     U-7052-C          09/13/10     No
    110251532484     August 2010     U-7052-C          09/13/10     YES
    By using below query i am getting all output as NO. HOw to modify it.
    SELECT company,
    billing,LastPaymentDate,
    CASE
    WHEN SUM (DECODE (outs, 'YES', 1, 0)) > 0 THEN 'YES'
    ELSE 'NO'
    END Outstanding
    FROM (
    SELECT DISTINCT B_BILLING_KEY,
    to_char(to_date('01/'||trim(substr(B_REPORT_PERIOD,5,2))||'/'||
    trim(substr(B_REPORT_PERIOD,1,4)),'DD/MM/YYYY'),'Month YYYY') Billing,
    B_company_id company,
    sum((nvl(T.B_ORG_SURCH_AMOUNT,0)+nvl(T.B_ORG_PI_AMOUNT,0))-(nvl(T.P_AMOUNT,0))) "PeriodBalance",
    Max(to_char(P_RECEIVED_DATE,'MM/DD/YY')) LastPaymentDate,
    decode(sign(
    (nvl(T.B_ORG_SURCH_AMOUNT,0)+nvl(T.B_ORG_PI_AMOUNT,0))-(nvl(T.P_AMOUNT,0))), 1,'Yes','No') Outs
    FROM mv_program_dict P, tuff_balance_view T WHERE
    b_company_id = 'U-7052-C' group by B_REPORT_PERIOD,B_company_id,B_BILLING_KEY,B_ORG_SURCH_AMOUNT,
    B_ORG_PI_AMOUNT,P_AMOUNT
    order by B_BILLING_KEY desc)
    GROUP BY company, billing,LastPaymentDate;
    Note:in the actual out put max(lastpayment date) is returing null values. if there is any date in one billing return that date only remove null example is september. in september it should return only 09/13/10 this date not null date. but if there is no other within one biling then consider that as null example november..
    Thanks,
    v

  • Modify the value of a cell in an ALV. Rewarding points.

    Hello Gurus, i am modifying the value of a certain cell in the internal table that is displayed in the ALV using the data_changed event, but when i refresh the ALV the values shown are the old ones.
    Help.

    Hello Ioan
    Unfortunately you do not explain you scenario clearly enough. Therefore I must do some speculations.
    You have an editable ALV list. The user can change data but not field USNAMECH which might be the user who changed the data.
    A big question is how the CHECK_DATA_CHANGED event is raised. Perhaps you have registered the EDIT event (method REGISTER_EDIT_EVENT). Then the scenario would look like this:
    1. User changes data and pushes the ENTER button.
    2. Since the EDIT event is registered this triggers event CHECK_DATA_CHANGED.
    3. In event handler method ON_DATA_CHANGED you enrich the changed data with the name of the current user.
    4. And now you need to push this data back to your ABAP.
    If this is your scenario then just trigger PAI from within your event handler method ON_DATA_CHANGED:
    METHOD on_data_changed. "xxx
           modify itab index mod_cells-row_id from wa_itab transporting USNAMECH disponibilrag.
              "CALL METHOD grid->refresh_table_display.
      CALL METHOD cl_gui_cfw=>set_new_ok_code
        EXPORTING
          new_code = 'DUMMY'
    *    IMPORTING
    *       rc =
    ENDMETHOD.
    MODULE USER_COMMAND_nnnn PAI.
      CASE gd_okcode.
        WHEN 'BACK'  OR
                   'EXIT'     OR
                   'CANC'.
          set screen 0. leave screen.
        WHEN 'DUMMY'.
    "  Do nothing here or perhaps call method:
    " CALL METHOD grid->refresh_table_display
    " Yet should not be necessary.
        WHEN others.
        ENDCASE.
    ENDMODULE.
    Regards
      Uwe

Maybe you are looking for

  • Bridge doesn´t show preview of tif-images

    Hi, I uses Bridge CS6 on a Mac with MacOS 10.9.2. Suddenly bridge doesn´t show previews of Tif-images. It´s also impossible to fill in any metadata. The program also says that the image isn´t tagged with any color profile. I don´t have these problems

  • Why is 1 album split up in itunes?

    i have an album with 11 tracks and it shows up as 6 seperate albums in itunes? i have checked the info and it looks the same for the album name.

  • DES output size bigger than input size

    If I try the code below for passwords and data of each 8 bytes, I get encrypted data of 16 bytes. Why is this so? I thought with DES the number of output bits equals the number of input bits. Thanks, J�rgen static String A="DES"; private static byte[

  • No DNS zones in server admin

    Here's my log:  Oct 21 12:49:25 server servermgrd[2019]: -[DNSManagerRRMgr bindZoneDB]: Unable to load zone database (RRs) for "***.com" from file "/var/named/db.***.com": CNAME and other data

  • TREX Uninstall and CRM

    Dear, I'm trying to uninstall my TREX instance which is installed on the same server as my CRM. Using the windows config panel I always get the message when hitting button 'change/remove': 'A Suitable JVM could not be found. Please run the program ag