Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

input data into table when browsing it via ALV

former_member767171
Discoverer
0 Likes
1,357

Hi, I have written a code that filters some data from two tables into one and outputs the results in ALV, I'd like if user could input the data into the aforementioned tables when looking at the data in ALV. So, is it possible to somehow create any function that would give me button in the ALV table that would perform a function which would list three fields for user's input into the table?

Hi, I have written a code that filters some data from two tables into one and outputs the results in ALV, I'd like if user could input the data into the aforementioned tables when looking at the data in ALV. So, is it possible to somehow create any function that would give me button in the ALV table that would perform a function which would list three fields for user's input into the table?

3 REPLIES 3
Read only

former_member763929
Participant
0 Likes
1,278

Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with Community Q&A , as it provides tips for preparing questions that draw responses from our members.

For example, you can:

- outline what steps you took to find answers (and why they weren't helpful)

- share screenshots of what you've seen/done

- make sure you've applied the appropriate tags

- use a more descriptive subject line.

The more details you provide, the more likely it is that members will be able to respond. Feel free to also take our Q&A tutorial Q&A tutorial

Should you wish, you can revise your question by selecting Actions, then Edit.

By adding a picture to your Profile you encourage readers to respond.

Read only

former_member767171
Discoverer
0 Likes
1,278

What I meant is if it's possible not to make data editable, rather if I could add data directly into table when browsing the ALV. My table is simple, it reads data from two tables and ALV output has five columns and I'd like to add data directly within the ALV table. What did you mean by the button?

Current ALV code:

  DATA(lo_alv_functions_list) = o_alv->get_functions( ). 
lo_alv_functions_list->set_all( if_salv_c_bool_sap=>true ).
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,278

Ask your Abaper, it's relatively easy. Look in the forum as there are already some questions/document on how to add a button, function code, to an ALV grid and identify the line on which the button was pressed and how to build a small pop-up screen for confirmation.