Skip to Content
0
Former Member
Dec 02, 2008 at 11:01 AM

regarding smartforms

21 Views

Moved to correct forum by moderator. Please use a meaningful subject in future

hi gurus,

i hv 2 doubts.

1st is as below after calling fn module 'SSF_FUNCTION_MODULE_NAME',how to call second fn module(fm_name).becasuse this fn module is defined by us ,so how to call f(m_name)

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = 'ZSAN_INVOICE'

IMPORTING

fm_name = fm_name

EXCEPTIONS

no_form = 1

no_function_module = 2

OTHERS = 3.

IF sy-subrc <> 0.

2nd doubt

why we have to create table type and then define it in import parameter of form interface

like in standard form ex SM_EXAMPLE_01.

below is code of SM_EXAMPLE_01

data: customer type scustom,

bookings type ty_bookings,

connections type ty_connections.

here for bookings and connections we have to create table type.then in import parameter of form interface we hv defined it. why to do this,and what is use of table type,can't we simply define table in table parameter of iform interface.

Edited by: Matt on Dec 2, 2008 2:20 PM