internal-tables Questions

5

Solved

I get a internal table from a Function Module call that returns ~ 100 rows. About 40% of the rows are not relevant to me because I only need the entries with PAR1 = "XYZ". On SQL tables (...
Gum asked 5/8, 2013 at 14:54

3

Solved

I have an ABAP internal table. Structured, with several columns (e.g. 25). Names and types are irrelevant. The table can get pretty large (e.g. 5,000 records). | A | B | ... | | --- | --- | --- | ...
Haddington asked 15/3, 2018 at 16:11

3

Solved

I have the name of a table DATA lv_tablename TYPE tabname VALUE 'xxxxx', and a generic FIELD-SYMBOLS: <lt_table> TYPE ANY TABLE. which contains entries selected from that corresponding table....
Pejsach asked 18/9, 2013 at 9:55

5

Solved

I need to find the sy-tabix of a the last entry in an internal table that matches v_key = x. I'm trying to do it with: read table i_tab with key v_key = x But since there are multiple entries in...
Rationalize asked 11/1, 2019 at 10:34

2

Solved

Can I safely delete the active row while looping over an internal table? As an example, consider this code: LOOP AT lt_itab INTO ls_wa. IF [...] . " A check that can't be done inside a 'DELETE l...
Pigweed asked 13/5, 2014 at 13:11

1

Solved

With release 7.40 we have plenty of ways to filter internal table data. For example, one can use such ABAP constructs: FILTER operator DATA(lt_extract) = FILTER #( lt_bseg USING KEY matnr_bwtar ...
Contiguity asked 16/2, 2018 at 11:36

3

Solved

As stated in the topic, I want to have a conditioned subset of an internal table inside another internal table. Let us first look, what it may look like the old fashioned way. DATA: lt_hugeresult...
Understandable asked 12/2, 2016 at 10:6

3

Solved

What is the most efficient way to extract the unique values from a column or multiple columns of an internal table?
Holdfast asked 30/9, 2015 at 9:52

3

Solved

I'm new to ABAP. Started learning about internal tables. I was reading on the ways to create internal tables. I came across the following syntax to create an internal table from an existing databa...
Litotes asked 8/6, 2016 at 18:13

3

Solved

If there are entries with the same key. sort itab by key. delete adjacent duplicates from itab comparing key. Does anyone know which one will be deleted if delete adjacent duplicates..compari...
Tiedeman asked 18/10, 2011 at 21:11

5

I'm trying to work out a way to read an internal table that has to be created dynamically. I have created the following report that fills a dynamic internal table with data. On the last line, I'm ...
Falcate asked 29/5, 2012 at 15:39
1

© 2022 - 2024 — McMap. All rights reserved.