Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Script

Former Member
0 Likes
536

Difference between SAP script and Smartforms?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
510

Smartforms are Purely GUI based .

u can have drag and drop options here.

a FM can be generated when u ativate Smartform

u can have different page formats for different different pages.

where as scripts doesnt support above.

5 REPLIES 5
Read only

Former Member
0 Likes
511

Smartforms are Purely GUI based .

u can have drag and drop options here.

a FM can be generated when u ativate Smartform

u can have different page formats for different different pages.

where as scripts doesnt support above.

Read only

Former Member
0 Likes
510

Hi

The concept of Script and Smartforms is one and the same which are used to create layouts, but in smartforms you will have more options to design the layout than in a script.

Regards

Haritha.

Read only

Former Member
0 Likes
510

Hi

SAP Script

1.Client Dependent

2. Multiple page formatting is not possible

3. 2 Componets(Print program and LAyoutset)

Smartforms:

1.Client Independent.

2. Multiple page formatting is not possible

3. 3 Componets(Print program, Function module and Layoutset)

whenver u activate a smartform it will create a smartforms

some practical differences are :

*One main difference which is

visibility in the report is TABLES

(in sapscript we cannot design MATRIX like tables,

having grid lines,but in smartforms, it is much possible to design tables, having grid lines, color just

like excel table)

a) sapscript requires

- driver program (se38 program)

- layout (se71 layout)

smartforms just require

smartform,

(and a program is just required for selection screen purpose)

b) the logic of printing (ie. sequence, flow) is CONTROLLED BY drier program,in case of sapscript.

where as in smartform, it is inbuilt using TABLES element.

c) In sapscript we cannot write our own logic for printing.

where as in smartform,

we can write our own logic for pritning.(we can even write SELECT Statements, DATA statements,and many program lines + logic to suit our requirements)

2 Which we have to use

If we are copying some standard sapscript,

then we have to go for sapscript only.

We can use both. but practically smartforms is easier to

develop.

For more information on the difference between SAPscript & smarform,

kindly check the following links:

http://www.sap-img.com/smartforms/smartform-sapscripts.htm

hope this helps!

reward ponts if helpfull

-charitha

Read only

Former Member
0 Likes
510

Thanku

Read only

0 Likes
510

HI,

The differences which most of them give are the basic differences found in a book.

As a technical person you should be able to give a more specific diffrence between the two.

That is, the Sapscript is called by the print program, but the control is always shuffling between theprint program and the Form. In short, the control goes to the Form whenever there is a write_form call and returns back to the print program.

In the case of a smartform, once the control goes to the Form, you have no control over the form. The entire form and all pages are printed and then returns to the calling print program.

You can debug a sapscript by executing the standard SAP program RSTXDBUG and in the case of smartforms you can write a break statement in the codelines of the form to debug.

Regards

Subramanian