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

Populate columns of an internal table with 1 or 0

I have a custom z_table containing document id (key), username and two status fields - in progress and completed. My goal is to count how many documents are in progress and completed by the distinct users. I would like to populate the status fields…
0
votes
0 answers

How to bring popup to foreground?

I have a dynpro which creates a popup ALV (using a dialog container). A button on the popup will display another popup in the same way. My problem is that the last popup goes into the background, the selection going back to the first popup. Is there…
0
votes
0 answers

How to Display Header with length Greater then 40 CHAR In SALV?

I would like to know is there any way to set Header with 60 char in SALV? Since there is a CHAR limit of 40 when I try using SET_LONG_TEXT method. I am using this SALV to both display and download it as an excel too. My Prod Code looks like this…
0
votes
1 answer

Display an ALV based on a condition from another table

I would like to ask how can I display only certain rows of a table based on a condition from another table. In other words I want to relate the tables. More concrete, I have a table with header data. I created a hotspot for the field "Purchase Order…
0
votes
2 answers

How to get SALV ALV field value in a double-click event?

I'm using cl_salv_table ALV for sflight table data. I want to get the value of the field thats double-clicked and then display it in pop up window. I defined lcl_handle_events class with appropriate method. Double click works, for example when I…
Taurine
  • 13
  • 1
  • 6
0
votes
1 answer

SALV event at grid initialization?

I am creating a SALV grid in a simplistic manner avoiding screens and containers: TRY. cl_salv_table=>factory( IMPORTING r_salv_table = lo_alv CHANGING t_table = itab ). CATCH cx_salv_msg INTO…
Suncatcher
  • 10,355
  • 10
  • 52
  • 90
0
votes
2 answers

Show roles of two users against each other?

I have written the below ABAP program which can fetch the roles of two users from AGR_USERS, which are specified by user on the selection screen. Output screen should have User id as well as roles assigned to the user. Program is working well for…
ACSO
  • 41
  • 5
0
votes
0 answers

Alv grid column length display difference by User

Dears, I have a ALV Report using REUSE_ALV_GRID_DISPLAY User A use filter button on column 1 the column length is 10, but he can only input 2 length but User B don't have this problem What can I do to fix this issue?
蘇貫文
  • 1
  • 1
0
votes
1 answer

CALL METHOD and -> behave differently for ALV events. Why?

I hope that i got the title right because i seriously can't think of a short description for this scenario. I'll try to make it brief: I have an editable ALV which displays some data and whenever the User inputs data and changes the active cell…
Fabian D.
  • 37
  • 7
0
votes
0 answers

how to choose all same row with abap alv

When I choose one row , and I choose all "001000000224" automatically. how do I do it ? Thanks in advance. enter image description here I have a question in the sap community https://answers.sap.com/questions/13316914/how-to-choose-all-same-row.html
0
votes
1 answer

CL_GUI_ALV_GRID editable field not refresh

I have an ALV grid with an editable field, if I check the data entered and display errors, the ALV updates, if I try to change the input data, other times the ALV does not update anymore. The code in the PAI is: ls_layout-cwidth_opt = abap_true.…
stella
  • 51
  • 2
  • 5
  • 13
0
votes
1 answer

Entry xxxxx does not exist in xxxxx (check entry)

I am using REUSE_ALV_GRID_DISPLAY which has one editable field. Data changing through call transaction (IE02 - to modify 'Asset No.') is fine. Because this editable field, so user also can input value manually or by F4help. My problem is that when…
0
votes
2 answers

ABAP report toolbar is disabled

I'm having trouble making the Toolbar(see image) of my SAP Report working despite having tried multiple solutions. My report's code: CLASS cl_orders_alv DEFINITION. PUBLIC SECTION. METHODS: on_init, on_display. PRIVATE…
Diego
  • 133
  • 1
  • 12
0
votes
1 answer

Show ALV table row details on double click?

Say I have a table with customers, which is shown in an alv-grid like so: **BEFORE THIS: Set up parameters, SQL Select, Table etc. CREATE OBJECT gr_alv_grid EXPORTING i_parent = cl_gui_custom_container=>default_screen EXCEPTIONS …
Just some Guy
  • 123
  • 1
  • 6
0
votes
1 answer

Displaying a table with cl_salv_table: "itab is not type compatible with formal parameter t_table"

I need to display an internal table with cl_salv_table. Currently I take the bkpf table, cut out three columns and insert them into the internal table. But now it's saying that the parameter and lt_bkpf are type-incompatible. Here is my…
Elekam
  • 75
  • 1
  • 9