Skip to Content
0
Former Member
Sep 18, 2005 at 09:54 AM

Problem in smartform

20 Views

Dear all,

I'm developing a simple samrt form. But getting short dump at the print program end.

form = 'Z_SO_DATA'.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = form

  • VARIANT = ' '

  • DIRECT_CALL = ' '

IMPORTING

FM_NAME = fm_name

EXCEPTIONS

NO_FORM = 1

NO_FUNCTION_MODULE = 2

OTHERS = 3

.

IF sy-subrc <> 0.

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

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

ENDIF.

CALL FUNCTION fm_name

  • EXPORTING

  • form_kydate = p_kydate

TABLES

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

The moment controls reaches at <b>CALL FUNCTION fm_name</b>. It throws a short dump saying..<b>Type conflict when calling a function module (field length).</b>. Please suggest.

Thanks,

Anup.