2007 Apr 17 4:32 PM
Hi All,
I'm displaying totals at the end of interactive report. if you click on totals line it is going to second list with last line details. (I'm using at-line selection event).
please help me to stop this.
thanks and regards
2007 Apr 17 4:43 PM
Hi,
If you have used a variable to hide the value..Then clear the hidden value at the end of the AT LINE-SELECTION.
Ex..
WRITE: / ITAB-MATNR.
HIDE ITAB-MATNR.
<b>CLEAR: ITAB-MATNR.</b>
AT LINE-SELECTION.
WRITE: / ITAB-MATNR.
<b>CLEAR: ITAB-MATNR.</b>
Thanks,
Naren
Hi,
If you have used a variable to hide the value..Then clear the hidden value at the end of the AT LINE-SELECTION.
Ex..
WRITE: / ITAB-MATNR.
HIDE ITAB-MATNR.
<b>CLEAR: ITAB-MATNR.</b>
AT LINE-SELECTION.
WRITE: / ITAB-MATNR.
<b>CLEAR: ITAB-MATNR.</b>
Thanks,
Naren
2007 Apr 17 4:43 PM
Hi,
If you have used a variable to hide the value..Then clear the hidden value at the end of the AT LINE-SELECTION.
Ex..
WRITE: / ITAB-MATNR.
HIDE ITAB-MATNR.
<b>CLEAR: ITAB-MATNR.</b>
AT LINE-SELECTION.
WRITE: / ITAB-MATNR.
<b>CLEAR: ITAB-MATNR.</b>
Thanks,
Naren
2007 Apr 17 5:06 PM
Dear Narendran,
I've made following changes...but still same problem.
AT LINE-SELECTION.
SET PF-STATUS 'STRD'.
PERFORM detail_list.
CLEAR : mat_tab-matnr.
2007 Apr 17 5:23 PM
hi,
its going to last line details in the 2nd list bcos u r not usig <b>HIDE </b> command try to use HIIDE then only u wil get data according to ur line clicking...
try like this
HIDE ITAB-MATNR.
loop at itab.
write:/ ...
endloop.
reward if this helps u
ravi
2007 Apr 17 6:13 PM
Hi,
As mentioned in my example.. Clear the work area after the ENDLOOP..OR before the AT LINE-SELECTION COMMAND...
ALso check if the variable is populated..Changes marked in bold..
Ex..
WRITE: / ITAB-MATNR.
HIDE ITAB-MATNR.
<b>CLEAR: ITAB-MATNR.</b>
AT LINE-SELECTION.
<b>CHECK NOT ITAB-MATNR IS INITIAL.</b>
WRITE: / ITAB-MATNR.
<b>CLEAR: ITAB-MATNR.</b>
Thanks,
Naren
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |