Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.


Former Member replied


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 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 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.



Edited by: Alvaro Tejada Galindo on Apr 2, 2008 1:02 PM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question