10-09-2006 7:30 AM
hi all sap gurus,
i am working on sap-abap from last four months, i am quit new to it. now i am working on smart forms. can anybody help in understanding smartforms in a better way(any documents).
questions:
1. What is the difference between sap-script and smart forms.
2. Can we upgrade a sap-script into a smart form.
3. can we connect a smart form to different output devices. if yes then how?.
please send me some documentation helpful for me to understand smart form.
Thanks in advance.
regards,
vamsi
10-09-2006 7:31 AM
hi Vamshi,
SAPscript technology is based on a mainframe product from the 1980s, while Smart Forms have only been around since (roughly) 2001. With that sort of time gap, there are bound to be significant differences between the two tools. client dependence is a fundamental one. Although SAPscript has had some incremental improvements over time, its forms have always been -- under the hood -- relatively ...
10-09-2006 7:32 AM
10-09-2006 7:48 AM
Hi Vamsi,
1. The main difference b/w the SAP Script is the client dependency.SAP Script is not client independent whereas SMARTFORMS is client dependent.Whenever a SMARTFORM is activated it creates a Function module on that particular client.
2.Please read the Migration from SAP Script to SMARTFORM in the link
3. Yes , you can connect a smartform to different output devices .
Use - this function
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
layout = 'X_65_132'
line_count = 65
line_size = 132
IMPORTING
out_parameters = gt_pripar
out_archive_parameters = gt_arcpar
valid = val
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
10-09-2006 8:08 AM
hi vamsi,
differnces between scripts and smartforms as follows.
1.scripts are client depenedant and smartforms are cilent independant.
2.after activating the smart form u get the function module,where as in script no function module is generated.
3.navigation between print program and form is only once in smartform,where as in script it is more than once.
4.box command in scripts and in smart forms it is achived by lines.
5.multiple page formats are possible in smartforms but in scripts it is not possible.
6.we can create up to 99 main windows in scripts but in smart form only one main window is possible.