on 10-13-2007 6:30 AM
Please i want one sample with steps to create a sap script .
girish
Hello,
Nothing can be so easy to understand to make sap script than this..
http://wiki.scn.sap.com/wiki/display/ABAP/My+first+SAP+Script+step+by+step
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Girish,
go to se71->first u create the form.
there from PAGES AND WINDOWS OPTION , PLACE THE CONTROL ON MAIN WINDOW->EDIT->TEXT ELMENTS.
GOTO->CHANGE EDITOR
THERE GIVE FOLLOWING.
/E ELE1
&ITAB-VBELN&
&ITAB-ERDAT&
&ITAB-NETWR&.
F3->SAVE AND ACTIVATE
AND IN THE PRINT PROGRAM
EXECUTE THE FOLLOWING CODE
REPORT ZUSC.
tables:vbak.
parametrs:ordno for vbak-vbeln.
data:begin of itab occurs 0,
vbeln like vbak-vbeln,
erdat like vbak-erdat,
netwr like vbak-netwr,
end of itab.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
FORM = 'form name '
LANGUAGE = SY-LANGU.
select vbeln erdat netwr from vbak into table itab where vben = ordno.
loop at itab.
CALL FUNCTION 'START_FORM'
EXPORTING
FORM = ' ' "GIVE U R FORM NAME ,LANGUAGE,START PAGE
LANGUAGE = ' '
STARTPAGE = ' '.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ele1 ' (this one u have to give in mainwindow->edit->text elements)
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ELE1 '
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'.
CALL FUNCTION 'END_FORM'.
ENDLOOP.
CALL FUNCTION 'CLOSE_FORM'.
save,activate and execute
I think it will useful for u.
Reward points if useful.
Thanks,
Usha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check out the links for SCRIPTS
http://wiki.ittoolbox.com/index.php/Sap_script#7.6.7.09Space_Compression
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://www.sap-img.com/sapscripts.htm
http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
This is very good and helpful
Link for SAP Scripts (step by step procedure)
<b>http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Create_A_SAPSCRIPT_Form/How_to_Create_SAPSCRIPT.html</b>
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
GO to this link YOu will get the steps HOw to create script.
http://sap-img.com/sapscripts.htm
THnaks,
Prashant.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
check this link
http://www.thespot4sap.com/Articles/SAPscript_Introduction.asp
For the sapscript tutorial
Thanks
Naren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.