Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

AT LINE- SELECTION

Former Member
0 Likes
682

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
657

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 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

4 REPLIES 4
Read only

Former Member
0 Likes
658

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

Read only

0 Likes
657

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.

Read only

Former Member
0 Likes
657

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

Read only

Former Member
0 Likes
657

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