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
How can an internal table with header line and one without header line be distinguished when passed to a subroutine? : abap modularization
what is field string ? & where we are using field strings?
Describe the difference between macro and subroutine?
What are the uses of the information in the data dictionary? : abap data dictionary
Explain some essential objects in abap dictionary?
What are the different attributes that can be assigned to a variant?
What are the aggregate objects in data dictionary? : sap abap data dictionary
what is 3 tire architecture and how does SAP utilizes this architecture. and how do netweaver came into picture?
Can you print decimals in type n?
What are the two ways for restricting the value range for a domain ?
What is interactive reporting?
Can we use on change of between select and endselect?
What is narrow casting and wide casting?
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.
How does the interface between the dynpro and the abap/4 modules take place?