05-03-2007 10:40 AM
Hi,
i have written a global class in that i have written select queries.i am trying to assign the data that i got from method to a local internal table in the program,how
should i assign it.
05-03-2007 10:48 AM
Well your Methods inheriting your select statements have an interface.
Make sure your selected data is beeing putted out through a parameter.
well then call your method depending on if it is a class method or an instance method.
data: lt_vbak type table of vbak.
call method YourClass=>yourMethod
EXPORTING
yourParameters
IMPORTING
TheData
or
call method YourClass=>yourMethod
EXPORTING
yourParameters
TABLES
TheData
05-03-2007 10:58 AM
I have created a final internal table,the fields of this table scattered into multiple internal tables.i have to assign these internal table values to final internal table.
05-03-2007 11:32 AM
Hi sai,
please tell us what the method for selecting data looks like. One possible way is to define the local table as export parameter of the method. Another way is to define the internal table as public attribute of the class. You could also define a reference (type ref to data) to export a reference to the data.
Try to pose your question more specific.
Regards,
Clemens