on 12-10-2007 2:09 PM
Hi all,
can anyone send a sample script program.
Thanks in advance,
Regards
Reddy R
Hi Reddy,
First create the SapScript Layout using Tcode:SE71 and name it as 'z_testing1',then create a page called 'PAGE1', create a main window 'MAIN', create a Paragraph called 'A' and use the below code in the Text Element of the Main Window and activate.
/E MAIN
A &NAME&
A &DESIGNA&
A &SIGNATU&
Now, create the Print Program 'zprg' using Tcode:SE38 like the below.
Report zprg no standard page heading.
selection-screen begin of block b1.
parameters : name(20) type c,
designa(20) type c,
signatu(20) type c.
selection-screen end of block b1.
start-of-selection.
call function 'OPEN_FORM'
exporting
form = 'Z_TESTING1'
language = sy-langu.
call function 'START_FORM'
exporting
form = 'Z_TESTING1'
language = 'E'
startpage = 'PAGE1' .
call function 'WRITE_FORM'
exporting
element = 'MAIN'
type = 'BODY'
window = 'MAIN' .
call function 'END_FORM' .
call function 'CLOSE_FORM'.
Then save and activate. Now execute this, and enter the required in the selection screen and execute. The values you entered will be shown in the Sapscript.
Hope this helps.
Thanks,
Srinivasa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
good
go through this link,hope this would help you to solve your problem
thanks
mrutyun^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.