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

How can an internal table with header line and one without header line be distinguished when passed to a subroutine? : abap modularization

800


what is field string ? & where we are using field strings?

1755


Describe the difference between macro and subroutine?

845


What are the uses of the information in the data dictionary? : abap data dictionary

977


Explain some essential objects in abap dictionary?

919


What are the different attributes that can be assigned to a variant?

778


What are the aggregate objects in data dictionary? : sap abap data dictionary

919


what is 3 tire architecture and how does SAP utilizes this architecture. and how do netweaver came into picture?

1949


Can you print decimals in type n?

757


What are the two ways for restricting the value range for a domain ?

934


What is interactive reporting?

824


Can we use on change of between select and endselect?

784


What is narrow casting and wide casting?

1338


how to Create a smart form related to gate pass to be submitted to vendor’s location. This form outputs document number, date, vendors name, address, material details, quantity, unit,and the company logo.

5056


How does the interface between the dynpro and the abap/4 modules take place?

768