Video není dostupné.
Omlouváme se.
ALV Grid Display in ABAP - New Syntax [english]
Vložit
- čas přidán 18. 09. 2021
- In this video I show how to use the ALV Grid in ABAP to output data to SAP.
The inline declaration and new syntax is used.
#ALV #ALVgrid # ALVdisplay
▬▬ 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...
Very useful your video. Thank you so much. Hope you can do more video on Abap OOP
Thank you for your feedback! 🤗 I will upload videos related to ABAP OOP and for customizing too. 😀
Very Very helpful video sir
Thanks a lot
U r owsm
Thank you very much for your kind feedback! 🤗🤩
This is helpful to me. Thank you.
Thanks for your feedback! 🤗😀
Why are we using cl_salv_table again when our objective is to display data using cl_gui_alv_grid class?
Thats a very good question 🤔Honestly I don't remember exactly what I wanted to show with this, maybe just the possibility of the new syntax. To display data only I use only the SALV table 🤗
@@CustAndCode Could you please give me some explanation because I am unable to find the answer on google.
@@badalbahinipati5764 There are many solutions to display data in SAP. I prefer the simplest one, this is in my case the SALV table. Have a look at this example video: czcams.com/video/bMoLhgOdXQw/video.html
Hope that helps 🤗
Why do we have write: space at the end?
Also, could we have directly called in the parameters for set_table_first instead of creating o_alv?
The "write command" will force the container to be rendered. Try it without, you will see no container. 🤔
@@CustAndCode Yep, I tried and I didn't get any data. Also it might be unrelated to this video but I am unable to get hotspot and event handling into this code. I watched your video regarding this but their the approach was different. Could you tell me something regarding this? I am getting dump while trying to add a hotspot so as to display it on MM03🙁
@@badalbahinipati5764 For Hotspot or Events have a look at this video. This works. 🤗
I am starting in abap world and your videos are amazing to me!
I have a case in my select and the column header are blanck becouse of this, how can i solve this?
Thank you very much! 😀 Can you use a SALV Table instead? With SALV ist works! 🤗
May i know which SAP theme you are using?
For me the interface is different, entries are not in grid format.
Can you please tell me how to change this to alv grid format
I am not sure what you mean. ALV Grid is always a grid, independent of the SAP theme 🤔
se poate ca in codul demo sa adaugati comentarii care sa usureze logica programarii? is it possible to add comments in the demo code to make the programming logic easier? thank you in advance ; all those words you say when following a set of instructions
I try to indicate what the objects are by naming the variable names.
e.g.
o_alv: ALV object
it_fcat: Fieldcatalog
lv_layout: Layout
But if you want to display a simple table I would recommend this code:
czcams.com/video/i1VuiVSs87U/video.html
from minute 8:40
Copy this into your editor and replace in line 16 %TABLE_NAME% with e.g. SFLIGHT.
The methods I use there are basically self-explanatory.
You can also comment out the loop.
hth 🤗
Thanks again for the useful and informative video.
I am getting ERROR in line 23 - Type "O_SALV" is unknown
I have used the same code, didn't make any change but still I am getting. Let me know if any idea or suggestions. Meanwhile I am also checking on the same elsewhere. Thanks.
Thanks! 😊 The declaration of "o_salv" is on linenumber 16. Do you have this line in your code? Please check! 🤗
thanks for your viedo
but i have a error in line 37
it said field "CL_ABAP_LIST_LAYOUT" is unknown.
how can I fix this problem??
oh i use - instead of =
thanks for your video!!
@@user-ep9fc8ck6v ah okay 🤗 I have already wondered 🤗
@@CustAndCode but I have a question
What is difference between -> ,=>?
I don’t know where should I use those
@@user-ep9fc8ck6v Hi,
=> you call a Method of a class
-> Method chaining, means the result of method 1 is the input of method 2
🤗
@@CustAndCode thanks a lot
How can I set a custom name for a column?
Check this video: czcams.com/video/bMoLhgOdXQw/video.html
🤗😃
Hi. I’ve tried this code. It displays the alv but the line of code to remove the space above the toolbar doesn’t work, it give me a dump and say ‘the exception is assigned to class cx_list_already_active and was not caught in procedure write_output.
Not sure why as I did not use that class in my code. Do you have idea why it dumped and how can it be solved?
Ok, I have rechecked the code and it works on my system. But I have a newer code to display data fast and easy with Salv Table Class. Check out this one: czcams.com/video/bMoLhgOdXQw/video.html
This code works without the method set_table_for_first_display. 🤗😀
@@CustAndCode thanks!
@@sibstories4710 you are welcome 🤗