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.
Questions tagged [alv]
208 questions
1
vote
1 answer
SUBMIT command hungs in ME49/rm06eps0 report
The goal is to use class cl_salv_bs_runtime_info to read the ALV data from the report and create my own ALV afterwards.
The original report is creating an ALV:
The code to capture the ALV data is the following: (This is standard code that I have…

e4rthdog
- 5,103
- 4
- 40
- 89
1
vote
1 answer
CX_SY_READ_SRC_LINE_TOO_LONG error while calling REUSE_ALV_FIELDCATALOG_MERGE
I want to using 'reuse_alv_fieldcatalog_merge' fill the table and press the screen . But it gives such an error:
"The ABAP program lines are wider than the internal table."
I checked the settings and Downwards-Comp. There was no sign in the line…

shrgrl
- 87
- 3
- 13
1
vote
2 answers
Fill with color all columns maximums in ALV table
I need to put color into all the cells with values inside each column.
I want to show something like this.
Here is my code:
SORT gt_sehir_dilim_alv BY
saat1 DESCENDING
saat2 DESCENDING
saat3 DESCENDING
…

RaknRooL
- 19
- 5
1
vote
1 answer
Missing data in ALV demo program(s)
If I run any of the demo programs whose names start with SALV_DEMO, the screens do not show any data.
Example for program SALV_DEMO_TABLE_SIMPLE:
As you can see, there's no data, so impossible to play with sort, filter and so on.
How to add some…

Sandra Rossi
- 11,934
- 5
- 22
- 48
1
vote
1 answer
cl_salv_bs_runtime_info=>get_data_ref() returns no data
I have this code, which works very nice for a lot of reports:
if IV_SELECTION_SET_VARIANT is INITIAL.
SUBMIT (IV_REPORT_NAME)
WITH SELECTION-TABLE selection_table
AND RETURN.
ELSE.
SUBMIT (IV_REPORT_NAME)
WITH SELECTION-TABLE…

guettli
- 25,042
- 81
- 346
- 663
1
vote
1 answer
Unhide a column in ALV via REUSE_ALV_GRID_DISPLAY
I have two SAP systems with the same program.
The column Nome 2 is displayed in the ALV grid of the system1 but in the ALV grid of the system2 is hidden and when select the details you could see the Nome 2 value in both sistems.
The program uses…
1
vote
1 answer
ALV Grid custom F4 help works but then shows No help found
I have a program that displays an editable ALV grid, with a custom F4 help for the field "No." handled via the event onf4. My custom F4 help is displayed and the selected value is returned correctly.
However every time after the custom F4 help…

Sandra Rossi
- 11,934
- 5
- 22
- 48
1
vote
3 answers
Problem with Enable/Disable a button on SALV Full Screen
Dear all I need your help on the below desperately.
I have created an ALV from SALV and I have copied a GUI Status SALV_STANDARD from a standard program. Firstly I added 2 buttons the POSTNEW & POSTDIFF and after a day I added the SELECT button. …

ekekakos
- 563
- 3
- 20
- 39
1
vote
1 answer
Split screens with ALV Grid and Tabstrip control
I would like to ask about proper way to split following screens in ALV:
1st screen with type CL_GUI_ALV_GRID
2nd screen is subscreen with Tab strip control
Using docker there are issues with resizing of screen during the runtime. I am not able to…

bagere
- 221
- 5
- 17
1
vote
1 answer
data_change using cl_gui_alv_grid - not reacting to Enter key
I want to populate a field when another field was edited. So this is the method in the implementation.
When I press Enter nothing happens, but when i double click the change applies.
Do you have any idea or fix? I am using the class…

Dumbest666
- 47
- 3
- 13
1
vote
1 answer
Show multiple lines in one cell of ALV-grid
I am trying to implement output like on the attached pictur, where I expect one cell to have multiple values
I want to show it in ALV grid and in future I need to export it in excel document. How?

Quanta Salman
- 11
- 1
- 3
1
vote
1 answer
Hierarchical ALV report called via GUI has 18 columns, but via RFC only 6. Why?
I want to export the report RM07MLBS (tcode mb52). If I call this report via the SAP-GUI it has 18 columns, and if I call it with the following code, it returns only maktx, werks, matkl, matnr, name1, mtart columns:
cl_salv_bs_runtime_info=>set(
…

guettli
- 25,042
- 81
- 346
- 663
1
vote
2 answers
Type mismatch when calling cl_salv_bs_runtime_info=>get_data_ref()
I found a solution here which I try to apply.
cl_salv_bs_runtime_info=>set(
EXPORTING
display = abap_false
metadata = abap_false
data = abap_true
).
SUBMIT ('RM07MLBS')
AND RETURN.
DATA: lt_outtab TYPE STANDARD TABLE OF…

guettli
- 25,042
- 81
- 346
- 663
1
vote
4 answers
Dynamic custom toolbar
I try to dynamically build a toolbar depending on given criterias thanks to "toolbar" event in class cl_gui_alv_grid.
The problem is that the toolbar is getting my custom button but as soon as my criteria does not match anymore and that I'd like to…

flowx1710
- 177
- 3
- 16
1
vote
2 answers
Allowed values for ALV_EXTRACT_MODE parameter with CL_SALV_EXPORT_DB_STORAGE class?
Where can I see the allowed value for ALV_EXTRACT_MODE of class CL_SALV_EXPORT_DB_STORAGE?
Maybe I am blind, but I could not find it with se80 and looking at the class.
Please be patient, I am new to ABAP.

guettli
- 25,042
- 81
- 346
- 663