‎2008 Jun 16 2:39 PM
Hi All
This is my question :Which is the objetive to use $ symbol in ABAP sentences ??
For Example :
form maintain_list tables $list_rgdir structure list_rgdir
using $hide_seqnr like list_rgdir-seqnr
$clicked_seqnr like list_rgdir-seqnr
$hide_persnr like hide_persnr.
data: selected_persnr like hide_persnr.
selected_persnr = $hide_persnr.
do.
clear: $hide_seqnr, $hide_persnr.
read line sy-index.
if sy-subrc ne 0.
exit.
endif.
check not $hide_seqnr is initial.
read table $list_rgdir with key seqnr = $hide_seqnr
persnr = $hide_persnr.
if sy-subrc = 0.
$list_rgdir-selec = sy-lisel+1(1).
if $hide_seqnr = $clicked_seqnr .
and $hide_persnr = selected_persnr.
if list_rgdir-selec = ' '.
list_rgdir-selec = 'X'.
else.
list_rgdir-selec = ' '.
endif.
endif.
modify $list_rgdir index sy-tabix.
Regards
Gregory
‎2008 Jun 16 2:42 PM
SAP sometimes uses "$"fields to denote subroutine parameters or temporary fields.I don't think they have any other significance other than naming convention.
‎2008 Jun 16 2:42 PM
SAP sometimes uses "$"fields to denote subroutine parameters or temporary fields.I don't think they have any other significance other than naming convention.
‎2008 Jun 16 2:44 PM
yes. that's correct - they're just normal variables SAP uses in their programs - I think they have veered away from using naming conventions like that, and are adapting more standard naming convention lately.
‎2008 Jun 16 2:46 PM
Hi Gregory,
I think there is no special significance to $ symbol in ABAP sentences. I thought he/she may be used to different these $ variables apart from the other variables used in subroutine and $ variables are ONLY paramet variables.
Thanks,
Vinay
‎2008 Jun 16 2:51 PM
hiii
here $ represent as variable name only.because there is no any special use of this character in abap.so its just a name of variable to show it different from others.
reward if useful
thx
twinkal