on 09-24-2008 5:42 PM
Hi All,
CAn you please tell me.
How to call a smart form from the class.
Thanks
Ritika
Hi Ritika,
When a smartform is generated and executed there is a function module generated by system which can
be used to call the smartform in a program.. So if you want class.. then implement the functionality of that
in a function module... so implement the functionality of SSF_FUNCTION_MODULE_NAME which gets the
smartform name in a class and then use that class in presence of the function module and then use the
function module which calls the smartform and implement the functionality of
CALL FUNCTION <smartform name> which is generated by the system..
This completes your task calling a Smartform from classes.
In general we don't consider everything to be done using classes and if this Smartform related should be
done using classes then one has to implement the functionality of function modules in the classes.
Hope this would help you.
Good luck
Narin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ritika,
When you create a smartform a function module is automatically genrated you can call it anywhere in ur class.Please get back in case of any queries
Regards
Lalit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
every smartform has its own function module generated. The name of this function module can be retrieved from another function module. When you know this smartform function module you can call it from virtually 'everywhere'.
Use this FM to retrieve the name of the function module generated by the smartform.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.