Hi Junaid,
Standard script will help you.
But if you want to create & adjust your own layout.
Then create script from se71.
example : zfif_idbi is the name.
Crete paragraph format, character formats, page, windows, page windows & the remaining things.
Pass this to driver program.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
form = 'ZFIF_idbi'
then
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'TEMPL'
function = 'SET'
window = 'HEADER'
>>
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'INDIA'
function = 'APPEND'
window = 'HEADER'
Then use .
CALL FUNCTION 'CLOSE_FORM'.
Go to webpage,from web link also.you will get help like.
Make First SAP Script step by step - ABAP Development - SCN Wiki
Lastly smart forms is always flexible,but in some cases you have to use script as per finance configuration.
Thanks
Gourav.