53 - ABAP Programming - Internal Table Operations - CLEAR , REFRESH and DESCRIBE TABLE

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ก.พ. 2025

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

  • @SAPTSConsulting
    @SAPTSConsulting 9 หลายเดือนก่อน +2

    Excellent Rahul Bhai

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

    Sir can you plz explain if clear and refresh both works the same way. Why can't we use refresh in the work area as well. Also why do we have two operations for the same objective?

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

    Sir, what about the concepts like LINES, OCCURS and KIND used in Describe operation?

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

      LINES is already explained which tells the number of rows in the internal table. KIND tells the type of internal table - T signifies standard table, S - Sorted, H - Hashed. OCCURS returns the initial size of the internal table.

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

    what is the difference between clear, refresh and free??

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

      Hello - CLEAR , REFRESH - Delete internal table contents, but do not release the memory spaced occupied previously by the internal table.
      FREE - Delete internal table contents and release completely the memory space also occupied by the internal table.

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

    sir what about INSERT and UPDATE statements?

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  ปีที่แล้ว +6

      Hello Ehtasham - UPDATE is not a Internal Table operation, UPDATE is a Database Operation. UPDATE Operation is only applicable to Database tables, In future When I will cover the topic database operations, then I will cover UPDATE. For INSERT, this Internal table operation is applicable to Sorted Internal tale, When I will cover the topic, Types of Internal Table, then I will cover INSERT. The best way from the programming is to use APPEND to insert data to Internal table and MODIFY to update the contents of internal table.