2023 Nov 03 5:18 AM
Folks,
**--Delivery qty
<lfs_final>-lfimg = VALUE #( lt_lips[ vbeln = <lfs_data>-vbeln_p
posnr = <lfs_data>-posnr_p ]-lfimg OPTIONAL ).
1.Is this the new syntax alternative to read table into workarea ?
2.what does lfimg OPTIONAL mean ?
Thanks,
K.Kiran
2023 Nov 03 6:40 AM
Did you search?
ABAP New Syntax for READ table into workarea ? site:sap.com
Yes, it's named a Table Expression https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abentable_expressions...
Clean ABAP guide = prefer Table Expression over READ TABLE: styleguides/clean-abap/CleanABAP.md at main · SAP/styleguides (github.com)
OPTIONAL for VALUE/REF and Table Expressions: ABAP Doc - table_exp - default.