cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

smartforms

Former Member
0 Likes
744

Hi,

Iam new to smartforms. Where can i find step by step process to create smartforms?Or is any one having simple document on smartforms?

Points guraranteed

cheers

kaki

View Entire Topic
Former Member
0 Likes

Hi Kaki,

Steps to create sample Smart Form:

1. Define ur internal table in form interface-> tables.

2. Create page.

3. Create table. Design rows & columns according to ur requirement in table tab.

4. In data tab check loop & pass ur internal table for eg. it into it

5. In table u get header, main area & footer.

6. In header create table line and specify line type in output options. so u get no of columns according to ur table design. In each column create text.

7. In Main area same way create table line and specify line type. Now here u create text in which u have to write &it-belnr& and other fields u want in each column.

Sample Program of Smart Form:

TABLES : mara.

DATA : it LIKE mara OCCURS 0 WITH HEADER LINE.

DATA : fm TYPE rs38l_fnam.

SELECT-OPTIONS : p_matnr FOR mara-matnr.

START-OF-SELECTION.

SELECT * FROM mara INTO TABLE it

WHERE matnr IN p_matnr.

SORT it BY matnr.

IF sy-subrc = 0.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = 'YSDM_INV_COV_LETTER'

IMPORTING

fm_name = fm

EXCEPTIONS

no_form = 1

no_function_module = 2

OTHERS = 3.

CALL FUNCTION fm

TABLES

it = it.

ENDIF.

Regards,

Digesh Panchal