Table type and line type
There is a table type TDT_DOCFLOW and TDS_DOCFLOW as line type.
How to define internal table and workarea for above.
Thanks in advance.
you have table type TDT_DOCFLOW and line type TDS_DOCFLOW.
first you have to know what is the use of table type and line type.you will create table type in se11 using line type (which is nothing but name of a structutre or table).you will find the use of table type in ooabap.while creating any class you dont have tables parameter for mathods like functional modules.so you will create a table type and you will use this table type as export parameter.
usage of table type and line type in abap program.
data:it_docflow type TDT_DOCFLOW.
data:wa_docflow type TDs_DOCFLOW.
wa_docflow-field = 'value'.
append wa_docflow to it_docflow.
loop at it_docflow into wa_docflow.
write: / wa_docflow-field.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 2, 2008 1:02 PM