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
2
votes
1 answer

Standard toolbar disappears after applying custom one

I have a ALV grid in a modal dialog that looks as following: I tried to add tool bar to the ALV as following: The event class : CLASS lcl_evt_task_user_cmd IMPLEMENTATION. METHOD handle_toolbar. e_object->mt_toolbar = VALUE ttb_button( …
softshipper
  • 32,463
  • 51
  • 192
  • 400
2
votes
2 answers

ALV Grid is not refreshed

I have two screens (screen A and screen B) in my module pool program. Screen A displays ALV grid and has 1 button on the toolbar and Screen B also displays ALV grid and 1 button on the toolbar. When I press the button "Show orders" on screen A, I am…
user9695260
  • 347
  • 3
  • 17
2
votes
1 answer

Detect color column in ALV-grid

I am exporting reports with this abap function in json format cl_salv_bs_runtime_info=>set( EXPORTING display = abap_false metadata = abap_false data = abap_true ). data selection_table TYPE TABLE OF RSPARAMS. PERFORM…
guettli
  • 25,042
  • 81
  • 346
  • 663
2
votes
1 answer

Event for header click in ALV grid?

Is it possible to catch single button click on the ALV Grid column header ? I know about possibilities to catch double_click, create event for the hotspot on the cell. I have not found yet one header click. (I do not want to provide sort or any…
bagere
  • 221
  • 5
  • 17
2
votes
3 answers

Checking if a report uses hierarchical ALV or not. How?

I found a way to export a hierarchical ALV with the help of this question. Unfortunately I don't know in advanced if the report uses hierarchical ALV or not. If I apply the code of above answer to the report RFSKPL00, then I get an exception in…
guettli
  • 25,042
  • 81
  • 346
  • 663
2
votes
2 answers

Values are duplicated in neighboring columns

I am writing a program and I have three columns that copies the content of their next three columns and vice versa when one of them doesn't have data. Why columns are copying neighbor columns? Here columns circled in red are copying the content…
dragospirnut
  • 13
  • 1
  • 8
2
votes
1 answer

How to disable row selector in ALV?

I have a report which shows an ALV. After double clicking on a certain column, some fields in the ALV become customizable. This is done by setting the 'edit' attribute of the fieldcatalog-row for the column to 'X'. -edit =…
Erik
  • 361
  • 5
  • 16
2
votes
1 answer

SAP ABAP Append alv row to an other table dynamically?

How can I get the selection of the row event? if (alv_table_1_row) is selected or if button is pressed append to alv_table_2 Can somebody help me? I want at the click of the row to be appended into alv_table_2 dynamically?
User2333
  • 51
  • 2
  • 12
2
votes
1 answer

No domain values in CL_SALV_TABLE column. Why?

I have 2 rows shown in the ALV list, one of this column has domain values. If I click on the search help right it doesn't show any values at all. Do I have to activate something in the class to see the values of any domain?
Ivan Diaz Salas
  • 309
  • 1
  • 9
  • 25
2
votes
3 answers

How to copy ALV layouts between clients in same system?

I have ALV layouts saved in a system where data was present but it is not possible to transport those variants from the testing system (system where test data is present). So I have to create same layout variants in development system which is not…
2
votes
2 answers

Dynamically hide ALV columns by data type

Background: I'm using the cl_salv_table class to generate and modify an ALV. This ALV displays a table of type zpm_et_qual_notif_s, where every even number row is a delimiter field of type CHAR length 1 with names DELIM1, DELIM2...etc. Since there's…
gkubed
  • 1,849
  • 3
  • 32
  • 45
2
votes
5 answers

How do I get my data to show up in my ALV?

I'm thinking that I'm probably missing an export parameter (from my Function Call POV). In the REUSE_ALV_GRID_DISPLAY function call, the parameters I pass around are: Exporting: i_callback_program, i_callback_pf_status_set, …
Mike
  • 61
  • 2
  • 3
2
votes
1 answer

Tree with multiple-level hierarchy in WD?

This tutorial for "creating an ALV tree" describes a 2-level hierarchy which is more like grouping than a tree. Is there a way to create a tree control with a variable depth and width?
miskohut
  • 957
  • 1
  • 14
  • 34
2
votes
3 answers

How to use REUSE_ALV_FIELDCATALOG_MERGE function module?

I'm trying to use the function module REUSE_ALV_FIELDCATALOG_MERGE to pass the field label in ddic to display in the column header of the alv report. But, that didn't work. If I comment the I_STRUCTURE_NAME = 'TY_YNAH_CUS_OBJ_REQ' line, it give me…
Begin
  • 21
  • 1
  • 2
  • 4
2
votes
1 answer

ALV display one column like two

Is it possible with cl_gui_alv_grid to make two columns with the same header? Suppose I want to display data like this : | Tuesday | Wednesday | Thursday | |---------------|---------------|---------------| | Po | Delivery…
shmoolki
  • 1,551
  • 8
  • 34
  • 57
1 2
3
13 14