cancel
Showing results for 
Search instead for 
Did you mean: 

form ysmartform does not exist

Former Member
0 Kudos

what are reasons behind if this message comes after executing printprogram,i am activating the form and calling function module into the print program.

View Entire Topic
0 Kudos

REPORT ZVJH_B_OUTPUTINPDF.

DATA SSF_FM_NAME TYPE RS38L_FNAM.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'Z_OUTPUTPDFFORMAT'
* VARIANT = ' '
* DIRECT_CALL = ' '
IMPORTING
FM_NAME = SSF_FM_NAME.
* EXCEPTIONS
* NO_FORM = 1
* NO_FUNCTION_MODULE = 2
* OTHERS = 3
* .
*IF sy-subrc <> 0.
*
*ENDIF.

CALL FUNCTION SSF_FM_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 =
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
.
IF sy-subrc <> 0.

ENDIF.