on 10-29-2007 4:18 PM
hii guys,
1. how we create driver for form.
2. how we create form tht driver program
3. how we link tht form to tht driver program
4. please provide me form and program.
regards
rahul
Title was edited by:
Alvaro Tejada Galindo
hi,
see also this
Check out this for Sap Script..
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
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
http://sap-img.com/sapscripts.htm
http://www.thespot4sap.com/Articles/SAPscript_Introduction.asp
I think it will useful for u.
Reward points if useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Rahul,
Check this and reward if usefull
Link for SAP Scripts (step by step procedure)
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://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
SAP SCRIPT FIELDS
http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm
scripts easy material
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.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.