Wednesday, August 1, 2007

Sap Scripts and Smart Forms

1

Tcode for SAP SCRIPTS

SE71

2.

What are the components of scripts?

a. Pages

b. Windows

c. Page Windows

d. Character and paragraph format

e. Header and basic settings

3.

Where can we design styles for sap scripts?

In SE72

4.

What is the most important componenets in sap script?

A script cannot run without a main window.

5.

What are the types of windows?

a. Main

b. Variable

c. Constant

d. Graph.

6.

How many main windows can exist in a script?

Max of 100, 00 to 99.

7.

Can we write code in script?

Yes we can.

8.

How do we call an external subroutine in scripts?

Use syntax 
In script
/: PERFORM <form> IN PROGRAM <prog>
/: USING &INVAR1&
/: USING &INVAR2&
......
/: CHANGING &OUTVAR1&
/: CHANGING &OUTVAR2&
......
/: ENDPERFORM
 
And in program 
 
FORM <form> TABLES IN_TAB STRUCTURE ITCSY
OUT_TAB STRUCTURE ITCSY.
...
ENDFORM.
 

9.

What are symbols in sap scripts?

They are the places holders for values.

10

What are different types of symbols?

a. Standard

b. System

c. Program

d. Text

11.

Where do we define a standard symbol?

In SO10.

12

Name some system symbols.

Date/Time/Pageno etc

13

How do we call a script from program?

Use the following FM

OPEN_FORM

WRITE_FORM

CLOSE_FORM

14

Can we modify a standard script?

Yes copy the standard script in to Z and make the changes.

15

Can we migrate a script to smart form ? How?

Yes , just go to smartforms and there is a option of migrate from scripts.

16

Where do we maintain the relation between script and print program?

In TCode NACE





Smart Forms



1.

What is the Tcode for smart forms

SMARTFORMS

2.

Where do we design styles?

In SMARTSTYLES

3.

Is it mandatory for a smartform to have a main window?

No

4.

How do we execute a smartforms?

It creates a FM when activated ,just use this FM as normal we use in the program and pass the parameters to it.



Difference between asmartform and script


Sap script

Smartforms

1. Is client dependents

1. Is client Independents

2. Main window is must

2. Main window is optional

3. Coding layout and design is complex

3. It very easy as compared to scripts

4. Data is not maintained in tree format

4. Data is maintained in tree format

5. Debugging is very tedious

5. Debugging is very easy

6. Does not generate a FM

6. Does generate a FM

7. Can be migrated to smartform

7. Cannot be migrated to scripts

16 comments:

Anonymous said...

This is really interesting, You are a very skilled blogger.
I have joined your feed and look forward to searching for extra of
your wonderful post. Also, I've shared your web site in my social networks

My web page: see more
Also see my website :: http://teengangbangs.net

Anonymous said...

certainly like your web-site but you need to take a look at the spelling on quite a few of your posts.
Several of them are rife with spelling issues and I to find
it very bothersome to tell the reality then again I'll definitely come again again.

Here is my homepage :: the sex videos

Anonymous said...

I like it when individuals come together and share views.
Great website, keep it up!

Also visit my blog post :: View Web Page

Anonymous said...

Greetings! I know this is kinda off topic but I was wondering
if you knew where I could get a captcha plugin for my comment form?
I'm using the same blog platform as yours and I'm having problems finding one?
Thanks a lot!

Here is my weblog; link

Anonymous said...

It's hard to find educated people in this particular topic, but you seem like you know what you're talking about!
Thanks

Stop by my weblog; click here

Anonymous said...

I'm gone to say to my little brother, that he should also visit this blog on regular basis to take updated from latest information.

Review my website :: yulianna day spa 2

Anonymous said...

Wonderful blog! I found it while surfing around on
Yahoo News. Do you have any tips on how to get listed in
Yahoo News? I've been trying for a while but I never seem to get there! Appreciate it

Feel free to surf to my web site: Homepage

Anonymous said...

Thank you a lot for sharing this with all folks you actually know what you're talking about! Bookmarked. Please additionally consult with my website =). We may have a link trade agreement between us

Also visit my web-site: http://www.goldbut.com

Anonymous said...

Howdy, I do believe your site might be having internet browser compatibility problems.
Whenever I look at your website in Safari, it looks fine however, when opening in IE,
it has some overlapping issues. I just wanted to give you a
quick heads up! Apart from that, great site!

Here is my web-site ... at sex videos

Anonymous said...

I'm now not sure where you are getting your info, however good topic. I needs to spend some time studying more or figuring out more. Thank you for great information I was searching for this info for my mission.

Look at my blog: Email

Anonymous said...

You actually make it seem so easy with your presentation but I find this topic to be actually something that I think I would never understand.
It seems too complex and extremely broad for me.
I am looking forward for your next post, I will try to get the hang of it!



My homepage :: http://pornharvest.com/index.php?m=2526588

Anonymous said...

Hello it's me, I am also visiting this website on a regular basis, this web page is in fact fastidious and the viewers are genuinely sharing good thoughts.

Here is my web site ... see it here

Anonymous said...

Wow! After all I got a web site from where I be able to really obtain valuable facts concerning my
study and knowledge.

Also visit my page :: Pigtailed brunette undressing

Anonymous said...

Excellent article. I'm dealing with a few of these issues as well..

Here is my blog Strona WWW

Anonymous said...

Pretty component to content. I just stumbled upon your weblog and in accession capital to assert that I get
actually loved account your blog posts. Any way I'll be subscribing in your feeds or even I success you access consistently fast.

Check out my homepage :: a nudes

Anonymous said...

smokeless cigarettes, e cig forum, electronic cigarettes, electronic cigarettes, electronic cigarette, e cigarette health