‎2008 Oct 27 7:12 AM
Hi ,
Please let me know how to call sapscript from se38.
Regards,
Sreeja.
‎2008 Oct 27 7:18 AM
hi,
After creating ur SAPSCRIPT, use these FM's in ur Report program..
CALL FUNCTION 'OPEN_FORM'
CALL FUNCTION 'START_FORM'
CALL FUNCTION 'WRITE_FORM'
CALL FUNCTION 'END_FORM'
CALL FUNCTION 'CLOSE_FORM'
If u didn't get tel me i will clarify u....
Regards,
Shankar.
‎2008 Oct 27 7:17 AM
Look at [BC SAPscript: Printing with Forms|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf] there you will find the FM to call ([OPEN_FORM|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=open_form&adv=false&sortby=cm_rnd_rankvalue], [WRITE_FORM|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_weblog&query=write_form&adv=false&sortby=cm_rnd_rankvalue], [CLOSE_FORM |https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=close_form&adv=false&sortby=cm_rnd_rankvalue]and the like, look at the pdf for "Example of a Print Program")
Don't forget to use [search at sdn|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_weblog&query=sapscript&adv=false&sortby=cm_rnd_rankvalue].
Regards
‎2008 Oct 27 7:18 AM
hi,
After creating ur SAPSCRIPT, use these FM's in ur Report program..
CALL FUNCTION 'OPEN_FORM'
CALL FUNCTION 'START_FORM'
CALL FUNCTION 'WRITE_FORM'
CALL FUNCTION 'END_FORM'
CALL FUNCTION 'CLOSE_FORM'
If u didn't get tel me i will clarify u....
Regards,
Shankar.
‎2008 Oct 27 7:20 AM
Hi,
below Function modules provided by sap for print program
open_form
close_form
start_form
end_form
write_form.
regards
swamy
‎2008 Oct 27 7:23 AM
Please tell me , in which FM we are giving that particular sapscript name?
Also I am not clear according to what functionalities we can confirm which FMs required?
Please clarify.
Regards,
Sreeja.
‎2008 Oct 27 7:21 AM
first you have to maintain both the print program name and the corresponding sapscript name in the 'nace' transn.
After this use the call function 'write_form' in your print program mentioning the text elements name, which you want to call in various stages of the program.
In order to see the debugging of both the SAPscript and the print program, in SE71 give the layout name and Utilities->Activate Debugger
In the print program, mention a breakpoint wherever needed.
-archana
‎2008 Oct 27 7:24 AM
hi,
Every Script has a driver program which is a SE38 program and so we can call the normal report program from the driver program using SUBMIT statement and same in the case of calling scripts from normal programs we can use submit and we can call the driver program from the script.
copy forms between clients
step 1. from the sap standard menu choose Toolsu2013> sap scriptu2014> SE 71
Step 2. on the form painter:request screen,choose utilitiesu2014> copy from client
hope this helps you...
Regards,
Praveena.
‎2008 Oct 27 10:27 AM
Hi,
Sapscript is used for form printing from an abap program (reports) written in se38.If you have created your sapscript form in se71, use the following function modules
1. open_form - in this module specify the sapscript form name in the parameter FORM on the exporting side.
2. write_form - in this module you'll have to specify the name of the element if you have defined it with /E in your sapscript form.
3. close_form - you need not specify any paramenters in this module.
Remember that these 3 modules are compulsary and will not give you an output if any of them are skipped.
I hope this may help you to a certain extent. Do let me know if more details are required.
Thanks,
Sachin
‎2008 Oct 27 10:46 AM
CALL FUNCTION 'OPEN_FORM'
CALL FUNCTION 'START_FORM'
CALL FUNCTION 'WRITE_FORM'
CALL FUNCTION 'END_FORM'
CALL FUNCTION 'CLOSE_FORM'
in open form u have to mention the form name
and write form give the element which u used in the script.
regards,
pathan.
‎2012 Jan 11 7:32 AM
Hi Experts,
We need to mention sap script form name in OPEN_FORM or START_FORM.
Please suggest