Skip to Content
0
Former Member
Oct 19, 2006 at 07:26 PM

runtime error when executing smartform in se38

45 Views

hi,

i designed a smartform but when iam executing that using se38 am gettin runtime error.can anybody plz help me.

&----


*& Report ZDEMOPRG

*&

&----


*&

*&

&----


REPORT ZDEMOPRG.

DATA FNAME(30) TYPE C.

TABLES: LFA1.

DATA: BEGIN OF ITAB OCCURS 0.

INCLUDE STRUCTURE LFA1.

DATA: END OF ITAB.

SELECT-OPTIONS S_KUNNR FOR LFA1-KUNNR MEMORY ID 001.

SELECT * FROM LFA1 WHERE KUNNR IN S_KUNNR.

MOVE-CORRESPONDING LFA1 TO ITAB..

APPEND ITAB.

ENDSELECT.

CALL FUNCTION '/1BCDWB/SF00000006'

EXPORTING

FORMNAME = 'ZEXM_SMART'

  • 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 = ITAB.

  • EXCEPTIONS

  • FORMATTING_ERROR = 1

  • INTERNAL_ERROR = 2

  • SEND_ERROR = 3

  • USER_CANCELED = 4

  • OTHERS = 5

.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

plz help me

thanks

sudheer