2009 Feb 08 3:09 AM
hi...im developing a report in which i used CL_DOPR_WRITER class to create a table..how can i write AT LINE SELECTION EVENT for this class.
hi...im developing a report in which i used CL_DOPR_WRITER class to create a table..how can i write AT LINE SELECTION EVENT for this class.
2009 Feb 09 4:26 AM
HI BRO....
'at line-selection' is meant to be written as a part of report .
so you can create a reference to this class
data: r_ref type ref to CL_DOPR_WRITER.
and if you have to use it for this class only if when user go for double click then go for it in 'AT LINE-SELECTION' event.
2009 Feb 09 5:22 AM
follow this in your code:
AT LINE-SELECTION.
PERFORM F1.
<<<<f1
form f1.
if you want to call any static attribute or method just do
CL_DOPR_WRITER=>method or parameter
but if you want to access pubic method or att
ref type refrence of CL_DOPR_WRITER
call method ref->your method
endform.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |