Posts

Showing posts with the label ABAP READ

Unlocking ABAP Mastery: A Comprehensive Guide to Internal Table Operations - Loop, Delete, Modify, Read, Clear, Describe

Image
 Welcome back everyone, So basically we have started with internal table operations in our last blog. So let’s continue it. Internal Table Operations - Loop :- Loop allows you to execute a group of statements multiple times. Loop at <itab> where stands for internal table. Loop is used to read the records one by one from the internal table. Practical Implementations :- *********************************************************** *Start Of Program *Using loop LOOP AT lt_header INTO ls_header. WRITE :/ ls_header-order_number, ls_header-payment_mode. ENDLOOP. *End of Program. ************************************************************ Output :- Internal Table Operations - DELETE :- Delete is used to delete the records from the internal table. There are two ways to perform delete operations. Delete based on where condition. Delete based on index. Delete based on where condition :- ********************************* *Start of Program *Using delete to delete