on 04-29-2010 2:17 PM
hi all,
we are getting dump due to fm as shown below after clicking on back button in me22n .Can anyone give solution << removed >>.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = tnapr-sform "ZMM_PO_FRM'
IMPORTING
fm_name = fname
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc EQ 0.
gs_dialog-no_dialog = 'X'.
gs_dialog-preview = 'X'.
gs_output-tddest = 'LP01'.
gs_output-tdnoprev = ' '.
gs_output-tdnoprint = ' '.
gs_output-tdimmed = 'X'.
gs_output-tdnewid = 'X'.
****************Code added******************
gs_dialog-device = 'PRINTER'.
gs_dialog-langu = nast-spras.
gs_output-tdprogram = sy-repid.
gs_output-tdarmod = '1'.
**********************************************
CALL FUNCTION fname " modify the interface as per your needs
EXPORTING control_parameters = gs_dialog
output_options = gs_output
user_settings = ' '
zxekko = l_doc-xekko
zxpekko = l_doc-xpekko
TABLES l_xekpo = l_doc-xekpo
l_xekpa = l_doc-xekpa
l_xpekpo = l_doc-xpekpo
l_xeket = l_doc-xeket
l_xtkomv = l_doc-xtkomv
l_xekkn = l_doc-xekkn
l_xekek = l_doc-xekek
l_xkomk = xkomk
EXCEPTIONS formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
ELSE.
CALL FUNCTION 'ME_PRINT_PO'
Regards
Alok
Edited by: Rob Burbank on Apr 29, 2010 10:17 AM
answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
What is the error message on the short dump? Try debugging to see where exactly the program is dumping (either on the first FM or the second) so that you can share that info with us.
Regards,
Juan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.