Posts

Showing posts from 2019

Table fetch tips

1) How to get Vendor/Plant combination data? Ans: Inner join between tables LFM1 and T024W

ABAP 7.50 Syntax Tips

Image
BASE - Use this for internal tables with inline 'VALUE' declaration so that the internal table will not be cleared every time in the LOOP. CONV - No need separate declarations. CONV #( ) For a simple understanding, CONV will take the data type of the LEFT SIDE parameter to which we are passing the value. CAST - Super class to sub-class conversion in-line COND - Can be used in place of CASE DATA(lv_var1) = COND i( WHEN input = 1 THEN 1                                               WHEN input = 2 THEN 3                                              ELSE 5 ). Use COND inside COND to bring IF..ELSE inside the main COND statement. We can fill internal tables using VALUE operation and can use COND inside to fill values based on the validations. SWITCH -...