Upload File from Application Server into ABAP Internal Table in SAP

The following code helps in uploading the data from flat file on Application Server to ABAP Internal Table.

Upload To Itab

Continue Reading…

Pass different Internal Tables to a Subroutine in ABAP

There are situations where an ABAPer needs to write the same code over and over again, just for the reason that the parameters (in this case, Internal Table) to be passed to this Subroutine are different in structure.

The code passes different Internal Tables to the same Subroutine, performing the common set of function on the tables.

Continue Reading…

Best way to Loop At ‘Standard’ Internal Table in ABAP

When it comes to looping thru a standard Internal Table, almost every ABAPer normally loops like this (I_COEP is already sorted)
(1) Loop at I_COEP where kokrs = i_cobk-kokrs
and belnr = i_cobk-belnr.
……
endloop.

And this the SLOWEST method to be adopted.

Continue Reading…

Page 1 of 11