Button Catch Click Event in SALV Table [english]
ฝัง
- เผยแพร่เมื่อ 23 ส.ค. 2024
- In this video I show how to catch the click on a button (event) in a SALV table and how to read the function code of the clicked button.
I will extend the code from a video of mine where I showed how to catch the double click in a SALV table.
The video where I create this code you can find here:
• SALV Table - Double Cl...
#button #click #event
▬▬ My Hardware ▬▬▬▬▬▬▬▬▬▬▬▬▬
Microphone: amzn.to/3zj2UIz
Headphone: amzn.to/3GUBRFg
*The links are affiliate links. There are no additional costs.
▬▬ My Software (free) ▬▬▬▬▬▬▬▬▬▬▬
Video Recorder: bit.ly/678fgh6
Video Editor: bit.ly/38Rj9lb
▬▬ Further Links ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Become my subscriber: bit.ly/CustAnd...
All videos in English: bit.ly/CustAnd...
This is exactly what I need to complete the project I have. I definitely will hit the like and letting run adds.
Thank you very much! Glad that you liked it! 🤗
To all those that want to use the set_screen_status inside of a class, sy-repid will take on the form of the global class, not the program that you are calling it from.
I just gave the sy-repid when instantiating the object to the constructor method and then everything worked fine.
Awesome to hear! Thanks for your valuable feedback! And thank you for watching! 🤗😀
great! thank you!
😃 thanks!
Great !!!!!
HOW CAN I GET THE ID OF SEVERAL COLUMNS, WHEN I CLICK ON THE BUTTON?🤗
When you click on a button you can trigger a function that affects the whole ALV and not a single row. It always depends on the requirement what you want to do. To display data I mostly use the SALV Table. To select or change data I use an ALV Grid. I have summarized all this in a separate playlist:
th-cam.com/video/mFkPlN-6Uhk/w-d-xo.html
🤗
greattt
one question for example by using a custom button i need to download the contents of the internal table into csv file . how do i implement that functionality using event handling
If you have the data in an internal table you can display it in an ALV Grid and here you can use the normal excel export button? After that you can convert it to a CSV file. 🤗 Or do you have a special requirement for this? 🤔
@@CustAndCode thanks for ur reply. So basically i want a custom button so when i select it then it should basically perform an export of the internal table to the csv file.
@@arihanttnandi If you want this, you have to implement the csv download logic into your program. I have provided a video where I perform a csv download. Here it is: th-cam.com/video/OQAcFxKy3lk/w-d-xo.html 😀
Hi!
I tried to create an PF -STATUS while using docking but it fails. Is it possible to create PF-STATUS with docking?
I don't know what you mean with "docking" in this case. 🤔
Could you please explain about alv interactive report edit and save to database table
I have already a video about that topic 😉
Have a look at this video:
th-cam.com/video/ZzXHYDy0UUE/w-d-xo.html
@@CustAndCode yes but it is alv report right, how to implement those steps in interactive alv report?
@@prashanthij8470 It should be the same? 🤔
@@CustAndCode Yes, but I have an assignment to do on two tables. Is it possible?
@@prashanthij8470 Sure, If you have all the data/information (keys) when you klick on "save" then it should work. 🤗