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

What are the two ways for restricting the value range for a domain? : sap abap data dictionary

720


Explain difference between primary key and unique key?

517


What are the different database integrities?

577


What are the two ways of producing a list within a transaction?

621


How to find the return code of an stmt in abap programs?

623






How we can give authorization on the fields of table control in a dialog-programming?

1845


Which objects are independent transport objects?

829


why to create a custom BAPI if the BAPI already exists? y to find BAPI again? frankly even i dint undstnd tne question properly. if any one come across this q please do anser me.

1725


What are the differences between se01, se09 and se10?

531


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

640


How do you import pay scale data from non sap to sap? : sap abap hr

577


How do we assign dynamic views while creating material master and generating bdc? : abap bdc

628


what is diff between ECC 5.0 AND ECC 6.0

2854


How to call other programs?

620


What is a batch input session? : abap hr

659