This is a test message to test the length of the message box.
Login
|

Kommentar verfassen

Das Schreiben von Kommentaren ist nur registrierten Benutzern erlaubt, die Registrierung ist kostenlos und erfordert keine E-Mail Adresse und kann schnell hier durchgeführt werden.

Tables

balu - 02.09.2024 - 14:26

Is it possible to insert Internal table into Sorted Internal table? if possible how to do that using New ABAP Syntax?


balu - 02.09.2024 - 14:53

INSERT LINES OF CORRESPONDING #( lt_booking ) INTO gt_booking. above statement is not working. how to solve?

In the above statement GT_BOOKING is SORTED table. LT_BOOKIG is with Different Structure but both are having Common fields.


Xexer - 02.09.2024 - 22:03

Hello balu, normally you would use this one, the error message says, that it can not derive the right type: INSERT LINES OF CORRESPONDING tt_sorted( lt_unsorted ) INTO TABLE lt_sorted.

When you have duplicates in you unsorted table, you will get a dump. For this case you can use this statement to get rid of the duplicates: lt_sorted = CORRESPONDING #( BASE ( lt_sorted ) lt_unsorted DISCARDING DUPLICATES ).