When we append a record to a sorted internel table how it
is appended?

Answer Posted / hari

If an internal table is defined Sorted, then dont even
think about Appending. Always use INSERT. Append will only
append data after last record in internal table. INSERT
will find the index and insert the record. e.g. itab
contains data like A, D, F, J, K etc..now i want to add B
to it.. INSERT will update internal table like A, B, D,
etc...If used APPEND, program will abend.

Is This Answer Correct ?    22 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the functionality of BIZTALK and how it handles the IDOC’s and how u will transfer the IDOCS to the BIZTALK ?

2248


What work you have done in HR module

910


Why do we need enhancements?

640


What are Delivery classes? What data will you want to transport during client copy?

991


What is a data dictionary? : sap abap data dictionary

557






How do you restrict the data to be entered in the payroll area? : sap abap hr

535


How to create report in SD open sales order which covers all Organization, delivery status, shipping details and partner function details. plz mention the detail coding Tahnks, Rahul

2126


Can we create field without data element? If yes, how?

698


What are base tables of an aggregate object?

629


How to create a check box/option button in a list?

2468


Have you processed BDCs ?

641


How to give programe name as input in BDC report of abap ?

1740


can anyone please tell me, in orient paper mill project which fields exits for creating report.

1286


Is it possible to bring select option in module pool screens?

545


What are the disadvantages of using explicit enhancement?

1388