Vous êtes sur la page 1sur 18

SAPSCRIPTS S

[2014]

SAP SCRIPTS
Steps to create Sample Script Form
Step1 : Create a Page1. Step2 : Create the windows. Step3 : Create a Page windows. Step4 : Create Paragraph For ats. Step! : Create a Te"t #$e ent in %ain &indow 'or disp$a(ing so e te"t. Step) : Create address window and pass address n* +er. Step, : Create a -ogo and disp$a( it in s.ript. Step/: Create a Tit$e and disp$a( it *sing Paragraph For at Step0: Create a Standard Te"t and disp$a( it in %ain window

Detailed Steps:
1. 1oto Se,1231i4e 'or na e 23567SA%P-# 23.reate. 2. gi4e %eaning23.$i.8 on 9ASIC settings 3. Se$e.t page 'or at :$ands.ape23gi4e page 'or at as ;I<A423Se$e.t Portrait For at Step1 : Create a Page1. C$i.8 on PA1#S23#;IT23CRAT# #-#%#<T23gi4e page as page1 and eaning as page12331i4e <e"t Page as Page1 Step2 : Create the windows. .$i.8 on &I<;=&S>+( de'a*$t? ain window wi$$ +e added@ .$i.8 on #;IT23.reate e$e ent23gi4e window na e as TIT-# and tit$e. Repeat the sa e step and add the +e$ow windows.

eaning as

CR#AT#; 9A P.6.S PBA<I CD%AR

SAPSCRIPTS S

[2014]

Step3 : Create a Page windows. C$i.8 on Page windows23 #;IT23CRAT# #-#%#<T23;o*+$e .$i.8 on ea.h window so that the window wo*$d +e added to the page. 1i4e the appropriate height? width? $e't:right argin as +e$ow 'or ea.h window

CR#AT#; 9A P.6.S PBA<I CD%AR

SAPSCRIPTS S

[2014]

Step : Create Paragraph Formats. C$i.8 on paragraph For ats23#dit23Create #$e ent23gi4e na e as T- and des. as Tit$e C$i.8 on Font23gi4e 'ont 'a i$( as C=DRI#R and Font SiEe as 1) pts 23Se$e.t 9o$d Repeat Sa e and .reate another paragraph For at +( na e <T with des. as <or a$ te"t 3 CR#AT#; 9A P.6.S PBA<I CD%AR

SAPSCRIPTS S
C$i.8 on Font23gi4e 'ont 'a i$( as C=DRI#R and Font SiEe as 12 pts .

[2014]

CR#AT#; 9A P.6.S PBA<I CD%AR

SAPSCRIPTS S

[2014]

Step! : Create a Te"t #lement in $ain %indow &or displa'ing some te"t. 1oto23Pagewindows23;o*+$e .$i.8 on ain window and .$i.8 on te"teditor2 3write the +e$ow .ode.

CR#AT#; 9A P.6.S PBA<I CD%AR

SAPSCRIPTS S

[2014]

Step( : Create address window and pass address n)m*er. 1oto23Pagewindows23;o*+$e .$i.8 on ADDR#SS window and .$i.8 on te"teditor23write the +e$ow .ode.

CR#AT#; 9A P.6.S PBA<I CD%AR

SAPSCRIPTS S

[2014]

CR#AT#; 9A P.6.S PBA<I CD%AR

SAPSCRIPTS S +P,-ADI./ ,-/- I.T- SAP T0R-+/0 S#12


Step1 : Create a ,ogo and displa' it in script.

[2014]

GotoSE78->Expand Graphics->double click on BMP Images-> lick on Import Button a!ailable at "op #e$t orner->Select the $ile b% click on &' button->gi!e name( desc(select color bitmap image Press enter->"he #ogo is sa!ed into S)P*

CR#AT#; 9A P.6.S PBA<I CD%AR

SAPSCRIPTS S

[2014]

C$i.8 on Print Pre4iew23 .he.8 +e$ow

CR#AT#; 9A P.6.S PBA<I CD%AR

SAPSCRIPTS S

[2014]

1oto23Pagewindows23;o*+$e .$i.8 on ,-/- window and .$i.8 on te"teditor23write the +e$ow .ode or C$i.8 on I<S#RT231RAPBICS23Se$e.t Stored on ;o.* ent Ser4er231i4e <a e FARGD<F>I age na e Dp$oaded thro*gh S#,/@23 1i4e o+He.t : /RAP0ICS I; : 9%AP Se$e.t .o$or 9it ap I age23Press Contin*e23the 9e$ow s(nta" wi$$ .o e A*to ati.a$$(

10

CR#AT#; 9A P.6.S PBA<I CD%AR

SAPSCRIPTS S
9IT%AP FARGD<F =9G#CT 1RAPBICS I; 9%AP TAP# C=-

[2014]

Step2: Create a Title and displa' it )sing Paragraph Format 11 CR#AT#; 9A P.6.S PBA<I CD%AR

SAPSCRIPTS S

[2014]

1oto23Pagewindows23;o*+$e .$i.8 on TIT,# window and .$i.8 on te"teditor23write the +e$ow .ode

Fina$$(? -ets Re2arrange a$$ the window positions again +( going to 1raphi.a$ For Painer. C$i.8 on S#TTI<1S23F=R% PAI<T#R23Se$e.t .he.8+o" 1raphi.a$ For Painter The 'or sho*$d $oo8 as +e$ow. I' not arrange a$$ the windows as +e$ow +( dragging and dropping.

12

CR#AT#; 9A P.6.S PBA<I CD%AR

SAPSCRIPTS S

[2014]

13

CR#AT#; 9A P.6.S PBA<I CD%AR

SAPSCRIPTS S

[2014]

C$i.8 on 9asi. Setings23 gi4e First Page As PA1#1 and de'a*$t Paragraph For at As <T><or a$ Te"t@

14

CR#AT#; 9A P.6.S PBA<I CD%AR

SAPSCRIPTS S
Sa4e23a.ti4ate the 'or . &rite the ;ri4er Progra as +e$ow :

[2014]

*&--------------------------------------------------------------------* *& Report ZV_PO_DRIVER *& *&--------------------------------------------------------------------* *& *& *&--------------------------------------------------------------------* REPORT zv_sample_driver. DATA : V_ADDR TYPE ADRC-ADDRNUMBER . PARAMETERS : P_ADDR TYPE ADRC-ADDRNUMBER V_ADDR P_ADDR . .

CA!! "UNCT#ON $OPEN_"ORM$ E%PORT#N& '(rm $)V_SAMP!E$ la*+,a+e s--la*+,. CA!! "UNCT#ON $.R#TE_"ORM$ E%PORT#N& eleme*/ $BODY$ 0i*d(0 $MA#N$. CA!! "UNCT#ON $C!OSE_"ORM$ .

1!

CR#AT#; 9A P.6.S PBA<I CD%AR

SAPSCRIPTS S

[2014]

The o*tp*t wo*$d +e as 9e$ow :

1)

CR#AT#; 9A P.6.S PBA<I CD%AR

SAPSCRIPTS S

[2014]

Step3: Create a Standard Te"t and displa' it in $ain window


Dsing Standard Te"t in S.ripts. 1oto S=10. 1i4e a Te"t<a e : 5ARGD< C$i.8 on Create

&rite the 9e$ow te"t

Sa4e it C$i.8 on 9a.8 C$i.8 on Print Pre4iew I.on

9e$ow is the o*tp*t

<ow? 1oto %ain window C$i.8 on I<S#RT23T#IT23STA<;AR;

1,

CR#AT#; 9A P.6.S PBA<I CD%AR

SAPSCRIPTS S

[2014]

A pop*p is raised 1I4e the te"t na e as 5ARGD<

Press enter The +e$ow .ode wi$$ +e generated

Sa4e it A.ti4ate it Test it

+pload images )sing a standard Program RST4,D$C


&e .an a$so *p$oad i ages *sing a standard Progra P$ease 'o$$ow the 9e$ow Steps. RSTI-;%C.

+* &irst sa!e the $ile as BMP ,* -pen the BMP $ile in IMaging .Goto -> Programs -> )ccessories -> Imaging/ and make it 0oom as +112 and sa!e as 3*"I&& 4* -pen SE48 and execute program 5S"6#7M '* Gi!e %our "I&& $ile path name 8* Select Bcol .$or olor/ 9* "E6" I7 :ill be 0;E6-M) 5--3* 7* Inplace o$ 3 :rite %our o:n logo name .0 -MP)<=#-G-/ 8* Execute the program >* <o: Goto SE7+ create %our 0&-5M +1* reate logo :indo: ++* Goto text element o$ logo :indo: and :rite the belo: code* ?@ I< #A7E 0B=-A5B#-G- -BCE " "E6" I7 S" #)<GA)GE E<

1/

CR#AT#; 9A P.6.S PBA<I CD%AR

Vous aimerez peut-être aussi