cancel
Showing results for 
Search instead for 
Did you mean: 

smartform dump

Former Member
0 Kudos

I am working on a smartform for PO..

Everything looks fine but after the print priview when I try to close the output types window it gives a short dump.

Here is the runtime error information. I really appreciate if some one can tell me how can I go about this problem.

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

Runtime Errors RAISE_EXCEPTION

A RAISE statement in the program "CL_HANDLE_MANAGER_MM==========CP

raised the exception condition "FAILURE".

Since the exception was not intercepted by a superior

program, processing was terminated.

Source Code Extract

Line SourceCde

1

2 METHOD get.

3

4 IF my_manager is initial.

5 CALL METHOD get_manager.

6 ENDIF.

7

8 CALL METHOD my_manager->search EXPORTING im_id = im_id

9 IMPORTING ex_handle = ex_handle

10 EXCEPTIONS failure = 01.

11

12 IF sy-subrc ne 0.

>>>>> RAISE failure.

14 ENDIF.

15

16 ENDMETHOD.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

execute the smartform and check if you are getting the same dump over there and let me know.

Regards,

Nageswar

Former Member
0 Kudos

I am not getting the dump when I directly execute the smartform. Even from PO I can look at the form and once I come out of the form and try to close the window which has the list of output types where we choose from initially, it dumps. I haven't been able to figure out why.

And when I use the below FM in my program before calling the smartform (As per the standard Program) it dumps even before displaying the form. And the point of dump is the same as I have posted earlier.

CALL FUNCTION 'WFMC_PREPARE_SMART_FORM'

EXPORTING

pi_nast = nast

pi_addr_key = is_addr_key

pi_repid = lf_repid

IMPORTING

pe_returncode = cf_retcode

pe_itcpo = ls_itcpo

pe_device = lf_device

pe_recipient = cs_recipient

pe_sender = cs_sender.

If I comment this FM , it displays the form but it dumps after I come out of the form.

Please let me know if it triggers something. Thank you.