‎2007 Mar 01 4:32 AM
start-of-selection.
get lfa1.
clear t.
move-corresponding lfa1 to t.
append t.
end-of-selection.
please anyone explain this.
‎2007 Mar 01 4:34 AM
It is using LDB or Logical Database to read data.
Get is used to extract values from Logical database on the basis of given selecetion screen criteria.
then passing the two fields as mention in your prvious post from LFA1 to internal table t and appending the row to t.
Check this to know about ABAP -
<a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf">ABAP/4</a>
Regards,
Amit
‎2007 Mar 01 4:35 AM
plz. refer to SAP ABAP/4 in 21 days or help.sap.com
or go to transcation ABAPDOCU in SAP system to get the explanation of such an examples
hope this will help
Thanks
Ashwani
‎2007 Mar 01 4:36 AM
Hi,
Here it is using LDB(Logical database).
Get LFA1 implies retrieving all the field values from the LFA1 table..
and then clearing the header of the internal table t.
Moving the values of the workarea LFA1 to internal table..
and then appending to the internal table for allowing the next values to get appended in the next rows...
Cheers,
Simha.
‎2007 Mar 01 4:42 AM
Hi
get lfa1 :Here it is using LDB(Logical database).
Get LFA1 implies retrieving all the field values from the LFA1 table..
clear t. :clearing the header of the internal table t.
move-corresponding lfa1 to t.:Moving the corresponding values of the workarea LFA1 to internal table..
append t. : appending to the internal table .
Regards,
kumar
‎2007 Mar 01 4:43 AM
Hi,
The GET statement is used in LDB for <b>retreiving the records</b> from LDB.
U can see teh Logical data base name specified in ur <b>program > attributes</b>.
Instead of using SELECt in other reports, here we will use GET for data retrieval.
After that they are moving the records into the <b>header t.</b> Before moing they are claering the header.
Finally appending the records to the internal tabel t.
Hope this helps.
Reward if this helsp.