Skip to Content

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

how do we delcare this is smart form ?

how do we do the following in sap smart forms ?

DATA: BEGIN OF G_T_ITAB OCCURS 10.

INCLUDE STRUCTURE TLINE.

DATA: END OF G_T_ITAB .

AND

CALL FUNCTION 'READ_TEXT'

EXPORTING

ID = 'F05'

LANGUAGE = 'E'

NAME = 'sum text'

OBJECT = 'EKPO'

TABLES

LINES = G_T_ITAB

EXCEPTIONS

ID = 1.

IF SY-SUBRC <> 0.

ENDIF.

secondly how do then go on using G_T_ITAB to get the fields in it ?

thanks for yur time,

Shehryar

Tags:
replied

Hi shehryar dahar,

After using READ_TEXT you have to take a loop node. In this loop you have to pass ITAB and a work area, suppose, WA_ITAB of type TLINE and print WA_ITAB-TDLINE. This may solve your problem...

Thanks and Regards,

Bharat Kumar Reddy.V

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question