Questions tagged [internal-tables]

Use this tag for questions regarding ABAP internal tables.

141 questions
-1
votes
1 answer

Add records into internal table

I want to add records into an internal table. When I am trying to add, t is showing the error of The field "ITAB_EMPLOYEE" is unknown, but there is a field with the similar name "ITAB_EMPLOYEE_I". . REPORT zitab_siddhi. TYPES: BEGIN OF…
-1
votes
4 answers

Insert data to specific field in internal table

I have a table let's call it "dbtab". The name of my internal table is "it_tab". I have a number in "new_number". I insert that number into the empty field "laufnr" in my dbtab by using: update dbtab set laufnr = new_number where laufnr = ''. This…
Kevin Mueller
  • 628
  • 3
  • 10
  • 23
-1
votes
1 answer

how to populate internal table with multiple database tables?

I have declared an internal table. DATA ITAB_DEPT TYPE TABLE OF ZCLOUD9_DEPT WITH HEADER LINE. SELECT A~DEPT_ID A~DEPT_NAME A~DEPT_NO A~EMP_ID B~FIRST_NAME B~LAST_NAME INTO TABLE ITAB_DEPT FROM ZCLOUD9_DEPT AS A INNER JOIN ZCLOUD9_EMP AS B ON…
Pu3
  • 11
  • 1
  • 5
-2
votes
2 answers

Generate number between Gaps in the document

I need some help on how can I check every index's value of column A if there's a gap. READ TABLE ZVBELNEXTTAB INDEX x. curr = ZVBELNEXTTAB-EVBELN. READ TABLE ZVBELNEXTTAB INDEX y. next = ZVBELNEXTTAB-EVBELN. chck = next - curr. IF chck GT 1. chck…
Ryan Lopez
  • 29
  • 1
  • 8
-3
votes
2 answers

How does binary search in SAP handle duplicates?

I'm looking for an explanation of the concept of binary search in SAP. If my table has duplicates, how the search is done?
-4
votes
1 answer

Average calculation

There are 100 students and 7 subjects. how to calculate the average of each student . when student id is selected in selection screen it should display the average for that particular student . source code TYPES: test_1 TYPE SORTED TABLE OF…
mohd amir
  • 1
  • 3
1 2 3
9
10