cancel
Showing results for 
Search instead for 
Did you mean: 

scripts and smarts forms

Former Member
0 Kudos

please give me basic steps for scripts and smarts forms

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Shiva Kumar,

Following are the differences :-

a) Multiple page formats are possible in smartforms which is not the case in SAPScripts

(like For the same form u can have one page with Landscape orientation and 2nd page with portrait orientation which is not available with scripts...)

b) It is possible to have a smartform without a main window.

c) Labels cannot be created in smartforms.

d) Routines can be written in smartforms tool.

e) Smartforms generates a function module when activated.

( Here u need to use the function module (thats been generated when u have activated the smart form) to call the smart form in your print program )

f) Here u can give colors to windows , texts , window edges .... which is not possible with scripts !!!

g) Unlike sapscripts (RSTXSCRP), you cannot upload/download Smartform to your local harddisk.

It was said that it was provided in CRM 3.0 version, but not available in R/3. You can download smartforms into Local PC in a XML format. In the same way you can upload this XML format into Smartform. From the smartform editor itself you can call download option, if you are working in CRM 3.0 environment.

In R3 also, you can download into XML format. However, it's not sure about uploading. Refer to the program 'SF_XSF_DEMO'.

In 4.7 Enterprise, other have seen this utlity which is completey missing in 4.6c. There is functionality to downlaod a complete form or only a particular node. (Utilities -> Download form). It will create a XML file

h) The most important one is these smart forms are CLIENT INDEPENDENT

In Simple,

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 resolves your query.

Reward all the helpful answers.

Regards

Former Member
0 Kudos

smartforms

-


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

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501...

https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-001...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501...

http://www.sap-basis-abap.com/sapsf001.htm

http://www.sap-press.com/downloads/h955_preview.pdf

http://www.ossincorp.com/Black_Box/Black_Box_2.htm

http://www.sap-img.com/smartforms/sap-smart-forms.htm

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

http://www.sapgenie.com/abap/smartforms.htm

https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-001...

http://www.sapgenie.com/abap/smartforms_detail.htm

http://help.sap.com/saphelp_46c/helpdata/en/9b/e3b0d9c2a711d3b558006094192fe3/frameset.htm

http://help.sap.com/saphelp_46c/helpdata/en/9b/e3b0dcc2a711d3b558006094192fe3/frameset.htm

check most imp link

http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html

step by step good ex link is....

http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.h...

Check these step-by-step links

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501...

https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-001...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501...

for Smartforms material

http://www.sap-basis-abap.com/sapsf001.htm

http://www.sap-press.com/downloads/h955_preview.pdf

http://www.ossincorp.com/Black_Box/Black_Box_2.htm

http://www.sap-img.com/smartforms/sap-smart-forms.htm

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

http://www.sapgenie.com/abap/smartforms.htm

How to trace smartform

http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm

http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF

http://www.sap-img.com/smartforms/smart-006.htm

http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm

SCRIPTS..

http://www.henrikfrank.dk/abapuk.html

http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf

http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf

http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf

http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf

http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf

http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-sub...

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

http://sappoint.com/abap/

http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm

http://help.sap.com/saphelp_crm40/helpdata/en/16/c832857cc111d686e0000086568e5f/content.htm

http://www.sap-basis-abap.com/sapabap01.htm

http://searchsap.techtarget.com/tip/1,289483,sid21_gci943419,00.html

http://sap.ittoolbox.com/topics/t.asp?t=303&p=452&h2=452&h1=303

http://www.sapgenie.com/phpBB2/viewtopic.php?t=14007&sid=09eec5147a0dbeee1b5edd21af8ebc6a

SMARTFORMS

http://www.sap-basis-abap.com/sapsf001.htm

http://www.sap-press.com/downloads/h955_preview.pdf

http://www.ossincorp.com/Black_Box/Black_Box_2.htm

http://www.sap-img.com/smartforms/sap-smart-forms.htm

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

http://www.sapgenie.com/abap/smartforms.htm

Former Member
0 Kudos

Hi Shiva,

In scripts:

First copy the standard script into your own Z script by using copy from client.

Now modify that script according to your requirement by using SE71.

Now find out the print program by using TNAPR table.

Modify program according to your requirement.

Assign your program and script by using NACE t-code.

Test the script whether your changes are working properly or not.

Smartforms:

Open the smartforms with t-code SMARTFORMS.

Define entire windows and logic.

Activate it. After activation one FM will be generated.

Prepare program for the correspondent smart form.

Test that smartforom.

Hope this helps you, reply for queries, Shall post you the updates.

Regards.

Kumar