Skip to Content

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

smartform error

REPORT ZDEMO_FORM.

DATA: V_FORM_NAME TYPE rs381_fnam. "this line causes an error...below is the "error

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'.

EXPORTING

FORMNAME = 'ZDEMO_FORM'

IMPORTING

FM_NAME = V_FORM_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 V_FORM_NAME

EXCEPTIONS

FORMATTING_ERROR = 1

INTERNAL_ERROR = 2

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

********************************************************************************************

when i activate this report

an error comes

type rs381_fnam is unknown

plz help and plz chek whether my report is correct...

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question