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
There is a situation where there is a field "MATERIAL DESCRIPTION" in say 20 display only transaction. You want that whenever user opens any of these transaction, this particular field is masked with ****. But table does not holds ****. It holds the actual value. What are different ways of doing it? Which is the best way.
send coding to write a program to create customer quotation using BAPI 'BAPI_QUOTATION_CREATEFROMDATA2/BAPI_QUOTATION_CREATEFR OMDATA'
When is the top-of-page event triggered? : abap data dictionary
What are the types of data types in the sap abap?
How to find the return code of a statement in abap programs?
What is the use of dequeue function module? : sap abap data dictionary
What are the different types of laws. What are they?
difference between Valuation type and valuation category?
how to Create a smart form related to gate pass to be submitted to vendor’s location. This form outputs document number, date, vendors name, address, material details, quantity, unit,and the company logo.
wht is the diff. b/n initialization and lotus of event
What are the two methods for modifying sap standard tables?
Where the payroll results are stored
What is meant by hotspots?
Application Category?
What is screen flow logic? What are the sections in it?