ALV Grid - Delete Entries in ABAP [english]
Вставка
- Опубліковано 7 лют 2025
- In this video I show how to delete and save entries in an ALV grid list. A delete icon is added to the GUI status. By clicking on this icon a delete routine is executed. After deletion the ALV Grid is refreshed. ABAP code is mostly structured in form routines.
This video is based on another video which I link here:
• ALV Grid Editable - Ed...
#ALVGrid #delete
▬▬ 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...
hello Sir, please can you tell me please p-selfiled-it display list of filed. can you please tell what should i press to see all filed list after - sign
Unfortunately I do not understand your question 🙄
@@CustAndCode sorry
@@CustAndCode Sir, I would like to say that whenever we typed any table name such as Mara- ( table hype sign) I saw list of fileds are coming how it coming which key or spacebar you sre press so it showing list of filed name.
Thanks a lot!
Thank you for your positive feedback! 🤗🤗 I appreciate it!
Thank you Very much
Thanks for your feedback! 🤗
Hi!
Nice Tut! Worked the way it should. Can you apply this on an dynamic internal table. If so can u make video about it. Thanks a lot.
Thanks for your feedback! I am not sure what you mean with "dynamic" ? The deletion happens at the end on a database table 🤗
Vielen Dank für Ihre Rückmeldung. Ich habe aus Ihren anderen Videos erfahren, dass Sie aus deutschesprachigen Ländern kommen. Meine Deutsche ist begrenzt , also wechsle ich jetzt zu Englisch. :)
In the video, you used Table ‚SPFLI‘ to create internal table and work area. Then in the form del_data, you coded ‚delete from SPFLI where kunnr = wa-fieldcat-kunnr‘.
From my understanding, this is a static version. But what if we give the table name during the runtime. This would mean the structure of internal table and work area are dynamic. We could create this using RTTS. But this then won‘t be compatible with your delete code.
Einen schönen Tag :)
@@kapilgurung7505 Oh I understand. That should already be possible. But it will be more complex because you have to use methods of the classes CL_ABAP_*DESCR. I have never used this myself. But it looks interesting. 🤗
@@CustAndCode Yes, Interesting but complex. Been trying to solve it for last 1 week but no luck :)
@@kapilgurung7505 If I find time I will have a look at it. Until then, I wish you much success! 😀
how to refresh alv grid after delete, i used PAI PBO
For this I would have to build an example 🤔
How to resolve the problem disp+work process is stopped
please provide more information 😀 the code should work. 👍
How do you add that buton
Hi, just copy a GUI STATUS from another program. I show this here: ua-cam.com/video/ZzXHYDy0UUE/v-deo.html ➡from minute 14:50 😀
What is standard program for this gui status
The name of the program is: SAPLKKBL
In this video you can see how to copy the standard GUI Status to your Z-Program ua-cam.com/video/ZzXHYDy0UUE/v-deo.html
minute: 15:12 🤗
Thank you so much
I used cl salv table for gui status and i displayed delete button and how to delete record. I declare sy-ucomm but not triggered
@@shaikjuneed2257 You are welcome! 😃
@@shaikjuneed2257 Set a breakpoint in the Form "user_command" check if the debugger jumps in. When yes, yout have to write another Form "f_delete_date" look at line 114 in the video at min 4:44 🤗
How to delete multiple records using this method ?
Unfortunately, it is not possible with this method. On the one hand, you would have to be able to select multiple rows and then also pass an entire table, not just a work area as is the case now.
@@CustAndCode As always another wonderful video !!!! Do you have any video with the approach of select several rows ? capturing in an internal table what the user select ?
@@leocarnicella9155 Thank you! 🤗 To your question: Not yet, but I will have a look at it!😀
Plseas help
Look at my answer below 😀