Tipps und Tricks bei der Nutzung der ABAP® Programmiersprache – Bereich Learning

Wie in anderen Bereichen im Internet bereits erfolgreich praktiziert, sind viele kleine Ideen Einzelner insgesamt gesehen, ein relativ großer Nutzen für den gesamten Interessentenkreis .

Aus diesem Grund stellt das CT-Team einige interessante ABAP®-Programme in Form von Beispielen einem größeren Benutzerkreis als Freeware zur Verfügung.

Die Reportinfos werden ohne Haftung und Gewähr von dem Betreiber der Webseiten zur Verfügung gestellt. Auch eine weitergehende mögliche Inanspruchnahme für irgendwelche Schäden im Zusammenhang mit der Nutzung dieser Webseiten wird ausgeschlossen. Das CT-Team und die Autoren übernehmen keine wie auch immer geartete Verantwortung für Schäden und Verluste, die sich aus der Nutzung der Programm-Beispiele ergeben können. Die Nutzungsbedingungen entnehmen Sie bitte dem Report-Header des jeweiligen Programms (Die Dokumentation der Programme ist teilweise in Englisch).

Im Folgenden finden Sie ABAP®-Programme aus dem Bereich ‘Learning’.

Beschreibung Sourcecode Autor
Construction of an internal table with “APPEND itab” [Y9020010]
In this simple report example a small data base is created for an internal table.
ABAP®Code CT-Team
Constructions of an internal table with “… SORTED BY v2” [Y9020011]
The internal table ITAB1 is declared with a OCCURS specification of 10 elements.
ABAP®Code CT-Team
Relative addressing of C fields (strings) [Y9020020]
Partial association In this example, three C-fields are associated to a field symbol with “ASSIGN”.
ABAP®Code CT-Team
Relative addressing of N fields (numbers) [Y9020021]
Partial association In this example, three T-fields are associated to a field symbol with “ASSIGN”.
ABAP®Code CT-Team
Relative Addressing of T fields (time) [Y9020022]
Partial association In this example, three T-fields are associated to a field symbol with “ASSIGN”.
ABAP®Code CT-Team
Relative Addressing of X fields (hexadecimal) [Y9020024]
Partial association In this example, three X-fields are associated to a field symbol with “ASSIGN”.
ABAP®Code CT-Team
Relative Addressing of P fields / Problems (packed content) [Y9020025]
Partial association (“not good for P fields …”) In this example, three P-fields are associated to a field symbol with “ASSIGN”.
ABAP®Code CT-Team
Relative Addressing of I fields / Problems (integer) [Y9020026]
Partial association with different relative addressing.
ABAP®Code CT-Team
Relative Addressing of F fields / Problems (floating point) [Y9020027]
Partial association In this example, three N-fields are associated to a field symbol with “ASSIGN”.
ABAP®Code CT-Team
A common area for different information [Y9030003]
Possibly a “small macro” called ‘FILL1’ never crossed your way …
ABAP®Code CT-Team
Simple determination of the string length? [Y9030004]
There are several possibilities to determine the string length within a field.
ABAP®Code CT-Team
A fast alternative to “COLLECT itab” [Y9030012]
The testing data for an internal table is created by a random number generator.
ABAP®Code CT-Team
A macro (DEFINE …) for the definition and processing of an internal table [Y9030013]
A small macro should show that these interesting control statements can be inserted in quite different ways.
ABAP®Code CT-Team
Determine the header and the data of an internal table automatically [Y9030014]
The printout of an internal table is often connected with counting out the headings and/or the data fields for output.
ABAP®Code CT-Team
Helper macro for binary search demo [Y9030019]
This reports demonstrates the binary search command.
ABAP®Code CT-Team
Concatenate Strings with a subroutine [Y9030020]
Small string function demo
ABAP®Code S. R.-S.