‎2007 Oct 25 3:49 PM
Hi all
How can we use standard smart forms, and once the changes are done, how can we execute it.
regards
AJ
‎2007 Oct 25 3:51 PM
Go to the transaction SMARTFORMS.
Give the standard source form name
Click the copy button on the application toolbar
This will give a popup, which asks for target form.
change it and execute normally.
after activating your smart form in menu environment select function module name you will get a name like
/1BCDWB/SF00000087 which is the name of function module generated for your form
copy paste this name in tcode se37 you can check for lay out you have created.
normally this is called in your driver program , a report where you write all the business logic & pass data in a table or parameter which you display using smart form.
so genrally create a driver program for your requirements call the smart form using call function '/1BCDWB/SF00000087' or use
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZSMART_FORM1'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
.
pass name of your smart form to this function & a parameter fm_name.
then use CALL FUNCTION FM_NAME
EXPORTING
ARCHIVE_INDEX =
‎2007 Oct 25 3:57 PM
Hi Vasu
I have copied the form , activated it and excuted it, but if I want to fetch the data and execute it, what I need to do.
‎2007 Oct 25 3:54 PM
Hi AJ,
Genearally standard smartforms assigned in some transactions like NACE and you can assign smartforms and its Driver program there. SO when you copy the Smartform and made changes to it then again assign in the same transaction modifying the smartform. Then it will work as it as.
Thanks
Lincon
‎2007 Oct 25 4:12 PM
Hi,
You can go to transaction SE37 to execute the Smartform function module by fecthing the data (import parameter).
Regards,
Ferry Lianto