on 04-10-2008 7:31 AM
Hi,
Its very urgent,we are working on SAP R/3 4.7EE...we have an issues....
"FM of smart form is not getting transported to Test environment"...
we have created a smart form and moved the transport to Test envoronment...untill and unless smartform is executed(Pressing F8) in the test environment it is not being observed in the test environment....
and the generated FM observed in Dev environment is different from the one that generated in test environment...
as we can not do the same in all the environments...
please guide us how to move the FM generated in dev environment along with the Smartform...
any pointers towards this are valuable....
Thanks in advance,
Vishnu.
in ur driver pgm. try doin the following:
Data: g_fname type rs38l_fnam.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZFIF002'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = g_fname
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 g_fname" '/1BCDWB/SF00000029'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
WA_BKPF = WA_BKPF
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
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.
regards,
pk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Get the function module generated by the smartform in a variable and pass that variable...
Example
DATA : wrk_funcmodu TYPE rs38l_fnam.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = wrk_formname SMARTFORM NAME
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
fm_name = wrk_funcmodu FN. MODULE GENERATED BY THE SMARTFORM
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 wrk_funcmodu
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = st_cntrl
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = st_outopt_info
USER_SETTINGS = 'X'
.
.
.
.
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
1.Smartform is clinent independent.
2.So, once move the smartform into quality, then activate the smartforms in that.Then function module generate.
ok..
Regards,
If helpful reward with points(Don't forget).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
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.