Skip to Content
0
Former Member
Apr 29, 2009 at 07:41 AM

form interface problem

30 Views

i have declared a internal tale in driver program and it is like this

data : begin of itab occurs 0,

vbeln TYPE vbak-vbeln,

audat TYPE vbak-audat,

auart TYPE vbak-auart,

vkorg TYPE vbak-vkorg,

vtweg TYPE vbak-vtweg,

spart TYPE vbak-spart,

posnr TYPE vbap-posnr,

matnr TYPE vbap-matnr,

matkl TYPE vbap-matkl,

end of itab.

i am passing to smartform

call function I_NAME

EXPORTING

  • ARCHIVE_INDEX =

  • ARCHIVE_INDEX_TAB =

  • ARCHIVE_PARAMETERS =

  • CONTROL_PARAMETERS =

  • MAIL_APPL_OBJ =

  • MAIL_RECIPIENT =

  • MAIL_SENDER =

  • OUTPUT_OPTIONS =

  • USER_SETTINGS = 'X'

  • IMPORTING

  • DOCUMENT_OUTPUT_INFO =

  • JOB_OUTPUT_INFO =

  • JOB_OUTPUT_OPTIONS =

TABLES

itab_end = itab

EXCEPTIONS

FORMATTING_ERROR = 1

INTERNAL_ERROR = 2

SEND_ERROR = 3

USER_CANCELED = 4

OTHERS = 5.

In the smartform i am trying to create itab_end so that i can capture the data from the program.

in the form interface in tables option i am declaring like this

itab_end type itab.

I am getting the error like 'type itab does not exist'.

please tell how to solve this.