Sunday, 13 April 2025

FILTERING data to an internal table:

 This statement is to filter data in an internal table based on a specified condition.

it_mseg_item = value #( base it_mseg_item

for wa_stpo in it_stpo_temp

( matnr = wa_stpo idnrk

werks = wa _stpo werks

lgort = wa_stpo lgort

menge = wa_stpo menge

meins = wa_stpo meins) ).

Note: Try ‘except’ to get the other nonmatching set.

No comments:

Post a Comment