‎2006 Oct 11 8:33 AM
hi all,
1.what is need of element in sapscript?
2. i want to get output of data in horizantol to the page while taking printout,how to get?
3.if we need to see the preview of second or third page while executing sap script , how to get?
4.how to send arguments to sapscripts?
plz answer my above queries.
thanks & Regards
sanjeev
‎2006 Oct 11 8:39 AM
1. text elements are for bringing your data extracted from table given in editor into your form
under the driver write_form
give the text element name and window name
4. use include stmt
‎2006 Oct 11 8:43 AM
hi,
<b>1</b>. when u have some data to be printed from database then u need communication between print program and script. so in the program u use <b>WRITE_FORM</b> in which u have to mention the name of the element. then control will print the values from DB in that particular window.
<b>2</b>.---
<b>3</b>. i think u can not see the print preview of a particular page.
<b>4</b>. in the script u will have an element under which u will have arguments written like &VBAK-VBELN&. at run time these arguments are replaced by the DB values when control comes across <b>WRITE_FORM</b> in which u mention the element name.
hope this helps..
reward if useful...