cancel
Showing results for 
Search instead for 
Did you mean: 

Error In the Production but perfect in the developement

Former Member
0 Kudos

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

View Entire Topic
Former Member
0 Kudos

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