‎2006 Jun 02 7:17 AM
Hi
I have a smartform in DEV(Box A). It works fine. I trasnsported it to PROD(Box B). It appears as Active state in PROD. But there is no Function module generated for this smartform. As a result my program dumps in PROD.
I am running it on 4.6C Release.
Any suggestions ?
Murali.
‎2006 Jun 02 7:21 AM
Hi muralidaran,
1. The FM generated in PRD
may have a different name,
as compared to DEV and production.
2. use the FM
SSF_FUNCTION_MODULE_NAME
to get the related FM name.
3. Then call the FM
using the variable
CALL FUNCTION fmname
regards,
amit m.
‎2006 Jun 02 7:21 AM
Hi muralidaran,
1. The FM generated in PRD
may have a different name,
as compared to DEV and production.
2. use the FM
SSF_FUNCTION_MODULE_NAME
to get the related FM name.
3. Then call the FM
using the variable
CALL FUNCTION fmname
regards,
amit m.
‎2006 Jun 02 7:24 AM
Hi
I have an issue in Transporting. I am using SSF_FUNCTION_MODULE_NAME and i am aware of the fact that FM name are specific to the System in which they are created.
Murali.
‎2006 Jun 02 7:25 AM
use fm....like this not genrated fm may be diffrent in prd..
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = g_form
IMPORTING
fm_name = g_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
CALL FUNCTION g_fm_name
EXPORTING
control_parameters = g_control
output_options = g_output
user_settings = ' '
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
‎2006 Jun 02 7:28 AM
Hi kishan negi
I have called the SmartForm the same way as you have mentioned it. Problem is Function Module itself is not generated in PROD Box after a successful Transport.
Murali
‎2006 Jun 02 7:28 AM
Hi again,
1. In that case, just open the
Smartform in PRD server.
2. ENVIRONMENT -
> FUNCTION MODULE NAME
3. Just check, which FM name it is giving !
4. U may also ACTIVATE it once again , in PRD.
(it might happen that after transportation,
the smartform may not have got activated
properly.)
regards,
amit m.
‎2006 Jun 02 7:35 AM
Hi
I dont find any Function Module name under ENVIRONMENT -
> FUNCTION MODULE NAME. The status of Smartform is Active. Is this is problem with 4.6C Version. I have lot of smartforms. Now should i get into all these smartforms and again try activating each of them, so that the FM get generated.
Isn't there any other way of doing it as i do not have Modify permissions in PRD.So i believe i may not be able to activate it myself in PRD.
Murali.
‎2006 Jun 02 7:36 AM
Hi
The fm of sf isn't generated while trasporting, but when a print is done by that sf for the first time.
So that behavior is very strange, try to check and/or generate it by smartforms trx in PROD enviroment.
Max
‎2006 Jun 02 7:38 AM
Hi again,
1. I dont find any Function Module name under ENVIRONMENT -
> FUNCTION MODULE NAME
Click on
FUNCTION MODULE NAME
and it will give a pop-up window
displaying the FM name.
2. If its not there,
then u can do 3 things :
a) in prd server, activate the smart form again.
(this will generate the FM)
b) try to transport a new request,
for the same smartform.
c) ask basis team to check the LOG
of this transport request.
(whether any error / warning was there in the
transport log)
From this log, if any warning/error is there,
then we can come to know, that there is some problem.
regards,
amit m.
‎2006 Jun 02 7:42 AM