ich habe mal wieder ein Problem, wo ich nicht weiterkomme
Ich habe eine Struktur, in der z. B. Adressdaten von einer Person stehen. Nun möchte ich diese Daten in ein Textedit-Control schreiben
Z. B. so:
Vorname Nachname
Straße Hausnr.
PLZ Ort
Mein Coding diesbezüglich sieht so aus:
- Code: [Select all] [Expand/Collapse] [Download] (Untitled.txt)
- * Kommentar
- text TYPE char4000,
- END OF tys_stream.
- ls_stream_0300 TYPE tys_stream,
- lv_stream_text TYPE char2 VALUE '##'.
- * Persönliche Daten in Textfeld schreiben
- CONCATENATE gs_persdaten_0300-vorname
- gs_persdaten_0300-nachname
- INTO ls_stream_0300-text SEPARATED BY space.
- INTO ls_stream_0300-text.
- INTO ls_stream_0300-text SEPARATED BY space.
- INTO ls_stream_0300-text.
- INTO ls_stream_0300-text SEPARATED BY space.
- * Kommentartexte in das Textfeld laden
- CALL METHOD gref_editor_0300->set_text_as_stream
- EXPORTING
- text = lt_stream_0300
- EXCEPTIONS
- error_dp = 1
- error_dp_create = 2
- OTHERS = 3.
- GeSHi ©
Nur sieht mein Text im Kommentarfeld ganz anders aus