‎2010 Sep 10 3:07 PM
Hello,
I've the problem that I cannot give values from an inertnal table to
an variable because the itab has no headerline, because in oo it is not possible.
Here the coding:
structure in se11 ZACTIVITYIF with components:
DESCRIPT
CATEGORY
PRIORITY
OBJECT
DATE_FRO
DATE_TO
TIME_FRO
TIME_TO
CONT_NO
LANGTEXT
STATUS
OO-Coding:
DATA: lt_itab TYPE TABLE OF zactivityif.
DATA: itab TYPE zactivityif.
Loop at dbtab
:
itab-status = '005'.
APPEND itab TO lt_itab
endloop.
set variable for bapi
lss_text-tdline = lt_itab-langtext. <= here I get error: no tablerwith headerline
How can I fill an internal table in OO or how can I fill this variable lss_text-tdline ?
Any ideas ?
Thanks G
‎2010 Sep 10 3:12 PM
This is a very basci question.
Please use work areas for internal table without header lines.
‎2010 Sep 10 3:12 PM
Which BAPI are you calling? And what's the data type of LANGTEXT field?
‎2010 Sep 10 3:12 PM
This is a very basci question.
Please use work areas for internal table without header lines.