11-01-2007 11:57 AM
Hi, I am Using FModule
CALL FUNCTION 'IHCLSD_PROCESS_SEARCH'
EXPORTING
I_KLART = I_KLART
I_CLASS = I_CLASS
I_LANGUAGE = SY-LANGU
I_KEY_DATE = SY-DATUM
I_ALSO_SUBCLASSES = IT_COMW
IT_COMW = IT_COMW
CHANGING
CT_OBJECTS = CT_OBJECTS
EXCEPTIONS
NO_OBJECTS_FOUND = 1
INCONSISTENT_PARAMETERS = 2
NO_AUTHORITY_CLASSTYPE = 3
NO_VALID_CLASSES = 4
OTHERS = 5
.
Here CT_OBJECTS is the Changing Table.
I need to move this changing table to Internal table with header line.
How is it possible.
Points will be awarde.
Regards,
Jayasimha Jangam
11-01-2007 12:12 PM
Hi,
declare the internal table like this
data : itab like TT_CLSEL_OBJECTS occurs 0 with header line.
now move the data.
itab[] = CT_OBJECTS[].
Rewrad if helpful.
Regards,
Nagaraj
11-01-2007 12:16 PM
hi,
use following addidtion
append lines of CT_OBJECTS to itab.
remember CT_OBJECTS and itab should have same structure type.
Regards
Gagan