Thursday, May 3, 2007

FAQ for Sap Scripts

What is the difference between a script & a report ?

Script is a form which has a layout set as per the company standards and can be used for external use too. Generally reports are designed for internal use for in house users

What are the components/elements in sap script ?
Layout set and Print program and the layout set has windows in it.

Can you create a script with out a main window ?
No

How many main windows can be created for a script ?
99

How can we use tables in sap scripts?
We can access structures and the tables tat are updated during runtime. Else you have to pass the structure values to the table in the print program.

How to print a logo in a sap script?
Upolad in the R3 using Se78 and use the Include statement in the script.

When we need to modify standard scripts (eg:medruck) given by sap?
When the client goes for customization of the form

What is the use of transaction code NACE in sap scripts?

You can track the form and the print program used for that form

What is the table name that will contain all the script form names and print program names?

TNAPR

Can you assign your own form to a standard print program? how?
Yes. thru NACE

What is the use of PROTECT & ENDPROTECT?
Keeps the block of text in the same page.

How to add extra functionality to a standard print program with out touching the print program? Thru subroutine programs

What is sub routine pool in sap script?
when it is used?
Its an Abap prog of type sub routine pool, it is used for calculating certain variables, eg DUE date for an Invoice. You pass the values from the form thru ITCSY structure intot he prgram.

How to read text in sapscripts?
SO10

What is the difference between paragraph & character format?
Self explanatory definition

How to use a sapscript for multiple languages ?
(english, germany etc) Copy the script in each lang or you have an option to click 'TO all Languages'

How to download/upload sapscripts from & to your PC ?
SE78 or RSTXLDMC

What is the difference between scripts & smart forms?
Scripts are client-dependent but SF are client Independent

Sapscripts and abap programs are client dependent or not? Why?
Scripts are client dependent. / Reports are client Independent.

What is the transaction code for logo uploading?
SE78

What is the standard program used for uploading the logo to script?
RSTXLDMC FM to upload image in tiff format.

How can you send forms from one client to other?
SE71, Utilities -> Copy from client...

What does open_form, write_form, close_form do?
Again its self-explanatory

What is the diffrence between open_form and close_form?
open_form is used to open the form/initiate the form. close_form is used to conclude the open_form.

How to convert a sapscript to smart form?
tcode SMARTFORMS, I think its menu Utilities you have an option.. Migrate Scripts to Smartforms.
How to send a smartform result through mail?
I think you have to configure the output type. Not sure..

How to select desired paper size in sapscript?
In Basic settings.

How to print the Page Nos in Forms. Every page I want to print 1 of 10 , 2 of 10 , 3 of 0 ...etc. PAGE &PAGE& OF &SAPSCRIPT-FORMPAGES&

How to debugg a script?
This can done in two ways: In the form Utilities->debugger / RSTXDBUG FM for debugging script

The Procedure for debugging SAP script is: Generally SAP script contains the Layout and corresponding print program. First go to SE71 and enter ur script name. In the same screen go to Utilities->click on activate debugger option. Now go to SE 38 and enter ur Print Program name and execute the program. Now you can debug the script Page wise and window wise.

1 comment:

ciara said...

Earning money online never been this easy and transparent. You would find great tips on how to make that dream amount every month. So go ahead and click here for more details and open floodgates to your online income. All the best.

Free Certification Material