Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Script query

Former Member
0 Likes
384

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

2 REPLIES 2
Read only

Former Member
0 Likes
350

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

Read only

Former Member
0 Likes
350

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...