on 02-27-2007 4:03 AM
hello everybody,
can any one please help me for the following....
i would like to add some fields in a script which should be displayed in the output.
how to do that? please give me the step by step procedure.
i heard that there are r two methods.
1. using Program symbol
2.using Itcsy ,form and perform
can you please help me out by giving the step by step procedure for the above two methods please....
thanks and regards
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
yes..u can achieve this using Program symbols and the ITCSY STRUCTURE but these has differences. Program symbols are used in the driver program which fetches the data from the database and display them on to the sap script form.
For example..
in the print program,.
declare the tables and the structures you want to use in the form.
tables kna1.
types begin of s_kna1,
kunr like kna1-kunnr,
name1 like kna1-name1,
end of s_kna1.
data t_kna1 type standard table of s_kna1 initial size 0,
w_kna1 type s_kna1.
in the form,
&w_kna1-name1& ,, &w_kna1-kunnr&
this tells u abt the program symbols.
ITCSY STRUCTURE helps u to add extra functionality in the scriptform adding a piece of code in the print program and Perform control command in the scriptform text editor.
in the form
perform zform in program zprogram
using <var1>
vhanging <var2>
in theprint program
form zform using in_var tables ITCSY STRUCTURE
out_var tables ITCSY STRUCTURE
-
-
-
endform.
this should help in developing the code.
regrds,
shamim.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This will tell you everything about SAPSCRIPT.
<a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf">SAPScript</a>
Regards,
Amit
Reward all helpful replies.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
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.