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
2
votes
2 answers
How to capture expand node event in SALV Tree?
I've created an ALV tree view with use of the class CL_SALV_TREE.
Everything works fine but I'd like to grap the event when a node is expanded, for filling in a function that automatically resizes the tree columns.
My problem is, that the expanding…

Sebastian
- 21
- 1
- 7
2
votes
1 answer
Double clicking a row and column in ALV Grids
Currently I have an ALV grid and I can double click to call transaction IE03 and pass the information in the first column (which is eqkt-equnr). However, this transaction is called regardless of what column you click on. This wouldn't be so bad,…

babno
- 267
- 2
- 6
- 15
2
votes
1 answer
How to handle event receiver with multiple ALVs in tabstrip?
I am trying to have two ALV in a tabstrip that editable by a buttom at toolbar.
There is a nice example at following page but it is a single ALV.
If we have two ALV how how to do lcl_event_receiver part? Do we need two of them?
Note: I am able to…

geekmangnu
- 83
- 1
- 7
2
votes
1 answer
How to set the size of ALV grid when using function modules?
Trying to have more than 1 alv grid on my screen, and trying to place them at specific locations.
I'm guessing that finding a way to specify position and size to my alv grid would fix both problems.
The i_screen_start(end)_column(row) - like…

vlad-ardelean
- 7,480
- 15
- 80
- 124
1
vote
2 answers
Total and subtotals are not exported to Excel from SALV_TREE
I have created a SALV tree, using the CL_SALV_TREE class, the output is shown in the following image:
Now for the export in Excel that works correctly for me, I have used the following code, but the problem is that it does not export the subtotals,…

Adrian Cardenas
- 33
- 1
- 6
1
vote
2 answers
FREE SELECTIONS not getting Passed to SUBMIT Report FAGLL03
I am submitting the report "FAGL_ACCOUNT_ITEMS_GL" from a custom report on alv_user_command. From my report, I am unable to pass the FAGLL03 free selections.
trange_line-tablename = 'ACDOCA_FS'.
trange_frange_t_line-fieldname =…

Manoj
- 11
- 7
1
vote
2 answers
Table pivoting via ABAP with dynamic number of columns?
I have the following source sample data (which will be populated from a dictionary table but I am supplying the values manually for demo purpose):
What I am trying to get is the pivot-version of sums-per-week assuming I do not know how many weeks I…

user10149299
- 13
- 3
1
vote
1 answer
How to hide buttons of PF-Status in ALV report for specific users?
I have ALV report, couple of buttons performing certain actions(create, delete lines etc.) and I'd like to forbid specific users from seeing those buttons.
Where exactly in PFCG should I go after creating auth. object in SU21 in order to set it…

smoothlikebutter
- 113
- 1
- 2
- 12
1
vote
1 answer
Why isn't it possible to do a subtotal over an integer in CL_SALV_TABLE?
Let's assume we have the following table in ABAP:
PERNR
WORKHOURS
Other_Fields
00012
12,00
-
00110
5,00
-
00120
22,00
-
PERNR is on its DB-table saved as a NUMC with leading 0's.
Due to some must-have-features, the leading 0's must…

Fabian D.
- 37
- 7
1
vote
1 answer
Sorting in an cl_gui_alv_grid by column?
I'm generating an internal table with cl_gui_alv_grid that has five columns and I can't seem to figure out how to sort by column 1 once the table is loaded. I managed to do it with cl_salv_table, however not with the grid. Any idea please? I suppose…

smoothlikebutter
- 113
- 1
- 2
- 12
1
vote
2 answers
How to trigger code when the user clicks an ALV hotspot field?
I am struggling with the following issue:
I have two tables (header and items) that I want to connect them by using a hotspot and the class CL_SALV_TABLE. I managed to display the header table and set a hotspot on the column with the number of the…

user_unknown007
- 57
- 2
- 7
1
vote
1 answer
Display only certain fields in ALV
My table has around 300 columns and I want to display only 10 out of them with specifying which ones. I am working with CL_SALV_TABLE.
Can anybody help me with this problem or give me a hint? Thank you very much in advance!

user_unknown007
- 57
- 2
- 7
1
vote
2 answers
Prevent CL_SALV_TABLE from removing leading zeros?
Please take a look on this following piece of code in which I put zeros in Test2 as value and two zeros in Test3 as value.
i used set_leading_zero but still leading zeros are removed.
CLASS lcl_main DEFINITION FINAL CREATE PRIVATE.
PUBLIC…

rogu22
- 51
- 2
- 6
1
vote
1 answer
ALV field in RIMARA20 program is missing after migration to S4HANA
I have the following issue.
In the past, we have added some fields to transaction IH09.
However last year we migrated to HANA and a lot of programs were updated in the process including the program RIMARA20, which is the program behind IH09.
IH09…

Nelson Miranda
- 5,484
- 5
- 33
- 54
1
vote
1 answer
How to show an editable itab in a popup?
I have an editable ALV buttons (via status gui), SAVE, REFRESH, and HISTORICAL.
I don't have any problem with save and refresh, but in historical i would like to show via popup an itab, but this itab needs to be editable or at least have any button…

marcdecline
- 186
- 4
- 22