To display complete Column as Pushbottons in Simple ALV Tree

Hi Everybody,
Are pushbuttons possible in Simple ALV Tree?
If yes, Can anybody help me in displaying one of the Columns in ALV Tree as Pushbuttons.
Sample Code for this would also be appreciated.
Thanks in Advance.
Regards,
Arshad

Hi,
Check this out.
http://help.sap.com/saphelp_erp2004/helpdata/en/88/387f380c2f2e3ce10000009b38f8cf/content.htm
Reward if helpful.
Regards,
Ramya

Similar Messages

  • Get subtotal value of different column of different root_node in alv tree

    Dear All,
    I am working on hierarchical alv tree and using class "cl_gui_alv_tree"
    CALL METHOD g_alv_tree->update_calculations is providing subtotal
    I want to get  subtotal value for different node(based on node key) and different column
    i am using following method
    CALL METHOD g_alv_tree->GET_OUTTAB_LINE(if I am passing pamater "node key" it is returning column name with '0' value,not exact subtotal value)
    Thanks and regards in advance. Edited by: Gyanendra Dubey on Jan 26, 2012 7:55 AM
    Edited by: Gyanendra Dubey on Jan 26, 2012 8:03 AM

    Hi Dubey,
    We are currently facing similar issue, would you be able to share your solution?
    CALL METHOD g_alv_tree->GET_OUTTAB_LINE is returning 0 value for the subtotal.
    Thank you.

  • Text File Data not Displaying completely

    Hi All,
    Have one issue. The program correctly extracts the data & export to Excel. All column /field data's are dispalying.However while saving this data in a text file in Aplications server file path, though all column/ field data are extracting bit it is not displaying complete column/field data's i.e last 3 or 4 column data's are not displaying after 257 character space  (but actually it extracts data.It is just not dispalying while i am checking text file via AL11).
    What could be the reason of not dipslaying the all column/filed values in text file wherea as while exporting to excel it is displaying? is there any character length constraint for text file?
    Thanks

    >
    Debabrata wrote:
    > What could be the reason of not dipslaying the all column/filed values in text file wherea as while exporting to excel it is displaying? is there any character length constraint for text file?
    There is no restriction on the file size which you can upload on the app server. AL11 is nothing but a report program & there is a limitation on the max number of characters displayed on the page.
    BR,
    Suhas

  • R12 Project List view - At Completion columns

    Hi,
    The project list in Projects R12 can be personalized to allow displaying ofmany different columns, most ITD and PTD.
    I wish to show 'At Completion' values for various reasons, the main one being so I can at the 'At completion' cost budget (current total budget).
    But also the revenue budgets, forecasts and the variance 'At Completion'.
    Is it possible to show 'At Completion' values in the project list? It seems odd that these columns are not available by default....
    Thank you in advance for any answers!
    Matt

    Hi Govind,
    Thank you for your reply...
    The 'At Completion' column is not available in Personalization list of Values for available columns - only ITD and PTD.
    Is there a way to add columns that are not available in personalization list?
    Matt

  • How to Display Sub-Columns using ALV Grid

    Hi ,
      Could someone tell me how to display sub-columns under a parent column using ALV Grid. Do we have any standard Program which has this scenario. Please let me know.
    Thanks,
    Abaper.
    Message was edited by:
            ABAP'er

    you can check all with <b>BCALV* or RSDEMO*</b> in SE38 for all Std
    check below
    BCALV_DND_01                   Drag ALV Row to Tree Folder
    BCALV_DND_02                   Drag Icons from Tree to Rows of the Grid
    BCALV_GRID_DND_TREE            ALV Grid: Drag and Drop with ALV Tree
    BCALV_GRID_DND_TREE_SIMPLE     ALV GRID: Drag and drop with ALV tree (simple)
    BCALV_TEST_COLUMN_TREE         Program BCALV_TEST_COLUMN_TREE
    Rewards if useful............
    Minal

  • Excel 2010 not enough system resources to display completely

    I have searched the web high and low for an answer to this issue we are having with one user who uses Excel 2010 quite extensively and I have not been able to find an answer that resolves the issue.
    She keeps getting the error message "Not enough system resources to display completely."  The spreadsheet in question is a simple two worksheet file that she does simple calculations on.  Her PC is an HP Elitebook 8560w (only 1 month
    old) with an i7 Intel processor, 8GB RAM, 500GB HDD with over 300GB free, Windows 7 Professional (64-bit) with all the latest patches and updates & Office 2010 Professional (32-bit).  The video and printer drivers are all update to the latest versions. 
    The spreadsheet is one she has used before on her older Windows XP Pro SP3 desktop with no problems.   We have tried the "set the Zoom to 100% or less" resolution that has been mentioned all over the web and it does not work. 
    We are still having this issue.  Does anyone know how to resolve this in Excel 2010.  I have seen the "solutions" for Excel XP, 7, 2000, 2003 and 2007 and they don't seem to work, or at least the ones I have tried!  :-)
    Would welcome all serious suggestions.  Mahalo Nui Loa!

    I've had this problem on several computers on our network.  I found various recommendations, but no solid answers.  I have resolved this problem on two computers with
    just the first steps performed.  The third computer require also following the step highlighted in yellow below:
    Deleted all temp files by:
    Start > Run > enter %temp% in the search box and press Enter
    Delete everything from this folder
    Cleared Recent Docs List & Lower Number Displaying:
    File > Options > Advanced > Scroll to Display category > change number of recent documents.  To clear the list, set this to 0 and save.  You can adjust up after that if you choose.
    Delete files from the following folders:
    (may have to view hidden files – top corner drop down > folder options > view tab > Hidden files and folders > select Show hidden files, folders and drives.
    Local Service:
    %windir%\ServicesProfiles\LocalService\AppData\LocalLow\Microsoft\CryptnetUrlCache\Content
    %windir%\ServicesProfiles\LocalService\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData
    Network Service:
    %windir%\ServicesProfiles\NetworkService\AppData\LocalLow\Microsoft\CryptnetUrlCache\Content
    %windir%\ServicesProfiles\NetworkService\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData
    LocalSystem:
    %windir%\System32\config\systemprofile\AppData\LocalLow\Microsoft\CryptnetUrlCache\Content
    %windir%\System32\config\systemprofile\AppData\LocalLow\Microsoft\CryptnetUrlCache\MetaData
    The above process worked to prevent this problem on two machines, but not another.  On the one that this didn’t work, I also
    Start > Programs > Windows Update > View Update History.  Look for KB# 2597166
    If it exists, click it and uninstall. 
    Can also try, though I didn’t.  I may do this first, but I didn’t feel this was my issue.
    Control Panel > Add/Remove Programs > Select Office > Change > Run Repair

  • How to Display Sub-Columns using ALV

    Hi experts,
        Could someone tell me how to display sub-columns under a parent column using ALV. Do we have any standard Program which has this scenario. points are guaranteed for the right answer.
    Thanks in advance
    Sreenivas

    you can check all with <b>BCALV* or RSDEMO*</b> in SE38 for all Std
    check below
    BCALV_DND_01                   Drag ALV Row to Tree Folder
    BCALV_DND_02                   Drag Icons from Tree to Rows of the Grid
    BCALV_GRID_DND_TREE            ALV Grid: Drag and Drop with ALV Tree
    BCALV_GRID_DND_TREE_SIMPLE     ALV GRID: Drag and drop with ALV tree (simple)
    BCALV_TEST_COLUMN_TREE         Program BCALV_TEST_COLUMN_TREE
    Rewards if useful............
    Minal

  • Make particular cell as mandatory(not complete column) in ALV

    hello experts,
    i have a requirement to make particular cell as mandatory(not complete column) in ALV .
    could any body tel me how to acheive this functionality.
    Thanks in adv!!

    Hi Rakshar,
    inside the loop write your condition and then call
    CALL METHOD lr_column->set_cell_editor
    EXPORTING
    value = lr_input.
    *Now loop the columns table and change the cell editor of a column
    LOOP AT lt_columns INTO ls_columns.
    lr_column = ls_columns-r_column.
    lv_tabix = sy-tabix.
    READ TABLE lt_name INTO ls_name INDEX lv_tabix.
    CREATE OBJECT lr_input
    EXPORTING
    value_fieldname = ls_name-name.
    CALL METHOD lr_column->set_cell_editor
    EXPORTING
    value = lr_input.
    And go through the bellow link..
    link : http://wiki.sdn.sap.com/wiki/display/WDABAP/HowtoeditconditionallyrowofaALVtableinWebDynprofor+ABAP

  • Is it possible to display LOGO in simple ALV list?

    Hi Guys,
    Is it possible to display LOGO in simple ALV list. If yes plz explain in details.
    Thanks
    Sharat

    Yes it is possible to display logo at the top of the page.
    TYPE-POOLS: slis.
    *     Data Decalaration
    DATA: it_vbak TYPE TABLE OF vbak.
    DATA: g_repid TYPE sy-repid.
    DATA: it_listheader TYPE slis_t_listheader,
           wa_listheader TYPE slis_listheader.
    *     START-OF-SELECTION
    START-OF-SELECTION.
       g_repid = sy-repid.
       SELECT * FROM vbak INTO TABLE it_vbak.
       PERFORM build_alv_header.
       CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
         EXPORTING
           i_callback_program     = g_repid
           i_callback_top_of_page = 'TOP_OF_PAGE'
           i_structure_name       = 'vbak'
         TABLES
           t_outtab               = it_vbak.
    *&      Form  BUILD_ALV_HEADER
    FORM build_alv_header .
    *  Type H is used to display headers i.e. big font
       wa_listheader-typ  = 'H'.
       wa_listheader-info ='Flight Details'.
       APPEND wa_listheader TO it_listheader.
       CLEAR wa_listheader.
    *  Type S is used to display key and value pairs
       wa_listheader-typ = 'S'.
       APPEND wa_listheader TO it_listheader.
       CLEAR wa_listheader.
    *  Type A is used to display italic font
       wa_listheader-typ = 'A'.
       wa_listheader-key = 'Date    :' .
       wa_listheader-info ='SAP ALV Report'.
       APPEND wa_listheader TO it_listheader.
       CLEAR wa_listheader.
    ENDFORM.                    " BUILD_ALV_HEADER
    *&      Form  top_of_page
    FORM top_of_page.
       CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
         EXPORTING
           it_list_commentary = it_listheader
           i_logo         = 'PARI'.
    ENDFORM.                    "top_of_page

  • How to display the column names of a table in the output

    Hi,
    I want to display the name of the columns of the table without using literals in a abap report.
    EX: Consider the table KNA1
    KUNNR NAME  ADDRESS
    I want to display the column names in the above fashion without using hardcoded write statements.
    Thanking in anticipation

    You can use this FM <b>DDIF_FIELDINFO_GET</b> It gives you all the names related to fields in a table -:)
    Greetings,
    Blag.

  • How could I display some columns in a JTable?

    Help, please:
    I got a Table data(using AbstractedTableModel), and I can display all rows and columns. How can I just display several columns and all rows? Should I delete some columns from table and fireChanges or what? but I need these columns later. Make sense? any ideas?
    Thanks for any helps.
    Royan

    this worked for me,
    import java.util.*;
    import java.io.*;
    import java.net.URL;
    import java.sql.*;
    import javax.swing.table.*;
    import javax.swing.*;
    public class HideTableColumns
          public HideTableColumns()
          private void initialize()
          DefaultTableModel m = new DefaultTableModel();
          try {
             java.util.Vector data = new java.util.Vector();
             java.util.Vector headers = new java.util.Vector();
             String s = "";
             headers.addElement( "OrderID" );
             headers.addElement( "CustomerID" );
             java.util.Vector datum = null;
             datum = new java.util.Vector();
             s = "OrderID";
             datum.addElement( s );
             s = "CustomerID";
             datum.addElement( s );
             data.addElement( datum );
             m.setDataVector( data, headers );
             for( int r = 0; r < m.getRowCount(); r++ )
                for( int c = 0; c < m.getColumnCount(); c++ )
                s = ( m.getValueAt( r, c ) ).toString();
                System.out.println( s );
          } catch( Exception e ) {
             System.out.println(e.getMessage());
             e.printStackTrace();
          JFrame f = new JFrame();
          JPanel p = (JPanel) f.getContentPane();
          JTable tb = new JTable( m );
          TableColumn col = tb.getColumnModel().getColumn(1);
          col.setPreferredWidth(0);
          col.setMinWidth(0);
          col.setMaxWidth(0);
          p.add( tb );
          f.pack();
          f.show();
          public static void main( String[] args )
          HideTableColumns d1 = new HideTableColumns();
          d1.initialize();
    }

  • How can i  change the column label text in a alv table display

    how can i change the column label text in a alv table display??
    A similar kinda of question was posted previuosly where the requirement was the label text was needed and following below code was given as solution :
    <i>*  declare column, settings, header object
    DATA: lr_column TYPE REF TO cl_salv_wd_column.
    DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
    DATA: lr_column_header type ref to CL_SALV_WD_COLUMN_HEADER.
    get column by specifying column name.
    lr_column = lr_column_settings->get_column( 'COLUMN_NAME1' ).
    set Header Text as null
    lr_column_header = lr_column->get_header( ).
    lr_column_header->set_text( ' ' ).</i>
    My specific requirement is i have an input field on the screen and i want reflect that value as the column label for one of the column in the alv table. I have used he above code with slight modification in the MODIFYVIEW method of the view since it is a process after input. The component gets activated without any errors but while run time i get an error stating
    <i>"The following error text was processed in the system CDV : Access via 'NULL' object reference not possible."</i>
    i have checked in debugging and the error occured at the statement :
    <i>lr_column = lr_column_settings->get_column( 'CURRENT_YEAR' ).</i>Please can you provide me an alternative for my requirement or correct me if i have done it wrong.
    Thanks,
    Suri

    I found it myself how to do it. The error says that it is not able to find the reference object i.e  it is asking us to refer to the table. The following piece of code will solve this problem. Have to implement this in WDDOMODIFYVIEW method of the view. This thing works comrades enjoy...
      DATA : lr_cmp_usage TYPE REF TO if_wd_component_usage,
             lr_if_controller  TYPE REF TO iwci_salv_wd_table,
             lr_cmdl   TYPE REF TO cl_salv_wd_config_table,
             lr_col    TYPE REF TO cl_salv_wd_column.
      DATA : node_year  TYPE REF TO if_wd_context_node,
             elem_year  TYPE REF TO if_wd_context_element,
             stru_year  TYPE if_alv_layout=>element_importing,
             item_year  LIKE stru_year-i_current_year,
             lf_string    TYPE char(x),
      DATA: lr_column TYPE REF TO cl_salv_wd_column.
      DATA: lr_column_header TYPE REF TO cl_salv_wd_column_header.
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
    Get the entered value from the input field of the screen
    node_year  = wd_context->get_child_node( name = 'IMPORTING_NODE' ).
    elem_year  = node_year->get_element( ).
      elem_year->get_attribute(
       EXPORTING
        name = 'IMPORT_NODE-PARAMETER'
       IMPORTING
        value = L_IMPORT_PARAM ).
      WRITE L_IMPORT_PARAM TO lf_string.
    Get the reference of the table
      lr_cmp_usage  =  wd_this->wd_cpuse_alv( ).
      IF lr_cmp_usage->has_active_component( ) IS INITIAL.
        lr_cmp_usage->create_component( ).
      ENDIF.
      lr_if_controller  = wd_this->wd_cpifc_alv( ).
      lr_column_settings = lr_if_controller->get_model( ).
    get column by specifying column name.
      IF lr_column_settings IS BOUND.
        lr_column = lr_column_settings->get_column( 'COLUMN_NAME').
    set Header Text as null
        lr_column_header = lr_column->get_header( ).
        lr_column_header->set_text( lf_string ).
    endif.

  • Displaying 2 columns in a single column using HTML section of reports.

    Hi Team,
    I have a requirement in which we need to display 2 columns in the same column of OBIEE report. At present we have 2 columns as 2 different columns.
    For example if i have a column A which is used as @A in html section i need the new column to have @A + @B where B is another column in database.
    Can i concatenate 2 columns in a single column ?
    Thanks,
    Ritesh

    first select column 1 and column 2 in criteria.
    go to reaults are add narrater view.
    in narrater view type.
    @1@2[br/]
    set number of rows
    this should work in narrator.
    Edited by: user10615659 on May 20, 2013 4:30 PM

  • How to copy complete column data of a table control similar to ALV

    Hi All,
    I have a senario where i need to select one column of a Table control and press Ctrlc then the complete column details should be copied and be able to paste it in another colum using ctrlv.
    please suggest me how can i copy the complete column data similar to ALV .
    Thanks in advance .
    Edited by: ravi kumar on Sep 13, 2011 2:53 PM

    Dear Ravi
    I'm afraid there is no standard functionality for copy paste in ALV.
    You would need to develop something to achieve that - a button for example.
    Kind Regards
    /Ricardo Quintas

  • In ColumnChart, how to stop displaying small column for zero value?

    I'm trying to create a ColumnChart that does not display a column when the value is zero. The chart currently looks like this:
    This is a stacked column chart with red values representing Faults and green values representing Throughput. Each hour has an explicit value of zero for Faults. I don't want to see any red lines when the value is zero. Is there any way to accomplish this?
    My code looks like this:
    <mx:Script><![CDATA[
         import mx.collections.ArrayCollection;
         [Bindable]
         public var simpleStats:ArrayCollection = new ArrayCollection([
            {Hour:"0:00", Throughput:0, ThroughputThreshold:2000, Faults:0, MaxResponseTime:450, AvgResponseTime:200, MinResponseTime:180,
                 AuthenticationAcceptance:50, AuthenticationRejection:0, AuthorizationAcceptance:50, AuthorizationRejection:0},    
            {Hour:"1:00", Throughput:0, ThroughputThreshold:2000, Faults:0, MaxResponseTime:450, AvgResponseTime:200, MinResponseTime:180,
                 AuthenticationAcceptance:50, AuthenticationRejection:0, AuthorizationAcceptance:50, AuthorizationRejection:0},    
            {Hour:"2:00", Throughput:0, ThroughputThreshold:2000, Faults:0, MaxResponseTime:450, AvgResponseTime:200, MinResponseTime:180,
                 AuthenticationAcceptance:50, AuthenticationRejection:0, AuthorizationAcceptance:50, AuthorizationRejection:0},    
            {Hour:"3:00", Throughput:5, ThroughputThreshold:2000, Faults:0, MaxResponseTime:450, AvgResponseTime:200, MinResponseTime:180,
                 AuthenticationAcceptance:50, AuthenticationRejection:0, AuthorizationAcceptance:50, AuthorizationRejection:0},    
            {Hour:"4:00", Throughput:0, ThroughputThreshold:2000, Faults:0, MaxResponseTime:450, AvgResponseTime:200, MinResponseTime:180,
                 AuthenticationAcceptance:50, AuthenticationRejection:0, AuthorizationAcceptance:50, AuthorizationRejection:0}
      ]]></mx:Script>
                                     <mx:ColumnChart id="trafficChart"
                                        dataProvider="{simpleStats}"
                                        showDataTips="true" width="500" height="100%" seriesFilters="[]"
                                        type="stacked">
                                        <mx:verticalAxis>
                                            <mx:LinearAxis title="Messages" id="a1"/>
                                        </mx:verticalAxis>                                   
                                        <mx:horizontalAxis>
                                           <mx:CategoryAxis
                                                   id="TrafficTimeAxis"
                                                dataProvider="{simpleStats}"
                                                categoryField="Hour"
                                                />
                                        </mx:horizontalAxis>
                                        <mx:horizontalAxisRenderers>
                                            <mx:AxisRenderer axis="{TrafficTimeAxis}" canDropLabels="true"/>                                       
                                        </mx:horizontalAxisRenderers>                                            
                                        <mx:series>                                                                         
                                           <mx:ColumnSeries
                                                yField="Faults"
                                                displayName="Faults"
                                                fill="{sc2}"
                                                stroke="{s2}"
                                                 minHeight="0">
                                           </mx:ColumnSeries>                                                                                                          
                                           <mx:ColumnSeries
                                                yField="Throughput"
                                                displayName="Throughput"
                                                fill="{sc1}"
                                                stroke="{s1}"
                                                minHeight="0">
                                            </mx:ColumnSeries>                                      
                                        </mx:series>
                                     </mx:ColumnChart>

    Answered my own question!!
    The solution is to set the stroke for the ColumnSeries to {noStroke}, which I defined like this:
        <mx:Stroke id="noStroke" color="0xFFFFFF" weight="0"/>
    Note that if you define {noStroke} without a color property, black is used by default, which means that those columns that do appear show up in black stroke outline.
    If there's a more elegant solution to the problem, please let me know...

Maybe you are looking for

  • Statement for Lock and Unlock an Oracle user (Urgent)

    Hi DBAs. I just want to know about the statement used for lock and unlock the Oracle user thru sysdba suer. Thanks Hassan

  • How to write and read Xml file from database if possible?

    Hi all, I need to read the .Xml file when receives from Source systems and write the data into the table as well as write in the.xml file thru reading the data from table as per the client needs. I am stranger to this area. Since, please provide some

  • Adobe Air I cannot open up a popup browser

    I'm having a problem with adobe air. I cannot open up a popup browser window from clicking on a button in a adobe air program. I can only open up browser windows within existing browser windows or a new window if none is open.

  • Distributing Forms in LiveCycle using Acrobat 9

    I have created a four page form with flowable subforms and calculated fields.  The form works fine in preview but for some reason I can't get it to distribute.  The final form is anywhere from 1 to 4 pages depending on the options the user selects/ne

  • I would like to have more volume levels on my iPad / iTunes

    I have a pair of active speakers from B&O and when i play music on the lowest level on my iPad it is sometimes to loud. I therefore need finer level differences when adjusting the volume. Right now there are 16 levels and something like 30-50 levels