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
2 answers

Refresh ALV grid after deleting a row

So after I deleted a specific row in a database Table, it isn't removed on my screen. I have to end the programm and start it again to see the changes. I've used alv->refresh( ). but this does not work for me. Is there a way to refresh the screen…
Kevin Mueller
  • 628
  • 3
  • 10
  • 23
0
votes
1 answer

Delete specific row in ALV?

I want to delete a specific row in a table. I identified the row before using get_selected_rows. Now I have the row identified in gt_rows. Now I want to delete that row. I just can't get it done. Here's my current code: go_selec =…
Kevin Mueller
  • 628
  • 3
  • 10
  • 23
0
votes
2 answers

ALV Grid for In-Line Declaration

How do you display an in-line declared data type in an ALV grid? eg: SELECT * INTO TABLE @DATA(lt_result) FROM table. How can the lt_result be displayed in an ALV grid?
Isuru
  • 3,044
  • 6
  • 30
  • 39
0
votes
2 answers

Find out the transport request of an application

I Have created a application, in SAP ABAP and also I have generated a request number for that application, no I have forgot which is my request number since there are many requests in development server. So, can someone help me how I can find out my…
Yavvari Pradeep
  • 301
  • 5
  • 19
0
votes
1 answer

Keep selection on initial row after closing popup Dynpro

I'm working with dynpros and ALV-tables in my ABAP-Report. When I'm selecting an specific row, and clicking on an button for an specific event, an dynpro is beeing called. After closing the dynpro I want to select the same row as in the beginning.…
Markus
  • 41
  • 7
0
votes
2 answers

Read material text for multiple languages at the same time with READ_TEXT FM

I have managed to make the READ_TEXT FM work only for one cID at a time on multiple calls of function read_text(for example I found out how to access it for cID = 'GRUN' cObject = 'MATERIAL'. Can anyone advise how to connect read_text function so…
dragospirnut
  • 13
  • 1
  • 8
0
votes
2 answers

How to refresh only modified rows in ALV grid?

I have task to refresh only modified rows in ALV grid. I know that the grid is refreshed via method CALL METHOD l_grid->refresh_table_display EXPORTING is_stable = ls_stbl EXCEPTIONS finished = 1 OTHERS = 2. But…
Skalozub
  • 539
  • 7
  • 26
0
votes
2 answers

Sum of rows in ALV table

How can I sum rows in ABAP using alv report? sum=gross_weight + net_weight it creates a new column sum which is the sum of two rows. I have tried using: wa-fieldname = 'IT_NET_WEIGHT'. wa-seltext_s = 'Qun'. wa-ddic_outputlen = '10'. APPEND wa TO…
Demotivated
  • 117
  • 3
  • 13
0
votes
1 answer

REUSE_ALV_FIELDCATALOG_MERGE for generating ALV hierarchial list?

When I execute this code some error occurs. Can REUSE_ALV_FIELDCATALOG_MERGE function module be used to generate alv hierarchial reports in ABAP? And are there any tips for the simplest fieldcatalog merging? REPORT ZSAMPLE_ALV_HIERACHIAL. DATA :…
0
votes
2 answers

Changing a node's site in ALV tree

I have an ALV tree and basically what I need to do is to slide (drag) a specific node to the top or bottom or a specific location in the ALV tree. How could this be accomplished? For example, here I would like to slide the IF node in place before…
Hamza Chioua
  • 135
  • 3
  • 11
0
votes
1 answer

Force a default ALV layout

I have an ALV grid where I need the default display to change between four different views based on the inputs and and the button selected. The difference between the inputs is a certain data type that is specific to my business. There are two…
Evan Lalo
  • 1,209
  • 1
  • 14
  • 34
0
votes
2 answers

Change report display from ALV Grid to ALV List Viewer

I've been asked to change an ALV Grid report to ALV List Viewer. What I have found so far is that the only thing I need is to replace the REUSE_ALV_GRID_DISPLAY function for REUSE_ALV_LIST_DISPLAY (please correct me if I am wrong). However, the…
Rafael
  • 555
  • 6
  • 19
0
votes
2 answers

Any ALV-specifics with itab created by RTTS?

I create internal table by two steps, both refer to the RTTS-techniques. The first step loads and parses a tab-delimited file into a table. The second step reads this table by RTTI, then, hardcoded, adds some other columns in front of the old…
icbytes
  • 1,831
  • 1
  • 17
  • 27
0
votes
2 answers

Custom button in application toolbar of cl_salv_table?

I am making a report by using cl_salv_table, and I want to make a button on toolbar of the ALV grid which will show a predefined popup. I was able to make a button on the toolbar and set the "Functional code" as details, and I saw in the debug mode…
Ankit Chaurasia
  • 163
  • 2
  • 5
  • 14
0
votes
1 answer

Minus sign on the left and comma as separation sign

I want to display a decimal number on an ALV. But the minus sign on negative values is shown on the right side. When I use the FA "CLOI_PUT_SIGN_IN_FRONT" I need to use a char typed value. If I do that the comma is replaced by a separation…
Dyrdek
  • 411
  • 4
  • 12
  • 33