Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

smartforms

Former Member
0 Likes
222

hi .

while execute a smartforms, function code is created automatically. is that code wil be called in the some other program.. it is very difficult to remember also. is that anyother description there..

one way is environment -> function module (menu option)..

what is the another way to find a funtion code of the smartfotm...?

thnx.

Ashraf

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
205

Hi,

U can call the smartform in this way:

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = v_formname

IMPORTING

fm_name = v_fmname.

CALL FUNCTION v_fmname

TABLES

i_htab = I_HTAB

i_itab = I_ITAB.

where v_formname is the smartform name u have created

v_fmname is the FM name associated with it.

once u get v_fmname from the FM SSF_FUNCTION_MODULE_NAME, then u can call that FM associated with smartform and pass the tables required by your smartform.

regards

Navneeth.K

1 REPLY 1
Read only

Former Member
0 Likes
206

Hi,

U can call the smartform in this way:

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = v_formname

IMPORTING

fm_name = v_fmname.

CALL FUNCTION v_fmname

TABLES

i_htab = I_HTAB

i_itab = I_ITAB.

where v_formname is the smartform name u have created

v_fmname is the FM name associated with it.

once u get v_fmname from the FM SSF_FUNCTION_MODULE_NAME, then u can call that FM associated with smartform and pass the tables required by your smartform.

regards

Navneeth.K