Sunday, 13 April 2025

FOR ALL ENTRIES:

 The FOR ALL ENTRIES statement in SAP ABAP is used for efficient database queries when selecting data from a database table based on a list of specified keys. It allows you to avoid multiple database accesses by selecting all relevant data in one go. Here's a basic overview of how to use FOR ALL ENTRIES.

Select va~vbeln, va~posnr

from vbap as va

inner join it_internaltable1 as it

into table @data(it_table2)

where va~vbeln = it~vbeln.

No comments:

Post a Comment