Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

help please

Former Member
0 Likes
633

start-of-selection.

get lfa1.

clear t.

move-corresponding lfa1 to t.

append t.

end-of-selection.

please anyone explain this.

5 REPLIES 5
Read only

amit_khare
Active Contributor
0 Likes
610

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

Read only

Former Member
0 Likes
610

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

Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
610

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.

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
610

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

Read only

Former Member
0 Likes
610

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.