Questions tagged [alv]

ALV stands for ABAP List Viewer. ALV provides a standard grid format and user interface to all ABAP reports. ALV is created by a set of standard function modules and classes provided by SAP.

208 questions
3
votes
1 answer

Two-level column headings in ALV List

I want to add a header row grouping the column headers. Departure Arrival <-- This row is what I want to add Airport Gate Date Airport Gate Date -------- ----- ----- -------- ----- …
BenV
  • 12,052
  • 13
  • 64
  • 92
3
votes
2 answers

Get selection value in ALV grid

I want to get the value of the select cells in ALV, I tried get_selected_cells method, but the value field is INITIAL. What's wrong in this method? FORM delete_livraison . DATA: lt_cells TYPE lvc_t_cell, ls_cells TYPE lvc_s_cell, …
shmoolki
  • 1,551
  • 8
  • 34
  • 57
3
votes
1 answer

ABAP drag and drop object on ALV GRID

I discover the Drag AND Drop object on my alv grid, but when I search documentation it's hard to understand the process flow , I have a lot of questions : I want to block the possibility to drag and drog on some columns. And I want that the sign…
shmoolki
  • 1,551
  • 8
  • 34
  • 57
3
votes
3 answers

Always display ALV Grid as ALV List?

I have a following issue. I would like to display an ALV Grid always as ALV list for my user. So instead of always doing that... ...I would like to set a variable or something in, for example, SU01 that would always show me the output as ALV…
Jagger
  • 10,350
  • 9
  • 51
  • 93
3
votes
2 answers

How to trigger the ALV DATA_CHANGE event manually?

I have an instance of CL_GUI_ALV_GRID referenced by variable mo_alv_grid. I have a button column in this grid, which after some logic, updates the table mt_alv_grid (backing mo_alv_grid). I need to be able to trigger the event DATA_CHANGED at this…
vlad-ardelean
  • 7,480
  • 15
  • 80
  • 124
3
votes
4 answers

Function module to export local table to excel

I am working on a program in Business Warehouse that allows you to map out all of your process chains by following the hierarchy of parent to sub-chains by using the rspcchain table. As of right now I have it printing the output to the screen, but…
Jared
  • 2,904
  • 6
  • 33
  • 37
2
votes
1 answer

Unable to expand single node using cl_salv_tree

I create an ALV Tree with the class cl_salv_tree and want to expand a single node which is the parent to all other nodes and simultaneously the first one to be created. I use the following code: REPORT. TYPES: BEGIN OF ty_kennzahlen, beber…
Ventior
  • 207
  • 1
  • 10
2
votes
3 answers

Make CL_SALV_TABLE column editable?

I am displaying an ALV using CL_SALV_TABLE=>FACTORY where I want the user to be able to select a number of lines which then will be processed further. I did turn the column into a checkbox column using CHECKBOX_COLUMN->SET_CELL_TYPE(…
Kevin Holtkamp
  • 479
  • 4
  • 17
2
votes
2 answers

How to select all rows in ALV OO?

I've created an ALV with CL_GUI_ALV_GRID using the standard PBO/PAI but when I use the method I modify the layout to include checkboxes for every row by this way: g_layout-zebra = 'X'. g_layout-cwidth_opt = 'X'. g_layout-cwidth_opt =…
usr1990
  • 21
  • 2
  • 7
2
votes
1 answer

How to select full row in ALV grid?

I need to return to a specific line in ALV in the code with cl_gui_alv_grid. I use set_current_cell_via_id, it works, but only a cell is selected. How to programatically select the full row? Thanks Full code: DATA gr_alvgrid TYPE REF TO…
Manul74
  • 139
  • 1
  • 6
2
votes
2 answers

Use output without conversion exit with SALV class

in SE16N in Technical Settings there is a Checkbox the OUTPUT WITHOUT CONVERSION EXIT. In my programs I use the class CL_SALV_TABLE for creating the ALVs. Is it possible to put a checkbox in the program similar to SE16N and when the user enable it…
ekekakos
  • 563
  • 3
  • 20
  • 39
2
votes
1 answer

Catch EXPAND button in cl_salv_hierseq_table

I display a hierarchical-sequential list via the class cl_salv_hierseq_table, all the lines are compressed by default, and the user can click the button + on any line to expand the lines of second level. I'm trying to execute custom code when the…
2
votes
1 answer

Save SM37 rows with sorting via GUI Script?

The following SAP GUI Script for SAP 740 saves the SM37 list to a text file. Before saving the list, I'd like to sort the list by Start date and Start time. I can display the popup to select Sort fields. On left side there is a table control with…
Z Drive
  • 23
  • 4
2
votes
1 answer

ALV grid only loads first 64 rows, how to change default load

Situation I have created a lookup functionality for SAP GUI scripting. If a grid row has specific values in specific columns, then it is double clicked (this triggers loading specific dependent data). My grid has less than 300 rows, so loading so…
user3819867
  • 1,114
  • 1
  • 8
  • 18
2
votes
1 answer

Determine field names corresponding to ALV output columns

I'm working on a huge, already existing report which uses ALV grid for outputting the data. I now need to rename some columns, because of some trouble with duplicate heading texts. Is there a way to determine which column in the output corresponds…
Suimon
  • 271
  • 1
  • 6
  • 15
1
2
3
13 14