on 10-23-2007 5:21 AM
Hello Friends,
i have modified an Script and after doing all the required changes i released it to production, its giving error as '' FORM_NAME NOT ACTIVE and NO ERRORS FOUND". But that script is working perfectly in Development.
i am unable to understand what is the problem,
Mukesh
hi,
if u r using :
call function module'\00000123' some thing like this then it might be posiible the function module generated in prod is different from dev, try using :
Look at SAP Smart Forms (BC-SRV-SCR)
Sample :
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = '<form name>'
IMPORTING
fm_name = fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
<error handling>
ENDIF.
CALL FUNCTION fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
g_carrid = <variable>
g_connid = <variable>
g_fldate = <variable>
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
gt_sbook = <internal table>
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
<error handling>
ENDIF.
regards.
reward points if it helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.