Show Header and Footer in ALV Grid [english]

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ส.ค. 2024
  • In this video I show how to add and show a header and footer in an ALV Grid. For the ALV Grid I use the class CL_SALV_TABLE.
    To create the header and the footer I use the class CL_SALV_FORM_LAYOUT_GRID.
    Header and Footer can contain important information in addition to the data itself which can be helpful especially for a printout.
    Different text objects are used for this purpose.
    * Headline/Title
    * Action Text
    * Groupbox
    * Label and Text
    #header #footer #alvgrid
    ▬▬ 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...

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

  • @vamsinaidu7581
    @vamsinaidu7581 12 วันที่ผ่านมา

    In this video, everything is on the left side of the header if we want to use both left & right then how can we achieve that?

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

    You deserve more subscribers ❤️ love from PAKISTAN 🇵🇰

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

      Thank you for your feedback! I appreciate that 🤗🤗🤗

  • @rhythmofsoulletsdance
    @rhythmofsoulletsdance 4 หลายเดือนก่อน

    How can I add some space in same row if we want to print more than one text?

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

      Unfortunately I do not exactly understand your requirement... 🤔

  • @user-ud7bp8xx9u
    @user-ud7bp8xx9u ปีที่แล้ว

    Merci

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

    The header and footer doesn't seem to work when displaying multiple ALV using splitter in Salv

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

      Ok, I have to check this. I have never used header an footer when I need more then one ALV. In my opinion it then quickly becomes confusing. 🤗😀

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

    Hi, can we add dynamic header line or action text based on some gui action in same alv.
    for ex. Number of record :20
    after some action
    Number of processed record :15

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

      If you know when things are changed you can do this. Will be difficult when you e.g. filter some records. 🤔

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

      ​@CustAndCode I added the same header properties on function event still its not reflecting.

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

    Hello bro, fantastic video again.. have a question regarding the traditional ALV, I have some color information in it (a few cells are colored based on business logic).. but when I export it to excel, it loses all the colors.. do you have a solution to this?

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

      Thank you! 🤗 I think the color information is unfortunately lost. But I'm not sure whether ABAP2XLSX would offer a solution. 🤔

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

      @@CustAndCode Yes, thinking bout using ABAP2XLSX, but since my organization is pretty old school in its thinking, it does not allow access to Github URLs, so cant install it🤣. Would the OLE2 be fine for this?

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

      @@nisargmehta796 I know what you mean with "old school" 🙈 Unfortunately, I have too little experience with Excel exports so far. But if you find a solution, I would be happy if you share it here. 🤗

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

      @@CustAndCode Yeah, will share whatever I end up doing here..thanks 🤘

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

    please show how to show first date and last date in header, how to print this alv

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

      Ok, I have to try it 😀

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

      Ok, for the max and min. Write this into a variable e.g. with SELECT max from... and show it in the header like I show my strings here. Instead of the string you put the variable with the max and min value of your table. 🤗