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
1
vote
3 answers

SAP SALV always show long text in column header

I'm using a SALV to display an internal table. Therefore I optimize the columns and set the column text. When the SALV displays the column header is always showing the short text because the value in the column is only a boole_d ('X'). I tried…
Dyrdek
  • 411
  • 4
  • 12
  • 33
1
vote
1 answer

How to disable the Editable ALV Grid in case of an incorrect entry?

Whenever an invalid value is entered in an ALV Grid, how do I disable the other fields (grey out) in the grid and force the user to fix the incorrect field. I have tried adding protocol in DATA_CHANGED event. But protocol list only shows the error…
subham soni
  • 274
  • 1
  • 5
  • 17
1
vote
2 answers

Make a hotspot cell F4-enabled while insert. Possible?

My requirement is as follows: I show records in an alv grid (CL_GUI_ALV_GRID), where the user can add new ones. I have a keyfield, MATNR, which is disabled on existing records. This one does not really need to have a working F4 SH icon. It must…
icbytes
  • 1,831
  • 1
  • 17
  • 27
1
vote
1 answer

Delete selected row in ALV

I have ALV table and I made a custom button in the table toolbar. Whenever the button is pressed, I want to delete the selected row. Now there's just a message showing up so I could see if the custom button is working. METHOD on_user_command. CASE…
Kevin Mueller
  • 628
  • 3
  • 10
  • 23
1
vote
2 answers

ALV Column Text and Color won't change

I got a SAP ALV problem. I want to change the text and the color of a column. It works if I call the column directly ('BONUS') but when I use it within a DO-clause and concatenate the name of the column it won't work for some reason. Though the…
Dyrdek
  • 411
  • 4
  • 12
  • 33
1
vote
1 answer

Allow free text in ALV Grid cell with dropdown

I have set a dropdown list for an ALV Grid cell. The dropdow works fine, but it allows to enter values from the dropdown value list only. Is it possible to allow free text entry in the cell? My ABAP code is: Creating a value list: DATA: lt_dropdown…
Skalozub
  • 539
  • 7
  • 26
1
vote
1 answer

How to add field via Enhancement in SM20 (SAPMSM20)

I have a requirement to display the tcode description along with tcode field(column) in the output ALV grid of the report SM20. The report already contain the tcode field (column) , so just want to add an additional column in the output to show the…
Owais
  • 21
  • 3
1
vote
1 answer

Crash "Field symbol has not yet been assigned" when calling REUSE_ALV_GRID_DISPLAY

While displaying an ALV I get a crash report when executing the program. To create an ALV I have followed a few tutorials and stuff and at the moment it looks like this: TYPE-POOLS: slis. *build field catalog DATA: it_fieldcat TYPE…
Erik
  • 361
  • 5
  • 16
1
vote
1 answer

How to CALL TRANSACTION in pop-up window?

i have a problem with call transaction in ALV. and now i want to call transaction when i double click on row in my popup. Its possible or not? Thanks for answers I use user_command '&IC1' -double click to call a popup window with data : IF…
miedziopl
  • 13
  • 1
  • 5
1
vote
1 answer

Suppress sign for DDIC types CURR and QUAN in ALV

Eventually I came across surprising fact that internal ABAP Dictionary types for currency and quantity (data elements based on them) implicitly save sign information no matter what setting have been set in data element domain. Even with the above…
Suncatcher
  • 10,355
  • 10
  • 52
  • 90
1
vote
1 answer

What is the need of Field Catalog in ABAP?

Can someone explain the importance of having the code below? I'm new to ABAP and currently trying to create an ALV in a docking container. Thanks. * Field Catalog wa_fieldcat TYPE…
Michael
  • 37
  • 2
  • 7
1
vote
1 answer

ALV Tree node events are not fired

I experience a problem when I use ALV Tree without item selection enabled. In this case I am not able to receive an event for node context menu request. When I turn item selection on, everything works fine. I get the events for the context menu…
Stephan
  • 13
  • 6
1
vote
1 answer

Show ALV grid as Crystal Report by default

In the views push button of the ALV we have you can choose Crystal Report to show the grid in a crystal report format And it would result something like this: I want to show the Crystal report view to the user from the beginning instead of showing…
Ehsan
  • 4,334
  • 7
  • 39
  • 59
1
vote
0 answers

ABAP Alv Cell size with tooltip

In my ALV I have several cells, some cells contain other icons and tooltips without content, However when I try to put a letter in the cell, the cell takes an obscure error size in the occurrence of the tooltip text, here is my code to fill the…
shmoolki
  • 1,551
  • 8
  • 34
  • 57
1
vote
1 answer

ALV grid tooltip wrapped on several lines

In this post I was helped to fill a tooltip on a cell in a ALV. I've realized that this tooltip was limited to about 130 characters. Is there a way to have tooltip in a long text on multiple lines? Thanks
shmoolki
  • 1,551
  • 8
  • 34
  • 57