why scripts are client dependent and smart forms are client
independent.?
Answer Posted / sameera
To output documents using the programming interface, R/3
application programs makes use of scripts or smart forms.
By design sap script is a word processing tool which
displays data on the form with the help of text elements
where the logic of those is written in the print program and
Forms were designed to be driven from print program, hence
are often termed as client dependent. Smart forms are client
independent. Bcoz it doesn’t use any text elements. it will
be executed through a function module. When a print program
calls a Smart Form, the form itself takes over to produce
output, without any further direction from print program.
Steps for creation
Creation of Script
Print program will determine the output document, the areas
values, and the frequency of the output. The database access
will be made in the print program which will insert them in
the corresponding fields of the form. Script needs direction
from the print program to print output.
Scripts uses layout set that describes the layout of the
individual print pages and uses text elements to supply
definable output blocks, which a print program can call.
Creation of smart form
Ø Design the form
Ø Form Activation which returns Function module
Ø Application program for data retrieval & calling
Smart form.
Application program calls the function module, the Smart
Form uses the modules interface (which corresponds to the
form interface) to transfer any table data previously
selected and to print the form according to the form
description. In addition form can have additional data
selections.
Further when you downloaded a script with the sap utility
program RSTXSCRP,
You can see a script has repeated transfer of control SAP
script texts are usually allocated to an object from an SAP
application. For example, there are texts on customers,
vendors, and materials, whose data is client dependent and
whereas smart forms uses call to the function module only
once and all form processing is handled using the Function
module.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are control tables? : abap data dictionary
What is repository info. Systems?
Which infotype records can not be deleted ? : abap hr
how to combine the transparent table with cluster table.
Power is interrupted while transferring data from internal table to application server. How will you determine many records are transferred in session method and call transaction method? : abap bdc
what is the difference between Blocked ALV and interactive ALV?
Which bdc you prefer? : abap bdc
What are the uses of the information in the data dictionary? : abap data dictionary
Explain the types of bdc's?
What are the various types of selection screen event?
How do you find the tables to report from when the user just tell you the transaction he uses? And all the underlying data is from SAP structures?
Explain the advantages of logical databases?
Explain the Inportance of pa30? : abap hr
Can there be more than 1 main window in sap script?
What are the dynapro keywords?