Posts

Showing posts from July, 2022

Table Expression ( Read Alternative ) ABAP 7.4 and 7.5

Image
*&---------------------------------------------------------------------* *& Report z_table_expression *&---------------------------------------------------------------------* *& *&---------------------------------------------------------------------* REPORT z_table_expression. *1. Segment read with index *(a)Simple read with index *(b)Read index with table expression *(c)table expression without try catch  using value  operator *(d)table expression with assign fs *2. Read using a without key and table key *(a)Simple read with condition *(b)Read with table expression *3.Check for line exist *4.Get table index *5.Performance comparision CLASS demo DEFINITION.   PUBLIC SECTION.     CLASS-METHODS main. ENDCLASS. CLASS demo IMPLEMENTATION.   METHOD main.     TYPES: BEGIN OF helper_type,              vbeln TYPE vbak-vbeln,              vkorg TYPE vbak-vkorg,  ...