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

Can CL_SALV_TABLE display a toolbar above the grid, as does CL_GUI_ALV_GRID?

I have created a report using CL_SALV_TABLE, now I want to use the toolbar as displayed by CL_GUI_ALV_GRID in the grid, is this thing possible? (i.e. can CL_SALV_TABLE display the ALV grid in a container instead of full screen mode)
Kjarlvi
  • 126
  • 1
  • 13
0
votes
1 answer

How to remove all displayed columns of ALV layout

I am using a script to export data from SAP to Excel. The goal is to make this macro work for anyone that would attempt to run it, however, if they have a different SAP layout then the macro is messed up. Digging through the code it looks like SAP…
M. Terry
  • 35
  • 7
0
votes
1 answer

Order of ALV columns (with CL_SALV_TABLE)

I have a program which displays a simple table based on the class CL_SALV_TABLE, and I'd like to position the column CURRCODE at the fifth position, instead of 4 currently (default order defined in database table SCARR), as shown here: How can I do…
Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
0
votes
3 answers

Updated records are not displayed in subscreen ALV

I am trying to display updated records in ALV but old records are being displayed. Here is the code written in the screen exit of work order. TRY. cl_salv_table=>factory( EXPORTING r_container = lo_cust_container …
Umar Abdullah
  • 1,282
  • 1
  • 19
  • 37
0
votes
1 answer

How to delete DDIC table records which have different id than row number in internal table?

I have an ALV with two rows. I want to delete these rows in internal table and dictionary table also. To get which rows in alv i chose, i use a method go_selections = go_salv->get_selections( ). go_rows = go_selections->get_selected_rows( ) Nextly,…
0
votes
1 answer

Coloring cells of an ALV grid dynamically (CL_SALV_TABLE)

I need to color the cells of an ALV Grid dynamically. I use CL_SALV_TABLE. E.g. in my case I select data from data table according to a parameter. I want to display the selected results in an ALV-grid. -> so far everything works as I need it. Now,…
D.Ge.
  • 107
  • 1
  • 9
0
votes
0 answers

Multi-row headings in ALV grid

I am trying to display 2 row multi heading in an alv grid display where each main heading should occupy 2 sub-headings as follows: REPORT zsam7. TYPE-POOLS: slis. " SLIS contains all the ALV data TYPES: BEGIN OF ty_report, jan_deb TYPE…
mj1261829
  • 1,200
  • 3
  • 26
  • 53
0
votes
0 answers

Header is displaying in next page in ALV report SAP ABAP

Here the function module Z_DISPLAY_ALV is a custom one, on that I don't have option for TOP-OF-PAGE. WA_HEADER-TYP = 'H'. WA_HEADER-INFO = 'Summary of History'. APPEND WA_HEADER TO T_HEADER. CLEAR WA_HEADER. CALL…
vind
  • 11
  • 1
  • 2
0
votes
1 answer

Transform report with distribution by months

I have the following ALV report generated from the RFKSLD00 program: I need to generate a report based on the above report like this one (as part of my work): Any ideas how to do this? I am not asking for a solution but some steps on how to…
mj1261829
  • 1,200
  • 3
  • 26
  • 53
0
votes
2 answers

How to export an ALV tree to excel?

I have to construct and then export a tree that has 4 levels into an excel sheet just like shown in this picture : I have the different nodes data in my database tables, I made the tree using the Function RS_TREE_CONSTRUCT and I used the function…
Mick
  • 111
  • 3
  • 11
0
votes
1 answer

ALV refresh problem while navigating from user command

I have 2 screens 7000 and 7001, 7000 screen contains one button when we click on it it has to navigate to the 7001 screen, but it was not working as expected. SCREEN 7000 also have some details to display as an alv. screen was navigating to screen…
Lakshmi
  • 3
  • 1
  • 3
0
votes
1 answer

CL_GUI_ALV_GRID: Drag and Drop in an empty grid?

I implemented a drag and drop feature in one of my reports and it actually works fine when both grids are filled with data. When one of the grid is empty the drop feature is disabled. How can I change this? I use the cl_gui_alv_grid class.
IbGaunt
  • 3
  • 3
0
votes
0 answers

How to get toolbar of ALV CLASSIC in ALV with IDA?

I am programing a CDS VIEW using ALV with IDA, but I have a question.. how to add toolbar of ALV classic in ALV IDA, especically the layout buttons?
Junior CA
  • 1
  • 1
0
votes
1 answer

ALV resfresh working fine in SE80 but not with Z tcode

I'm using this code to refresh my ALV-Grid: CALL METHOD go_alv->refresh_table_display EXPORTING is_stable = is_stable. go_alv is TYPE REF TO cl_gui_alv_grid. is_stable is TYPE lvc_s_stbl and set like this: is_stable-row = 'X'. is_stable-col =…
Kevin Mueller
  • 628
  • 3
  • 10
  • 23
0
votes
2 answers

Read ALV changes after user input?

I've got a report which outputs the data of my internal table via an ALV grid. The output itself consists of some information and two check boxes for each row. The user can check these boxes if necessary and now I need to read the table back in…
Suimon
  • 271
  • 1
  • 6
  • 15