on ‎2005 Dec 12 3:36 AM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.