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


Please Help Members By Posting Answers For Below Questions

Explain what is a logical database?

600


What is the significance of delivery class? : abap data dictionary

572


What is design pattern? Provide example .Why are we using it?

987


What is roll area?

568


What is the max no of match code id’s that can be defined for one match code object?

683






What is a transaction variant and why are they used?

543


What are multiple use BADIS?

994


What is hotspot?

925


How to upload more than 2GB file from External Source to SAP?

856


What are the Synchronous and asynchronous methods in bdc ?

610


What are the restrictions on subscreens?

644


In se11 -->Tech. settings --> Data class. If I save table as Mater data OR Transaction data, what effect will it has for 'Storage' in Database after activation. or In Database how it will store in both the cases.

2113


What is the t-code for transaction recorder? : abap bdc

597


What are the user interfaces of interactive lists?

551


Define batch input session?

581