How to call SMARTFORMS from ABAP/4
When you create the form by SMARTFORMS, system will automatically create the function module for called by ABAP/4. You can get this function module by apply function module "SSF_FUNCTION_MODULE_NAME" and send the form name. This function will return the function name for call SMARTFORMS that you created.
Example
DATA: smf_name TYPE TDSFNAME VALUE ’ZSMARTFORM01’,
fn_name TYPE RS38L_FNAM.
CALL FUNCTION ’SSF_FUNCTION_MODULE_NAME’
EXPORTING
FORMNAME = smf_name
IMPORTING
FM_NAME = fn_name.
CALL FUNCTION fn_name
EXPORTING
WA = wa_doc.
- thitima's blog
- 4716 reads
smartforms
hai , i am new to smartforms
Post new comment