on 09-12-2007 4:22 PM
Hi everyone. I'm having this weird problem with a smartform. Even though it works fine in my development environment, I can't manage to solve it in qas.
Thing is that I constantly receive a dump informing that the function module "" does not exist.
Debugging a little I found that the SSF_FUNCTION_MODULE_NAME function is not storing the module name in the variable I set as parameter (lf_fm_name type rs38l_fnam).
I've already checked that the formname is correct. Also sought for the function module of the smartform using the se37 and found it, and tried transporting the whole smartform again just in case, but the error persists.
¿Could anyone give me an idea of what else can I check?
Thanks a lot,
Fernando.
If the environment is a copy from another it can happen that they forget to change something. In this case I think you should look at the table STXFVARI.
If the field SAPSYSTEM is not changed function SSF_FUNCTION_MODULE_NAME will not return the function module name.
For example:
FORMNAME.......................................VARI....SAPRELEASE SAPSYSTEM
ZFRBR_REMITO......................................................620................QAS
ZFRFI_FACTURA.....................................................620................PRD
ZFRFI_ORDENPAGO...............................................620................PRD
ZFRMM_SOLICITUD_DE_MATERIALES....................620................PRD
ZFRSD_FACTURA...................................................620................PRD
ZFRSD_FACTURAS.................................................620................PRD
ZFRSD_REMITO......................................................620................PRD
ZMMFMSF007.........................................................620................PRD
ZMMF_SOLPED......................................................620................PRD
ZMMR_IMPUESTOS_INTERNOS..............................620................PRD
In this example all fields should say QAS instead of PRD.
Please, ask your basis administrator.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
have you passed the formname in ssf_funtion_module_name and replaced that thing in call function name. Save it and activate it. Then release it and transport it.
The problem is due to the fact that the function /1bcdwb/ssf---- is present in development but not in production or quality. so do it like this
DATA: fm_name TYPE rs38l_fnam.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZCREDITOR_ACCOUNT_STATEMENT2'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = fm_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
detail = s_detail
cover = s_cover
date_low = s_budat-low
date_high = s_budat-high
days = s_date
print_date = l_date
auditor = l_aud
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
tables
it_kna1 = it_lfa1
it_spgl = it_spgl
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
before moving from one server to another ........u need to validate u r smartform functionmodule with [ '/'] ..................
reward points helpful...................
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Re-check whether your smartform is active or not.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.