on 06-26-2007 12:00 PM
hi gurus,
how can i print line numbers in serial in vertical in a SAP Script.
thanx in advance,
santosh.
Hello,
Write the values in the <b>MAIN</b> window
Vasanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
What's your actual requirement? why you need to print Numbers in Script? for which data you need? for item data?
then keep a variable in the Internal table like Sy-index or type I and increment it and display.
There is no variable like Sy-INDEX in scripts.
Reward points for useful Answers
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
There is no system field for writing the Numbers in Scripts like Reports.
check the table TTSXY and TTDTG if needed..
So you define some variable using DEFINE statement and based on some Item condition you have to pass varaible
/: define &VAR&
/: if &itab-posnr& eq '00010'
/ var = 1.
elseif &itab-posnr& eq '00020'
/ var = 2.
/: elseif &itab-posnr& eq '00030'
/ var = 3.
......
endif.
try like above and pass the numbers
or from the driver program itself keep a variable in the items internmal table and fill that field and use it in script.
<b>
Reward points for useful Answers</b>
Regards
Anji
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
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.