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...

ความคิดเห็น • 21

  • @ESPmadrile
    @ESPmadrile 8 หลายเดือนก่อน

    This is exactly what I need to complete the project I have. I definitely will hit the like and letting run adds.

    • @CustAndCode
      @CustAndCode  8 หลายเดือนก่อน

      Thank you very much! Glad that you liked it! 🤗

  • @sesu6743
    @sesu6743 ปีที่แล้ว

    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.

    • @CustAndCode
      @CustAndCode  ปีที่แล้ว

      Awesome to hear! Thanks for your valuable feedback! And thank you for watching! 🤗😀

  • @ivankaiser3456
    @ivankaiser3456 2 ปีที่แล้ว

    great! thank you!

  • @carlosbicho1597
    @carlosbicho1597 ปีที่แล้ว

    Great !!!!!
    HOW CAN I GET THE ID OF SEVERAL COLUMNS, WHEN I CLICK ON THE BUTTON?🤗

    • @CustAndCode
      @CustAndCode  ปีที่แล้ว

      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
      🤗

  • @arihanttnandi
    @arihanttnandi ปีที่แล้ว

    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

    • @CustAndCode
      @CustAndCode  ปีที่แล้ว

      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? 🤔

    • @arihanttnandi
      @arihanttnandi ปีที่แล้ว

      @@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.

    • @CustAndCode
      @CustAndCode  ปีที่แล้ว

      @@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 😀

  • @sairanjans522
    @sairanjans522 2 ปีที่แล้ว

    Hi!
    I tried to create an PF -STATUS while using docking but it fails. Is it possible to create PF-STATUS with docking?

    • @CustAndCode
      @CustAndCode  2 ปีที่แล้ว

      I don't know what you mean with "docking" in this case. 🤔

  • @prashanthij8470
    @prashanthij8470 2 ปีที่แล้ว

    Could you please explain about alv interactive report edit and save to database table

    • @CustAndCode
      @CustAndCode  2 ปีที่แล้ว

      I have already a video about that topic 😉
      Have a look at this video:
      th-cam.com/video/ZzXHYDy0UUE/w-d-xo.html

    • @prashanthij8470
      @prashanthij8470 2 ปีที่แล้ว

      @@CustAndCode yes but it is alv report right, how to implement those steps in interactive alv report?

    • @CustAndCode
      @CustAndCode  2 ปีที่แล้ว

      @@prashanthij8470 It should be the same? 🤔

    • @prashanthij8470
      @prashanthij8470 2 ปีที่แล้ว

      @@CustAndCode Yes, but I have an assignment to do on two tables. Is it possible?

    • @CustAndCode
      @CustAndCode  2 ปีที่แล้ว

      @@prashanthij8470 Sure, If you have all the data/information (keys) when you klick on "save" then it should work. 🤗