ALV Operations on columns

10-11  Source: Network gathering  Views:0 

Advertisement
Hi,
I want to perform some arithmetic operations on my columns for eg. i want add the contents of column1 and column2 and store the result in column3. i've made these three columns editable. Can anyone help me in this regard.
Hi Sai,
   For this you need to code for Cell Variant in ALV. Here is the Sample program SALV_WD_TEST_TABLE_CV which has implemented the Cell variant. Just check that you can easily get an idea about it.
Please see Package SALV_WD_DEMO.In that Package you will find many demo examples where ALV tables examples are given . It will help you.
Hope this will help!!!!
Cheers,
Darshna.
Related articles
  • ALV Operations on columns 10-11

    Hi, I want to perform some arithmetic operations on my columns for eg. i want add the contents of column1 and column2 and store the result in column3. i've made these three columns editable. Can anyone help me in this regard.Hi Sai,    For this you n

  • In Alv table, a column is editable mode, but want few cells in read only 10-11

    Hi All, I have a ALV table which column A and B. Both are in editable mode. I want to make fews in column B, to be read only. How to make it. Please help me. Thanks Vimalrajhi, refer this program, *& Report  ZALV_COLOR_DISPLAY_EDIT REPORT  zalv_color

  • In ALV  maintain  one column as color Green 11-30

    Hi , In ALV  maintain  one column as color Green Thanks, AshaThere are options in ALV grid to color whole row or cell, you want column (bad luck) so you will have to color cells. 1-Add a field of type LVC_T_SCOL to the internal table. 2-Fill the inte

  • How Format Text in ALV Colum when Column set as TEXTVIEW 11-30

    I am displaying ALV with Multiple Column's , One of the Column is TEXTVIEW . When ALV is Displayed TEXT Column Comes as Continues TEXT  and is Not Formatted . Now when i want to edit this text i am Calling another View which contains UI element Forma

  • On ALV report in1 column I want to put Icon on every row of that column. 10-11

    On ALV report there is 1 column I want to put Icon on every row of that column.That ALV program uses object oriented concept all class and methods.   I want to use that icon on that row. That icon name is ‘ICON_OKAY’ In my program when I assign value

  • Multiple Hotspots in a ALV Grid single column 10-11

    Hi Experts, My ALV Grid report output looks like below.... If you observe below output, column 3 has multiple documents each one separated by ' ; '. Now, I would like to assign hotspot on each documents like DOC1, DOC2, DOC3, etc. Heading#:         

  • ALV Operations In Webdynpro for ABAP 10-11

    Hello Experts,                       I have a requirement in ALV table in which I want To make one column as link. On clicking of that link a textedit UI element should be created on the same page on top of ALV Table. Please Suggest me how to display

  • ALV GRID Display Column Width problem when filtering 10-11

    Hello All,    When i displaying ALV Grid Display ,i selected one column and set filter for that. the problem is column width at display is 12 charecters but in filter it is allowing only 10 charecters to enter which is wrong. i am unable to set filte

  • Excel Download of ALV with one column containing leading zeros 10-11

    Hello Experts, I have the requirement in which the first column is of type company code (T001-BUKRS). So if the company code is '0061', then on the ALV display its displayed as '0061', but when it is downloaded to Excel sheet, it shows '61' in place

  • ALV display custom columns 10-11

    Hello experts, I am currently working on the report to display ACQUISITION PRICE and RENEWAL PRICE of some equipments. The renewal price will be calculated according to CPI, the CPI value should be entered by user. Based on this CPI the report should

  • How to merge the contents of two rows in ALV for particular column data 10-11

    Hi Experts, I have a requirement to merge various rows in a ALV Grid with same data for particular columns. Kindly Suggest, Thanks and Best Regards, SahilHi, Just fill the and pass the SORT table for what ever fields you want this functionality.   DA

  • ALV Display dynamic column with multiline header 10-11

    Hi All. I need to create alv display with dynamic number of columns. Also, it contains two header line. Kindly help me in coding. The required format is this format. Product | Week1 | Week2 |.......| WeekN |--||---|--             | Sales   | Sales  

  • ALV with dynamic columns and description labels in header titles 10-11

    Hi everybody, I have to implement an ALV whose columns are not defined until runtime. Is it possible to do that in some simple way? Is it necessary to use objects to define this kind of ALV's? And another one query, is it possible to add description

  • ALV Report - displaying column name in two fields. 10-11

    Dear All,              I am working on ALV report , report is ready but now i have to format it according to client requirment, in which have to show column name in two row like. supppose there is field by name "Date of receipt of processed Goods&quo

  • Alv grid background column headings 11-30

    HI EVERYONE, I was able to execute the ALV grid report in background .But columns heading is reeating for each page. Can't we just just have the Column Headings once for all pages.?For the IS_LAYOUT parameter it is possible to set NO_COLHEAD = 'X'. T

  • ALV - Automatic Adjustable Columns (based on selection criteria) 11-30

    Hi, I am currently in the process of building a costing report for a number of materials. For the output, the columns will be the months, while the rows will pertain to the specific materials (1 or 2 columns for the material text and info). For examp

  • ALV Report coloring columns 11-30

    In my ALV report I am displaying SO & DN as separate columns. I want to give them each a different color. In my BUILF_FIELDCATALOG, I tried the following but that gives them the same color i.e. blue. I would like to give them different colors. Also i

  • ALV Tree (Fixed Columns) 11-30

    Hi, I'm currently working on a program using ALV Tree (cl_gui_alv_tree) and I need to have fixed columns other than the hierarchy column (columns which cannot be scrolled).  I tried editing the field catalog but it's not working.  Is it also possible

  • ALV with variable columns 11-30

    Hi All, I have to do a ALV with variable no. of columns. i.e Depending on the data , the columns should get populated. Thanks in advance. DnyaneshHi Dnyanesh,     If you know the no. of columns to be used in the ALV before hand then you can change th

  • ALV - set_text in column header not working (or I'm doing something wrong) 11-30

    In the WDDOINIT module of my view that contains the ALV, I have the code: method wddoinit .   data: l_ref_cmp_usage type ref to if_wd_component_usage,         lr_column        type ref to cl_salv_wd_column,         lr_column_header type ref to cl_sal