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

Write a comment

Writing comments is only allowed to registered users, registration is free and does not require an email address and can be done quickly here.

Tables

balu - 09/02/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 - 09/02/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 - 09/02/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 ).