string limit

Die Frage ist als "gelöst" markiert. Den entsprechend Beitrag findest du hier.

Alles rund um die Sprache ABAP®: Funktionsbausteine, Listen, ALV
2 Beiträge • Seite 1 von 1
2 Beiträge Seite 1 von 1

string limit

Beitrag von anays ( / / 0 / 3 ) »
Is there a string limit size?
I try to do something like this

LOOP at lt_draotable into ls_draoline.
l_orblk = ls_draoline-ORBLK.
CONCATENATE l_string l_orblk INTO l_string .
clear l_orblk.
ENDLOOP.

the field ORBLK has 2550 characters.
At the end of the loop l_string only has the first 3 lines of ORBLK and there are 19 lines.

What do you think?
Am I doing something wrong or is there a limit of a string.

Thank you!

gesponsert
Stellenangebote auf ABAPforum.com schalten
kostenfrei für Ausbildungsberufe und Werksstudenten


Beitrag von babap (Expert / 681 / 1 / 1 ) »
Hi,

how do you define l_string?

If you define like this:

Code: Alles auswählen.

DATA: l_string TYPE STRING.
there is no limit to this String.

I myself concateneated hundred of Megabytes into such a string (XML-Output).

May be, that there ist some "dirt" in your table.

You havt to debug and look what is happening during the processing of the 4th line.

Where or when did you recognize that the string contains only the first 3 lines?

regards
babap

Seite 1 von 1

Vergleichbare Themen

12
Antw.
4047
Views
CSV String
von Django90 » 02.10.2017 08:58 • Verfasst in ABAP® für Anfänger
2
Antw.
1984
Views
dynamischer SQL-String
von marlboro_light » 20.08.2006 15:50 • Verfasst in ABAP® Core
3
Antw.
2433
Views
String trennen
von SAP_ENTWICKLER » 25.03.2019 16:00 • Verfasst in ABAP® Core
2
Antw.
2598
Views
# in String suchen
von Thanatos82 » 05.03.2013 13:31 • Verfasst in ABAP® für Anfänger
3
Antw.
1588
Views
'##' in String finden
von LostDarkness » 12.02.2019 13:26 • Verfasst in ABAP® für Anfänger

Über diesen Beitrag


Die Frage ist als "gelöst" markiert. Den entsprechend Beitrag findest du hier.

Unterstütze die Community und teile den Beitrag für mehr Leser und Austausch

Aktuelle Forenbeiträge

Benutzerdefinierte Felder PSP
vor 3 Tagen von Rabea1103 1 / 328
Zukunft des ABAP Entwicklers
vor einer Woche von DeathAndPain 14 / 6246
HR in der Zukunft?
vor einer Woche von DeathAndPain 6 / 7992
Analyse abhängiger Objekte zu einem ABAP-Programm
vor einer Woche von MAJOR_TOM gelöst 5 / 6033

Newsletter Anmeldung

Keine Beiträge verpassen! Wöchentlich versenden wir lesenwerte Beiträge aus unserer Community.
Die letzte Ausgabe findest du hier.
Details zum Versandverfahren und zu Ihren Widerrufsmöglichkeiten findest du in unserer Datenschutzerklärung.

Aktuelle Forenbeiträge

Benutzerdefinierte Felder PSP
vor 3 Tagen von Rabea1103 1 / 328
Zukunft des ABAP Entwicklers
vor einer Woche von DeathAndPain 14 / 6246
HR in der Zukunft?
vor einer Woche von DeathAndPain 6 / 7992
Analyse abhängiger Objekte zu einem ABAP-Programm
vor einer Woche von MAJOR_TOM gelöst 5 / 6033

Unbeantwortete Forenbeiträge

Benutzerdefinierte Felder PSP
vor 3 Tagen von Rabea1103 1 / 328
Spool vereinen OTF und PDF
vor 2 Wochen von anna2205 1 / 5590
XSLT und Loipro05 Transformation
letzen Monat von Torsten1965 1 / 11861
VOLL Artikel in einem Display Typ 12
November 2025 von ThomasM84 1 / 30365