how to fetch data form without header line internal table ?

Answer Posted / p.lokesh

It is not possible to fetch data from Internal Table
without header line. u have to give explicit work area I
mean header to handle the records.
Ex code :
Types : Begin of ty_marc,
matnr type matnr,
werks type werks_d,
end of ty_marc.
Data : it_tab type standard table of ty_marc,
wa_tab type ty_marc.

* select statement to read the data.

* Display the output.

loop at it_tab into wa_tab.

write : / wa_tab-matnr,
wa_tab-werks.
endloop.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In what ways we can get the context sensitive f1 help on a field?

592


how to use the xk01 in realtime.can it apply the others. how it it will goes to first page and next page.

1714


Do we create table fields with out data elements and domains?

621


Does the call transaction method allow multiple transactions to be processed by sap?

553


What is ole?

675






What is the difference between synchronous and asynchronous update? : abap bdc

632


hi,how to diable the popup window which is displayed afetr executing the SAP script program?

1565


What are uses of foreign key?

564


What is a transaction variant and why are they used?

539


What are the advantages/ dis-advantages of logical databases?

538


The loop-endloop on extract datasets can be used without any kind of errors. State true or false. : abap modularization

627


What are interactive reports?

626


What is the difference between pnp and pnpce? : abap hr

1076


Badi concepts

916


What is an update task?

579