Skip to Content
avatar image
Former Member

Smartform from class

Hi All,

CAn you please tell me.

How to call a smart form from the class.

Thanks

Ritika

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Sep 24, 2008 at 05:39 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 25, 2008 at 06:12 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 25, 2008 at 07:07 AM

    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

    Add comment
    10|10000 characters needed characters exceeded