Smart Form in Detail
Smart Form in Detail
SAP Systems. The output medium for Smartforms support printer, fax, e-mail, or the
Internet (by using the generated XML output).
According to SAP, you need neither have any programming knowledge nor use a Script
language to adapt standard forms. However, basic ABAP programming skills are
required only in special cases (for example, to call a function module you created or for
complex and extensive conditions).
First Page -> Header Window (Cursor at First Page then click Edit ->
Node -> Create)
Here, you can specify your title and page numbering
&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total
Page)
Main windows -> TABLE -> DATA
In the Loop section, tick Internal table and fill in
ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
REPORT ZSMARTFORM.
TABLES: MKPF.
ENDSELECT.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.