Skip to Content
0
Former Member
May 30, 2005 at 11:30 AM

Smartforms returns with internal error

2702 Views

Hi,

I am trying to send a fax with smartforms via message control, but after calling the function module an exception is called -> (unknown exception raised) internal error. I have got red traffic lights in the message protocol.

I can print the smartforms without problems.

I can print and fax the smartform with the same(!) print program and the same(!) formular for another message type.

Customizing has no errors. Sap notes search got no results. Strange...

I have just modified the generated function module to look for the error. The exception is called here at the very end of the function module:

IF CONTROL_PARAMETERS-NO_CLOSE = SPACE.

CALL FUNCTION 'SSFCOMP_CLOSE'

IMPORTING RESULT = %RESULT_CL

EXCEPTIONS OTHERS = 1.

IF SY-SUBRC <> 0. PERFORM %RAISE. ENDIF.

JOB_OUTPUT_INFO = %RESULT_CL.

ENDIF.

Obviously, the SSF composer can't be closed. Why?

The parameters control_parameters-no_open and control_parameters-no_close are initial before calling the smartform function module.

Thanks for any hints!