11-25-2009 4:48 AM
Hi,
I have an issue with smartforms.
Smartform A has FM X
Smartform B also has FM X.
Is this possible? We are facing this issue.
11-25-2009 4:59 AM
Hi A$K,
It will not be the case...
I would suggest you to use FM SSF_FUNCTION_MODULE_NAME
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZSDIF_FORM1' " Smartform Name
* VARIANT = ' '
* DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME1 " Runtime FM name will get generated.. you can call it later on..
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3 .
Then
CALL FM_NAME1 "'/1BCDWB/SF00000017'
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
ilesh Nandaniya
11-25-2009 4:57 AM
Hi,
It is not possible. But after creating and activating the smartforms, either the smartform would have corrupted or undergone some modification which would require in generating the function module again.
Try activating the smartform and generate the function module and check.
Thanks
Guru
11-25-2009 4:59 AM
Hi A$K,
It will not be the case...
I would suggest you to use FM SSF_FUNCTION_MODULE_NAME
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZSDIF_FORM1' " Smartform Name
* VARIANT = ' '
* DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME1 " Runtime FM name will get generated.. you can call it later on..
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3 .
Then
CALL FM_NAME1 "'/1BCDWB/SF00000017'
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
ilesh Nandaniya
11-26-2009 1:45 AM
hello...
try this...
DATA: FNAME TYPE RS38L_FNAM.
DATA: GS_SSFCOMPOP TYPE SSFCOMPOP.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZSDIF_FORM1'
IMPORTING
FM_NAME = FNAME.
IF SY-SUBRC EQ 0.
ENDIF.
CALL FUNCTION FNAME
EXPORTING
OUTPUT_OPTIONS = GS_SSFCOMPOP
TABLES
itab = wa_tab
IF SY-SUBRC EQ 0.
ENDIF.
hope this will help...
11-26-2009 2:33 AM
Is there a way to check the versions or transports for smart forms??
11-26-2009 5:26 AM
Hi,
Use the tcode SE03 to get the all the requests related to the smartforms and comapre them.
SE03> Obejct Selection>new entry tick mark, R3TR SSFO & Smartform name--> F8
this will give the list of TRs for the smartforms.
Please mark to close, if solved
Regards,
Aditya
11-26-2009 5:48 AM
11-26-2009 2:52 AM
It is not possible that Same FM is associated with two different smartform.
You can check the FM that is associated with smartform, by menu options.
11-26-2009 4:10 AM
Yes, it cannot be even we were suprised that it did happen. we reactivated the Smartform to make it point to the correct FM.